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)
// 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
--------------
Quote:
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.
12-10-11
Kirgston
re: [Release] P4F Game Server Emulator Sources
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".
--------------------------------------------------------------------------
__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
Quote:
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 :)
16-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
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;
}
16-10-11
[RCZ]ShadowKing
re: [Release] P4F Game Server Emulator Sources
@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 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
Its for GG anti-hack not for serial of items.
16-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
Quote:
@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! ;)
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?
16-10-11
dhiee27
re: [Release] P4F Game Server Emulator Sources
so this maybe work also on mysql? and do the server stable? tester???
16-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
Yes, you have source and you can rewrite GameServer to MySQL ;)
16-10-11
[RCZ]ShadowKing
re: [Release] P4F Game Server Emulator Sources
Quote:
Originally Posted by Regz
- 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.
16-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
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 ?
16-10-11
[RCZ]ShadowKing
re: [Release] P4F Game Server Emulator Sources
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.
16-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
<facepalm>, you have a P4F Game Server Emulator sources.
Who can send me his full working files with this GS ? ;)
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:
17-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
Quote:
regz, u try to detect if any of the first bytes of the names are terminators /0?
yup, try this shit 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 :)
Quote:
Who can send me his full working files with this GS ? ;)
NO ONE ?! FUCK!
- Who hard working have good files and i have now :)
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!
17-10-11
Kirgston
re: [Release] P4F Game Server Emulator Sources
repository updated. Check it. When i back from hospital i make some new updates
17-10-11
Regz
re: [Release] P4F Game Server Emulator Sources
Nice.
DiffMerge is very useful program. ;)
17-10-11
access
re: [Release] P4F Game Server Emulator Sources
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