Private
Protection
Special Offers
Catalog
Referral system (Java)12.01.2012
Referral system: (introduced in any Assembly on the basis of the Phoenix, Overworld). Included in the basic kit build L2-scripts High Five (VIP)
1. The basic idea. the Essence of referral system in finding players from other active players and getting bonuses for it. The player which is indicated as a referral will be deducted in the inventory % drop (specified in the config) for certain item (specified in config). Will a tax on clan members of the clan set the clan leader. The clan leader can set percent tax (specified in config) on certain items (specified ID in the config).
2. Type of referral system. To run the referral system uses voice command .ref and to start clan tax command is used .nalog . When you type the command in chat you get a window similar to the following:
When specifying the referral button "Specify referral" disappears along with the field for nick, and instead it appears "Referral:
When entering the command, the clan leader of the team .nalog POPs up this window:
the window input tax you can only enter integers from 0 to 100. In the config makes the following variables: # Referral system # only integers from 0 to 100, with 0 - disable referral system Ref_bonus = 10 # ID of the item (only the stack) via ; Ref_items = 57;4037;4356 # the maximum number of referrals (only integers) Ref_max = 50 # limit the availability of the system # what is your level Ref_lvl = 1 # the presence of the Nobility Ref_noble = false # the presence of Premium account Ref_prem = false # whether to Give the bonus only if the referral offline # True - issue # False - do not issue a Ref_online = false # Giving a bonus to characters with one login # True - issue # False - do not issue a Ref_login = false # whether to Give a bonus to characters with a single HWID # True - issue # False - not to give away Ref_HWID = false # the time spent in the game referral that is, if the character spent in the game a specified time, he begins to credited bonus # specified in hours Ref_time = 5 #Max level of refferer bonus Ref_max_level = 52
# Clan tax system # only integers from 0 to 100, when 0 disabling the tax system of clans Nalog_rate = 5 # ID of the item (only the stack) via ; Nalog_items = 57;4037;4356 # limit the availability of the system # what is your level Nalog_lvl = 1 # the presence of the Nobility Nalog_noble = false # the presence of a Premium account Nalog_prem = false
In the database referral system has a ref table consists of two column: main_id and ref_id main_id - ID of the character who collects bonuses ref_id - ID Chara referral which point main_id
Both systems have check item is the fact where did they appear, you need to enabled autoloot or a ban on referral drop things on the ground that players would not cheat their state by discarding money on the ground and their selection, then the system does not work in the trade, Poluchenie by mail, auctions.
sincerely, Yuri! ----------------------------
|
Search
News