Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] P4F Game Server Emulator Sources

Junior Spellweaver
Joined
Oct 4, 2007
Messages
112
Reaction score
16
navossoc

and you want to say what you search ALL(!) of this files? Looking file by file? Compared all files? blah-blah-blah. Sure you dont do this...

you cant compare all files about 1-2 days. So you just hate me ^_^

P.S. peoples who hate me. Please put your sources. Why you only flame? You can do better? Just do! And put you work as opensource

lol man :lol: 1-2 days :lol:

u hear about programs that show diff of files?
KDiff3 for example
 
Junior Spellweaver
Joined
Sep 12, 2004
Messages
134
Reaction score
14
navossoc

and you want to say what you search ALL(!) of this files? Looking file by file? Compared all files? blah-blah-blah. Sure you dont do this...

you cant compare all files about 1-2 days. So you just hate me ^_^

P.S. peoples who hate me. Please put your sources. Why you only flame? You can do better? Just do! And put you work as opensource

I don't have anything against you...
I just said you exaggerated a bit in its changelog.

And yes, I have compared all files...

lol man :lol: 1-2 days :lol:

u hear about programs that show diff of files?
KDiff3 for example

Yes, something like that.
I used Araxis Merge, a nice software by the way.

 
Newbie Spellweaver
Joined
Oct 14, 2008
Messages
85
Reaction score
100
navossoc

-2 days. So you just hate me ^_^

P.S. peoples who hate me. Please put your sources. Why you only flame? You can do better? Just do! And put you work as opensource

- This can kill MU Online ! (Are you still driving force for development if the MU dead ?)
- I'm not sure my source is better but it's effort of me (for a lot of time).

* initializing for's replaced by zeromemory or memset
* strcpy -> strcpy_s (or equivalent)
* char -> std::string
* lot of type casts

This is necessary if you upgrade to VS7.0 -> VS10.0, i don't think it's Error, Memleak ... Because Origin DeathWay's Source For VS6.0 .

(Sr my bad english, i hope you can understand)
 
Last edited:
Play4Free™
Joined
Aug 8, 2007
Messages
469
Reaction score
277
listen peoples... im happy what your perfect compare this all. But:


1) Orig Sources only S2 , this sources S3 Ep1.

2) like laudaicat say "they have only 70 errors". No -_- like 70 errors you may have when try to rebuild on new VC++. But if you reverse all code you can find a lot of stupid crashes, errors like:
Code:
MyClass *Class = new ... 
...
Class = NULL;
if (Class-> ... )
and other errors when you server may die. Have many hard logic problems. Like "monkey style". For example:
Code:
if (VaultZen == 100)
   VaultZen = 100;
Maybe this is not a error but - idiotic shenanigans.​

3) Stupid window and stupid usless GDI+... about 1-3% CPU time eat only this useless window.

I may only say what you need to review line by line all of this files to find errors. I do this. I do this about 1 year. Sure i don't find all problems and errors, but find a lot of them.

This easy say "ha-ha same as original". But you(yes - yes! you!) try to review all code? Spend thousands hours to find all shenanigans?

If your this what im noob and you better, if you dont like my work and dont respect this, and other stupid thinks - just post you work. We all may say "you fcking noob! I can do better (i do better)" but who post work? Maybe some one can do better?
Kirgston - [Release] P4F Game Server Emulator Sources - RaGEZONE Forums
and put large part of you work as opensource?
Maybe all of my haters make some work for community? Why so flame? Maybe start doing something?



Just listen. If flame will not stop. I report to all posts.
 
Junior Spellweaver
Joined
Sep 12, 2004
Messages
134
Reaction score
14
listen peoples... im happy what your perfect compare this all. But:


1) Orig Sources only S2 , this sources S3 Ep1.

2) like laudaicat say "they have only 70 errors". No -_- like 70 errors you may have when try to rebuild on new VC++. But if you reverse all code you can find a lot of stupid crashes, errors like:
Code:
MyClass *Class = new ... 
...
Class = NULL;
if (Class-> ... )
and other errors when you server may die. Have many hard logic problems. Like "monkey style". For example:
Code:
if (VaultZen == 100)
   VaultZen = 100;
Maybe this is not a error but - idiotic shenanigans.​

