[C++] Levelcast (Level Yell) menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] Levelcast (Level Yell)

    LevelCast
    Information

    LevelCast is a script that on level up the character unwillingly announces yells that they've leveled up so that way all players around will here and can congratulate him if they wish, its really just a fun thing to place on a fun server it doesn't broadcast it or anything just yells it so people near can hear it. Probably not recommended for big servers due to mass spam it could cause.

    Here is the Script i hope you enjoy

    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    ///////////////////////GM Chat Commands//////////////////////
    static string lvlon = "#levelyell";
    static bool b_lvlon = true;
    
    void LevelCommands(Player * pPlayer, uint32 Type, uint32 Lang, const char * Message, const char * Misc)
    {
       if(Message == lvlon && pPlayer->GetSession()->HasGMPermissions())
       {
           char message[200];
           if(b_lvlon = true)
           {
               b_lvlon = false;
               sprintf(message,"[LevelCast] GM %s has disabled LevelCast", pPlayer->GetName());
               pPlayer->BroadcastMessage("You have turned off LevelCast");
           }
           else if(b_lvlon = false)
           {
               b_lvlon = true;
               sprintf(message,"[LevelCast] GM %s has enabled LevelCast", pPlayer->GetName());
               pPlayer->BroadcastMessage("You have turned on LevelCast");
           }
    
          sWorld.SendWorldWideScreenText(message);
       }
    };
    
    
    void Level(Player * pPlayer)
    {
        if(b_lvlon = true)
        {
        char * message;
        sprintf(message, "DING!!!, Yay i've reached level %s.", pPlayer->getLevel());
        pPlayer->SendChatMessage(CHAT_MSG_YELL,LANG_UNIVERSAL, message);
        }
    }
    
    void SetupLevelUp(ScriptMgr * mgr)
    {
        mgr->register_hook(SERVER_HOOK_EVENT_ON_POST_LEVELUP, &Level);
        mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, &LevelCommands);
    }
    Lunar Gaming - Reaching For The Stars

    [C++] Levelcast (Level Yell)
  2. #2
    bsod-staff14's Avatar Member
    Reputation
    35
    Join Date
    Nov 2008
    Posts
    443
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First Epic release bro . I respect you for stepping up to the plate and releasing something not many people will do, mostly because it is a private thing... Most great servers have this, all the crappy ones don't. Its basically proven lol.

    +Rep
    Immortal GamerZ Under Development!

  3. #3
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First epic release?... 0.o Great release Mager. +Rep x2

  4. #4
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys glad you enjoy it, just trying to help out the community XD
    Lunar Gaming - Reaching For The Stars

  5. #5
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work, glad to see some people still care about the community.

    +Rep


  6. #6
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not bad, both in this and old scripts of your, used some not needed checks, few space eating parts also, but it is good anyway, just script cosmetics are bad. +rep x2

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  7. #7
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ummm wouldn't this crash the whole chat system lol?
    https://Fileusher.com

  8. #8
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No..............
    Lunar Gaming - Reaching For The Stars

  9. #9
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow nice i did'nt know you could make a chat script without bool XD
    https://Fileusher.com

  10. #10
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice
    +Rep
    (have to wait a bit XD)
    It's been a while

  11. #11
    ZGoldsmith92's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice... +Rep

  12. #12
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks guys =D

    glad you like it
    Lunar Gaming - Reaching For The Stars

  13. #13
    Iago's Avatar Member
    Reputation
    7
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Big release, i will test it

  14. #14
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hope you enjoy it Iago
    Lunar Gaming - Reaching For The Stars

  15. #15
    Xel's Avatar ★ Elder ★
    Authenticator enabled
    Reputation
    1179
    Join Date
    Jul 2008
    Posts
    2,906
    Thanks G/R
    94/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have such a nice Sig render Dr. Livingstone

Page 1 of 2 12 LastLast

Similar Threads

  1. Fast Runecloth level 55+
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 03-08-2013, 04:51 AM
  2. 1-60 Horde Leveling Guide w/ Quests
    By Matt in forum World of Warcraft Guides
    Replies: 23
    Last Post: 04-17-2007, 07:26 PM
  3. Alliance Leveling 1-60
    By Matt in forum World of Warcraft Guides
    Replies: 8
    Last Post: 12-14-2006, 06:07 PM
  4. Massive WoW Leveling Grinding Spots List (merged list)
    By Matt in forum World of Warcraft Guides
    Replies: 9
    Last Post: 05-27-2006, 07:34 PM
  5. Accelerated Leveling Guide 48-60
    By Matt in forum World of Warcraft Guides
    Replies: 0
    Last Post: 03-03-2006, 11:49 PM
All times are GMT -5. The time now is 09:57 PM. 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