|
You last visited: Today at 19:14
Advertisement
[Source] MapKey deaktvieren
Discussion on [Source] MapKey deaktvieren within the Flyff Private Server forum part of the Flyff category.
03/25/2011, 22:25
|
#1
|
elite*gold: 455
Join Date: Jun 2009
Posts: 1,601
Received Thanks: 1,103
|
[Source] MapKey deaktvieren
Ich denke, dass dies auf jeden Fall auch hier hin gehört da doch viele Server teilweise noch was testen wollen oder sonstiges und den MapKey nicht gebrauchen können und ihn dann gerne deaktiviert hätten.
- Öffnet die worldmng.cpp
- Schaut nach folgendem:
Quote:
// ¸Ê ÀÎÁõ ½ÇÆÐ Á¢¼ÓÀ» ²÷¾î¹ö·Á¾ß ÇÑ´Ù.
#if __VER >= 15
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
#else // __VER >= 15
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * MPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * MPU );
#endif // __VER >= 15
char szLandFile[MAX_PATH] = {0,};
if( pUser->GetWorld() )
{
strncpy( szLandFile, pUser->GetWorld()->m_szFileName, strlen( pUser->GetWorld()->m_szFileName ) - 4 );
}
Error( "Invalid Map Key - [User : %s, %07d], [Land : %s%02d-%02d]", pUser->GetName(), pUser->m_idPlayer, szLandFile, x, z );
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
if( ::GetLanguage() != LANG_GER )
{
g_DPSrvr.QueryDestroyPlayer( pUser->m_Snapshot.dpidCache, pUser->m_Snapshot.dpidUser, pUser->m_dwSerial, pUser->m_idPlayer );
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
}
#endif // __WORLDSERVER
#endif // __MAP_SECURITY
|
und ersetzt es durch das:
Quote:
#if __VER == 8
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
#else // __VER == 8
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * MPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * MPU );
#endif // __VER == 8
char szLandFile[MAX_PATH] = {0,};
if( pUser->GetWorld() )
{
strncpy( szLandFile, pUser->GetWorld()->m_szFileName, strlen( pUser->GetWorld()->m_szFileName ) - 4 );
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
if( ::GetLanguage() != LANG_GER )
{
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
}
#endif // __WORLDSERVER
#endif // __MAP_SECURITY
|
Nun compilen und schon habt ihr euren Spaß ohne MapKey.
Credits:
Alexsh (r*zone)
|
|
|
03/25/2011, 22:57
|
#2
|
elite*gold: 74
Join Date: Apr 2009
Posts: 5,908
Received Thanks: 2,386
|
So ein tut zu leechen finde ich bissel Hammer!.Sehr ist es auch nicht rauszufinden ausserdem hättes du ja auch mal erklären können was genau was ist warum man das ändern muss.
|
|
|
03/25/2011, 23:06
|
#3
|
elite*gold: 142
Join Date: Apr 2010
Posts: 859
Received Thanks: 428
|
geht viel einfacher e.e
einfach
Code:
#define __MAP_SECURITY
aus der VersionsCommon.h nehmen
|
|
|
03/25/2011, 23:10
|
#4
|
elite*gold: 0
Join Date: Nov 2005
Posts: 2
Received Thanks: 0
|
Jo genau einfach
Code:
#define __MAP_SECURITY
aus der VersionsCommon.h rausnehmen von der Neuz und dem World , compilen und spaß habe.
Mfg Tin0
|
|
|
03/26/2011, 01:09
|
#5
|
elite*gold: 455
Join Date: Jun 2009
Posts: 1,601
Received Thanks: 1,103
|
Nunja es ging mir eher darum dass ich es selber dringends gesucht hatte-
und da ich sicherlich nicht es nötig hatte i.was an Thanks zu geiern sondern es mit dazu einzutragen da ich denke dass es sehr wichtig ist.
Hatte nicht gedacht dass es so einfach geht, Nunja eines besseren belehrt.
Ich hatte das gefunden, habe die Credits angegeben und wollte es mit hier in diesen Forum
einbeziehen.
Mindestens 30% der Threads im Index beruhen daraus, ob Source oder Server Files.
|
|
|
03/26/2011, 08:36
|
#6
|
elite*gold: 260
Join Date: Nov 2007
Posts: 12,855
Received Thanks: 4,319
|
auf wunsch closed
|
|
|
 |
Similar Threads
|
[Source-Help] MapKey
03/20/2011 - Flyff Private Server - 6 Replies
Hallo,
ich weiß es hört sich komisch an aber ich brauch eine kurze hilfe wie ich MapKey wieder einbauen kann also das Client + Files haargenau gleich sein müssen.
Also wie ich es im Source ändern muss !
Danke im Vorraus
mfg.
|
[WTS] Steam ACC - Counter Strike Source, Day of Defeat: Source und Half-Life 2: Death
12/12/2010 - Counter-Strike Trading - 1 Replies
Delete.
|
[Biete]COD6 Modern Warfare 2 Steam Accounts + CS:Source + DoD:Source
04/17/2010 - Steam Trading - 9 Replies
Hallo,
ich biete hier einen Call of Duty 6 - Modern Warfare (UNCUT + RETAIL) Steam Account an.
1. STEAM-Account Call Of Duty 6 - Modern Warfare 2 + Cunter-Strike: Source + Day Of Defeat: Source
SOLD!
http://img199.imageshack.us/img199/7035/steamaccou nt1.png
Des weiteren biete ich hier noch einen orignalen Uncut Modern Warfare 2 Steam Account mit VAC Bann an, welcher jedoch im Single Player problemlos zu spielen ist.
|
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work
In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat!
127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...
|
All times are GMT +1. The time now is 19:15.
|
|