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
Aug 1, 2011
Messages
106
Reaction score
52
<facepalm>, you have a P4F Game Server Emulator sources.
Who can send me his full working files with this GS ? ;)
 
Last edited:
Junior Spellweaver
Joined
Jun 25, 2006
Messages
191
Reaction score
226
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;

regz, u try to detect if any of the first bytes of the names are terminators /0?

cause if u can control what u send, u can choose not to send the string with /0

:thumbup:
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
regz, u try to detect if any of the first bytes of the names are terminators /0?

yup, try this poop ingame:

To create a character without nickname:

Client -> Server when character select:
C1 0F F3 7B C7 75 EA 99 BA 12 EC 5A 13 4E 77 DW
C1 0F F3 7B C7 75 EA 99 BA 12 EC 5A 13 4E 67 DK
C1 0F F3 7B C7 75 EA 99 BA 12 EC 5A 13 4E 57 ELF

(its possible only one time on the server idk why)

hmm... you can check the name lenght too :)



Who can send me his full working files with this GS ? ;)
NO ONE ?! duck!

- Who hard working have good files and i have now :)


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



Kirgston, which changes you have made in this files in your private project? do you want me in team? :)




- i dont understand Castle Siege in Main GameServer !


YOUR SRC to Season 3 is more beautifull than dll of Season 4 and Emulator Season 5! Respect!
No stupid battle zones, no stupid gens, no stupid summoner / ragefighter / freya!





CSAuth.cpp, CSAuth.h GGSrv.cpp, GGSrv.h Removed ! Files are verry fast!
 
Last edited:
Play4Free™
Joined
Aug 8, 2007
Messages
469
Reaction score
277
repository updated. Check it. When i back from hospital i make some new updates
 
Newbie Spellweaver
Joined
Jan 3, 2009
Messages
85
Reaction score
1
please upload

#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/thread/thread.hpp>
i am using vs10 , or tell me how to add it
 
Last edited:
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
i am using vs10 , or tell me how to add it

Use this: / !

can someone send to me a blood castle, chaos castle and devil square sources with a config where i can set the my own start hours ?
 
Last edited:
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
naah duck! i hate a boost libraries ;]...
1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_47.lib'

Boost libs also need build =)
BUILD BUILD BUILD


bjam --build-dir="C:\dir\to\boost\build\blablabla" --toolset=msvc --build-type=complete stage

Code:
void DataSendEventChip(PCHAR pMsg, int size)
{
	if ( IsEventChipServerConnected == FALSE && ::EventChipServerConnect != FALSE )
	{
		wsEvenChipServerCli.Close();
		wsEvenChipServerCli.CreateSocket(ghWnd);
		if ( GMEventChipServerConnect(::gEventChipServerIp, WM_GM_EVENTCHIP_CLIENT_MSG_PROC) == FALSE )
		{
			IsEventChipServerConnected = FALSE;
			LogAdd("Can not connect EventChip Server");

			return;
		}

		::IsEventChipServerConnected = TRUE;

	}

	if ( ::IsEventChipServerConnected != FALSE && ::EventChipServerConnect != FALSE )
	{
		::wsEvenChipServerCli.DataSend((char *)pMsg, size);
	}
}
why you removed this code?
 
Last edited:
Play4Free™
Joined
Aug 8, 2007
Messages
469
Reaction score
277
eDataServer need to complete. I remove all usless code.
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_47.lib'
i still have problem with linker... how to fix this poop?

hmm... i found how to fix this! all libs are in: boost_1_47_0\stage\lib\
now i have other problem ;[

1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>Debug\GameServer.exe : fatal error LNK1120: 1 unresolved externals


hmmmm... subsystem: console !!! WORKS!!! 1>GameServer - 0 error(s), 1 warning(s)

- crash ;////
Code:
Unhandled exception at 0x5d66f693 in GameServer.exe: 0xC0000005: Access violation reading location 0x00000000.

smthing wrong here:
Code:
	else if (argc > 1)
	{ 
		strcpy(JoinServerIp,argv[1]);
		JoinServerPort = atoi(argv[2]);

		strcpy(DataServerIp,argv[3]);
		DataServerPort = atoi(argv[4]);

		GameServerPort = atoi(argv[5]);

 		strcpy(ExDbIp,argv[6]);
		ExDbPort = atoi(argv[7]);
	}
	else
	{
		strcpy(JoinServerIp,"127.0.0.1");
		strcpy(DataServerIp,"127.0.0.1");
		strcpy(DataServerIp2,"127.0.0.1");
		strcpy(ExDbIp,"127.0.0.1");
- when i change strcpy(ExDbIp,argv[6]); to strcpy(ExDbIp,"127.0.0.1"); works fine :)



but okey ! New thing. ; )



Anti DC Hack:

Objectstruct:
Code:
	int AnimationTCount;
	int AnimationPCount;

Protocol Core:

Code:
			case 0x18:
				if (gObj[aIndex].AnimationTCount != 0)
				{
					int AnimTick = GetTickCount() - gObj[aIndex].AnimationTCount;
					gObj[aIndex].AnimationPCount++;

						if (AnimTick > 1000){

							if(gObj[aIndex].AnimationPCount > 3)
							{
								LogAdd("[- Tick Count -][%s][%s]- DC Hack detected", gObj[aIndex].AccountID, gObj[aIndex].Name);
								return;	
							}else{
								gObj[aIndex].AnimationPCount = 0;
							}
						}
				}
				gObj[aIndex].AnimationTCount = GetTickCount();

				CGActionRecv((PMSG_ACTION *)aRecv, aIndex);
				break;


i see verry big error ! Kirgston do you want to fix a 100% CPU Usage when Join Server is not running/connected ?
 
Last edited:
iNewLegend , Leo123
Joined
Apr 26, 2006
Messages
296
Reaction score
81
i want join to project i can help much and i have much free time if u need someone talk with me iNewLegend@gmail.com (msn) btw im russian
 
Newbie Spellweaver
Joined
Dec 7, 2006
Messages
18
Reaction score
10
dear zolamu aka leo123 all people who was in BoR not be considered as candidates to our team, sorry
but, you can help a project in free development.
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
dear zolamu aka leo123 all people who was in BoR not be considered as candidates to our team, sorry
but, you can help a project in free development.
nice joke. :)




i can upload my files without:
- GGSrv
- CSAuth
- SendHackLog

if someone wants :)
 
Last edited:
iNewLegend , Leo123
Joined
Apr 26, 2006
Messages
296
Reaction score
81
greatest thing will be if the sql class will be async (wait for answer isnt cool)
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
GS without GameGuard, CSAuth, HackLogServer.


- Project 4 Microsoft Visual C++ Studio 2008 Express.
 
Last edited:
Back
Top