Black Wolfs Den
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Keywords

eluna  

Latest topics
» Were Back Baby \o/
Cool [CPP] Grumbo'z VIP System Icon_minitime1Fri Nov 15, 2019 8:00 pm by Grumbo

» TrinityCore 2 Gold Max Work-Around
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 9:14 pm by Grumbo

» [CPP][Conv] Dedicated World Chat Channel
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 8:56 pm by Grumbo

» Cool [CPP] Grumbo'z VIP System
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 8:03 pm by Grumbo

» [CPP] EmuDevs Premium System
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 7:18 pm by Grumbo

» [TC]255 server stats edit! By Frost - Thanx
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 6:27 pm by Grumbo

» [Eluna] Grumbo`z VIP System
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 6:20 pm by Grumbo

» [CPP] Grumbo'z Capture the Flag System
Cool [CPP] Grumbo'z VIP System Icon_minitime1Tue Mar 21, 2017 5:14 pm by Grumbo

» Black Wolfs Den
Cool [CPP] Grumbo'z VIP System Icon_minitime1Mon Mar 20, 2017 10:07 pm by Grumbo

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Affiliates

free forum

Forumotion on Facebook Forumotion on Twitter Forumotion on YouTube Forumotion on Google+


Cool [CPP] Grumbo'z VIP System

Go down

Cool [CPP] Grumbo'z VIP System Empty Cool [CPP] Grumbo'z VIP System

Post by Grumbo Tue Mar 21, 2017 8:03 pm

Grumbo'z VIP System





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

Version 3.15

This is the VIP Engine PLUS+ many cool 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.


  • easy to read colored installation instructions.
  • easy to edit config's.


If you haven't updated your DB AND core for big stats and have issues with stats going wacky and possibly loosing value. Here is a link to @frost 's tutorial for editing your core for big stats:
https://blackwolfsden.forumotion.com/t63-tc255-server-stats-edit-by-frost-thanx






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.
        I may add setters for these but understand they would be for testing
        purposes only since they are hard stored in the World conf file.







  • Player Methods:

    • Getters

      • player:GetPlayerVIP(); returns uint8 value of a player's VIP rank;
      • player:GetPlayerMG(); returns a uint32 value of a player's total stored mg.
      • player:GetPlayerVOTES(); 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 .






>> Eluna Mod'z included <<

3.3.5a, CPP script, TrinityCore, Trinity Core, VIP System, VIP, wotlk
Grumbo
Grumbo
Admin
Admin

Posts : 95
Points : 234
Join date : 2014-08-21
Location : Pocatello Idaho

http://blackwolfsden.dnsdynamic.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum