Select all players on map id? +Repx2 menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Select all players on map id? +Repx2

    what is a C++ code to select all players on a map and add them an item?

    +Repx2
    Last edited by Ballwinkle; 02-24-2008 at 12:04 PM.

    Select all players on map id? +Repx2
  2. #2
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any1 know?

  3. #3
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    if (pPlayer->GetMapID == 1)
    {
    plr->GetItemInterface()->AddItemToFreeSlot(objmgr.CreateItem(123456, plr))
    }
    try that

  4. #4
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1>..\src\FreeWoW\ACBG.cpp(82) : error C2065: 'pPlayer' : undeclared identifier
    1>..\src\FreeWoW\ACBG.cpp(82) : error C2227: left of '->GetMapID' must point to class/struct/union/generic type
    1> type is ''unknown-type''

  5. #5
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    add me on msn: [email protected] and ill see if i can help you.

  6. #6
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    done.......

  7. #7
    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)
    I am also looking for this for my custom BG except I just want to teleport them all to a certain place. Its going to be alot more complicated than doublehex said


  8. #8
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm interesting, i havent tried anything like that.

  9. #9
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it doesnt get the players.....

  10. #10
    Ezio's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Summon All Players?? Kalimdor summon all Players o East Kingdom?

    Comand: .masssummon



    All users Summon

  11. #11
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ball, i bet you are trying to use this in the Domination event
    Im also trying to get prizes working aswell.

    but i know for a fact that you have to Define pPlayer before you add that script in.
    Life Puzzler WoW - Website | Forums

  12. #12
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gastric what i was thinking is that you could setup something like a npc or gamobject that could port you to the area for the battle, and it would check you race and set you on a team according to your race (horde or alliance) like the battlemasters do, if you look at battlegrounds i think they set them up that way.

    and yes, lol he just needs to add "Player * pPlayer" to his script

  13. #13
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds pheez-ible.
    Life Puzzler WoW - Website | Forums

  14. #14
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, its possible, not the best thing but possible, im lookin at battlemaster and battleground scripts to get an idea of how this would work

    im lookin at battlemaster gossip script and i see this:
    uint32 Team = plr->GetTeam();
    if(Team > 1) Team = 1;
    im thinking, is it possible that teams are already pre-setup...
    Last edited by doublehex; 02-26-2008 at 07:18 PM.

  15. #15
    CoolManBob's Avatar Active Member
    Reputation
    92
    Join Date
    Jul 2006
    Posts
    208
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here try this

    Code:
    void SomeFunction( Player* plr )
    {
    
    if(plr->GetMapID() == XXXXX) //Change XXXXX to the map id
    {
    plr->GetItemInterface()->AddItemToFreeSlot(objmgr.CreateItem(XXXXX, plr)); //Change XXXXX to some number
    }
    
    }

Page 1 of 2 12 LastLast

Similar Threads

  1. [Request] All players start with S1
    By Herleybob in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 10-20-2008, 01:45 PM
  2. <WoW> GMPUBLIC! (All players get GM Powers!)!!
    By knif3r2 in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 09-29-2008, 08:34 PM
  3. way to disconnect all players from server
    By bengan in forum WoW EMU Exploits & Bugs
    Replies: 8
    Last Post: 04-14-2008, 11:16 AM
  4. All In One Maps Folder
    By Chuck Norris in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-03-2008, 07:13 PM
  5. How To Play sounds to all players of the server! read it here !
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 11-30-2007, 03:33 AM
All times are GMT -5. The time now is 04:46 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