Jump to content
g00dw1n

Yorozuya - Open Source Zone Guard [2.2.3.2]

Recommended Posts

 
I am being attacked, first it starts to give roolback after the zoneserver closes ... please help me!

 

ALL LOGS all logs zone server!

 

==================================================================================
ZoneServer : Exception Program
Exe :         C:\Server\2.ZoneServer\RF_Bin\ZoneServerUD_x64.exe
OS :          Windows 6.2(), build9200 PlatformId 2 ""
UserName :    root
Computer :   
Time :        2018-02-19 MON, 10:04:39.842 PM
Code :        E06D7363
Address :     F14092FC
==================================================================================

------------------------------------------------------------------------
    Call stack
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F14092FC  AD82FA50  <2>0000:00000000
C6FB32FA  AD82FAD0  <2>0000:00000000   f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp line 136
C6EE2B48  AD82FB70  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\common\helpers\singletonhelper.hpp line 20
C6EE2610  AD82FC90  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\playerex\playerex_pvporderview.cpp line 64
C6EEDAB9  AD82FCE0  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\player\playersystem.cpp line 64
401DAE81  AD82FD20  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 139
4047A3CC  AD82FD90  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 1949
40477CFF  AD82FDD0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 557
40481CB9  AD82FE10  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\networking.cpp line 375
401F4E03  AD82FE80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 5181
401EE85D  AD82FEC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 3170
51E453C5  AD82FF10  <2>0001:000043C5 C:\windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
51E4538C  AD82FF50  <2>0001:0000438C C:\windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
F1F513D2  AD82FF80  <2>0000:00000000
F3F554F4  AD82FFD0  <2>0000:00000000

------------------------------------------------------------------------
    Local Variables And Parameters
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F14092FC  AD82FA50  <2>0000:00000000
C6FB32FA  AD82FAD0  <2>0000:00000000   f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp line 136
punting on symbol pThrowInfo
 Local 'ThisException' EHExceptionRecord
   ExceptionCode = AD82FC00
   ExceptionFlags = 0
   ExceptionRecord = 1B
   ExceptionAddress = FFFFFFFFFFFFFFFE
   NumberParameters = 42507E8
   EHParameters
    magicNumber = AD82FC00
    pExceptionObject = 1B
    pThrowInfo = FFFFFFFFFFFFFFFE
    pThrowImageBase = 42507E8
   params
 Local 'ThrowImageBase'
punting on symbol exceptionInfoPointer
 Local 'ExceptionTemplate' EHExceptionRecord
   ExceptionCode = E06D7363
   ExceptionFlags = 1
   ExceptionRecord = 0
   ExceptionAddress = 0
   NumberParameters = 4
   EHParameters
    magicNumber = E06D7363
    pExceptionObject = 0
    pThrowInfo = 0
    pThrowImageBase = 4
   params

C6EE2B48  AD82FB70  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\common\helpers\singletonhelper.hpp line 20
 Local 'lock' std::lock_guard<std::mutex>
   mutex_type
    std::_Mutex_base
     _Mutex_base
     _Mutex_base
     ~_Mutex_base
     operator=
     lock
     try_lock
     unlock
     native_handle_type = 7FF8C7098D78
     native_handle
     _Mtx_storage
     _Mymtx
     __dflt_ctor_closure
     __vecDelDtor
    mutex
    mutex
    operator=
    ~mutex
    
    
     std::_Mutex_base::{dtor}
     this = 7FF8C6F8F684
    __vecDelDtor
   lock_guard<std::mutex>
   lock_guard<std::mutex>
   lock_guard<std::mutex>
   ~lock_guard<std::mutex>
   
   
    std::_Mutex_base::unlock
     std::_Mtx_unlockX
      _Mtx_unlock
      std::_Check_C_return
       std::_Throw_C_error
    this = AD82FCC8
   operator=
   _MyMutex = 7FF8C7098D78
   __vecDelDtor
 

Share this post


Link to post
Share on other sites
40 minutes ago, clebson said:
whenever I go to connect the server I have to disconnect the ports 80,8080 because the zone server does not open ... only when I close them ... every time I restart the server I need to do the procedure ...

If I'm not wrong, port 80 8080 10007 is used to launcher update, doesn't linked to zone. Zone has own port 27780 and etc.

Edited by Nuna

exdeus.dev ]
WebCP | Private Course

Share this post


Link to post
Share on other sites
Just now, Nuna said:

Se não estou errado, porta 80 8080 10007 é usado para atualização do lançador, não ligada à zona. Zona tem o próprio porto 27780 e etc.

