[C++] New GM Script menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] New GM Script

    This script will give a new GM everything he needs when he first logs into the realm including forced into staff guild, GM cloths, max level and a mount.


    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    void NewGM(Player *Plr)
    {
    #define GMCMD_GUILDLVL 'bcm'
    if(Plr->GetSession()->CanUseCommand(GMCMD_GUILDLVL)) {
    Guild * guild = objmgr.GetGuild(1);
    if(guild)
    guild->AddGuildMember(Plr->m_playerInfo,NULL);
    }
    if(Plr->GetSession()->CanUseCommand(GMCMD_GUILDLVL)) {
    Item * pItem = objmgr.CreateItem(12064, Plr);  // Gief Me GM Street Wear
    Plr->GetItemInterface()->AddItemToFreeSlot(pItem); 
    pItem = objmgr.CreateItem(2586, Plr);
    Plr->GetItemInterface()->AddItemToFreeSlot(pItem); 
    pItem = objmgr.CreateItem(11508, Plr);
    Plr->GetItemInterface()->AddItemToFreeSlot(pItem); 
    LevelInfo* info = objmgr.GetLevelInfo(Plr->getRace(), Plr->getClass(), 80);
    Plr->ApplyLevelInfo(info, 80); // Gief Me 80!
    if (Plr->GetTeam() == 0) Plr->addSpell(23510); //Allie Mount
    if (Plr->GetTeam() == 1) Plr->addSpell(23509); //Hordie Mount
      }  
            }
    void SetupNewGM(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_FIRST_ENTER_WORLD, NewGM);
    }
    updated for a crash fix in 3.2 adding to guild
    Last edited by Stabatha; 09-28-2009 at 07:00 AM.

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

    [C++] New GM Script
  2. #2
    [ Prototype ]'s Avatar Account not activated by Email
    Reputation
    719
    Join Date
    Dec 2006
    Posts
    844
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you compile this?
    Would be nice.
    +6 rep for the effort

  3. #3
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Pvpede View Post
    Could you compile this?
    Would be nice.
    +6 rep for the effort
    WoW thanks =) Issue with compiling though is there are so many cores out there now. I am using Hearthstone, I can compile it for that if you like.

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

  4. #4
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice
    x2 +Rep

    Edit: 24hour/cd

  5. #5
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice +Rep x2

  6. #6
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Link_S View Post
    Nice +Rep x2
    Thanks, but you only have 1 rep power =/

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

  7. #7
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking good dude
    If you need me you have my skype, if you don't have my skype then you don't need me.

  8. #8
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WoW Very nice +Spiffy! oh and here is a +Rep cookie too!

  9. #9
    Fireblast's Avatar Contributor
    Reputation
    195
    Join Date
    Aug 2008
    Posts
    883
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    goood gm script i shall say!

  10. #10
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You gave me a good idea for my server, thanks HQ!
    +rep
    Life Puzzler WoW - Website | Forums

  11. #11
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nicely done... +Rep 2x from me

  12. #12
    th3gam3's Avatar Active Member
    Reputation
    20
    Join Date
    Mar 2008
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BlizzardHQ View Post
    WoW thanks =) Issue with compiling though is there are so many cores out there now. I am using Hearthstone, I can compile it for that if you like.
    yeah can someone compile this for the core that i use its one of the releases with my name on it

  13. #13
    zwhit's Avatar Member
    Reputation
    3
    Join Date
    Nov 2008
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very cool, thanks dude.

  14. #14
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice script, and easily editable. +Rep

  15. #15
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for all the comments guys!

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 22
    Last Post: 08-28-2012, 08:02 PM
  2. [Q] New "Oneshot"-script or what?
    By delyus in forum WoW Instances & Raiding
    Replies: 1
    Last Post: 03-09-2012, 07:00 PM
  3. Replies: 10
    Last Post: 07-09-2009, 01:00 AM
  4. Looking for a new register script for mangos new core
    By slameys in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 11-14-2008, 10:05 AM
  5. New LUA Scripts
    By 777devil777 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 11-26-2007, 05:58 PM
All times are GMT -5. The time now is 07:36 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search