Zulu Hotel Shard Project POL099

Scripts for an entire shard, alternatives to the distro made by other users

Moderator: POL Developer

Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

Edwards Fantasia shard is no longer the official POL Distro. It was not a working set of scripts. It has been replaced by the Modern Distro or just Distro. You can download the latest POL Core release and the official Distro from the Downloads page
Oliver wrote:Edwards can you update the shard script? :)
This set of scripts are now the official POL Distro. You can get the latest version by using the instructions posted here.

Notice: These scripts have been replaced by a working Distro. Please see
https://forums.polserver.com/viewtopic.php?f=9&t=6249 for information about the supported Distro.
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

Compiled Distro FS for Pol099 by StartHere.bat


Compilation Summary:
Compiled 1236 scripts in 105144 ms.
2 of those scripts had errors.



ERROR 1

Compiling: C:/Mutley WarShard/Pol/pkg/commands/admin/test.src
Don't know what to do with 'Unknown Token: (275,8,'to')' in SmartParser::parseToken
File: C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32
Error compiling statement at C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32
Error detected in program body.
Error occurred at C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32

========================================
\test.src
========================================

/*
Created by *Edwards
For FantasiaShard.com

Edwards@FantasiaShard.com

2010-05-18
*/
use uo;
use os;
use polsys;

program textcommand_summonSerial( mobile )

//time stamp: POLCore().systime
//format string: %M-%D-%Y %L:%M:%S %P
//time: StrFormatTime( format_string, CInt( time_stamp )) --> 04-24-2011 10:50:11 PM

//we have to know hour. PM or AM.

//year
//month
//day

//hour
//minute
//second
//pm or am

var time_stamp := POLCore().systime; //temps du server...

need to parse strformattime.... <---------------------------------------------------# Line 32 is here #

if( %M == month )

elseif( %d == day )

elseif( %y == year )

elseif( %l == hour )

elseif( %m > minute && %m < minute+1 )

elseif( %p == day )

endif



return 1;
endprogram



========================================
========================================




ERROR 2

Compiling: C:/Mutley WarShard/Pol/pkg/systems/remoteScripts/commands/dev/restartRemoteScripts.src
Token '(' cannot follow token 'Remote_GetProcess'
Function Remote_GetProcess() is not defined.
Error compiling statement at C:\Mutley WarShard\Pol\pkg\systems\remoteScripts\commands\dev\restartRemoteScripts.src, Line 18
Error detected in program body.
Error occurred at C:\Mutley WarShard\Pol\pkg\systems\remoteScripts\commands\dev\restartRemoteScripts.src, Line 18

========================================
\restartRemoteScripts.src
========================================

/*
Created by *Edwards

2011-06-26
*/
use uo;

include "include/security";
include ":remoteScripts:settings";

program textcmd_disconnectBot( mobile )

if( !AuthorizationCode( mobile ))
SendSysMessage( mobile, "Cancelled." );
return 0;
endif

var kill_bots := Remote_GetProcess().Kill(); <------------------------------------------------------# Line 18 is here #
if( kill_bots.errortext )
SendSysMessage( mobile, "Error couldn't kill bots -->"+kill_bots.errortext );
return 0;
endif

var script := Start_Script( ":remoteScripts:remoteScriptsControl" );
if( script.errortext )
SendSysMessage( mobile, "Error starting script <:remoteScripts:remoteScriptsControl> -->"+script.errortext );
return 0;
endif

SendSysMessage( mobile, "Done!" );

return 1;
endprogram

==========================================
==========================================

I'll be very grateful if you can help me

Big Hug,

Mutley
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

First thing to do is make sure you have the latest "Distro" from the SVN. I say this because my version of test.src doesn't match the one you posted.


At any rate it looks like in the first example you need to add two slashes "//" at the beginning of the error line because that line appears to be a comment.

For the second error open up \pol\pkg\systems\remoteScripts\include\settings.inc and make sure there is a function defined in that file by the name Remote_GetProcess. If there is no function then I would suggest you make sure you have the latest version from the "Distro" SVN because that function is in the SVN version.
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

The distro I compiled is Fantasia Shard. by Edwards.

But I will try your alternatives. Thank you.

Mutley
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

Well, Edwards donated the Fantasia shard to POL to be used as the "Distro". So if you download the "Distro" then you should have a working version of Fantasia but be sure to get it from the "Distro" SVN and not from the ZIP file available in the downloads area.
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

