Jump to content
World of Warcraft
  • Announcements

    • TheRock

      User support   07/09/17

      If you do not wish to register on the forum, you can always write on support@wowlegions.ru
    • TheRock

      Minimum server requirements   07/27/17

      System Requirements Apache 2.4.12 or higher PHP Version 7.0.21 or higher MySQL 5.6 or higher Modules for PHP   curl PDO drivers ionCube PHP Loader Should be included - RewriteEngine
      View phpinfo on a demo website  
Sign in to follow this  
TheRock

[CPP] Grumbo'z VIP System

Recommended Posts

Grumbo'z VIP Engine



 

--Built Tested and Approved for TrinityCore C++--

Version 2.10


This is the VIP Engine with many cool adjustable features:
 

  • This allows for an adjustable Max VIP level (default 6).
    • Can be adjusted in your worldserver.conf.

 

  • VIP can be increased by a one-time-use item.
    • a simple item that will increase a player's VIP level +1 then gets removed from there inventory. if the player has already reached the Max VIP Level then the item responds accordingly and does nothing else.

 

  • VIP can also be increased by Voting:
    • Can be turned on/off in the worldserver.conf.

 

  • An item that displays a players VIP stats `VIP Token`.
    • a simple item that displays a players VIP stats but also will allow them access to other features by just possessing one in there inventory.

 

  • Includes commands `.vip`:
    • 3 different teleports:
      • 2 mall teleports.(pre-stored faction mall, global mall)
        • Global mall `.vip mall`.
        • Faction mall `.vip home`.
      • 1 player stored teleport.(player storeable) `.vip hearthstone`.
    • scale command:
      • `.vip change scale x` where x is a size between 0.1 to 10.0.
     
    • morph command:
      • `.vip morph x` where x is an id.
     
    • demorph command:
      • `.vip demorph` demorphs a character.
     
    • repair command:
      • `.vip repair` (Player Requirement : VIP Token) sql included.
     
    • race, faction and char customizing commands:
      • `.vip change race` use to change race. Requires a re-log.
      • `.vip change faction` use to change character faction. Requires a re-log.
      • `.vip change custom` use to recustomize your character. Requires a re-log.
     
    • extra levels per VIP rank:
      • Can be turned on/off in the conf.

 

  • Creatures can drop mg:
    • Use the custom `mg` entry in `creature_template`. (sql entries posted below) Use to set a base value of `mg` drop for selected creatures. A creature with an `mg` value of 0 wont drop `Magic Gold`.
    • Use the custom `vip` entry in `creature_template`. The creature's VIP will be used as an added bonus, by using it as a random multiplier i.e (drop * urand(1, creature_vip)) the drop can be multiplied (1 to creature_vip) , after that the player's VIP level will be used as an added fixed multiplier i.e. (drop * urand(1, creature_vip) * player_vip_level) . setting a creatures VIP to 1 will allways produce a random 1 since its picking a random number from 1 to 1 lol.
  • Items can require a minimum VIP rank to use:
    • Use the custom `vip` entry in `item_template` to set a minimum required VIP level to equip the item.
  • Pick-N-Choose feature system.
  • easy to edit config's.

 



 


 


 



 

Eluna Methods


For those who enjoy the easy to use Eluna Engine I have added Methods for the Eluna Engine.
 

  • Global Methods:
    • Getters
      • GetVIPMAX(); returns uint8 max VIP rank value.
      • GetVIPVOTE_ENABLE(); returns bool value of ?can votes increase VIP rank?.
      • GetVIPVOTECOUNT(); returns uint32 value of ?how many votes change VIP rank?.
      • GetVIPCOINID(); returns the uint32 item id used for the VIP Coins.
      • GetVIPSTONEID(); returns the uint32 item id used for the VIP stone.
      • GetVIPMGID(); returns the uint32 item id used for the Magic Gold.
      • GetVIPOFFSET(); returns float value used to influence stats.
      • GetTALENTBONUS(); returns the uint8 values of how many extra TP per VIP rank.
      • GetLEVELBONUS(); returns the uint8 value of how many extra levels per VIP rank.
      • GetLEVELBONUS_ENABLE(); returns bool value of ?allow extra levels per VIP rank?.
    • Setters
      • No setters since all these values are set in the worldserver.conf file.

 

  • Player Methods:
    • Getters
      • player:GetVIP(); returns uint8 value of a player's VIP rank;
      • player:GetMG(); returns a uint32 value of a player's total stored mg.
      • player:GetVOTES(); returns uint32 value of a players total votes.
    • Setters
      • player:SetVIP(uint8_value); changes a players VIP rank to the provided uint8 value .
      • player:SetMG(uint32_value); sets a player's stored mg value to the provided uint32 value .
      • player:SetVOTES(uint32_value); changes a players total vote count to the provided uint32 value .

 

  • Item Methods:
    • Getters
      • item:GetItemVIP(); returns the uint8 value of an item's VIP
    • Setters
      • item:SetItemVIP(uint8_value); changes the item's VIP rank to the provided uint8 value .

 

  • Creature Methods:
    • Getters
      • creature:GetCreatureVIP(); returns the uint8 value of a creature's VIP
      • creature:GetCreatureMG(); returns the uint32 value of a creatures drop mg.
    • Setters
      • creature:SetCreatureVIP(uint8_value); changes the creature's VIP rank to the provided uint8 value .
      • creature:SetcreatureMG(uint32_value); changes the creatures drop mg count to the provided uint32 value .



 

>> ElunaLuaEngine Diff <<-- NOT updated --

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.