Welcome to the RaGEZONE - MMORPG development forums.

Need help 3 error.

This is a discussion on Need help 3 error. within the Gunz Online forums, part of the MMO and MMORPG Developments category; I need help 3 error . 1. I can't kick server when using /admin_ban 2. I unmasked in game when ...

Results 1 to 6 of 6
  1. #1
    Life Gunz Developer
    Rank
    Member +
    Join Date
    Jan 2010
    Location
    Life Gunz
    Posts
    302
    Liked
    4

    Need help 3 error.

    Click
    I need help 3 error .
    1. I can't kick server when using /admin_ban
    2. I unmasked in game when playing complete, but the error occured with UGradeID 255 254 252, if you see and chat with another Admin/Dev/EMaster, their name have like you name.
    You certain name : AD_01
    You friend name : GM_01.
    When chat, AD_01 see :
    AD_01 : I'm AD_01
    AD_01 : I'm GM_01
    the name is fake in lobby and in game when chat.
    3. Can't join the stage/quest room when it playing, even thought i using hide command

  2. #2
    Hi, I'm Omar!
    Rank
    WTF? Overkill!
    Join Date
    Jan 2011
    Location
    Here
    Posts
    1,790
    Liked
    727

    Re: Need help 3 error.

    1) /admin_ban isn't in 1.5.
    2) then you must have unmasked it wrongly.

    I don't know about the third.

  3. #3
    2D > 3D
    Rank
    Alpha Member
    Join Date
    Dec 2008
    Location
    In your bed :3
    Posts
    2,218
    Liked
    900
    Gamertag: WucasPengu

    Re: Need help 3 error.

    1. Admin Commands in 1.5
    Code:
    	_CC_AC("admin_kick",	&ChatCmd_AdminKickPlayer,	CCF_ADMIN, ARGVNoMin, 1, true, "/admin_kick <charname>", "");			// 2010-08-09 ¼öÁ¤µÊ - È«±âÁÖ
    	_CC_AC("admin_mute",	&ChatCmd_AdminMutePlayer,	CCF_ADMIN, ARGVNoMin, 2, true, "/admin_mute <charname> <due>", "");		// 2010-08-09 ¼öÁ¤µÊ - È«±âÁÖ
    	_CC_AC("admin_block",	&ChatCmd_AdminBlockPlayer,	CCF_ADMIN, ARGVNoMin, 2, true, "/admin_block <charname> <due>", "");	// 2010-08-09 ¼öÁ¤µÊ - È«±âÁÖ	
    
    	_CC_AC("admin_pingtoall",	&ChatCmd_AdminPingToAll,		CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_pingtoall", "");
    	_CC_AC("admin_wall",		&ChatCmd_AdminAnnounce,			CCF_ADMIN, ARGVNoMin, 1 , true,"/admin_wall <¸Þ½ÃÁö>", "");
    	_CC_AC("admin_halt",		&ChatCmd_AdminServerHalt,		CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_halt", "");
    	_CC_AC("changemaster",		&ChatCmd_ChangeMaster,			CCF_ADMIN|CCF_STAGE|CCF_GAME, ARGVNoMin, ARGVNoMax, true,"/changemaster", "");
    	_CC_AC("changepassword",	&ChatCmd_ChangePassword,		CCF_ADMIN|CCF_STAGE|CCF_GAME, ARGVNoMin, ARGVNoMax, true,"/changepassword", "");
    	_CC_AC("admin_hide",		&ChatCmd_AdminHide,				CCF_ADMIN|CCF_LOBBY, ARGVNoMin, ARGVNoMax, true,"/admin_hide", "");
    	_CC_AC("hide",				&ChatCmd_AdminHide,				CCF_ADMIN|CCF_LOBBY, ARGVNoMin, ARGVNoMax, true,"/hide", "");
    	_CC_AC("jjang",				&ChatCmd_RequestJjang,			CCF_ADMIN|CCF_STAGE|CCF_GAME, ARGVNoMin, ARGVNoMax, true,"/jjang", "");
    	_CC_AC("removejjang",		&ChatCmd_RemoveJjang,			CCF_ADMIN|CCF_STAGE|CCF_GAME, ARGVNoMin, ARGVNoMax, true,"/removejjang", "");
    	_CC_AC("admin_reload_hash", &ChatCmd_AdminReloadClientHash,	CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_reload_hash", "");
    
    	_CC_AC("admin_switch_laddergame",		&ChatCmd_AdminSwitchCreateLadderGame,	CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_switch_laddergame 1", "");		
    	_CC_AC("admin_reset_all_hacking_block", &ChatCmd_AdminResetAllHackingBlock,		CCF_ADMIN, ARGVNoMin, ARGVNoMax, true, "/admin_reset_all_hacking_block", "");
    	_CC_AC("admin_reload_gambleitem",		&ChatCmd_AdminReloadGambleitem,			CCF_ADMIN, ARGVNoMin, ARGVNoMax, true, "/admin_reload_gambleitem", "");
    	_CC_AC("admin_dump_gambleitem_log",		&ChatCmd_AdminDumpGambleitemLog,		CCF_ADMIN, ARGVNoMin, ARGVNoMax, true, "/admin_dump_gambleitem_log", "");
    	_CC_AC("admin_commander",				&ChatCmd_AdminAssasin,					CCF_ADMIN|CCF_GAME, ARGVNoMin, ARGVNoMax, true, "/admin_commander", "");
    	
    	_CC_ALIAS("°øÁö", "admin_wall");
    	_CC_ALIAS("Á¾·á", "admin_halt");

    2. Unmasking is done by commenting out sections of code like this
    Code:
    		if(pCharacter->IsAdminName()) {
    			sprintf(pItem->szLevel,"--%s", ZMsg(MSG_CHARINFO_LEVELMARKER));
    			pItem->SetColor(ZCOLOR_ADMIN_NAME);
    		}
    		else{
    			sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    		}
    3. Has never been possible in Gunz. If you start with the players
    (when they start the test) you will be fine, but joining after it
    has already started will cause a crash. (Too many variables to enter
    correctly? idk)

  4. #4
    Life Gunz Developer
    Rank
    Member +
    Join Date
    Jan 2010
    Location
    Life Gunz
    Posts
    302
    Liked
    4

    Re: Need help 3 error.

    thank you very much, vusion,
    and thank you vert much, Wucas
    i love you !!

    3. Has never been possible in Gunz. If you start with the players
    (when they start the test) you will be fine, but joining after it
    has already started will cause a crash. (Too many variables to enter
    correctly? idk)
    When hide and creat another quest map, i will finish it.
    After that i can join all stage are playing
    That use for 2008 client.
    Ok i will check 1.5 again

    2. Unmasking is done by commenting out sections of code like this
    I try it and not exactly i want.

    If you have a UGradeID about 255 and 254, the lobby and chat show you Developer/Administrator alias name.
    I want it show real name.
    But when i success to show real name, i get the error 2. in #1
    How to fix it ?

    Code:
    if(gid == MMUG_DEVELOPER) 
    	{ 
    		UserNameColor = MCOLOR(245,122, 174); 
    		if(sp_name) { 
    			strcpy(sp_name,ZGetMyInfo()->GetCharName()/*ZMsg(MSG_WORD_DEVELOPER)*/);
    		}
    		return true; 
    	}
    	else if(gid == MMUG_ADMIN) {
    		UserNameColor = MCOLOR(248,82, 78); 
    		if(sp_name) { 
    			strcpy(sp_name,ZGetMyInfo()->GetCharName()/*ZMsg(MSG_WORD_ADMIN)*/);
    		}
    		return true; 
    	};
    	
    	if (gid == MMUG_EVENTMASTER) 
        {               
    		UserNameColor = MCOLOR(211,71, 211);      
    		if (sp_name) {
    			strcpy(sp_name,ZGetMyInfo()->GetCharName());
    		}
    		return true; 
    	}
    
    	return false;
    }
    The function between /* and */ are last code. and i use new function suggest by Vusion, That ZGetMyInfo->GetCharName(); make me get error 2. IT make me get fake my name for all people have 255,254 and 252 Grade ( Admin grade )
    But that show real name in lobby, chat and press tab in game playing.
    Code:
    else if(GetUserGrade() == MMUG_ADMIN) {
    		m_pMUserAndClanName->CheckCrc();
    		//strcpy(m_pMUserAndClanName->Ref().m_szUserName, ZGetMyInfo()->GetCharName()/*ZMsg(MSG_WORD_ADMIN)*/);
    		//strcpy(m_pMUserAndClanName->Ref().m_szUserAndClanName,ZMsg(MSG_WORD_ADMIN));
    		strcpy(m_pMUserAndClanName->Ref().m_szUserName,m_Property.GetName());
    		if(strlen(m_Property.GetClanName()) != 0)
    			sprintf(m_pMUserAndClanName->Ref().m_szUserAndClanName,m_Property.GetName(),m_Property.GetClanName());
    two line was comment out it last code, and new code i using m_Property.GetName(), it show real name when i press Tab and not get fake my name.
    Then i using it for ZPlayListBox.cpp and ZGame.cpp, that fail althougt this funcion public by Class, and i don't know how to call it cause i'm beginner C++

  5. #5
    Hi, I'm Omar!
    Rank
    WTF? Overkill!
    Join Date
    Jan 2011
    Location
    Here
    Posts
    1,790
    Liked
    727

    Re: Need help 3 error.

    ......... I never told you to do any of that. I only gave you an example..

  6. #6
    Life Gunz Developer
    Rank
    Member +
    Join Date
    Jan 2010
    Location
    Life Gunz
    Posts
    302
    Liked
    4

    Re: Need help 3 error.

    ......... I never told you to do any of that. I only gave you an example..
    yes , u right, i has written : "suggest" that is mean what u said example.
    Sorry my bad English usually express not exactly and make you think don't right about my mean :D
    Sorry Vusion

    I'm succes to make show real name in tab mode, and don't get fake name.
    But now how to make chat, lobby and /admin_wall show real name ?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •