Page 1 of 1

spawn problem...

Posted: Tue Aug 14, 2012 4:43 am
by Dawgmeat
Hiya.
I'm new to uox3. I downloaded a pre spawnd .dfn file and now my server is crashing on start up =(

Re: spawn problem...

Posted: Tue Sep 11, 2012 12:58 am
by robert.harju
Same here... Trying to figure this sucker out right now... been WAY too long since trying to do something like this in any way.

Re: spawn problem...

Posted: Tue Sep 11, 2012 7:50 am
by Xuri
Couple of things that could help pinpoint where the problem lies (be as specific as possible, please):
1) UO client version?
2) UOX3 version?
3) Which link was the spawn file downloaded from?
4) Have you made any tweaks/modifications/script-addons to the base UOX3 setup?

Re: spawn problem...

Posted: Wed Sep 12, 2012 4:16 am
by robert.harju
Appreciate the diligence there Xuri but, I am going to just create my own world with a story line to boot. Thank you for following up with my issue though! Don't know about Dawgmeat though.

Re: spawn problem...

Posted: Sat Sep 15, 2012 1:44 pm
by Tunai
Iam new guy here but here is my report:

It is definitely a spawn.dfn file problem because If i remove spawn.dfn file, it starts.

Here is details to my trying to start server,

I tried uox3 on Aos files/LBR files/Mondains Files, same result.

UOX:Startup Complete, then server crashes.

I tried the spawn.dfn file from download section and tried my own spawn.dfn file, it sometimes crashes, it sometimes doesn't. (Generally gives crash). It may be releated to "PREFZ" because when I added PREFZ=1 to all npc in spawn.dfn it stopped crashing.

Sometimes it crashes after showing missing NPC files sometimes it doesn't.(I tried removing that missing NPC still crashing so not related to them).

I can pm you my server's Remote desktop details so you can connect and look for what you want because Iam new to uox3.

PM me from here or send an email to tunayuyar39@gmail.com.

I really want to create a shard with uox3.

Re: spawn problem...

Posted: Sat Sep 15, 2012 8:07 pm
by Xuri
Thanks, Tunai, but I'm afraid that unless you're running your server in debug environment through Visual Studio (2005/2008 for instance) there's not much I can figure out from remoting in like that. I take it there are no helpful error-messages occuring when UOX3 crashes?

