Request in code :) (C++) menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Request in code :) (C++)

    Hey there everyone, well im in for a last favor before i go to testing I need a code so that when teleporting it cheaks if its alliance or hore, and if lets say its alliance it will go to IF or so. And then horde would like go to org. Well i think this is a simple task but i couldnt find any codes on this. And for all you flamers, jesus christ stop lol. +Rep


    -Thelegions

    Request in code :) (C++)
  2. #2
    Spectre90's Avatar Contributor
    Reputation
    92
    Join Date
    Jan 2008
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When teleporting with what? an item? a gameobject? or...just teleporting entirely? ..

  3. #3
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol well i got help from people here to create this. WHen you hit a player with this item they teleport to a location. I need to make it so that if its allie they get teleported here and if its horde they get teleported there.

  4. #4
    Spectre90's Avatar Contributor
    Reputation
    92
    Join Date
    Jan 2008
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    **edit**

    nvm this, misread may repost something in a bit

  5. #5
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol i have that but is there a way to have it like seperated with that same item. Like So its horde and allie get 2 different coords.

  6. #6
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    #define Usuckatcoding itemnumber
    if(Plr->GetItemInterface()->GetItemCount(Usuckatcoding) >= 1 &&  pVictim->IsPlayer())
    {
    if(Plr->GetTeam==RACE_BLOOD_ELF, RACE_ORC, RACE_UNDEAD, RACE_TAUREN, RACE_TROLL);
    Plr->SafeTeleport(coords);
    }
    else if(Plr->GetTeam==RACE_DRAENEI, RACE_NIGHT_ELF, RACE_HUMAN, RACE_GNOME, RACE_DWARF);
    Plr->SafeTeleport(coords);
    }
    else
    { pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "You suck at life, so you cant be teleported");
    }
    Something like that

  7. #7
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol that should work right? Oh btw tim about that timer right how would i take it out lol. Like i so on hit he gets that item but so there is no timer.

  8. #8
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It will work, and I don't know what you mean by last thing you said. I don't think there is a timer.

  9. #9
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This lol

    Code:
    Plr->CountTime(Total);
    
    If
    Plr->OnHit(Total);
    then
    Attacker->SAFEADDITEM(ID);
    If
    Attacker->HasItem(Illidan blade item)
    then
    Attacker->SAFEADDITEM(ID)

  10. #10
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Delete counttime part

  11. #11
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i pmed you. lol

  12. #12
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    make the last line is timmy's code like this:
    Code:
    Ple->SendBroadcastMessage("You suck at life, so you cant be teleported");
    since there is no creature to say that and if you put Plr in front of it then it would make the player say it, but BroadcastMessage sends it in the chat box where only the player can see it


  13. #13
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright thanks for that +rep for you lol i need to wait before +reping tim lol

  14. #14
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyoe know the codding for On hit that the attacker recieves an item??

  15. #15
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would it be like
    Code:
    Plr->Onhit
    And then rest of code
    ?

Page 1 of 2 12 LastLast

Similar Threads

  1. Help request - understanding code of decompiled wow binaries
    By aviana in forum WoW Memory Editing
    Replies: 0
    Last Post: 01-07-2012, 01:14 AM
  2. [REQUEST] Ally code for Rift
    By Link3s in forum Rift
    Replies: 0
    Last Post: 04-07-2011, 07:24 PM
  3. [Request] Hex Code
    By Lucyon in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 03-04-2008, 01:55 PM
  4. [Request] PHP coding
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-20-2008, 01:12 AM
  5. [Request] Hex Codes patch 2.3
    By oliax in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 10-13-2007, 12:58 PM
All times are GMT -5. The time now is 12:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search