3) Stupid window and stupid usless GDI+... about 1-3% CPU time eat only this useless window.

I may only say what you need to review line by line all of this files to find errors. I do this. I do this about 1 year. Sure i don't find all problems and errors, but find a lot of them.

This easy say "ha-ha same as original". But you(yes - yes! you!) try to review all code? Spend thousands hours to find all shenanigans?

If your this what im noob and you better, if you dont like my work and dont respect this, and other stupid thinks - just post you work. We all may say "you fcking noob! I can do better (i do better)" but who post work? Maybe some one can do better?
Kirgston - [Release] P4F Game Server Emulator Sources - RaGEZONE Forums
and put large part of you work as opensource?
Maybe all of my haters make some work for community? Why so flame? Maybe start doing something?



Just listen. If flame will not stop. I report to all posts.

Dude, this is the only file you have add some code. (add isn't fix)
You wanna say you fix something? OK, but don't exaggerate the numbers.

You know...

gObj[aIndex] replaced by lpObj-> it's the same thing right?
This isn't a error, a fix or wtf else, just a replacement.

Maybe if you compare all generated instructions in x86 you can find what method is faster.

Anyway, I don't care about your project, but, good luck.

PS: You needed a day to learn what means "diff files"...
PS2: You should read the terms of google code before put something there...
 
Last edited:
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
Hello, Im begginer of C++.
I Works with the Visual one month only.
I see progress in my knowledge about coding.


---------------------------------

Microsoft Visual C++ 2008
Project from existing code.

---------------------------------

Fixes:
Headers

Code:
SQL 

#include <sql.h>
#include <sqlext.h>

StdAfx

#pragma comment (lib, "kernel32.lib") 
#pragma comment (lib, "user32.lib") 
#pragma comment (lib, "gdi32.lib") 
#pragma comment (lib, "advapi32.lib") 
#pragma comment (lib, "odbc32.lib")
#pragma comment (lib, "odbccp32.lib")

resource1

#ifndef IDC_STATIC
#define IDC_STATIC	-1
#endif

rc's

Code:
1000

#include "afxres.h" -> #include "windows.h"

--------------

Errors:
1 Error Only:
1>user.obj : error LNK2019: unresolved external symbol _ReadTSC referenced in function "int __cdecl Random(int,int)" (?Random@@YAHHH@Z)

How i can fix this error?


--------------

When i replaced ReadTSC() to 0 GameServer was compiled succesfully but instance crashed after start (i see a Window: [P4F] MuOnline Game Server v. 0.4.4)

--------------

Source Compiled, GameServer Working but i dont have files like a etc. chaoscastlegift.
Can somebody send to me the link for season 3 episode 1 server with all requited files?

I Found! ! Great !

--------------

The next problem!

Kirgston - [Release] P4F Game Server Emulator Sources - RaGEZONE Forums


- what the duck?

--------------

More Cool 1000.rc
Code:
// Microsoft Visual C++ generated resource script.
//
#include "resource1.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Русский (Россия) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource1.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_DIALOG_MAIN, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 562
        TOPMARGIN, 7
        BOTTOMMARGIN, 295
    END

    IDD_PROPPAGE_SMALL, DIALOG
    BEGIN
        RIGHTMARGIN, 518
        BOTTOMMARGIN, 262
    END

    IDD_PROPPAGE_SMALL1, DIALOG
    BEGIN
        RIGHTMARGIN, 233
        BOTTOMMARGIN, 127
    END

    IDD_PROPPAGE_SMALL2, DIALOG
    BEGIN
        RIGHTMARGIN, 407
        BOTTOMMARGIN, 216
    END

    IDD_PROPPAGE_SMALL3, DIALOG
    BEGIN
        BOTTOMMARGIN, 194
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_DIALOG_MAIN DIALOGEX 0, 0, 569, 302
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "eGameServer"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    CONTROL         "",IDC_TAB1,"SysTabControl32",0x0,7,7,555,288
END

IDD_PROPPAGE_SMALL DIALOGEX 0, 0, 519, 263
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN

    LISTBOX         IDC_LIST1,0,0,360,262,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP

	GROUPBOX        "Chat Logs Settings",IDC_STATIC,368,0,175,80
    CONTROL         "Write to screen",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,378,26,80,12
    CONTROL         "Write to file",IDC_CHECK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,378,40,80,12
    PUSHBUTTON      "Refresh logs",IDC_BUTTON1,378,54,80,14
    EDITTEXT        IDC_EDIT1,468,43,64,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "+",IDC_BUTTON2,468,30,12,11
    PUSHBUTTON      "-",IDC_BUTTON3,520,30,12,11
    GROUPBOX        "Max records",IDC_STATIC,460,18,80,52
END

IDD_PROPPAGE_SMALL1 DIALOGEX 0, 0, 556, 262
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN

    LISTBOX         IDC_LIST1,0,0,360,262,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP

	GROUPBOX        "Chat",IDC_STATIC,368,0,175,70

	EDITTEXT        IDC_EDIT1,376,28,48,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT2,430,28,106,14,ES_AUTOHSCROLL
	LTEXT           "Nick",IDC_STATIC,384,16,14,8
    LTEXT           "Message",IDC_STATIC,472,16,29,8
    PUSHBUTTON      "Send",IDC_BUTTON1,376,46,48,14
    LTEXT           "Characters left: ",IDC_STATIC,430,50,72,8
    LTEXT           "50",IDC_STATIC5,483,50,18,8




	GROUPBOX        "Chat Logs Settings",IDC_STATIC,368,80,175,80

    GROUPBOX        "Max records",IDC_STATIC,460,98,80,52

    EDITTEXT        IDC_EDIT3,468,123,64,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "+",IDC_BUTTON4,468,110,12,11
    PUSHBUTTON      "-",IDC_BUTTON5,520,110,12,11
    CONTROL         "Write to screen",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,378,106,80,12
    CONTROL         "Write to file",IDC_CHECK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,378,120,80,12
    PUSHBUTTON      "Refresh logs",IDC_BUTTON2,378,134,80,14


END

IDD_PROPPAGE_SMALL2 DIALOGEX 0, 0, 548, 224
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    GROUPBOX        "Players",IDC_STATIC,0,0,138,72
    PUSHBUTTON      "Dissconnect All",IDC_BUTTON1,13,10,102,14
    EDITTEXT        IDC_EDIT1,36,48,48,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "+",IDC_BUTTON2,72,36,13,11
    PUSHBUTTON      "-",IDC_BUTTON3,36,36,13,11
    GROUPBOX        "Server configs",IDC_STATIC,138,0,252,222

	PUSHBUTTON      "Reload Monster",IDC_BUTTON4,144,53,114,14
    PUSHBUTTON      "Reload CommonServer",IDC_BUTTON5,144,35,114,14
	PUSHBUTTON      "Reload All Events",IDC_BUTTON7,144,18,114,14


    PUSHBUTTON      "Reload X-Mes Star",IDC_BUTTON15,264,18,120,14
    PUSHBUTTON      "Reload NewYear NPC",IDC_BUTTON16,264,35,120,14
	PUSHBUTTON      "Reload X-Mess NPC",IDC_BUTTON17,264,53,120,14



 
    PUSHBUTTON      "Reload Devil Square",IDC_BUTTON8,264,89,120,14
    PUSHBUTTON      "Reload Blood Castle",IDC_BUTTON9,264,71,120,14
    PUSHBUTTON      "Reload Golden Invision",IDC_BUTTON10,264,125,120,14
    PUSHBUTTON      "Reload Underworld Attack",IDC_BUTTON11,264,107,120,14
    PUSHBUTTON      "Reload White Wizard",IDC_BUTTON12,264,143,120,14
    PUSHBUTTON      "Reload Fire Cracker",IDC_BUTTON13,264,161,120,14
    PUSHBUTTON      "Reload Heart of Love",IDC_BUTTON14,264,179,120,14

 
    PUSHBUTTON      "Reload Chaos Castle",IDC_BUTTON18,144,70,114,14
    PUSHBUTTON      "Reload Candy Box",IDC_BUTTON19,144,89,114,14
    GROUPBOX        "Events",IDC_STATIC,0,72,138,66
    PUSHBUTTON      "Start Dragon Event",IDC_BUTTON20,10,82,120,14
    PUSHBUTTON      "Start Star of Xmas Event",IDC_BUTTON21,10,100,120,14
    PUSHBUTTON      "Start FireCrecker Event",IDC_BUTTON22,10,118,120,14
    GROUPBOX        "Shutdown server",IDC_STATIC,0,144,138,78
    LTEXT           "After:",IDC_STATIC,56,156,20,8
    PUSHBUTTON      "1 min",IDC_BUTTON23,42,168,50,14
    PUSHBUTTON      "3 min",IDC_BUTTON24,42,186,50,14
    PUSHBUTTON      "5 min",IDC_BUTTON25,42,204,50,14
    PUSHBUTTON      "Reload all other",IDC_BUTTON26,144,126,114,14
    PUSHBUTTON      "Reload Shop",IDC_BUTTON27,144,108,114,14
    GROUPBOX        "Account control",IDC_STATIC,396,0,150,222
    RADIOBUTTON     "Ban",IDC_RADIO1,406,28,28,10
    RADIOBUTTON     "Unban",IDC_RADIO2,406,42,37,10
    RADIOBUTTON     "Account",IDC_RADIO3,486,30,42,10
    RADIOBUTTON     "Character",IDC_RADIO4,486,42,48,10
    LTEXT           "Nick",IDC_STATIC,468,72,14,8
    EDITTEXT        IDC_EDIT2,432,84,84,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Accept",IDC_BUTTON6,444,102,60,14
    GROUPBOX        "Action",IDC_STATIC,402,12,72,48
    GROUPBOX        "Type",IDC_STATIC,480,12,64,48
    GROUPBOX        "Max Players",IDC_STATIC,12,24,102,42
END

IDD_PROPPAGE_SMALL3 DIALOGEX 0, 0, 362, 228
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    GROUPBOX        "Server",IDC_STATIC,0,0,144,120

    LTEXT           "DataServer 1: ",IDC_STATIC,6,18,48,8
    LTEXT           "DataServer 2: ",IDC_STATIC,6,30,46,8
    LTEXT           "EventServer: ",IDC_STATIC,6,42,46,8
    LTEXT           "ExDB: ",IDC_STATIC,6,54,22,8
    LTEXT           "RankingServer: ",IDC_STATIC,6,66,52,8
    LTEXT           "JoinServer: ",IDC_STATIC,6,78,40,8

	LTEXT           "OFF",IDC_STATIC2,120,18,14,8
    LTEXT           "OFF",IDC_STATIC3,120,30,14,8
    LTEXT           "OFF",IDC_STATIC4,120,42,14,8
    LTEXT           "OFF",IDC_STATIC5,120,54,14,8
    LTEXT           "OFF",IDC_STATIC6,120,66,14,8
    LTEXT           "OFF",IDC_STATIC7,120,78,14,8





    GROUPBOX        "Statistic",IDC_STATIC,150,0,168,120

	LTEXT           "Players Online: ",IDC_STATIC,156,18,51,8
	LTEXT           "GMs Online: ",IDC_STATIC,156,30,41,8
	LTEXT           "0",IDC_STATIC21,284,18,18,8
    LTEXT           "0",IDC_STATIC26,284,30,24,8

	LTEXT           "Game Masters List:",IDC_STATIC,201,48,59,8
    LISTBOX         IDC_LIST1,162,60,144,48,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP




    GROUPBOX        "Additional Information",IDC_STATIC,322,0,210,120

    LTEXT           "Server up-time: ",IDC_STATIC11,328,18,198,24
    LTEXT           "Client serial number:",IDC_STATIC22,398,48,90,8
    EDITTEXT        IDC_EDIT1,334,60,184,14,ES_AUTOHSCROLL





    GROUPBOX        "Events Status (In Development)",IDC_STATIC,0,125,144,120

	LTEXT           "Blood Castle: ",IDC_STATIC,6,143,70,8
    LTEXT           "Chaos Castle: ",IDC_STATIC,6,155,70,8
    LTEXT           "Devil Square: ",IDC_STATIC,6,167,70,8

    LTEXT           "Dragon Invasion:",IDC_STATIC,6,191,70,8
	LTEXT           "Goldens Invasion: ",IDC_STATIC,6,203,70,8
	LTEXT           "White Wizard:",IDC_STATIC,6,215,70,8
	LTEXT           "Underworld atack:",IDC_STATIC,6,227,70,8

END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1               ICON                    "icon1.ico"
#endif    // Русский (Россия) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

--------------

If you want to join this project - contact me.

i want to join this project but i have now problem with run this eGS.
i have a lot things about security, optimalisation and new features.


Thanks.
 
Last edited:
Play4Free™
Joined
Aug 8, 2007
Messages
469
Reaction score
277
1 Error Only:
"1>user.obj : error LNK2019: unresolved external symbol _ReadTSC referenced in function "int __cdecl Random(int,int)" (?Random@@YAHHH@Z)

How i can fix this error?"


you need link with alibcof32.lib

1000.rc genereted by visual studio resource editor, and much better if you use MSVC 2010. If you need some help write me in skype "killbrum".
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
Thank You Verry Much !!!
Code:
1>GameServer - 0 error(s), 193 warning(s)

Hmmm... Nice ; )
Code:
#define P_WALK		0xD3
#define P_DAMAGE	0xDF
#define P_ATTACK	0xD7
#define P_SKILL		0x10

