Fearless.exe modification

Everything about gaming, walkthroughs, discussions, news, reviews ..etc

Fearless.exe modification

Postby Legu » Sun Apr 01, 2012 7:48 pm

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.
User avatar
Legu
Allie
Allie
 
Posts: 232
Joined: Sun Dec 18, 2011 6:47 pm

Re: Fearless.exe modification

Postby Legu » Sun Apr 01, 2012 7:51 pm

Sorry, didnt work the first time.
{Attachment}
Attachments
fearlesss.rar
The file
(9.27 KiB) Downloaded 163 times
User avatar
Legu
Allie
Allie
 
Posts: 232
Joined: Sun Dec 18, 2011 6:47 pm

Re: Fearless.exe modification

Postby Sethioz » Sun Apr 01, 2012 11:39 pm

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
User avatar
Sethioz
Admin
Admin
 
Posts: 4757
Joined: Fri Jul 27, 2007 5:11 pm
Location: unknown


Return to Gaming - Discussions / Walkthroughs / News / Reviews

Who is online

Users browsing this forum: No registered users and 1 guest

cron