Giter Site home page Giter Site logo

Adding items to cash shop about heavenms HOT 1 CLOSED

philos22 avatar philos22 commented on August 17, 2024
Adding items to cash shop

from heavenms.

Comments (1)

Lichtmager avatar Lichtmager commented on August 17, 2024 1

Well, not exactly a guide but a way to make all (or almost all) items on CS is editing Etc.wz using harepacker..

Note: you will unlock every single item that can be buy at cs, and some other that dont. But some items are repeated with different prices, thats something you have to fix/edit by yourself..

Open harepacker, find the Etc.wz, open it and find Comodity.img, then dump the XML in a folder of your choice, i picked desktop, then open it with notepad+ and you will get a line or lines with the values of the items that appears and the others that don't.. What we have to do now is make all the items on sale, so we must replace all the on sale values and the way to do it pressing Ctrl+F, then click on replace and change:

int name="OnSale" value="0"/
for
int name="OnSale" value="1"/

If everything goes fine you will replace around 6500 values on it. Next thing to do is saving the file and then ( i dont know if this is needed but as i did it i'll write it here too) we must replace the values in the Wz file as well, so go back to the harepacker and delete/remove the whole Comodity.img on it, then click on Tools>Import>XML and find the comodity file we just edited and import it ( make sure you click the Etc.wz line in the harepacker before import the comodity to import it sucessfully) it will now have the values, save the Wz file and replace the comodity in your source folder.

Now open your source and there must be all the items that were previously hidden in your CS..

Now if you want to add an especific item just find the code of the item in comodity.img and change the value Onsale to 1, dump the file in your source, save the wz and the item will appear on it.

Hope this helps.

from heavenms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.