----

Kirgston i see some cheats / hacks possibility in this files ;D
 
Last edited:
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
Protocol Fixes:

- PROTOCOL.CPP

Change
Code:
			case 0x01:
				CGChatRecv((PMSG_CHATDATA_NUMBER *)aRecv, aIndex);

to:

Code:
			case 0x01:
				//Anti Spoof Hack!
				//CGChatRecv((PMSG_CHATDATA_NUMBER *)aRecv, aIndex);
				LogAdd( "SPOOF HACK DETECTED : account:%s name:%s", gObj[aIndex].AccountID, gObj[aIndex].Name);
				CloseClient(aIndex);


change :
Code:
			case 0x30:
				if ( DataEncryptCheck(aIndex, protoNum, Encrypt) != FALSE )
				{
					CGTalkRequestRecv((PMSG_TALKREQUEST *)aRecv, aIndex);
				}
				break;

to :
Code:
			case 0x30:
				if((aRecv[4] + aRecv[3] * 256)>0 && (aRecv[4] + aRecv[3] * 256)<8000){

					if ( DataEncryptCheck(aIndex, protoNum, Encrypt) != FALSE )
					{
						CGTalkRequestRecv((PMSG_TALKREQUEST *)aRecv, aIndex);
					}
				}else{
					LogAdd("[ANTI-HACK][NPC Talk] Fake Packet blocked. (%s)(%s)", gObj[aIndex].AccountID, gObj[aIndex].Name);
				}
				break;