Alternatively, zip up your entire UOX3 folder and make it available for download somewhere, and I can try to see if your UOX3 setup crashes on my computer as well (as I'm currently unable to reproduce the issue myself).

Re: spawn problem...

Posted: Sat Sep 15, 2012 8:37 pm
by Tunai
I will zip it and make it available. I also will add several spawn.dfn files i used.

Still I can offer you remote, server is in my house. You can do whatever you like.

Re: spawn problem...

Posted: Sat Sep 15, 2012 8:49 pm
by Tunai
Hi,

FTP username: public@sadecefikirlerim.com
FTP server: ftp.sadecefikirlerim.com
FTP & explicit FTPS port: 21
FTP password: public1234

Re: spawn problem...

Posted: Mon Sep 17, 2012 7:17 am
by Tunai
Any improvement on this Xuri ?

or are you able to download the files ?

Re: spawn problem...

Posted: Mon Sep 17, 2012 5:20 pm
by Xuri
I downloaded your files, and I noticed a couple of things as I ran it (even though it didn't crash at any point):
  • I noticed you've re-organized the UOX.INI settings. This should in theory be fine, as UOX3 doesn't read them in order or based on the [categories] listed in the file, but makes it slightly harder to compare to the default UOX.INI setup. Also, it's possible UOX3 will overwrite your custom changes in here the next time it saves out the UOX.INI file.
  • UOX3 complains about malformed starting locations on startup. They are missing one thing compared to the starting location entries in the default UOX.INI - the cliloc numbers at the end.
  • Upon startup UOX3 displays the following errors, when using your custom spawn.dfn:
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc brownbull (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc brownbull (NPC Not Found).
...which suggests that those NPCs do not exist, but UOX3 is trying to spawn them through the spawn.dfn file.

Didn't crash, though :/

Re: spawn problem...

Posted: Tue Sep 18, 2012 7:43 am
by Tunai
Hi again,

I downloaded uox.ini tool from here or download page after i used that tool, uox3 was giving errors about uox.ini at start (no crash though, not related to this problem, i used tool after i got crashes so many times, i thought it may solve what i missing)

Yes I know the missing npcs but didnt related to problem am i right ? This errors show server is running fine(except missing spawns ofcourse :) )

I didnt get this one

"[*]UOX3 complains about malformed starting locations on startup. They are missing one thing compared to the starting location entries in the default UOX.INI - the cliloc numbers at the end."[/color]

starting locations you mean when i create character and select my city ? How can i solve this ?




About the spawns:

Server is running on Windows Server 2008 r2, can this be the source of problem ? Because One needs to setup everything(i mean system specific dll etc.) for a program to run.

If nothing solves this problems can you give me a default server .zip file with all items placed (signs at cities, tables, chairs etc.) and without no spawns ?

Thanks for trying to solve the issue, and replying such a short time.
Xuri wrote:I downloaded your files, and I noticed a couple of things as I ran it (even though it didn't crash at any point):
  • I noticed you've re-organized the UOX.INI settings. This should in theory be fine, as UOX3 doesn't read them in order or based on the [categories] listed in the file, but makes it slightly harder to compare to the default UOX.INI setup. Also, it's possible UOX3 will overwrite your custom changes in here the next time it saves out the UOX.INI file.
  • UOX3 complains about malformed starting locations on startup. They are missing one thing compared to the starting location entries in the default UOX.INI - the cliloc numbers at the end.
  • Upon startup UOX3 displays the following errors, when using your custom spawn.dfn:
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc bear (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc hammertroll (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc brownbull (NPC Not Found).
| ERROR: CreateBaseNPC(): Bad script npc brownbull (NPC Not Found).
...which suggests that those NPCs do not exist, but UOX3 is trying to spawn them through the spawn.dfn file.

Didn't crash, though :/

Re: spawn problem...

Posted: Wed Sep 19, 2012 9:03 am
by Tunai
----------UPDATE----------


I used version 0.98-4.0 all in one package with world files and several spawn.dfn files, no crashes occured. Succesfully started server up with missing npc errors.

Hmmm, now something popped up in my mind, Could it be that lack of java installation causing this ? Because I am sure I didnt install on my server.

I will check now.

Re: spawn problem...

Posted: Thu Sep 20, 2012 4:51 am
by Xuri
Java (or a lack thereof) should not be causing your problems, no. UOX3 uses an implementation of the C Spidermonkey Javascript engine to handle scripting, but otherwise runs on standard C++.

You mentioned running your server on Windows Server 2008. Do you have access to another computer with a different Windows-version you can try on, to see if the same thing happens?

Re: spawn problem...

Posted: Thu Sep 20, 2012 6:26 am
by Tunai
My desktop is server 2008 r2 too. I will try it in a virtual environment this evening and write the outcome.

Re: spawn problem...

Posted: Thu Nov 15, 2012 4:45 am
by Xuri
If you guys were using a client version lower than 7.0.9.0, a possible fix for this issue is up on the CVS, and also available in the latest experimental build.

Re: spawn problem...

Posted: Fri Nov 16, 2012 5:50 pm
by Tunai
Xuri wrote:If you guys were using a client version lower than 7.0.9.0, a possible fix for this issue is up on the CVS, and also available in the latest experimental build.

Thanks Xuri for taking care of here and builds etc.

Re: spawn problem...

Posted: Sun Nov 25, 2012 2:56 am
by Xuri
Gah, download link for experimental build was broken. Fixed it.

Re: spawn problem...

Posted: Sun Nov 25, 2012 10:31 am
by Tunai
Xuri wrote:Gah, download link for experimental build was broken. Fixed it.

Heh, finally fixed.