• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] script then updated

Status
Not open for further replies.

nianmc

Emulation Addict
Hello, are you upset a lot with these errors but I'm learning a little.
today I come with two voting script error when compiling me .

1- npc 1v1
Use the latest rev of trinity core .

http://paste.emudevs.com/?paste=217

Error.

Error 10 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 27 1 scripts
Error 11 error C2065: 'ARENA_TYPE_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 28 1 scripts
Error 12 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 104 1 scripts
Error 13 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 135 1 scripts
Error 14 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 153 1 scripts
Error 15 error C2065: 'BATTLEGROUND_QUEUE_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 157 1 scripts
Error 16 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 218 1 scripts
Error 17 error C2065: 'ARENA_TEAM_1v1' : identificador no declarado C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\1v1.cpp 238 1 scripts

2) Top_Arena_NPC

http://paste.emudevs.com/?paste=218

Error.

Error 9 error C2664: 'Player *ObjectAccessor::FindPlayer(ObjectGuid)' : el argumento 1 no puede convertirse de 'uint32' a 'ObjectGuid' C:\Users\NianMc\Desktop\NianCore\src\server\scripts\Custom\Top_Arena_NPC.cpp 97 1 scripts


sorry for so much trouble .
 

Tommy

Founder
Outdated scripts.

Top Arena Npc:

sObjectAccessor doesn't exist and ObjectAccessor::FindPlayer requires 'ObjectGuid' value.

Accessing 'FindPlayer'

Code:
ObjectAccessor::FindPlayer(ObjectGuid);

Npc 1v1:

The errors are pretty obvious. The data type doesn't exist because it is, I'm assuming, custom edit to 'enum ArenaTeamTypes' which is located in ArenaTeam.h file. Same goes for the Battleground data type too.


- Moved one of your threads, again. Emulation Script support goes in World of Warcraft -> Scripting, not Hardware & Coding Support.
 
Status
Not open for further replies.
Top