Author Topic: WM Editor deleting Items.itemsx  (Read 3796 times)

0 Members and 1 Guest are viewing this topic.

Offline Valth

  • Newbie
  • *
  • Posts: 7
WM Editor deleting Items.itemsx
« on: May 31, 2013, 11:27:23 PM »
I am trying to add a item that will get rid of Sterility, and every time I try to save the item list with this item included, the editor deletes the Items.itemsx file, rather than actually saving it.

Just in case it makes a difference, I am using WM EX.

Offline hewhocumsbynight

  • Hero Member
  • *****
  • Posts: 683
  • All Hail the Crimson King!
Re: WM Editor deleting Items.itemsx
« Reply #1 on: May 31, 2013, 11:42:34 PM »
When it goes to Save As, rename the file to something other than Items.itemsx
My MEGA folder can be found at:  https://mega.co.nz/#F!EYhAgTyI!keiMX47NrnGOEozwNb2Vfg

Torrent link of my version, effective September, 2016:  magnet:?xt=urn:btih:4606F11A1C216337D7F3DFD6716307F48CFB996A&dn=WhoreMaster.06.02.29&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80

Offline Valth

  • Newbie
  • *
  • Posts: 7
Re: WM Editor deleting Items.itemsx
« Reply #2 on: June 01, 2013, 12:36:12 AM »
Just tried that, it doesn't save at all.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: WM Editor deleting Items.itemsx
« Reply #3 on: June 01, 2013, 04:02:50 AM »
Try running it as Admin. That might solve your issue.

//PS: You ca just open the file with any decent text editing software and add to it manually...
Like what we're doing?

Offline Valth

  • Newbie
  • *
  • Posts: 7
Re: WM Editor deleting Items.itemsx
« Reply #4 on: June 01, 2013, 04:16:27 AM »
Running Windows XP at the moment, also I tried adding it manually, but the game just hangs when I try starting it with a modified file.

Offline hewhocumsbynight

  • Hero Member
  • *****
  • Posts: 683
  • All Hail the Crimson King!
Re: WM Editor deleting Items.itemsx
« Reply #5 on: June 01, 2013, 08:48:08 AM »
Might be different since you're using EX...
My MEGA folder can be found at:  https://mega.co.nz/#F!EYhAgTyI!keiMX47NrnGOEozwNb2Vfg

Torrent link of my version, effective September, 2016:  magnet:?xt=urn:btih:4606F11A1C216337D7F3DFD6716307F48CFB996A&dn=WhoreMaster.06.02.29&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: WM Editor deleting Items.itemsx
« Reply #6 on: June 01, 2013, 10:34:50 AM »
As far as I remember, wm ex and vanilla wm both use the same items, but in wm ex they were nerfed a lot. While wm ex does have some new traits, it doesn't have items utilising those traits, so items editor should work fine.
Even more strange that the game hangs after manual editing. I tried it once, and it worked perfectly. So I guess that either you made a mistake during editing, or something wrong with your copy of the game.

Offline Valth

  • Newbie
  • *
  • Posts: 7
Re: WM Editor deleting Items.itemsx
« Reply #7 on: June 01, 2013, 01:16:01 PM »
   Here is my manual edit, tell me if anything seems out of place that would cause the game to hang.

    <Item
        Name="Cure Sterile"
        Desc="Cure Sterile"
        Type="Food"
        Badness="0"
        Special="None"
        Cost="400"
        Rarity="Shop50"
        Infinite="false"
        GirlBuyChance="0">
        <Effect
            What="Trait"
            Name="Sterile"
            Amount="0" />
    </Item>

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: WM Editor deleting Items.itemsx
« Reply #8 on: June 01, 2013, 01:58:27 PM »
Nothing wrong here. Maybe you accidentally messed with the global <Items></Items> teg?

Anyway, I have encountered a similar problem recently with another game. For some reason a game refused to accept my code even though it didn't have any mistakes. I solved it by using notepad++ instead of usual notepad.

Offline Valth

  • Newbie
  • *
  • Posts: 7
Re: WM Editor deleting Items.itemsx
« Reply #9 on: June 01, 2013, 03:20:02 PM »
That worked, it allowed me to edit the file manually and add a item, thank you.