Register for your free account! | Forgot your password?

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

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

Advertisement



[Source] Wie f黦e ich ein neuen Command ein

Discussion on [Source] Wie f黦e ich ein neuen Command ein within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old 08/10/2011, 14:51   #16
 
elite*gold: 0
Join Date: Jul 2011
Posts: 139
Received Thanks: 12
und welche dateien brauch ich daf黵?
FragGoogle is offline  
Old 08/10/2011, 14:59   #17
 
Pumbaaa's Avatar
 
elite*gold: 20
Join Date: Apr 2009
Posts: 804
Received Thanks: 828
User.cpp, FuncTextCmd.cpp und Grips >>
Pumbaaa is offline  
Old 08/10/2011, 15:20   #18
 
elite*gold: 0
Join Date: Jul 2011
Posts: 139
Received Thanks: 12
Error's
Code:
b:\Paradise source\Source\WORLDSERVER\User.cpp(3825): error C2063: 'CUserMng::GetGMList' : not a function
Code:
b:\Paradise source\Source\WORLDSERVER\User.cpp(3825): error C2372: 'CUserMng::GetGMList' : redefinition; different types of indirection
Meine User.cpp:
Code:
void CUserMng::GetGMList(CUser *pUser )
{
	map<DWORD, CUser*>::iterator it;
	int j = 1;
	for( it = m_users.begin(); it != m_users.end(); ++it )
	{
		if( it->second->m_dwAuthorization != AUTH_GENERAL )
		{
			CString temp;
			temp.Format( _T( "%i.)\t%s"), j, it->second->GetName() );
			pUser->AddText( temp );
			j++;
		}
	}
}
Habe das 黚er RemoveALLUsers eingetragen..

User.h
Code:
	CUser*			GetGMList;
FuncTextCmd.cpp
Code:
BOOL TextCmd_gmlist( CScanner& scanner )            
{ 
#ifdef __WORLDSERVER
    g_UserMng.GetGMList;
#endif    // __WORLDSERVER
    return TRUE;
}
Code:
	ON_TEXTCMDFUNC( TextCmd_gmlist,                "gmlist",            "gmlist",         "立加磊荐",       "立加磊荐",TCM_SERVER,   AUTH_GENERAL    , "立加磊 墨款飘" )
FragGoogle is offline  
Old 08/10/2011, 16:20   #19
 
Pumbaaa's Avatar
 
elite*gold: 20
Join Date: Apr 2009
Posts: 804
Received Thanks: 828
Quote:
Originally Posted by FragGoogle View Post
User.h
Code:
	CUser*			GetGMList;
is s..
Code:
GetGMList( CUser *pUser );
Pumbaaa is offline  
Old 08/10/2011, 18:11   #20
 
elite*gold: 0
Join Date: Jul 2011
Posts: 139
Received Thanks: 12
Kann geclosed werden, werde erst etwas C++ lernen und wenn dann an kleinere dinge rangehen
Danke an die die helfen wollten.
FragGoogle is offline  
Reply


Similar Threads Similar Threads
Wie f黦e ich den Source ein?
01/15/2011 - Flyff Private Server - 1 Replies
Hi Com, ich hab mir mal den von Sedrika releasten Source Ordner gezogen und jetzt 鰂fne ich den Ordner und er beinhaltet 3 Ordner (Official Source, Resurce und Output) Resurce lest sich ja erkl鋜en. Aber was mach ich mit den anderen? Bitte hilf mir einer:D MFG
What's wrong with my Nighttime command(impulse's source)
07/21/2010 - CO2 Private Server - 4 Replies
Heres my command #region Night case "night": { Client.GameState.ScreenColor = 5855577; GamePackets.GeneralData Packet = new GamePackets.GeneralData(true); Packet.UID = client.Entity.UID; Packet.GetType(); ...
Wie f黦e ich die neuen Waffen in DB ein !!??!!
06/13/2010 - Metin2 Private Server - 3 Replies
Hallo Liebe Com. Habe eine Frage : Wie f黦e ich die neuen Waffen von Metin 2 in die DB ein ?? Habe schon im SuFu, google , youtube etc. gesucht. . . aber nichts gefunden ich hoffe es kann mir einer behilflich sein. Ich bin auch kein Anf鋘ger Ihr m黶st mir nur sagen Welche Datei ich in welches verzeichnis reinhauen muss.. das ist alles =) m.f.g kingboy11
[Frage]Wie f黦e ich neuen skill in seeli, etc. ein
05/08/2010 - Metin2 Private Server - 7 Replies
Hallo. Kann mir jemand erkl鋜en, wie ich einen neu implementierten skill bei seeli fertigkeitzur點k setzen usw. einf黦e? Muss irgendwo ne liste vorhanden sein, wo festegelegt ist, welche skills zu welcher klasse und in welche skill-group geh鰎en. Falls jemand weis wo ich das finde w鋜 echt nett mal zu posten. Falls jemand nen anderen weg kennt den skill in seeli usw. einzuf黦en pls auch posten. Thx schonmal.
[Question] How to make this command [For 5165 Source]
04/01/2010 - CO2 Private Server - 6 Replies
Hello guys, I'm new at coding and was wondering how to make a command for the 5165 source which enables you to have unlimited stamina (For GMs only). Thanks. This is wut I have did so far... if (Cmd == "/gmstamina") { if (!InfiniteStamina) { InfiniteStamina = true; }



All times are GMT +2. The time now is 18:18.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.