Solved Map replacement issue

Status
Not open for further replies.

liliwang

Member
Registered
Joined
Sep 11, 2024
Messages
37
Reaction score
3
Points
8
Using file K18.2, I copied the entire World from Florist and replaced my World file. When I started the server WorldServer.exe, it crashed

WorldServer crashes upon startup
Error diary, is this error due to the model not being added correctly



2024/10/ 9 01:38:52 CModelMng::loadModel objtype=0 index=91203 bpart=0

2024/10/ 9 01:38:52 GetModelElem - out of range: type=0, size=38669, index=91203

2024/10/ 9 01:38:52 CModelMng::loadModel objtype=0 index=91203 bpart=0

2024/10/ 9 01:38:52 GetModelElem - out of range: type=0, size=38669, index=91203

2024/10/ 9 01:38:52 CModelMng::loadModel objtype=0 index=91203 bpart=0

2024/10/ 9 01:38:52 GetModelElem - out of range: type=0, size=38669, index=91203

2024/10/ 9 01:38:52 CModelMng::loadModel objtype=0 index=91203 bpart=0

2024/10/ 9 01:38:52 GetModelElem - out of range: type=0, size=38669, index=91203
 
Last edited:
Solution
I have added all the missing ones, but when I opened WorldEditor.exe, there were a few NPC error messages indicating that I could also add them and open them normally. However, WorldServer.exe still crashes when starting, resulting in the following error
Hey There!
Please login and(or) register to see this awesome content today.


As you said, NPC errors, those are probably whats missing.
Reading the Error also gives a hint that the Model might be missing a motion, so...
Can we have a little bit more info on what you did?

What files are you using, what kind of map did you add, and what have you done so far?
 
Can we have a little bit more info on what you did?

What files are you using, what kind of map did you add, and what have you done so far?
Using file K18.2, I copied the entire World from Florist and replaced my World file. When I started the server WorldServer.exe, it crashed
 
Using file K18.2, I copied the entire World from Florist and replaced my World file. When I started the server WorldServer.exe, it crashed
Did you add the missing lines from all the resources aside from just copying the World Folder?


Models, Textures, SFX, Monsters?


It doesn't work like Copy + Paste and boom magic it works.
You have to make sure you have all the Models/Textures/Monsters/SFX in the map before it works. Otherwise you will only get errors for the missing stuff.
Stuff you'll need to look into are like defineItem,defineObj,MdlDyna,propmover and other more resource stuff that might have relation to the things inside the map.

What I suggest, is get a WorldEditor that has an "Export" Feature so that you can generate a complete list of what needs to be added for the map to work.
 
Last edited:
Using file K18.2, I copied the entire World from Florist and replaced my World file. When I started the server WorldServer.exe, it crashed
K18 is well known to be bugged, i have stated this several times.

The L series is much better...

Either way you cant just copy folders and expect things to work lol.

You'll need to add models, worlds, terrains, alter several resource files to.
 
K18 is well known to be bugged, i have stated this several times.

The L series is much better...

Either way you cant just copy folders and expect things to work lol.

You'll need to add models, worlds, terrains, alter several resource files to.
I m used to it. I replaced the L18 as you mentioned last time

I have added all the missing items, but WorldServer.exe still crashes when starting, causing this error.

Hey There!
Please login and(or) register to see this awesome content today.

Did you add the missing lines from all the resources aside from just copying the World Folder?


Models, Textures, SFX, Monsters?


It doesn't work like Copy + Paste and boom magic it works.
You have to make sure you have all the Models/Textures/Monsters/SFX in the map before it works. Otherwise you will only get errors for the missing stuff.
Stuff you'll need to look into are like defineItem,defineObj,MdlDyna,propmover and other more resource stuff that might have relation to the things inside the map.

What I suggest, is get a WorldEditor that has an "Export" Feature so that you can generate a complete list of what needs to be added for the map to work.
I have added all the missing ones, but when I opened WorldEditor.exe, there were a few NPC error messages indicating that I could also add them and open them normally. However, WorldServer.exe still crashes when starting, resulting in the following error
Hey There!
Please login and(or) register to see this awesome content today.
 
I have added all the missing ones, but when I opened WorldEditor.exe, there were a few NPC error messages indicating that I could also add them and open them normally. However, WorldServer.exe still crashes when starting, resulting in the following error
Hey There!
Please login and(or) register to see this awesome content today.


As you said, NPC errors, those are probably whats missing.
Reading the Error also gives a hint that the Model might be missing a motion, so that's probably in objdyna.

Here's something you can try if you just want to use the World Design and without NPC's or Monsters then add them in on your own.

1. In the world folders, open the .dyo file and delete everything in it or replace it with what you had before in the old Map.
2. Do the same for .rgn file.
3. Match it with your client folder.

With that you should be able to make the World Server run and check the map out. Although this isn't a complete fix but this is an alternative if you just want the world to work.
 
Solution
As you said, NPC errors, those are probably whats missing.
Reading the Error also gives a hint that the Model might be missing a motion, so that's probably in objdyna.

Here's something you can try if you just want to use the World Design and without NPC's or Monsters then add them in on your own.

1. In the world folders, open the .dyo file and delete everything in it or replace it with what you had before in the old Map.
2. Do the same for .rgn file.
3. Match it with your client folder.

With that you should be able to make the World Server run and check the map out. Although this isn't a complete fix but this is an alternative if you just want the world to work.
Thank you for your response. As you mentioned, using dyoManager to replace the old one is working properly now. Thank you very much
 
Thank you for your response. As you mentioned, using dyoManager to replace the old one is working properly now. Thank you very much
Then you can add the missing ones from the florist map to have better control on errors and such.
 
Status
Not open for further replies.