Welcome to AC Web.
Results 1 to 7 of 7
  1. #1

    Custom script add item


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hey there

    I made a custom script to add items to the player with player->AddItem() function

    Now, the Item I want to add is a token so I don't want it to be stored into inventory but into currency.

    Item I want to add is a custom token copied by Emblem of Heroism,
    Custom item is added to dbc

    Any idea why is not working?

    - - - Updated - - -

    Nvm, already done.
    CurrencyTypes.dbc
    Last edited by molinita; 12-07-2019 at 08:08 PM.

  2. #2
    http://YugoWoW.com/

    Join Date
    Feb 2014
    Location
    http://yugowow.com
    Posts
    2,610
    Hi, I assume this is what you're looking for :

    http://www.ac-web.org/forums/showthr...231576%3B-Way)

    Just follow that guide.

    Edit: i was searching the guide link but you found it in the meantime, nvm

  3. #3
    Up phát .........................

  4. #4
    Quote Originally Posted by JadaDev View Post
    Hi, I assume this is what you're looking for :

    http://www.ac-web.org/forums/showthr...231576%3B-Way)

    Just follow that guide.

    Edit: i was searching the guide link but you found it in the meantime, nvm
    Yea haha I followed that guide! Thank you tho
    Still I don't understand why the values in column 3 and 4 but well

  5. #5
    http://YugoWoW.com/

    Join Date
    Feb 2014
    Location
    http://yugowow.com
    Posts
    2,610
    Quote Originally Posted by molinita View Post
    Yea haha I followed that guide! Thank you tho
    Still I don't understand why the values in column 3 and 4 but well
    3 Category

    Well It's a Category means you can put Category ID : 15 for exp

    Emblem of Donating ( Category : 15 )
    Emblem of Voting ( Category : 15 )

    R1 Token ( Category : 16 )
    R2 Token ( Category : 16 )

    So when people open their currencies they'll see all the categories listed in groups ( like in retail )

    Mist of Pandaria Currencies are grouped
    BFA grouped
    Legion Grouped etc..

    Bitindex or column 4 is for the list orders if you understand what i mean
    Like
    1 = first
    2 = second etc..

  6. #6
    Quote Originally Posted by JadaDev View Post
    3 Category

    Well It's a Category means you can put Category ID : 15 for exp

    Emblem of Donating ( Category : 15 )
    Emblem of Voting ( Category : 15 )

    R1 Token ( Category : 16 )
    R2 Token ( Category : 16 )

    So when people open their currencies they'll see all the categories listed in groups ( like in retail )

    Mist of Pandaria Currencies are grouped
    BFA grouped
    Legion Grouped etc..

    Bitindex or column 4 is for the list orders if you understand what i mean
    Like
    1 = first
    2 = second etc..
    Great, very useful thanks, +rep

  7. #7
    http://YugoWoW.com/

    Join Date
    Feb 2014
    Location
    http://yugowow.com
    Posts
    2,610

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Quote Originally Posted by molinita View Post
    Great, very useful thanks, +rep
    No worries, glad i helped!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •