Renaming GM commands menu

User Tag List

Results 1 to 11 of 11
  1. #1
    *~Descending~*'s Avatar Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Renaming GM commands

    This is very simple, even a hasbro can do it.(FYI im using Ascent as this example) First what you need to do is go into Chat.cpp. Now for an example im going to be modifying this

    Code:
    else if(!strcmp(name, "gmTicket"))
            return _GMTicketCommandTable;

    Now, I want to scroll down untill I can see this bit of code


    Code:
    static ChatCommand GMTicketCommandTable[] =
        {
            { "get",         'c', &ChatHandler::HandleGMTicketGetAllCommand,  "Gets GM Ticket",               NULL, 0, 0, 0},
            { "getId",       'c', &ChatHandler::HandleGMTicketGetByIdCommand, "Gets GM Ticket by ID",         NULL, 0, 0, 0},
            { "delId",       'c', &ChatHandler::HandleGMTicketDelByIdCommand, "Deletes GM Ticket by ID",      NULL, 0, 0, 0},
            { NULL,            0, NULL,                                       "",                             NULL, 0, 0  }
        };
        dupe_command_table(GMTicketCommandTable, _GMTicketCommandTable);
    WoW.. what a handful, now im going to be changing 3 things "get" "getid" "delId" they are just the things that you type in game for GmTickets.
    Now im going to change "get" to "getTicket"
    Then im going to change "getId" to "getTicketId"
    And finally I will change "delId" to "delTicketId"


    &ChatHandler::HandleGMTicketDelByIdCommand, "Deletes GM Ticket by ID"

    Now, all the things in red you may not change, but the others you keep the same, the " " will say Deletes GM tckets by ID next to the command.
    You may also make custom commands like .morphall may release a guide later on how to do that.


    Original post: http://www.***********/forums/c-modu...-commands.html You are free to post this guide anywhere with the correct credits intact.
    Please post any suggestions/comments/questions in this thread.
    And yes, I am the original writer of those other guides in the c++ section Understand Custom commands + Boss scripts.
    Last edited by *~Descending~*; 09-07-2008 at 12:45 AM.

    Renaming GM commands
  2. #2
    Maven01's Avatar Active Member
    Reputation
    23
    Join Date
    Nov 2007
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol? The link is broken...but otherwise, thanks?

  3. #3
    *~Descending~*'s Avatar Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, must have blocked mmopro, anyways I was the original poster name: Descending

  4. #4
    Neth'zul's Avatar Banned
    Reputation
    204
    Join Date
    Nov 2007
    Posts
    887
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You say its so easy even hasbro can do it..isint hasbro a genius at c++? lol

  5. #5
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol... no.

  6. #6
    *~Descending~*'s Avatar Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You say its so easy even hasbro can do it..isint hasbro a genius at c++? lol
    hehe funny but no.. He pays his dev's to do all his work and while doing so have a un-stable core.

  7. #7
    the MentalPygmey's Avatar Member
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you also change .recall port , command to just .r p???

  8. #8
    *~Descending~*'s Avatar Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yup (filler)

  9. #9
    knaur's Avatar Elite User
    Reputation
    400
    Join Date
    Nov 2007
    Posts
    634
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hasbro still thinks c++ is a car model from Ford
    ------------------------------------------------------
    Knaur - Founder of The Norwegian Elite Team

  10. #10
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by knaur View Post
    hasbro still thinks c++ is a car model from Ford
    Haha good one
    [/COLOR]

  11. #11
    *~Descending~*'s Avatar Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hasbro still thinks c++ is a car model from Ford
    Rofl nice one knaur.

Similar Threads

  1. 5 Priest Raiding Commandments
    By Squirllz in forum World of Warcraft Guides
    Replies: 1
    Last Post: 10-11-2006, 07:43 PM
  2. Window renamer
    By Demonkunga in forum World of Warcraft General
    Replies: 0
    Last Post: 08-16-2006, 02:59 AM
  3. [Guide] File renaming
    By Dave-evad in forum WoW ME Tools & Guides
    Replies: 0
    Last Post: 08-15-2006, 03:30 AM
  4. Window Title Renaming Tool
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 07-29-2006, 01:59 AM
  5. [Guide] Command List
    By oninuva in forum World of Warcraft Guides
    Replies: 5
    Last Post: 05-17-2006, 08:28 PM
All times are GMT -5. The time now is 09:13 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