AntiFlood:

user.h (add in OBJECTSTRUCT):
Code:
int ChatTickCount;

protocol.cpp (change)

from:
Code:
			case 0x00:
				tempindex = aIndex;
				PChatProc((PMSG_CHATDATA *)aRecv, aIndex);
				break;

to:

Code:
		case 0x00:
			{
				tempindex = aIndex;

				if (gObj[aIndex].ChatTickCount != 0) {
					int Tick = GetTickCount() - gObj[aIndex].ChatTickCount;
					if (Tick < 900){
						LogAdd("[- Chat Tick Count -][%s][%s]- flood detected", gObj[aIndex].AccountID, gObj[aIndex].Name);
						return;
					}
				}
				gObj[aIndex].ChatTickCount = GetTickCount();

				PChatProc((PMSG_CHATDATA *)aRecv, aIndex);
			}
			break;


Anti NPC Killer:

USER.CPP

you can add this code in "gObjUserDie"
Code:
	if(lpObj->Type == OBJ_NPC && lpTargetObj->Type == OBJ_USER ) 
	{
		CloseClient(lpObj->m_Index);
	}




Anti Create Char without name:

PROTOCOL.CPP

0xF3

change:

Code:
						case 0x01:
							GPCharacterCreate((PMSG_CHARCREATE *)aRecv, aIndex);
							break;

