[C++] Free For All Pvp menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] Free For All Pvp

    This new release of mine is a Free For All Pvp Script.

    How it works is the first time you logon it sets your faction to your guid making you not on the same faction as anyone else.

    Code:
    #include "StdAfx.h"
    #include "Setup.h" 
    
    void FirstLogin(Player* plr)
    {
        plr->SetFlag(PLAYER_FLAGS, PLAYER_FLAG_FREE_FOR_ALL_PVP);
    };
    
    
        
    void SetupLogin(ScriptMgr * mgr)
    {
        mgr->register_hook(SERVER_HOOK_EVENT_ON_FIRST_ENTER_WORLD, (void*)FirstLogin);
    }
    Credits
    Mager1794 - Creating the script and idea
    The-Eradicator - Giving the number to add to the faction
    Last edited by mager1794; 06-23-2009 at 08:11 PM. Reason: Updated
    Lunar Gaming - Reaching For The Stars

    [C++] Free For All Pvp
  2. #2
    RyeRye's Avatar Contributor
    Reputation
    240
    Join Date
    Aug 2008
    Posts
    996
    Thanks G/R
    0/1
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice man +Rep



  3. #3
    Claiver's Avatar Member
    Reputation
    138
    Join Date
    Mar 2009
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woah just 10 lines of script can do such a thing, sweet! Where have you started with C++ Mager? I would have +Rep'd you but I can't yet.

  4. #4
    Heliumz's Avatar Member
    Reputation
    26
    Join Date
    Jun 2009
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great IDEA! +Rep

  5. #5
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    very nice work spreading my +Repz so I can give more to deserving programmers.

    P.S. that is you! Great Work!
    Last edited by y2kss66; 06-23-2009 at 08:06 AM.

  6. #6
    MegaBigBoss's Avatar Member
    Reputation
    18
    Join Date
    Aug 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about the player that will have the faction 35 ?

  7. #7
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Epic Man!
    As Usual!
    It's been a while

  8. #8
    Fyesan's Avatar Member
    Reputation
    5
    Join Date
    Jun 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also just epic
    didnt know thats possible +Rep

    Edit: have to spread -.-

  9. #9
    Cardell's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    68
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work +rep

  10. #10
    Glorianglorre's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2009
    Posts
    340
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice man +Rep from me when i can

  11. #11
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good idea in theory. But what if you have a GUID of 35, and your faction gets set to '35' and you end up being friendly to everyone, can't attack anything, and nothing can attack you? Pretty lame bug. This would happen with other factions as well. Perhaps some sort of a precaution against this?

  12. #12
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Hellgawd View Post
    Good idea in theory. But what if you have a GUID of 35, and your faction gets set to '35' and you end up being friendly to everyone, can't attack anything, and nothing can attack you? Pretty lame bug. This would happen with other factions as well. Perhaps some sort of a precaution against this?
    Yeah, the solution is to just add 1500 to the GUID, because IIRC the highest factions are ~1000.

  13. #13
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah thats what i was thinking .............i'm gonna figure out how high the faction numbers go then just make all the players new factions there guid + like 40000 or something idk yet gotta research
    Lunar Gaming - Reaching For The Stars

  14. #14
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mager1794 View Post
    yeah thats what i was thinking .............i'm gonna figure out how high the faction numbers go then just make all the players new factions there guid + like 40000 or something idk yet gotta research
    Don't make it too high, then you're just wasting DB space.

  15. #15
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i know =D just gotta figure out what the highest faction is first

    --Edit---

    Nvm thanks Eradicator for the number =D +Rep x3

    ---Edits Edit---
    Gotta spread =(

    ---Edits Edits Edit---
    Okay the script is updated enjoy and I gave you credits Eradicator
    Last edited by mager1794; 06-23-2009 at 02:40 PM.
    Lunar Gaming - Reaching For The Stars

Page 1 of 2 12 LastLast

Similar Threads

  1. How to make an Area a Free For all PVP
    By Dibes in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 07-16-2009, 01:24 PM
  2. Free For All PVP
    By darkhawk1010 in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 07-11-2009, 02:52 AM
  3. [Core Patch] Free for All Pvp
    By Gastricpenguin in forum WoW EMU General Releases
    Replies: 11
    Last Post: 02-11-2009, 08:23 PM
All times are GMT -5. The time now is 04:33 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