Jump to content

Easy conversion of Gold to Coins.


Recommended Posts

I dreaded the moment when I had to convert my entire Gold based traders to Coin based traders.

So I thought of the laziest way to do it. 

 

You will NEED notepad++

 

I made these two templates, one for gold on for silver (based on my servers there are some instances of 10-25 gold)

 

**NOTE** My coin ration is

1 Silver = 10 coins

1 Gold = 1000 coins

https://www.dropbox.com/sh/u1vu7hc4gace5xn/AABTxHsSTjPTrCUXJy8gnjLPa

Opened all the Trader .hpp's (using cfg traders)

 

Now press CTR+F

Click the "REPLACE" tab

 

and Line by line CUT (CTR+X) the Gold code

e.g

= {1,"ItemGoldBar"};

and pasted it in the "Find what:" section.

 

Then I CUT (CTR+X) the replacing Coin Code 

e.g

= {1000,"Coins"};

and pasted it in the "Replace with:" section

 

Then press "Replace all in All Opened Documents"

 

And I just kept going till both templates where empty. I advise you Cut the Code and not copy it so you do not double up or make an error.
If you stuff 1 line up, in the wrong order it will throw the rest out of sync.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...