to:

Code:
						case 0x01:
							if( aRecv[4] == 0x00 && 
								aRecv[5] == 0x00 && 
								aRecv[6] == 0x00 && 
								aRecv[7] == 0x00 )
							{
								CloseClient(aIndex);
								return;
							}
							CGPCharacterCreate((PMSG_CHARCREATE *)aRecv, aIndex);
							break;

Credits to me?

--------------------------------------------------------------------------
__asm__ { EOF } // END OF FILE
--------------------------------------------------------------------------

Code:
	// Serial Checking
	if ( serial >= 0 )
	{
		if ( gObj[aIndex].Type == OBJ_USER )
		{
			if ( gNSerialCheck[aIndex].InCheck(serial) == FALSE )
			{
				LogAdd("Error-L1 : Socket Serial %s %d o_serial:%d serial:%d ",
					gObj[aIndex].AccountID, protoNum, gNSerialCheck[aIndex].GetSerial(), serial);

				CloseClient(aIndex);
			}
		}
	}	// if Serial Checking
-- This serial checking suxx







If you need some help write me in skype "killbrum".
- i dont using the skype. ;)



On todo:

- Anti False Users / Anti TCP Flood. Per IP Connections limit.
- Real Anti Distance Hack & Real Anti Speed Hack
- C1 05 18 XX XX - Anti Disconnect Hack tickcount -> BAN 4 DC Hack users :)
 
