Enable Debug mode in the source

Results 1 to 2 of 2
  1. #1
    Aspiring Game Developer AuroraUK is offline
    SubscriberRank
    Jul 2010 Join Date
    1,052Posts

    Enable Debug mode in the source

    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?

    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;
    
    		ZPostLadderRequestChallenge(pName, 1, 0);
    	} 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;
    
    		ZPostLadderRequestChallenge(pName, 2, 0);
    	}
    #endif
    }
    Would appreciate it if anyone could help :-).


  2. #2
    Fuck Army. sahar042 is offline
    True MemberRank
    Jul 2009 Join Date
    833Posts

    Re: Enable Debug mode in the source

    open your zpost.h search for ZPostLadderRequestChallenge and paste here the whole inline
    I am selling the latest National Gunz source (‎March ‎22, ‎2018) for who interested send me a PM for price and the features of the source.



Advertisement