Page 3 of 3

Re: Zulu Hotel Shard Project POL099

Posted: Thu Jul 26, 2012 4:01 am
by Yukiko
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
viewtopic.php?f=9&t=6249 for information about the supported Distro.

Re: Zulu Hotel Shard Project POL099

Posted: Tue Sep 03, 2013 8:25 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Wed Sep 04, 2013 4:14 am
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.

Re: Zulu Hotel Shard Project POL099

Posted: Wed Sep 04, 2013 5:08 pm
by Mutley
The distro I compiled is Fantasia Shard. by Edwards.

But I will try your alternatives. Thank you.

Mutley

Re: Zulu Hotel Shard Project POL099

Posted: Fri Sep 06, 2013 1:24 pm
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.

Re: Zulu Hotel Shard Project POL099

Posted: Mon Sep 09, 2013 2:29 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Tue Sep 10, 2013 4:13 am
by Yukiko
You can find the link for downloading the "Distro" here. What you downloaded was the POL Core source code.

Re: Zulu Hotel Shard Project POL099

Posted: Tue Sep 10, 2013 5:42 pm
by Mutley
Thank you Yukiko.

Now I'm doing the right thing ;)

Mutley

Re: Zulu Hotel Shard Project POL099

Posted: Sat Sep 28, 2013 2:13 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Sun Sep 29, 2013 5:10 am
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.

Re: Zulu Hotel Shard Project POL099

Posted: Thu Oct 24, 2013 9:54 am
by Mutley
Everything perfect now, thanks.

Re: Zulu Hotel Shard Project POL099

Posted: Wed Aug 13, 2014 4:05 pm
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.

Re: Zulu Hotel Shard Project POL099

Posted: Fri Aug 15, 2014 5:20 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Sat Aug 30, 2014 11:17 am
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!!!!!!!

Re: Zulu Hotel Shard Project POL099

Posted: Sat Aug 30, 2014 1:18 pm
by stalkersol
the question not is actual. The answer is found

Re: Zulu Hotel Shard Project POL099

Posted: Tue Nov 19, 2019 1:25 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Mon Nov 25, 2019 2:19 pm
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.

Re: Zulu Hotel Shard Project POL099

Posted: Wed Nov 27, 2019 10:00 am
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.

Re: Zulu Hotel Shard Project POL099

Posted: Thu Nov 28, 2019 4:05 pm
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

Re: Zulu Hotel Shard Project POL099

Posted: Tue Feb 04, 2020 9:26 am
by CentryChaos
[02/04 19:04:39] sysload=23 (9) cputime=12906250
[02/04 19:04:59] Client#1 connected from 127.0.0.1 (1 connections) on interface 127.0.0.1
[02/04 19:04:59] Network::Client#1 i/o thread starting
[02/04 19:04:59] Client#1 i/o thread past initial lock
[02/04 19:04:59] Account admin logged in from 127.0.0.1
[02/04 19:05:04] Client#1 (127.0.0.1): disconnected (account admin)
[02/04 19:05:04] Client#2 connected from 127.0.0.1 (1 connections) on interface 127.0.0.1
[02/04 19:05:04] Network::Client#2 i/o thread starting
[02/04 19:05:04] Client#2 i/o thread past initial lock
[02/04 19:05:04] Account admin logged in from 127.0.0.1
[02/04 19:05:24] Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjType 0xe75), mobile\charactr.cpp, line 1441
[02/04 19:05:24] Forcing stack backtrace.
[02/04 19:05:25]
##########################################################
Current StackBackTrace
(function-name not available) - 0x1402c1ff7
(filename not available)
(function-name not available) - 0x1402b6caf
(filename not available)
(function-name not available) - 0x1402b6890
(filename not available)
(function-name not available) - 0x14037f3ae
(filename not available)
(function-name not available) - 0x1402f53c4
(filename not available)
_chkstk - 0x7ffa100211ff
(filename not available)
RtlRaiseException - 0x7ffa0ffea289
(filename not available)
KiUserExceptionDispatcher - 0x7ffa1001fe6e
(filename not available)
(function-name not available) - 0x1402a4c36
(filename not available)
(function-name not available) - 0x1402a5153
(filename not available)
(function-name not available) - 0x14015c05d
(filename not available)
(function-name not available) - 0x14002db3b
(filename not available)
(function-name not available) - 0x14018cfd0
(filename not available)
(function-name not available) - 0x14018b56b
(filename not available)
(function-name not available) - 0x1402b814d
(filename not available)
(function-name not available) - 0x1402b36e8
(filename not available)
(function-name not available) - 0x1402b394e
(filename not available)
(function-name not available) - 0x140303cd5
(filename not available)
BaseThreadInitThunk - 0x7ffa0f857bd4
(filename not available)
RtlUserThreadStart - 0x7ffa0ffeced1
(filename not available)
##########################################################
[02/04 19:05:25] ##########################################################
Unhandled Exception! Writing Minidump file.
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to '20200204190335-0.dmp'