Where do I download the SVN distro?

I downloaded through tortoiseSVN ... But downloaded over 800MB with several folders and files with strange extensions:.cpp .h .Lst .Vcxproj etc ... is that right?

Do not know what to do. Thanks for the help.

Mutley
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

Edwards Fantasia shard is no longer the official POL Distro. It was not a working set of scripts. It has been replaced by the Modern Distro or just Distro. You can download the latest POL Core release and the official Distro from the Downloads page



[This post was edited. The link to the Fantasia "distro" was removed. You can find links to it elsewhere on the forums.]
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

Thank you Yukiko.

Now I'm doing the right thing ;)

Mutley
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

Hello, could someone help me with the colors of the trees and the color of the messages?

I'm using windows Pol core 099 + distro 099 SVN + Scripts Fantasy Shard.

What do I need to do to adjust the colors?

Image

Tank You!!!

Mutley
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

Tree colours are pretty much preset in the client. You can try changing the season. The command used to be .setseason <season name>
Valid season names are: summer,fall, winter, spring, desolation

Messages sent by the scripts are usually controlled by the color parameter in the various function calls, ie. SendSysMessage, Broadcast, etc. You'll have to search through the scripts for the specific messages that are in the offending colour. Then change the color parameter to something you like. I refer you to the POL Docs section for more info. Look in the UO.EM module docs for info.

Last thing: If the colours of trees or world items are black or just look "wrong", check to make sure you are using the right hues.mul file for the scripts. Some shards use a modified hues.mul file and that will cause colours to be out of whack. Since the official "Distro" is the old Fantasia shard it might be possible that Edwards was using a custom hues file.
Mutley
New User
Posts: 29
Joined: Tue Sep 03, 2013 8:26 am

Re: Zulu Hotel Shard Project POL099

Post by Mutley »

Everything perfect now, thanks.
Joey
New User
Posts: 19
Joined: Sun Jan 03, 2010 9:07 pm

Re: Zulu Hotel Shard Project POL099

Post by Joey »

any one have worked the brain ai. i found a pretty hardcore bug with those file. and i wonder if some one already found it and fixed it.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: Zulu Hotel Shard Project POL099

Post by Austin »

Im the creator and maintainer of the brain AI.
You can find the latest version here: http://forums.mytharriauo.com/viewtopic.php?f=9&t=154
stalkersol
New User
Posts: 2
Joined: Mon Aug 25, 2014 2:46 pm

Re: Zulu Hotel Shard Project POL099

Post by stalkersol »

People help, I can't find in the list of the banker.
It isn't present in npcdesc which is in (pkg\systems\merchants\config)

but in AIScripts (pkg\systems\brainAI\config) information on the banker is.
Posdkazhite as it can be corrected.

I tried to bring it in such a way in npcdesc

Code: Select all

NPCTemplate Banker
{
	Name			<random> - the Banker
	Script			:brainAI:brain

	ObjType			0x190
	Color			0
	TrueColor		0
	Gender			0
	AR			25

	RunSpeed		200
	Alignment		good
	Category		Merchants

 	Privs			invul
	Settings		invul

	Strength		150
	Intelligence		150
	Dexterity		150

        Swordsmanship 150
	MaceFighting 150
        Fencing 150
	Blacksmithy 150

	HITS			150
	MANA			150
	STAM			150

	AttackDamage		100d100
	AttackAttribute		Wrestling

	AttackHitSound		312
	AttackMissSound		569
	DeathSound		347
	DamagedSound		346
	IdleSound		1346

        GuardKill	1
        GuardIgnore     1

	AISetting	CycleWait	i3600
	AISetting	HearSpeech	i1
	AISetting	ListenRange	i2
	AISetting	AreaSize	i2

	AIScripts	genericMerchant

	NameTemplate	Human_Male
	EquipTemplate	Villager_1
	MerchantType	banker
        Wealth          Middle
}
it in game appears, but as the dealer. without reacting to the bank , but answers the buy
tell that I do not correctly
I will be very grateful for the help!!!!!!!
stalkersol
New User
Posts: 2
Joined: Mon Aug 25, 2014 2:46 pm

Re: Zulu Hotel Shard Project POL099

Post by stalkersol »

