Results 1 to 8 of 8

Thread: ERROR: bad model name 'xmodel\prop_crate_dak1'

  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts

    ERROR: bad model name 'xmodel\prop_crate_dak1'

    Hi,

    I got a problem with the map mp_dustville on linux. It crashes the server with this error:
    Code:
    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

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    I think i might have found what causes the crash:

    Code:
    "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
    Last edited by Mitch; 14th May 2013 at 17:52. Reason: problem solved

  3. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    guiismiti (11th December 2013),kung foo man (14th May 2013)

  4. #3
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    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.

  5. The Following User Says Thank You to Tally For This Useful Post:

    kung foo man (14th May 2013)

  6. #4
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    Quote Originally Posted by Mitch View Post
    I think i might have found what causes the crash:

    Code:
    "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.

  7. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Use notepad++, i had trouble using stock notepad/notepad2.
    notepad++ worked fine though.

  8. The Following 3 Users Say Thank You to IzNoGoD For This Useful Post:

    guiismiti (11th December 2013),kung foo man (11th December 2013),Loveboy (2nd January 2014)

  9. #6
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Didn't know that Notepad++ can also change binary data, nice

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

  10. The Following User Says Thank You to kung foo man For This Useful Post:

    guiismiti (11th December 2013)

  11. #7
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    Extremely simple way to open a binary file, worked perfectly, the server is up and running.

    Tyvm!

  12. #8
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by guiismiti View Post
    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/..._dustville.iwd

  13. The Following User Says Thank You to Mitch For This Useful Post:

    guiismiti (12th December 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •