Page 2 of 3
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 5:08 am
by Pierce
What does ecompile says if you compile scripts/NPCKeeper.src?
It sounds that you use an .em command with the wrong parameter size and ecompile
should state that if you have the correct .em files.
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 5:25 am
by CWO
Whenever you change the core exe file, you have to replace all files with the ones that came with the core, then you MUST delete all .ecl files (compiled scripts) in your POL path and then recompile all scripts. Just replacing files and running ecompile will do nothing. You have to delete all .ecl files before recompiling to make sure the scripts are recompiled correctly for the different core.
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 6:20 am
by Karmael
that worked thanks!
I missed reading that part in the how to document.
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 9:50 am
by ncrsn
Yet another side note, recompiling all stuff can be done using ecompile with f-flag ("ecompile -f"), which forces the operation even when source file itself hasn't changed. It's often faster than searching and deleting every .ecl file.
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 10:00 am
by Karmael
ncrsn wrote:Yet another side note, recompiling all stuff can be done using ecompile with f-flag ("ecompile -f"), which forces the operation even when source file itself hasn't changed. It's often faster than searching and deleting every .ecl file.
Thanks

There wasn't really all that much in there since I started fresh.
next question. I've set the server.cfg with my ip and port # and directed the path to point to my uo file, however I can't log in.
I can see myself logging in, but I don't move forward from the login screen for uo.
Also I see this a lot in the pol.log
[pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = briggand fort, npc = brigand1
What does that mean?
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 5:56 pm
by Karmael
I was able to log in. I forgot to change the "none" in the pol.cfg to the client #.
Re: Search for a Scripter
Posted: Sun Aug 17, 2008 9:25 pm
by CWO
Karmael wrote:
[pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = briggand fort, npc = brigand1
What does that mean?
In that script there is a syslog command that says that sentence. Just open the .src and search for Exceeded max tries. What is probably happening is that the spawner is trying to pick a random location within its range to spawn an NPC. If the spawning fails, it tries another location, and another, until it reaches the max tries. It then gives up and prints out that warning. Most likely its a completely intended thing in the script and I wouldn't recommend trying to change the script in this situation. You might want to look over that spawn and see if you can change it to something more manageable for the script.
Re: Search for a Scripter
Posted: Mon Aug 18, 2008 3:35 am
by Karmael
alright thanks, you all have been helpful.
and yet... another question re: adding scripts
Posted: Mon Aug 18, 2008 1:54 pm
by Karmael
Now that I've got it up and running, how do I add scripts? I know some of them will need to be updated.
I tried adding a new script, and recompile but nothing happened.
Is there instructions for this step?
Re: Search for a Scripter
Posted: Mon Aug 18, 2008 2:40 pm
by CWO
Depends on what you want to do with this new script and how you want it triggered. You can always add new scripts at any time. If you want a .command, add it to the textcmd or commands directory under the cmdlevel you want it to be in. If you want the script to be triggered when you use an item put the script in a package or in the scripts/items folder, modify your itemdesc.cfg where the item's use script is to point to that script... ect.. You would have to tell us exactly how you're using it before we can give specific instructions.
Re: Search for a Scripter
Posted: Mon Aug 18, 2008 3:03 pm
by Karmael
oh.... well that would take up lots of room... from what I understand nearly all the scripts I have need to be updated.
Ok.. I will need to go through everything and figure out what's what.
Thanks!
how to make the server recognize a custom map
Posted: Tue Aug 19, 2008 3:57 am
by Karmael
How do I have the server recognize our map? The map files are in my uo folder, however when I log in, I see the osi map and parts of buildings.
Also, if I remove all the regions from the spawner, will it kill out all the spawns?
not sure what I did...
Posted: Thu Sep 04, 2008 3:26 am
by Karmael
In my start.log I get the following error. Not sure how to fix it.
Error reading configuration file pkg/foundations/hooks//attributes.cfg:
Attribute Strength already defined by character (pkg/character/)
Element: Attribute Strength, found on line 18
Server Shutdown: load_attributes_cfg
Execution aborted due to: Configuration file error
Re: Search for a Scripter
Posted: Thu Sep 04, 2008 5:21 am
by Sadahar
You have the attribute Strength defined more than once.
Re: Search for a Scripter
Posted: Thu Sep 04, 2008 1:29 pm
by Karmael
Which file do I take it out of? I believe I tried that and pol still wouldn't start.
Re: Search for a Scripter
Posted: Fri Sep 05, 2008 3:37 am
by Sadahar
The error text itself says you whats wrong...
Error reading configuration file pkg/foundations/hooks//attributes.cfg:
--> Error in this file.
Attribute Strength already defined by character (pkg/character/)
--> The error. (you've already defined here the attribute Strength)
Element: Attribute Strength, found on line 18
--> Wheres the error.
So, in this file: pkg/foundations/hooks//attributes.cfg, line 18, delete the attribute Strength entry

Re: Search for a Scripter
Posted: Fri Sep 05, 2008 3:47 am
by Karmael
*blushes* I'm sorry.... I thought I had removed it from that one. Must of been from the other one.
Thanks though

is confused....
Posted: Fri Sep 05, 2008 2:06 pm
by Karmael
It would seem I had duplicates so I deleted them all from the pkg/hooks file... now it says it that... Should I have removed it from pkg/character?
Error reading configuration file pkg/foundations/hooks//attributes.cfg:
Attribute Alchemy already defined by character (pkg/character/)
Element: Attribute Alchemy, found on line 18
Server Shutdown: load_attributes_cfg
Execution aborted due to: Configuration file error
*************
OK.. I found the character file not sure how I missed it.. However I removed all the duplicate entries and I'm still getting the same error, just different item.
Error reading configuration file pkg/foundations/hooks//attributes.cfg:
Attribute ItemId already defined by character (pkg/character/)
Element: Attribute ItemId, found on line 30
Server Shutdown: load_attributes_cfg
Execution aborted due to: Configuration file error
Re: Search for a Scripter
Posted: Fri Sep 05, 2008 5:09 pm
by Karmael
well... I *think* I fixed the other errors... but I have a new one now.
Error loading script pkg/character/regen.ecl: Recompile required. Bad version number 3
Unable to read script 'pkg/character/regen.ecl'
Error reading script pkg/character/regen.ecl
Error reading configuration file pkg/character//vitals.cfg:
Export Script pkg/character/regen.ecl not found
Element: Vital Life, found on line 1
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error
I did do a recompile and still get the same error.
Re: Search for a Scripter
Posted: Fri Sep 05, 2008 7:34 pm
by CWO
Either the version of ecompile you're using isn't the one that came with that pol.exe or the script isn't being recompiled correctly. Delete the .ecl file and recompile it then. If you're getting the same error, you need to make sure the ecompile.exe and all of the .em files are from that exact pol.exe. Also make sure you don't have 2 of the same .em file (sometimes one will be in pol/scripts and another will be in pol/scripts/module)
Re: Search for a Scripter
Posted: Sat Sep 06, 2008 4:02 pm
by Karmael
now I get this...
Warning! pkg/character/regen.ecl does not exist!
Exception caught while loading script pkg/character/regen.ecl: Unable to open pkg/character/regen.ecl for reading.
Unable to read script 'pkg/character/regen.ecl'
Error reading script pkg/character/regen.ecl
Error reading configuration file pkg/character//vitals.cfg:
Export Script pkg/character/regen.ecl not found
Element: Vital Life, found on line 1
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error
Re: Search for a Scripter
Posted: Sat Sep 06, 2008 9:12 pm
by CWO
Warning! pkg/character/regen.ecl does not exist!
recompile regen.src so that regen.ecl will exist...
Re: Search for a Scripter
Posted: Sun Sep 07, 2008 4:41 am
by Karmael
I removed that file and recompiled.. and it didn't work.
Re: Search for a Scripter
Posted: Sun Sep 07, 2008 5:19 am
by Sadahar
You must be getting ecompile errors... i think thats the first script checked when running pol... check if you have any script compiled :S
Re: Search for a Scripter
Posted: Sun Sep 07, 2008 5:41 am
by Karmael
Is there somewhere else I should be looking for errors? That's the only error that comes up.