Search for a Scripter
Re: Search for a Scripter
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.
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
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
that worked thanks!
I missed reading that part in the how to document.
I missed reading that part in the how to document.
Re: Search for a Scripter
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
Thanksncrsn 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.
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
I was able to log in. I forgot to change the "none" in the pol.cfg to the client #.
Re: Search for a Scripter
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.Karmael wrote: [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = briggand fort, npc = brigand1
What does that mean?
Re: Search for a Scripter
alright thanks, you all have been helpful.
and yet... another question re: adding scripts
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?
I tried adding a new script, and recompile but nothing happened.
Is there instructions for this step?
Re: Search for a Scripter
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
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!
Ok.. I will need to go through everything and figure out what's what.
Thanks!
how to make the server recognize a custom map
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?
Also, if I remove all the regions from the spawner, will it kill out all the spawns?
not sure what I did...
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
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
You have the attribute Strength defined more than once.
Re: Search for a Scripter
Which file do I take it out of? I believe I tried that and pol still wouldn't start.
Re: Search for a Scripter
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
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
*blushes* I'm sorry.... I thought I had removed it from that one. Must of been from the other one.
Thanks though
Thanks though
is confused....
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
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
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.
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
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
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
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
Warning! pkg/character/regen.ecl does not exist!
recompile regen.src so that regen.ecl will exist...
recompile regen.src so that regen.ecl will exist...
Re: Search for a Scripter
I removed that file and recompiled.. and it didn't work.
Re: Search for a Scripter
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
Is there somewhere else I should be looking for errors? That's the only error that comes up.