PvPToken Script for ArcEmu menu

Shout-Out

User Tag List

Results 1 to 12 of 12
  1. #1
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PvPToken Script for ArcEmu

    All I want is a script that works with ArcEmu that gives a token for killing someone..so if you have one that you are positive works with ArcEmu ill have your babies+Rep



    OLD TOPIC: i followed this guide http://www.mmowned.com/forums/ascent-gu ... iling.html
    but im not sure if i have this all set up right
    i havnt changed any of the pvp scripts only setups

    im also getting this probly simple error when i compile it

    thanks for any help
    Last edited by flop159; 07-16-2008 at 12:31 AM.

    PvPToken Script for ArcEmu
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's a problem in arcemu, not in the scripts. Notice how the svn_revision header file is corrupt.
    Extract it again by rebuilding the core

  3. #3
    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)
    Also, running those scripts in ArcEmu is not supported.

  4. #4
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so can i modify this to fix it lol?
    revision.h
    Code:
    // This file was automatically generated by the SVN revision extractor.
    // There is no need to modify it.
    #ifndef SVN_REVISION_H
    #define SVN_REVISION_H
    staticconstchar * BUILD_TAG = "TRUNK";
    staticint BUILD_REVISION = 370;
    #endif// SVN_REVISION_H
    
    Last edited by flop159; 07-15-2008 at 06:38 PM.

  5. #5
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Run the SVN Revision Extractor tool before compiling the DLL
    Ascent\trunk\extras\SVNRevisionExtractor (This needs to be compiled then run)

  6. #6
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    u are awsome S7, too bad i have to spread rep around for all 3 of you lol..

  7. #7
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i did what you said sector7 but it creates the same rev.h file so same error

  8. #8
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you just compile it? If so, you have to run it.

    Btw- "running those scripts in ArcEmu is not supported." -Spectre90, AspireDev Developer

  9. #9
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it jus me or do the extra scripts that come with the arcemu rev that give gold dont work, it says Extrascripts.dll loaded with pvp token in green but it doesnt do anything maybe ill try being opp factions

    edit yea i compiled arcemu then compiled revextr then i ran it and then i compiled my scripts
    Last edited by flop159; 07-16-2008 at 01:03 AM.

  10. #10
    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)
    if this is an exact copy of your svn_revision.h file, tell the arcemu devs to lay off the crack

    // This file was automatically generated by the SVN revision extractor.
    // There is no need to modify it.
    #ifndef SVN_REVISION_H
    #define SVN_REVISION_H
    staticconstchar * BUILD_TAG = "TRUNK";
    staticint BUILD_REVISION = 370;

    #endif// SVN_REVISION_H
    / /This file was automatically generated by the SVN revision extractor.
    // There is no need to modify it.
    #ifndef SVN_REVISION_H
    #define SVN_REVISION_H
    static const char * BUILD_TAG = "TRUNK";
    static int BUILD_REVISION = 370;

    #endif// SVN_REVISION_H

  11. #11
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea opp factions works..

  12. #12
    flop159's Avatar Member
    Reputation
    23
    Join Date
    Aug 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i checked my rev.h file and it was right also tried recompiling again just to see so it must have been an error coping that over, spectre i really do apreciate the help i wish i could +rep u more lol..

    edit: is there a way to simply removing the req opp facting to rec gold?
    Code:
    
    #include"StdAfx.h"
    #include"Setup.h"
    void onPvpKill(Player* plr, Player* victim)
    {
    if( plr->GetTeam() != victim->GetTeam())
    {
    char message[200];
    sprintf(message, "%s has killed %s", plr->GetName(), victim->GetName());
    sWorld.SendWorldWideScreenText(message);
    int32 gold_check_p = plr->GetUInt32Value( PLAYER_FIELD_COINAGE );
    int32 gold_check_v = victim->GetUInt32Value( PLAYER_FIELD_COINAGE );
    int32 new_gold_p = gold_check_p + 10000;
    int32 new_gold_v;
    if(gold_check_v < 5000)
    {
    new_gold_v = 0;
    }
    else
    {
    new_gold_v = gold_check_v - 5000;
    }
    plr->SetUInt32Value( PLAYER_FIELD_COINAGE, new_gold_p );
    victim->SetUInt32Value( PLAYER_FIELD_COINAGE, new_gold_v );
    }
    }
    void SetupPvPToken(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_KILL_PLAYER, (void*)onPvpKill);
    }
    
    Last edited by flop159; 07-16-2008 at 01:34 AM.

Similar Threads

  1. [ArcEmu] Raid scripts for arcemu
    By Presto12 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 07-16-2010, 07:11 AM
  2. [Question] How do you add scripts for an ArcEmu server?
    By RoyPwns in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 04-02-2010, 03:36 PM
  3. Illidan script for Arcemu 2.4.3
    By apollo16 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-13-2008, 02:15 PM
  4. Script for Ghost logout
    By Frankyboy in forum World of Warcraft Exploits
    Replies: 29
    Last Post: 09-02-2007, 04:10 PM
  5. Scripts for instances?
    By mforion in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 08-28-2007, 06:59 PM
All times are GMT -5. The time now is 05:35 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