- Joined
- Jul 3, 2010
- Messages
- 722
- Reaction score
- 58
Hello everyone,
I am looking to enable debug mode in the source, as I'm looking to make my own custom Login map. The old GunZLoader obviously doesn't work with the newest 1.5 files, and I know that by using the debug/developer mode from the source I can use it to get the coordinates to make the Login.
However, when I try to build the source I get this error. Has anyone come across it?
Heres the code snippet from that file, I've highlighted where the error triggers:
Would appreciate it if anyone could help .
I am looking to enable debug mode in the source, as I'm looking to make my own custom Login map. The old GunZLoader obviously doesn't work with the newest 1.5 files, and I know that by using the debug/developer mode from the source I can use it to get the coordinates to make the Login.
However, when I try to build the source I get this error. Has anyone come across it?
Code:
Clean source\Gunz\ZChat_Cmds.cpp(1268) : error C2660: 'ZPostLadderRequestChallenge' : function does not take 3 arguments
Heres the code snippet from that file, I've highlighted where the error triggers:
Code:
void ChatCmd_LadderTest(const char* line,const int argc, char **const argv)
{
// »ç¿ëÇÏ´Â ºÎºÐÀÌ ¾ø¾î¼ µð¹ö±×¿ëÀ¸·Î ¼öÁ¤ÇÔ. -by SungE 2007-04-02
#ifdef _DEBUG
if (argc == 1)
{
char szPlayerName[MATCHOBJECT_NAME_LENGTH];
strcpy(szPlayerName, ZGetMyInfo()->GetCharName());
char* pName[1];
pName[0] = szPlayerName;
[B][COLOR="#FF0000"]ZPostLadderRequestChallenge(pName, 1, 0);
[/COLOR][/B] } else if (argc == 2)
{
char szPlayerName[MATCHOBJECT_NAME_LENGTH], szTeamMember1[MATCHOBJECT_NAME_LENGTH];
strcpy(szPlayerName, ZGetMyInfo()->GetCharName());
strcpy(szTeamMember1, argv[1]);
char*pName[2];
pName[0] = szPlayerName;
pName[1] = szTeamMember1;
[B][COLOR="#FF0000"]ZPostLadderRequestChallenge(pName, 2, 0);
[/COLOR][/B] }
#endif
}
Would appreciate it if anyone could help .