Jump to content

bg_consume items ->Telma comes to rathena


Anubis-K

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   21
  • Joined:  01/15/13
  • Last Seen:  

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
 
 
Edited by Anubis-K
  • Like 1
Link to comment
Share on other sites

  • 3 years later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/01/18
  • Last Seen:  

An question for you... How I can put this in my server rATHEA?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...