Likes: 0
Results 1 to 2 of 2
Thread: [Trinity][C++] Blood Money Duels
-
12-03-13, 11:20 AM #1
[Trinity][C++] Blood Money Duels
Register to remove this adHow 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
-
21-04-14, 04:02 PM #2
Need help Not Working
Register to remove this adkeep 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