You can not understand ... I meant that when I try to open the zone server with the 80,8080 ports open ... the connection error zone server with the database ... but if I close them ... I can open the server .... so every time I have to restart the server, I have to delete the ports and re-create them later ... I know they are ports of the appserver but when they are open the users are trying to enter the server while I'm starting and it's error but if the port has closed the user has no way to try to enter then the server does not error ... sorry ... I do not speak English using google translator so it should be confusing

Share this post


Link to post
Share on other sites
53 minutes ago, clebson said:
You can not understand ... I meant that when I try to open the zone server with the 80,8080 ports open ... the connection error zone server with the database ... but if I close them ... I can open the server .... so every time I have to restart the server, I have to delete the ports and re-create them later ... I know they are ports of the appserver but when they are open the users are trying to enter the server while I'm starting and it's error but if the port has closed the user has no way to try to enter then the server does not error ... sorry ... I do not speak English using google translator so it should be confusing

i dont know much about hacking or etc, try change your current port to custom port. server and web server in one machine ? if yes, use other machine as emulator that only using port 80 8080 10007. im doing it in last server i have. And in server machine use firewall rules that block all port except that port are using by zone.

Edited by Nuna

exdeus.dev ]
WebCP | Private Course

Share this post


Link to post
Share on other sites
On 19.02.2018 at 9:30 AM, Roslaw said:

Don't complain anything to him,.
He provide full source code in GitHub.
So,.. if you find some problems and know how to fix it, just send commit in github to help him improve this guard.

the list of problem in this guard is :

  1. Heavy process.
  2. Need high Server Resources.
  3. Wrong Alogarithm in speedhack and flyhack. (speedhack tolerance too high).
  4. Wrong Alogarithm in Skill / Force Checking. (timing check tolerance too high, range skill target check not available / not work).
  5. RF_World DB Connection issue if using old version of SQL / Windows.
  6. Crash Dump need Large space of hardisk (1 crash case need 1gb-3gb dump files).
  7. Not capable to handle players over than 500 population even with High End Server (i7 7700k, 64GB Ram, Supermicro, NVMe SSD).
  8. Too many modification in Client RF_Online.bin to fix server side problem. (Example: Set Item Effect, Auction etc). using this version RF_Online.bin triggering more Critical Error than Normal RF_Online.bin without modification. (I have testing it for 1 weeks with Language=USA and en-gb from PlayRF Client).

 

3. 4. solely to ensure that players with high pings did not have problems

5. it's done specially
6. this type of dump is needed to understand why and where it happened. Another type (smaller in size) answers the question where it happened

1. 2. 7. I did not think that in this game possible to collect so many players in one server, so I have focused on ease of development and support

8. it's a lie. Only 1 offset is required, for Set Item Effect. Without it will be catch critical error, because Koreans fucked up writing a client in this part

ps:

By the way, I never received a video with proofs of you that works bug through the auction, mail and box

Share this post


Link to post
Share on other sites
6 hours ago, clebson said:
 
I am being attacked, first it starts to give roolback after the zoneserver closes ... please help me!

 

ALL LOGS all logs zone server!

 

==================================================================================
ZoneServer : Exception Program
Exe :         C:\Server\2.ZoneServer\RF_Bin\ZoneServerUD_x64.exe
OS :          Windows 6.2(), build9200 PlatformId 2 ""
UserName :    root
Computer :   
Time :        2018-02-19 MON, 10:04:39.842 PM
Code :        E06D7363
Address :     F14092FC
==================================================================================

------------------------------------------------------------------------
    Call stack
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F14092FC  AD82FA50  <2>0000:00000000
C6FB32FA  AD82FAD0  <2>0000:00000000   f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp line 136
C6EE2B48  AD82FB70  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\common\helpers\singletonhelper.hpp line 20
C6EE2610  AD82FC90  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\playerex\playerex_pvporderview.cpp line 64
C6EEDAB9  AD82FCE0  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\player\playersystem.cpp line 64
401DAE81  AD82FD20  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 139
4047A3CC  AD82FD90  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 1949
40477CFF  AD82FDD0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 557
40481CB9  AD82FE10  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\networking.cpp line 375
401F4E03  AD82FE80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 5181
401EE85D  AD82FEC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 3170
51E453C5  AD82FF10  <2>0001:000043C5 C:\windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
51E4538C  AD82FF50  <2>0001:0000438C C:\windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
F1F513D2  AD82FF80  <2>0000:00000000
F3F554F4  AD82FFD0  <2>0000:00000000

