Newbie Spellweaver
- Joined
- Feb 9, 2022
- Messages
- 35
- Reaction score
- 11
Good evening! I've been trying to add more items in the cash shop following tutorials but I can't seem to get it right. I tried to set the OnSale value to 1 for items that had it set to 0 in the commodity.img that's already there in the source (HeavenMS original source), but the item won't show up in the cash shop... dunno why. The item I'm taking as example is in the game, I can use the gm command to get it and wear it with no issues but to make the game feel natural without scrolling through IDs and using commands, I want to be able to purchase from the Cash Shop.
Can someone help me?
This is the item:
This is the code, it's HeavenMS code and there is something odd. not sure if my interpretation is right but... whenever I edit the Etc.wz in the client with the HaRepacker, setting the OnSale value to 1, having both client and server setted with 1, after opening the game and closing it, the value setted on the OnSale goes back to 0 in the .wz. the code is saying it creates a new Etc.wz, I'm thinking it's a clean one with no edits... But it should get the data from commodity.img, right? but the commodity in server keeps the value of 1, only in Etc.wz the value goes back to 0...
The item doesn't show up in the Cash Shop, that's the thing. :/
Can someone help me?
This is the item:
You must be registered to see links
This is the code, it's HeavenMS code and there is something odd. not sure if my interpretation is right but... whenever I edit the Etc.wz in the client with the HaRepacker, setting the OnSale value to 1, having both client and server setted with 1, after opening the game and closing it, the value setted on the OnSale goes back to 0 in the .wz. the code is saying it creates a new Etc.wz, I'm thinking it's a clean one with no edits... But it should get the data from commodity.img, right? but the commodity in server keeps the value of 1, only in Etc.wz the value goes back to 0...
You must be registered to see links
The item doesn't show up in the Cash Shop, that's the thing. :/