[Request] Command Edit to work on players! (core experts read pls) menu

User Tag List

Results 1 to 3 of 3
  1. #1
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Command Edit to work on players! (core experts read pls)

    well i need a core edit... if someone could do it for me it would be great.. you can post the code between code tags that needs to be edited or something
    i need someone to edit the source code so that the .cheat taxi 1 command also works on players... cuz now it only works on GMs :-/ (on our server)
    Well i am not a core expert so if anyone could do it for me it would be great
    help is much appreciated


    grtz


    note:
    i searched myself and i got to this part of the source:
    Code:
    bool ChatHandler::HandleTaxiCheatCommand(const char* args, WorldSession *m_session)
    {
        if (!*args)
            return false;
    
        int flag = atoi((char*)args);
    
        Player *chr = getSelectedChar(m_session);
        if (chr == NULL) return true;
        
        char buf[256];
    
        // send message to user
        if (flag != 0)
        {
            snprintf((char*)buf,256, "%s has all taxi nodes now.", chr->GetName());
        }
        else
        {
            snprintf((char*)buf,256, "%s has no more taxi nodes now.", chr->GetName());
        }
        GreenSystemMessage(m_session, buf);
        
        // send message to player
        if (flag != 0)
        {
            snprintf((char*)buf,256, "%s has given you all taxi nodes.",
                m_session->GetPlayer()->GetName());
        }
        else
        {
            snprintf((char*)buf,256, "%s has deleted all your taxi nodes.",
                m_session->GetPlayer()->GetName());
        }
        SystemMessage(m_session, buf);
    
        for (uint8 i=0; i<8; i++)
        {
            if (flag != 0)
            {
                m_session->GetPlayer()->SetTaximask(i, 0xFFFFFFFF);
            }
            else
            {
                m_session->GetPlayer()->SetTaximask(i, 0);
            }
        }
    
        return true;
    }
    maybe that is the part that needs to be edited? anyhow the one who makes this and posts it gets rep from me

    [Request] Command Edit to work on players! (core experts read pls)
  2. #2
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *bump* omg 2nd page almost rofl

  3. #3
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *bump again* i know there are some of you that can do this fast :-/

Similar Threads

  1. [Question/Request] Model edits not working
    By Ecadioli in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 08-27-2008, 04:37 AM
  2. weird model edits not working :S
    By nozzie in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-20-2006, 08:51 AM
  3. REQUEST: model edit mac
    By dued02 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-24-2006, 01:01 PM
All times are GMT -5. The time now is 10:49 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