Anubis-K Posted August 24, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Share Posted August 24, 2014 (edited) Hi, In the old forum of eathena there was a very cool mod that did the following: You can buy items from a certain NPC that sell them as a Battleground Items, which you can use just inside of Battleground and other approved mapflag: "bg_consume". Here I do a release of the updated script compatible with rAthena (eAthena's patch is comming): Important: You need to create a character named "Battleground" and set the apropiate char id in the src: yes hard coded. in: src/map/battleground.h //Brian Bg Items - updated by [AnubisK] #define BG_CHARID 165100 // char named "Battleground" // you can change the character id. #define BG_TRADE 91 // trade mask of BG consumables // You can edit the mask Known bugs: If you have in your inventary Bg items and normal items plus you are outside of battleground or bg_consume maps, you will not be able to use the items. Example: Imagine that you are in map prontera: You have "1 Battleground Blue Gemstone" and one normal "Blue Gemstone" If you use "Warp portar", the skill will fail, because reads first the BG item. Note: I'm not the Autor, I just did a patch compatible with rAthena that is the only credit I can get. The credits of for the original idea must go to (as fas as I know) Brian one of the devs (http://rathena.org/board/user/237-brian/). Plesae inform any bug you find Click here to download this file Edited September 10, 2014 by Anubis-K 1 Quote Link to comment Share on other sites More sharing options...
Timy Posted August 6, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 3 Reputation: 0 Joined: 08/01/18 Last Seen: November 19, 2018 Share Posted August 6, 2018 An question for you... How I can put this in my server rATHEA? Quote Link to comment Share on other sites More sharing options...
gvcarmo Posted June 17, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.01 Content Count: 8 Reputation: 1 Joined: 05/08/24 Last Seen: July 14, 2024 Share Posted June 17, 2024 Is not working anymore, theres any way to insert that?: Quote Link to comment Share on other sites More sharing options...
gvcarmo Posted June 18, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.01 Content Count: 8 Reputation: 1 Joined: 05/08/24 Last Seen: July 14, 2024 Share Posted June 18, 2024 (edited) I did fixed somehow any of those errors, but still not working Edited June 18, 2024 by gvcarmo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.