the question not is actual. The answer is found
Fred
New User
Posts: 8
Joined: Tue Nov 19, 2019 1:19 pm

Re: Zulu Hotel Shard Project POL099

Post by Fred »

Ehi guys I downloaded the distro of ZH using the tortoise, followed the README guide inside, but I have got his error ; this emulator is a mess.. to be configurate :lol:

POL.bat (v 1.0) by Austin
=========================
Starting pol.exe
=========================

POL099 Break Everything Even Rudder - VS2015 (Rev. 1800dc514)
compiled on Feb 12 2018 19:57:02
Copyright (C) 1993-2016 Eric N. Swanson

Using 4 out of 8 worldsave threads
Reading Configuration.
checkpoint: reading config/bannedips.cfg
checkpoint: reading servspecopt.cfg
checkpoint: reading extobj.cfg
checkpoint: low-fragmentation Heap ...activated
checkpoint: init default itemdesc defaults
checkpoint: loading POL map file
Loading Realm britannia.
Validating statics files: Completed in 2 ms.
Completed in 229 ms.
checkpoint: initializing IPC structures
checkpoint: initializing sockets library
hostname is DESKTOP-BE2OH8C
address: 192.168.1.79
LAN IP address is 192.168.1.79
checkpoint: loading configuration
checkpoint: load_cmdlevels
checkpoint: read_combat_config
checkpoint: read_boat_cfg
Error reading configuration file config/boats.cfg:
Property 'MultiID' was not found.
Element: Boat , found on line 31
Server Shutdown: read_boat_cfg
Initiating POL Cleanup....
checkpoint: cleaning up vars
checkpoint: cleaning up scripts
checkpoint: cleaning listen points
checkpoint: unloading data
checkpoint: misc cleanup
checkpoint: end of xmain2
Execution aborted due to: Configuration file error


=========================
POL has finished running
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Zulu Hotel Shard Project POL099

Post by RusseL »

Fred wrote: Tue Nov 19, 2019 1:25 pm Ehi guys I downloaded the distro of ZH using the tortoise, followed the README guide inside, but I have got his error ; this emulator is a mess.. to be configurate :lol:

Error reading configuration file config/boats.cfg:
Property 'MultiID' was not found.
Element: Boat , found on line 31
You need to generate boats.cfg, multis.cfg, tiledata.cfg etc. with uoconverter.
These files are generated from your UO Client Data files, thats why they are not included into script sets.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

If you are using Windows you can download the POL Configurator from the POL Tools forum and use it to configure POL to run or use the starthere batch file that should be in Edward's files. There should be a starthere.sh script for Linux as well.
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Re: Zulu Hotel Shard Project POL099

Post by DevGIB »

Its also worth mentioning i believe the most recent version of this script base can be found:
https://github.com/polserver/legacy_scr ... sia_distro
+D4rkn3ss F4ll+
New User
Posts: 1
Joined: Fri Feb 05, 2021 9:34 am

Re: Zulu Hotel Shard Project POL099

Post by +D4rkn3ss F4ll+ »

DevGIB wrote: Thu Nov 28, 2019 4:05 pm Its also worth mentioning i believe the most recent version of this script base can be found:
https://github.com/polserver/legacy_scr ... sia_distro
is this version of the distro usefull? I downloaded this file but i had some problem with the installation of the files. May someone help me?

I tried to download with tortoise but i was not able :(

i will be gratefull if someone help me.

Thank you,
Gian Luca
westrupp
Adept Poster
Posts: 89
Joined: Wed Aug 01, 2007 3:07 am

Re: Fantasia Shard project 7.0!

Post by westrupp »

*Edwards wrote: Mon Apr 13, 2009 1:38 pm My website just got unavailable you are not lucky. BUT you could get some extra chances if any of our players still have the files. Maybe you could msg westrupp on this board. He might have the reel files we used.

As far I know you absolutely need the hues.mul to enjoy our great colors ( ressources, weapons, armors ) and the verdata.mul for the new graphic monsters...

Hum, you shall consider about using client built-in graphic instead of verdata.mul used for a too long period in my case :( by using the AOS, ML, or any lastest version of UO... If you do you'll need to re-configure the graphic numbers of course... Anyways, lol...
Thanks for remember me, my old friend...
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Zulu Hotel Shard Project POL099

Post by Yukiko »

Please see this post regarding the Fantasia "distro".
Post Reply