PDA

View Full Version : ERROR: bad model name 'xmodel\prop_crate_dak1'



Mitch
14th May 2013, 13:33
Hi,

I got a problem with the map mp_dustville on linux. It crashes the server with this error:


ERROR: bad model name 'xmodel\prop_crate_dak1'


I find this very weird, because prop_crate_dak1 is a default model and it worked just fine on windows.

Map: http://callofduty.filefront.com/file/Dustville;68736

Mitch
14th May 2013, 17:44
I think i might have found what causes the crash:



"model" "xmodel\prop_crate_dak1"
"model" "xmodel/prop_crate_dak1"


Could it be the problem how the slash is used? Because during looking in the d3pbsp file i found that the models use both slashes.

Edit: after editing the d3pbsp by replacing xmodel\ with xmodel/ it works

Tally
14th May 2013, 18:20
Yep, you will get script runtime errors if you do the same. I've tried to include files and got the forward slash round the wrong way, and it threw a runtime error. Flipping it over makes the error go away.

guiismiti
11th December 2013, 15:46
I think i might have found what causes the crash:



"model" "xmodel\prop_crate_dak1"
"model" "xmodel/prop_crate_dak1"


Could it be the problem how the slash is used? Because during looking in the d3pbsp file i found that the models use both slashes.

Edit: after editing the d3pbsp by replacing xmodel\ with xmodel/ it works


hey... I've been trying to use this map in my server, it is such a great map and it's less than 2 Mb. Anyway, the server also runs Linux. I'm trying to change the slashes just like you said, but I don't know how to properly edit a d3pbsp (can't use wordpad and save as text, right?).
Can you tell me how to properly open and save it? or, can I have your editted d3pbsp file?

and hi Tally... I've been editting mods for my clan since 2008. I had to read a lot, and your mods and posts sure helped me a lot. Didn't know you were still posting about CoD2.

IzNoGoD
11th December 2013, 15:59
Use notepad++, i had trouble using stock notepad/notepad2.
notepad++ worked fine though.

kung foo man
11th December 2013, 16:08
Didn't know that Notepad++ can also change binary data, nice :D

Also possible, a hex editor like WinHex: http://www.x-ways.net/winhex/index-m.html

guiismiti
11th December 2013, 16:19
Extremely simple way to open a binary file, worked perfectly, the server is up and running.

Tyvm!

Mitch
11th December 2013, 18:34
Extremely simple way to open a binary file, worked perfectly, the server is up and running.

Tyvm!

For other people who want to put this map on their linux server:

https://zombienation.googlecode.com/svn/trunk/main/mp_dustville.iwd