Last edited:
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
BUMP!
this topic is alive

/move Development​





if you need smthing more u can rewrite this.

Code:
        case 0xBC:
            {
                if(gObj[aIndex].TargetNumber != -1 && gObj[aIndex].m_IfState.use == 1)
                {
                    GCServerMsgStringSend("Duping is not allowed here.",aIndex,0);
                    CloseClient(aIndex);
                    return;
                }
                else if(gObj[aIndex].m_IfState.use > 0 && gObj[aIndex].m_IfState.type != 12)
                {
                    GCServerMsgStringSend("Duping is not allowed here.",aIndex,0);
                    CloseClient(aIndex);
                    return;
                }
                break;
            }
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
@Regz you made my day with your "anti spoof". Please review your code or at least test it in game. Every time when player want to chat he will be disconnected and nobody will see his messages.

About that code
PHP:
// Serial Checking
if ( serial >= 0 )
{
    if ( gObj[aIndex].Type == OBJ_USER )
    {
        if ( gNSerialCheck[aIndex].InCheck(serial) == FALSE )
        {
            LogAdd("Error-L1 : Socket Serial %s %d o_serial:%d serial:%d ", gObj[aIndex].AccountID, protoNum, gNSerialCheck[aIndex].GetSerial(), serial);
            CloseClient(aIndex);
        }
    }
} // if Serial Checking
Its for GG anti-hack not for serial of items.
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
@Regz you made my day with your "anti spoof". Please review your code or at least test it in game. Every time when player want to chat he will be disconnected and nobody will see his messages.

- no! 0x00 PChatProc is a normal textmessage... 0x01 is used to spoof! ;)

Its for GG anti-hack not for serial of items.

yeah, but GG is not used?



BOOL NSerialCheck::InCheck(unsigned char serial)
{
BYTE m_s=this->m_serial;
m_s++;

if ( m_s == serial )
{
this->m_serial = serial;
return TRUE;
}

return FALSE;
}
- smthng wrong! its really understanded and no logic (monkey style) part of checking serial ;)


<?php eval('?> i dont understand <?'); /* ...


Searching for more rewritten source!
+ Could you send your fixes?
 
Last edited:
Newbie Spellweaver
Joined
Jul 13, 2011
Messages
57
Reaction score
2
so this maybe work also on mysql? and do the server stable? tester???
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
- no! 0x00 PChatProc is a normal textmessage... 0x01 is used to spoof! ;)



yeah, but GG is not used?




- smthng wrong! its really understanded and no logic (monkey style) part of checking serial ;)


<?php eval('?> i dont understand <?'); /* ...


Searching for more rewritten source!
+ Could you send your fixes?
Ok, sorry my mistake :D in gameserver that I work all gg functions was disabled because they are useless for private servers.
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
126
Reaction score
86
which files i can drop from a source to disable all gg features or which code i have to remove ? can you send me your project ?
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
My project is private for now at least but I may give you some information. Send me a PM with all GG functions present in your gs and I send you back which of them we removed/replaced with sources of those functions included.
 
Back
Top