[Request]+rep if you complie this menu

Shout-Out

User Tag List

Results 1 to 9 of 9
  1. #1
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request]+rep if you complie this

    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    //PVP Event
    void onPvpKill(Player* plr, Player* victim)
    {
        
        if(plr->getLevel() >= 70 && victim->getLevel() >= 70)
        {
            ItemPrototype *proto = ItemPrototypeStorage.LookupEntry(90909);
            SlotResult slotresult;
            slotresult = plr->GetItemInterface()->FindFreeInventorySlot(proto);
    
            if(!slotresult.Result)
            {
                plr->GetItemInterface()->BuildInventoryChangeError(NULL, NULL, INV_ERR_INVENTORY_FULL);
            }
            else
            {
                Item *itm = objmgr.CreateItem(90909, plr);
                itm->SetUInt32Value(ITEM_FIELD_STACK_COUNT, 1);
                plr->GetItemInterface()->SafeAddItem(itm,slotresult.ContainerSlot, slotresult.Slot);
                victim->ModUInt32Value(PLAYER_FIELD_COINAGE, -0);
            }
        }
    }
    
    extern "C" SCRIPT_DECL uint32 _exp_get_version()
    {
        return MAKE_SCRIPT_VERSION(SCRIPTLIB_VERSION_MAJOR, SCRIPTLIB_VERSION_MINOR);
    }
    
    extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr)
    {
        SetupGoHandlers(mgr);
        ::sScriptMgr.register_hook(SERVER_HOOK_EVENT_ON_KILL_PLAYER, onPvpKill);
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif

    would appreciate somone complie this



    [Request]+rep if you complie this
  2. #2
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump comon cant anyone plz this is easy rep



  3. #3
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry i dont know anything about compiling :S hope you find someone that help you out

  4. #4
    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)
    Originally Posted by darune94 View Post
    bump comon cant anyone plz this is easy rep
    If it is so easy you do it
    It is easy enough, I probably would do it but need to renew my compiler and I'm lazy :\

  5. #5
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Le Froid View Post
    If it is so easy you do it
    It is easy enough, I probably would do it but need to renew my compiler and I'm lazy :
    ya prob is i dont have the space for the program i need to complie it so im stuck i need someone else to do it



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

  7. #7
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not very sure but it appears to be some kind of PVP script that if some player kills the other he will recieve an item (90909) and get gold from it and the loser will lose money too and this only works with players lvl 70 or above

  8. #8
    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)
    Do not use this guard unless you want your server computer to crash every 5 seconds : /

    This hacky method of an anti-pvp guard eats up CPU and mem usage.
    Life Puzzler WoW - Website | Forums

  9. #9
    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)
    umm what Guard?, ohhh is this like a PvP guard that attacks PvP players.. right
    don't use guys it will kill you and your Computer

Similar Threads

  1. [Request] +rep who ever gets this perfect :)
    By sinety in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 09-07-2008, 07:22 PM
  2. [Request]+REP IF YOU create a xtremetop100.com banner for me
    By mafiaboy in forum Art & Graphic Design
    Replies: 33
    Last Post: 01-18-2008, 08:21 PM
  3. +rep if you can fix this major bug for my server
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-07-2007, 07:56 PM
  4. +rep if you can do this for me [Easy]
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 12-07-2007, 04:04 PM
  5. Whats this addon ? +rep if you find out for me
    By Victor in forum Community Chat
    Replies: 3
    Last Post: 06-14-2007, 09:58 PM
All times are GMT -5. The time now is 06:08 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