Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 19:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Frage]Auth Problem

Discussion on [Frage]Auth Problem within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 157
Received Thanks: 15
[Frage]Auth Problem

hay leute ,
ich weiß nicht was ich falsch mache immer wenn ich eine neue gruppe adde sprich z.B. Owner und ich mich dann ingame einlogge steht immer admin ich habe meines wissens alles richtig gemacht habe alles nach einem tut gemacht wo das gezeigt wird hier mal meine einträge :

authorizaltion.h
Code:
 
#define AUTH_NOOB		   'Q'
moverRender.cpp
Code:
		// GM / Admin tag
		if(m_dwAuthorization >= AUTH_GAMEMASTER)
		{
			CString strName;
			strName = szName;
			if(m_dwAuthorization >= AUTH_ADMINISTRATOR)
			{
				strName += " [Admin]";
			}
			else if (m_dwAuthorization == AUTH_GAMEMASTER2)
			{
				strName += " [Support]";
			} 

			else if (m_dwAuthorization == AUTH_GW_STARTER)
			{
				strName += " ";
			} 
			else if(m_dwAuthorization >= AUTH_NOOB)
			{
			CString strName;
			strName = szName;
		
			{
				strName += " [NOOB]";
			}
			strcpy( szName, (LPCTSTR)strName );
}
			else if (m_dwAuthorization == AUTH_GAMEMASTER)
			{
				strName += " [Gamemaster]";
			}else {
				strName += " [Gamemaster]";
			}
			strcpy( szName, (LPCTSTR)strName );
		}
Code:
		if( IsChaotic() )
			dwColor = prj.m_PKSetting.dwChaoColor;
		else if( IsPKPink() )
			dwColor = prj.m_PKSetting.dwReadyColor;
		else if( m_dwAuthorization >= AUTH_ADMINISTRATOR ) // GM / Admin colors
			dwColor = COLOR_ADMINISTRATOR;
		else if ( m_dwAuthorization >= AUTH_NOOB )
			dwColor = COLOR_NOOB;
		else if( m_dwAuthorization >= AUTH_GAMEMASTER )
			dwColor = COLOR_GAMEMASTER;
		else
			dwColor = prj.m_PKSetting.dwGeneralColor;
Mover.h
Code:
#define COLOR_NOOB				0xff00ff00
könntet ihr mir vielleicht den fehler sagen ich verstehe es einfach nicht :O

Lg
NativeGermany is offline  
Old 09/17/2013, 23:05   #2
 
Chriѕ's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 504
PHP Code:
if(m_dwAuthorization >= AUTH_GAMEMASTER)
    {
    
CString strName;
    
strName szName;
        if(
m_dwAuthorization == AUTH_ADMINISTRATOR)
        {
        
strName += " [Admin]";
        }
        if(
m_dwAuthorization == AUTH_DEVELOPER)
        {
        
strName += " [Developer]";
        }
        if(
m_dwAuthorization == AUTH_GAMEMASTER4)
        {
        
strName += " [GM]";
        }
        if(
m_dwAuthorization == AUTH_GAMEMASTER3)
        {
        
strName += " [Designer]";
        }
        if(
m_dwAuthorization == AUTH_GAMEMASTER2)
        {
        
strName += " [Supporter]";
        }
        if(
m_dwAuthorization == AUTH_NOOB)
        {
        
strName += " [Noob]";
        }
    
strcpyszName, (LPCTSTR)strName );
    } 
PHP Code:
        if( IsChaotic() )
            
dwColor prj.m_PKSetting.dwChaoColor;
        else if( 
IsPKPink() )
            
dwColor prj.m_PKSetting.dwReadyColor;

        else if( 
m_dwAuthorization == AUTH_ADMINISTRATOR )
        
dwColor COLOR_ADMINISTRATOR;
        else if( 
m_dwAuthorization == AUTH_DEVELOPER )
        
dwColor COLOR_DEVELOPER;
        else if( 
m_dwAuthorization == AUTH_GAMEMASTER3 )
        
dwColor COLOR_GAMEMASTER4;
        else if( 
m_dwAuthorization == AUTH_GAMEMASTER3 )
        
dwColor COLOR_GAMEMASTER3;
        else if( 
m_dwAuthorization == AUTH_GAMEMASTER2 )
        
dwColor COLOR_GAMEMASTER2;
        else if( 
m_dwAuthorization == AUTH_GAMEMASTER )
        
dwColor COLOR_GAMEMASTER;
        else if( 
m_dwAuthorization == AUTH_NOOB )
        
dwColor COLOR_NOOB;

        else
            
dwColor prj.m_PKSetting.dwGeneralColor
Chriѕ is offline  
Thanks
1 User
Old 09/18/2013, 12:42   #3
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
Wenn du schon dabei bist die Rechte ordentlich zu machen, würde ich an deiner stelle auch direkt die Buchstaben richtig sortieren, da das von Offi nicht wirklich sinn macht. Dabei muss man aber auch drauf achten, dass man in derDB noch was ändert, da sonst jeder Char der erstellt wird Admin Rechte hat.
Velmore is offline  
Reply


Similar Threads Similar Threads
Problem with Auth
08/27/2012 - Rappelz Private Server - 3 Replies
Hello all. When i try to restore Auth Database , i have this : TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore of database 'auth' failed. (Microsoft.SqlServer.Management.RelationalEngineTa sks) ------------------------------
Selling Runescape Both Auth Codes Only 5$ each for ANY auth regular price is 10$-30$
02/19/2011 - Runescape Trading - 5 Replies
Any auth code is 5$ send me a Pm or leave a post to tell me which ones you would like http://img260.imageshack.us/img260/2675/runescapea uths.png
Auth Problem
01/06/2011 - Metin2 Private Server - 0 Replies
gefixxt
Frage zum Auth Fix
10/15/2010 - Metin2 Private Server - 7 Replies
Hey, ich habe eine kurze frage: Ich habe nach einem Tut alles gemacht usw. Startet der Auth jetzt immer nach der eingestellten Zeit neu ohne das ich vorher einen Befehl eingegeben habe?
hab in auth ordner usr/rain/auth den kompletten inhalt gelöscht
04/09/2010 - Metin2 Private Server - 2 Replies
hi ich hab in auth ordner also usr/rain/auth den kompletten inhalt gelöscht und eine datei erstellt mit #!/bin/sh ./auth sleep 60*5 ./auth.sh nochmal ne kurzfassung: ich hab versucht den login bug zu fixxen bin in /usr/rain/auth und hab dort alles gelöscht



All times are GMT +1. The time now is 19:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.