[Reqest] Pvp token system menu

User Tag List

Results 1 to 9 of 9
  1. #1
    mike7's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Reqest] Pvp token system

    The topic says it im wondring if anyone can link or do a pvp token system for me becuse i cant find it and i cant nothing about scripts. im using Heartstone_rev.754

    [Reqest] Pvp token system
  2. #2
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm searching for the same. I do remember seeing one a long time ago.

  3. #3
    Aznex's Avatar Contributor
    Reputation
    128
    Join Date
    Feb 2008
    Posts
    770
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
     /*
     * ArcScript Scripts for Arcemu MMORPG Server
     * Copyright (C) 2008 Arcemu Team
     * Copyright (C) 2007 Moon++ <http://www.moonplusplus.com/>
     *
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    //Made by ???
    //Modified by WigSplitta whole code
    //Re-Modified by HalestormXV (Added More Features)
    //Random Dice Concept to Kuraria for Helping HalestormXV
    //Modified by Neo_mat
    
    #include "StdAfx.h"
    #include "Setup.h"
    
    #define TokenID 19712 //set token id here
    
    void onPvpKill(Player* pPlayer)
    {
    	int die;
    	die = rand()%5 + 1;
    	if (die <= 1)
    	{
    		Item *item;
    		item = objmgr.CreateItem( TokenID , pPlayer);
    		item->SetUInt32Value(ITEM_FIELD_STACK_COUNT,1);
    		item->SoulBind();
    		if(!pPlayer->GetItemInterface()->AddItemToFreeSlot(item))
    		{
    			pPlayer->GetSession()->SendNotification("No free slots were found in your inventory!");
    			item->DeleteMe();
    		}
    		else
    		{
    			SlotResult *lr = pPlayer->GetItemInterface()->LastSearchResult();
    			pPlayer->GetSession()->SendItemPushResult(item,false,true,false,true,lr->ContainerSlot,lr->Slot,1);
    		}
    	}
    }
    
    void SetupPvPToken(ScriptMgr * mgr)
    {
    	mgr->register_hook(SERVER_HOOK_EVENT_ON_KILL_PLAYER, (void*)onPvpKill);
    }
    ^Thts the arcemu pvptoken script.

  4. #4
    Artthus's Avatar Member
    Reputation
    1
    Join Date
    Apr 2007
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey im a noob to this all lol im trying to add this to my server i made it as a lua file and it could not be loaded so was wondering how i would add this could any one help ... my msn is [email protected]

  5. #5
    Choices's Avatar Member
    Reputation
    94
    Join Date
    Apr 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats not a Lua file

  6. #6
    Artthus's Avatar Member
    Reputation
    1
    Join Date
    Apr 2007
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any chance u could tell me how o make it work for my server ?

  7. #7
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.mmowned.com/forums/emulat...dll-video.html

    Best guide there is on compiling a DLL

  8. #8
    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)
    Originally Posted by Aznex View Post
    Code:
     /*
     * ArcScript Scripts for Arcemu MMORPG Server
     * Copyright (C) 2008 Arcemu Team
     * Copyright (C) 2007 Moon++ <http://www.moonplusplus.com/>
     *
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    //Made by ???
    //Modified by WigSplitta whole code
    //Re-Modified by HalestormXV (Added More Features)
    //Random Dice Concept to Kuraria for Helping HalestormXV
    //Modified by Neo_mat
    
    #include "StdAfx.h"
    #include "Setup.h"
    
    #define TokenID 19712 //set token id here
    
    void onPvpKill(Player* pPlayer)
    {
    	int die;
    	die = rand()%5 + 1;
    	if (die <= 1)
    	{
    		Item *item;
    		item = objmgr.CreateItem( TokenID , pPlayer);
    		item->SetUInt32Value(ITEM_FIELD_STACK_COUNT,1);
    		item->SoulBind();
    		if(!pPlayer->GetItemInterface()->AddItemToFreeSlot(item))
    		{
    			pPlayer->GetSession()->SendNotification("No free slots were found in your inventory!");
    			item->DeleteMe();
    		}
    		else
    		{
    			SlotResult *lr = pPlayer->GetItemInterface()->LastSearchResult();
    			pPlayer->GetSession()->SendItemPushResult(item,false,true,false,true,lr->ContainerSlot,lr->Slot,1);
    		}
    	}
    }
    
    void SetupPvPToken(ScriptMgr * mgr)
    {
    	mgr->register_hook(SERVER_HOOK_EVENT_ON_KILL_PLAYER, (void*)onPvpKill);
    }
    ^Thts the arcemu pvptoken script.
    This has to be the worst pvp script ever designed..there are tons of them around mmowned somewhere, don't have any links..but for the sake of your server don't use that thing ;X

  9. #9
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm pretty sure there is one over at AspireDev. Go use that one, Spectre is god.

    I live in a shoe

Similar Threads

  1. [Release]WORKING PvP Token System!
    By skull5005 in forum WoW EMU General Releases
    Replies: 8
    Last Post: 09-25-2008, 05:35 PM
  2. [QUESTION] Pvp display system on ascent
    By znitch in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-15-2008, 09:23 AM
  3. PvP Token System
    By reconz in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 02-13-2008, 01:40 PM
  4. PvP Token System!
    By Performer in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 02-03-2008, 03:42 PM
  5. [Release] EnderfectX Custom Token System
    By EnderfectX in forum World of Warcraft Emulator Servers
    Replies: 22
    Last Post: 12-20-2007, 01:51 AM
All times are GMT -5. The time now is 02:07 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