Some errors with Arena Score 1.2

Status
Not open for further replies.
Joined
May 13, 2011
Messages
1,463
Reaction score
155
Hello Ragezoner's

I have followed this tutorial http://forum.ragezone.com/f457/release-arena-score-1-2-a-841263/

But on recompiling it i noticed some errors.

These are the errors i recieved
\_Interface\FuncTextCmd.cpp(5178): error C2039: 'KickOut' : is not a member of 'CArenaScore'
WORLDSERVER\User.cpp(428): error C2039: 'IsArenaUser' : is not a member of 'CArenaScore'
WORLDSERVER\User.cpp(6327): error C2039: 'm_vecUserInfo' : is not a member of 'CArenaScore'
WORLDSERVER\User.cpp(6369): error C2039: 'NewUser' : is not a member of 'CArenaScore'

How could i made so that it is an member of the CArenaScore.
Any help would be appreciated.

With kind regards,


EDIT:
I have solved those problems above.
But now i am getting this.
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::Process(void)" (?Process@CArenaScore@@QAEXXZ) referenced in function "public: void __thiscall CRunObject::Run(void)" (?Run@CRunObject@@QAEXXZ)

WorldServer error LNK2001: unresolved external symbol "class CArenaScore g_ArenaScore" (?g_ArenaScore@@3VCArenaScore@@A)
WorldServer error LNK2001: unresolved external symbol "class CArenaScore g_ArenaScore" (?g_ArenaScore@@3VCArenaScore@@A)

WorldServer error LNK2001: unresolved external symbol "class CArenaScore g_ArenaScore" (?g_ArenaScore@@3VCArenaScore@@A)

WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::ArenaOnExit(class CUser *,int)" (?ArenaOnExit@CArenaScore@@QAEXPAVCUser@@H@Z) referenced in function "public: void __thiscall CUserMng::KickOutArena(void)" (?KickOutArena@CUserMng@@QAEXXZ)

WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::NewUser(class CUser *)" (?NewUser@CArenaScore@@QAEXPAVCUser@@@Z) referenced in function "public: void __thiscall CUserMng::GetArenaUsers(void)" (?GetArenaUsers@CUserMng@@QAEXXZ)

WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::ArenaOnJoin(class CUser *)" (?ArenaOnJoin@CArenaScore@@QAEXPAVCUser@@@Z) referenced in function "public: virtual void __thiscall CUser::Process(void)" (?Process@CUser@@UAEXXZ)

WorldServer error LNK2019: unresolved external symbol "public: bool __thiscall CArenaScore::IsArenaUser(class CUser *)" (?IsArenaUser@CArenaScore@@QAE_NPAVCUser@@@Z) referenced in function "public: virtual void __thiscall CUser::Process(void)" (?Process@CUser@@UAEXXZ)

WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::KickOut(void)" (?KickOut@CArenaScore@@QAEXXZ) referenced in function "int __cdecl TextCmd_ArenaAllout(class CScanner &)" (?TextCmd_ArenaAllout@@YAHAAVCScanner@@@Z)
 
Last edited:
Hi Caja thank you for your post.
I have fixed those errors. But now when i want to log in it crashes on me.
Guess i have done something wrong with it. Also those Arenascore.cpp and H files are not avaible anymore for the download.
Maybe someone can re upload it again. Or i can get an different source and strip it from there.
 
I managed to get it working. Only thing is that
in the ArenaScoreClient.cpp i found this code
int Posxstart=g_Option.m_nResWidth/*-242*/=950;

The problem with that code is that it will change the neuz.ini resolution from 1440 900 to 950 900.
So everytime i start the neuz i must change the ini file back to 1440 900.

I also looked in an different source and it has the same code.
How to get it right?
Thank you in advanced.
 
I think that it defines the width and height of the info box with the score, not the resolution :o.

I think the resolution problem is caused in hwoption.cpp. Make sure that the option for saving resolution is set on.
 
hmm strange about that. When i log in and dont press the tab button and then logout it stays the same res as what i have put in.

But when i am logging in and pres tab then the res is changed. so it has something to do with that
Cause i altered the value from 950 to 1 and recompiled it.
Logged in pressed tab log out and my neuz.ini says this 1 900.
 
I managed to get it working. Only thing is that
in the ArenaScoreClient.cpp i found this code
int Posxstart=g_Option.m_nResWidth/*-242*/=950;

The problem with that code is that it will change the neuz.ini resolution from 1440 900 to 950 900.
So everytime i start the neuz i must change the ini file back to 1440 900.

I also looked in an different source and it has the same code.
How to get it right?
Thank you in advanced.

No, you're wrong about that. It uses the max width of your game client as a reference point, and does -242, so that the arena score is on the right side of the screen.

Unless that's actually what's in yours, for some reason. If it is, change it to:
int Posxstart=g_Option.m_nResWidth - 242;
 
Status
Not open for further replies.
Back