This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] new Currency  (Read 1477 times)

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
[SOLVED] new Currency
« on: May 12, 2013, 10:43:44 pm »
Hey,

Today try i to add a new Currency like Emblem of Frost or another Emblem.

I create a new Item in the item_template, add the entry into Item.dbc and add the new Currency to the CurrencyTypes.dbc

And here is my problem. the CurrencyTypes.dbc has 3 fields,(with the id 4) the last field numbers like a flag, from blizz 1 to 29.
When I give my own currency the flag 30 and I add me this ingame I don't see it. But I give this the number 29 (number of emblem of frost) and add the new currency ingame, same, i didn't see its, except i add me a emblem of frost, so i see my own currency.

Ok i think this number says the client update now the currency window.
To the next, i looking in some framexml/gluexml but here i nothing found.
Any here have a idea who i found this? So that the new currency ingame displayed when a player become this first, without he must become after this a emblem of frost or a another thing.
« Last Edit: May 18, 2013, 09:58:15 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: new Currency
« Reply #1 on: May 13, 2013, 02:00:08 pm »
Considering the structure ID - ItemEntry - Category - bitmask:

If Category is 0x1, and if you properly set the id on the item in item_template, everything should be fine. No need to edit xmls.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
[SOLVED] Re: new Currency
« Reply #2 on: May 18, 2013, 09:58:04 am »
Thanks, i try its yesterday and its works.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »