[FIXED] spawn problem...

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
Dawgmeat
UOX3 Newbie
Posts: 1
Joined: Mon Aug 13, 2012 11:02 am
Has thanked: 0
Been thanked: 0

spawn problem...

Post by Dawgmeat »

Hiya.
I'm new to uox3. I downloaded a pre spawnd .dfn file and now my server is crashing on start up =(
robert.harju
UOX3 Newbie
Posts: 12
Joined: Tue Sep 11, 2012 12:57 am
Has thanked: 0
Been thanked: 0

Post 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.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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?
-= Ho Eyo He Hum =-
robert.harju
UOX3 Newbie
Posts: 12
Joined: Tue Sep 11, 2012 12:57 am
Has thanked: 0
Been thanked: 0

Post 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.
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post 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.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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).
-= Ho Eyo He Hum =-
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post 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.
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post by Tunai »

Hi,

FTP username: public@sadecefikirlerim.com
FTP server: ftp.sadecefikirlerim.com
FTP & explicit FTPS port: 21
FTP password: public1234
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post by Tunai »

Any improvement on this Xuri ?

or are you able to download the files ?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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 :/
-= Ho Eyo He Hum =-
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post 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 :/
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post 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.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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?
-= Ho Eyo He Hum =-
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post by Tunai »

My desktop is server 2008 r2 too. I will try it in a virtual environment this evening and write the outcome.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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.
-= Ho Eyo He Hum =-
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post 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.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Gah, download link for experimental build was broken. Fixed it.
-= Ho Eyo He Hum =-
Tunai
UOX3 Newbie
Posts: 14
Joined: Sat Sep 15, 2012 1:35 pm
Has thanked: 0
Been thanked: 0

Post by Tunai »

Xuri wrote:Gah, download link for experimental build was broken. Fixed it.

Heh, finally fixed.
Post Reply