[HELP PLEASE] Need 1 c++ code. menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  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)

    [HELP PLEASE] Need 1 c++ code.

    I need a C++ code for when i attack a player with a certain item he gets teleported to a cirtin place. This is what i have for now.

    Its just a start......

    Code:
    #define coords x,y,z (or something like that)
    If
    Attacker->HasItem(Illidan blade item)
    then
    Plr->EventTeleport(coords);
    Not sure if this would work anyone mind helping me???+Rep

    [HELP PLEASE] Need 1 c++ code.
  2. #2
    Haq's Avatar Member
    Reputation
    19
    Join Date
    Jul 2007
    Posts
    348
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I'm wondering is how you plan on implementing the c++ code into a server.

  3. #3
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Compiling it into a .dll and put it in Script_bin, easy lol, i suck at C++, haven't tried
    but meh lol, good luck

  4. #4
    Functions's Avatar Banned
    Reputation
    10
    Join Date
    Dec 2007
    Posts
    206
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm i am guru yes you would also need the sql coordinates on the island u need to specifiy

  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)
    But would that work out exacly? so if i put that code in it will work? and for the cords how many numbers will i need?

  6. #6
    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)
    ????????????????????

  7. #7
    Corruptedwow's Avatar Member
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "if

    then"


    lmao close

    its
    "if else"

    its
    Code:
    Usuckatcoding=(itemnumber)
    if(Plr->GetItemInterface()->GetItemCount(Usuckatcoding) >= 1)
    {
    Plr->SafTeleport(coords);
    }
    
    else
    { 
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "You suck at life, so you cant be teleported");}

  8. #8
    ~SaiLyn~'s Avatar Contributor
    Reputation
    280
    Join Date
    Aug 2007
    Posts
    546
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That by itself wont due. it wont compile

  9. #9
    Matis02's Avatar Contributor CoreCoins Purchaser
    Reputation
    154
    Join Date
    Mar 2007
    Posts
    378
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    corruptedwow that will teleport the attacker not the victim.


  10. #10
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol yeah, even i saw dat

  11. #11
    Corruptedwow's Avatar Member
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @walshie
    aint that what he wanted?

    @ascended no shit
    u need the setup.h setup.ccpp and the othermissing structure for the script

    like
    Code:
      void IDIOT::GossipHello(Object* pObject, Player * Plr, bool AutoSend)

  12. #12
    ~SaiLyn~'s Avatar Contributor
    Reputation
    280
    Join Date
    Aug 2007
    Posts
    546
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No Corrupted thats not what he wanted , he wants the player to be teleported to a sepecific place when they get hit by the blades of illidan.

    Next i think everyone knows setup.ccp and .h is needed , but the script by it self like that wont do any good , something else has to be added to 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)
    Dont worry about the otehr things added i have that figured out i jsut need this working.. so wait my thing wouldnt work? lol what exacly would i need to fix this lol. Mind anyone telling me and explaining so i wouldnt do the same mistake later. thanks alot all

  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)
    anyone? lol sry for bump once again lol. Trying to finish this project as soon as possible.

  15. #15
    Masterkenshin's Avatar Member
    Reputation
    72
    Join Date
    Sep 2007
    Posts
    265
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol joker youve shot up the ranks and now people are fighting over things for you

    LOL!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Page 1 of 2 12 LastLast

Similar Threads

  1. [lua help] I need you guys to see if i missed somthing in the code please
    By runiker in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-09-2008, 08:19 AM
  2. Well, i need help please.
    By Airisus in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 01-14-2007, 03:27 PM
  3. Really need PC HELP! please!
    By Shadowman2418 in forum Community Chat
    Replies: 9
    Last Post: 11-22-2006, 05:02 PM
  4. warrior head tier 2 --> tier 3 need some help please
    By katjenl in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 11-22-2006, 09:10 AM
  5. I Need some IE help please!
    By Shadowman2418 in forum Community Chat
    Replies: 0
    Last Post: 07-10-2006, 09:02 PM
All times are GMT -5. The time now is 11:15 AM. 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