Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 2 of 2
  1. #1
    Premium
    G4M3R's Avatar
    Join Date
    Mar 2013
    Location
    LEGEN....wait for it....DARY!
    Posts
    33
    Post Thanks / Like
    Rep Power
    12
    Reputation
    38

    Cool [Trinity][C++] Blood Money Duels


    Register to remove this ad
    How The Script Works
    Player talks to an NPC and chooses to challenge somebody.
    They then choose an amount to duel for and types in the players name.
    The other player receives a notification of this and can then visit the NPC to either accept or decline the challenge.
    The first player will be notified when the player accepts/declines this challenge.
    A duel must then be initiated between the two players and the winner will receive the spoils.


    Requirements



    • Both players must be online (obviously)
    • You cannot challenge somebody that has already challenged you.
    • The player you wish to challenge has to be in the same zone
    • You must have enough money(or tokens) for the bet at the time you place it and at the time you win/lose the duel.


    SCRIPT ---->

    Use
    npc_blood_money as the ScriptName of the NPC and make sure to set the NPC's flags to 1

    NOTE
    When entering a players name, you must click the "Ok" button, you cannot just press enter. I'm not sure why the code box is made like that :/






    › See More: [Trinity][C++] Blood Money Duels



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Beginner

    Join Date
    Oct 2012
    Posts
    1
    Post Thanks / Like
    Rep Power
    13
    Reputation
    1

    Wink Need help Not Working


    Register to remove this ad
    keep getting errors on the compile

    Error 1 error C2664: 'void WorldObject::MonsterWhisper(int32,const Player *,bool)' : cannot convert argument 2 from 'uint64' to 'const Player *' C:\Users\Iblal\Desktop\Trinity\Source\src\server\s cripts\Custom\npc_blood_money.cpp 130 1 scripts
    Error 2 error C2664: 'void WorldObject::MonsterWhisper(int32,const Player *,bool)' : cannot convert argument 2 from 'uint64' to 'const Player *' C:\Users\Iblal\Desktop\Trinity\Source\src\server\s cripts\Custom\npc_blood_money.cpp 139 1 scripts
    Error 3 error C2664: 'void WorldObject::MonsterWhisper(int32,const Player *,bool)' : cannot convert argument 2 from 'uint64' to 'const Player *' C:\Users\Iblal\Desktop\Trinity\Source\src\server\s cripts\Custom\npc_blood_money.cpp 226 1 scripts
    Error 4 error C2664: 'void WorldObject::MonsterWhisper(int32,const Player *,bool)' : cannot convert argument 2 from 'uint64' to 'const Player *' C:\Users\Iblal\Desktop\Trinity\Source\src\server\s cripts\Custom\npc_blood_money.cpp 267 1 scripts
    Error 5 error LNK1181: cannot open input file '..\scripts\Release\scripts.lib' C:\Users\Iblal\Desktop\Trinity\Build\src\server\wo rldserver\LINK worldserver

    Need fixed please

 

 

Visitors found this page by searching for:

npc_blood_money

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 07:23 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org