Page 1 of 1

Fearless.exe modification

Posted: Sun Apr 01, 2012 7:48 pm
by Legu
Hi, i have a file (.c) and i want to remove some parts from it. Problem is that i cant complile the file because dev c++ says it has around 40 errors.
The original file can be found in the attachments. (Is from aluigi)
The part that should be removed is:
if(!gsname || !gsname[0]) {
//if(!games[game_num].gsname || !games[game_num].gsname[0]) { // "test"
if(myguid) {
// ok?
} else {
if(gsname && !gsname[0]) {
gsname = "poriginpc"; // auto
} else {
printf("\n"
"Error: no gamename received from the query\n"
" you must specify the game or its guid\n"
" for example use the following command if the server is F.E.A.R.:\n"
" %s -g fear %s %s\n"
" or\n"
" %s -g ? %s %s\n"
" for the list of supported games\n"
"\n",
argv[0], argv[1], argv[2],
argv[0], argv[1], argv[2]);
exit(1);
}

}
}
The else with the no gamename received can be left out. So that the program will proceed even if it didnt received a a gamename. I think it will make this program work for any fear server.

Re: Fearless.exe modification

Posted: Sun Apr 01, 2012 7:51 pm
by Legu
Sorry, didnt work the first time.
{Attachment}

Re: Fearless.exe modification

Posted: Sun Apr 01, 2012 11:39 pm
by Sethioz
learn to use

Code: Select all

 code block
you're making mess.

this is not my tool, i don't understand why you keep asking me about his tools ?
why are you not asking Luigi ? if he is ignoring you, it is for a reason.
that reason being you are making no sense.

and how exactly is this game modification ??

LOCKED - makes no sense + wrong section