------------------------------------------------------------------------
    Local Variables And Parameters
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F14092FC  AD82FA50  <2>0000:00000000
C6FB32FA  AD82FAD0  <2>0000:00000000   f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp line 136
punting on symbol pThrowInfo
 Local 'ThisException' EHExceptionRecord
   ExceptionCode = AD82FC00
   ExceptionFlags = 0
   ExceptionRecord = 1B
   ExceptionAddress = FFFFFFFFFFFFFFFE
   NumberParameters = 42507E8
   EHParameters
    magicNumber = AD82FC00
    pExceptionObject = 1B
    pThrowInfo = FFFFFFFFFFFFFFFE
    pThrowImageBase = 42507E8
   params
 Local 'ThrowImageBase'
punting on symbol exceptionInfoPointer
 Local 'ExceptionTemplate' EHExceptionRecord
   ExceptionCode = E06D7363
   ExceptionFlags = 1
   ExceptionRecord = 0
   ExceptionAddress = 0
   NumberParameters = 4
   EHParameters
    magicNumber = E06D7363
    pExceptionObject = 0
    pThrowInfo = 0
    pThrowImageBase = 4
   params

C6EE2B48  AD82FB70  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\common\helpers\singletonhelper.hpp line 20
 Local 'lock' std::lock_guard<std::mutex>
   mutex_type
    std::_Mutex_base
     _Mutex_base
     _Mutex_base
     ~_Mutex_base
     operator=
     lock
     try_lock
     unlock
     native_handle_type = 7FF8C7098D78
     native_handle
     _Mtx_storage
     _Mymtx
     __dflt_ctor_closure
     __vecDelDtor
    mutex
    mutex
    operator=
    ~mutex
    
    
     std::_Mutex_base::{dtor}
     this = 7FF8C6F8F684
    __vecDelDtor
   lock_guard<std::mutex>
   lock_guard<std::mutex>
   lock_guard<std::mutex>
   ~lock_guard<std::mutex>
   
   
    std::_Mutex_base::unlock
     std::_Mtx_unlockX
      _Mtx_unlock
      std::_Check_C_return
       std::_Throw_C_error
    this = AD82FCC8
   operator=
   _MyMutex = 7FF8C7098D78
   __vecDelDtor
 

I can not help, standard logs do not help, and I do not have time to finish my logging yet. But most likely you have problems connecting to the database

Share this post


Link to post
Share on other sites
7 hours ago, i7Core said:

i dont know why he release this source , but i think he really a goodman .

I did it in the hope that the community will also contribute, but so far no one has done anything for this project, except for the bugs of the reports, they help, but not to the extent that I wanted.
The community does not have competent programmers who would like to contribute. Therefore, the project will be closed after the next release. My activity will no longer be, but the code for the latest release will be available
In addition, this game has a lot of architectural problems that you need to fix having full source code for the server, rather than trying to do it in dll

Share this post


Link to post
Share on other sites
 
No errors simply the zoneserver closes!
==================================================================================
ZoneServer : Exception Program
Exe :         C:\Server\2.ZoneServer\RF_Bin\ZoneServerUD_x64.exe
OS :          Windows 6.2(), build9200 PlatformId 2 ""
UserName :    root
Computer :   
Time :        2018-02-20 TUE, 04:10:53.330 PM
Code :        C0000005 ACCESS_VIOLATION
Address :     F01FB709
==================================================================================

------------------------------------------------------------------------
    Call stack
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F01FB709  030FFBD0  <2>0000:00000000
C98CFCEE  030FFC40  <2>0000:00000000
4048792A  030FFDC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\database\rfnewdatabase.cpp line 596
C8EDD3C4  030FFE10  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\player\player.cpp line 52
C8EEDA3A  030FFF20  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\yorozuya.cpp line 64
C8FADAA8  030FFF50  <2>0000:00000000   minkernel\crts\ucrt\src\appcrt\startup\thread.cpp line 115
F00813D2  030FFF80  <2>0000:00000000
F01D54F4  030FFFD0  <2>0000:00000000

------------------------------------------------------------------------
    Local Variables And Parameters
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
F01FB709  030FFBD0  <2>0000:00000000
C98CFCEE  030FFC40  <2>0000:00000000
4048792A  030FFDC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\database\rfnewdatabase.cpp line 596
 Local 'this' = 4042C40
 Parameter 'szTableName' = 0
 Local 'sqlRet' = FFFE
 Local 'strQuery'
C8EDD3C4  030FFE10  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\player\player.cpp line 52
C8EEDA3A  030FFF20  <2>0000:00000000   d:\source\rf online\yorozuya\yorozuya\yorozuyags\yorozuya.cpp line 64

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...