tag:blogger.com,1999:blog-6287513207414970276.post8526205069927882879..comments2023-03-27T04:31:59.353-07:00Comments on BZFlag Cheat: No GravityCRWhttp://www.blogger.com/profile/16469342749811241765noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6287513207414970276.post-8492929227383620932009-10-19T14:22:27.797-07:002009-10-19T14:22:27.797-07:00i haven't done anything with hacking, so i nee...i haven't done anything with hacking, so i need some help to get started. is there any instruction on how to get started?Unknownhttps://www.blogger.com/profile/14405493452642057032noreply@blogger.comtag:blogger.com,1999:blog-6287513207414970276.post-49999999482467257592007-09-29T18:41:00.000-07:002007-09-29T18:41:00.000-07:00Flag grabbing hack:Open src/bzflag/CommandsImpleme...Flag grabbing hack:<BR/><BR/>Open src/bzflag/CommandsImplementation.cxx .<BR/><BR/>Find:<BR/><BR/>#include "ServerLink.h"<BR/>#include "LocalPlayer.h"<BR/><BR/>After that add:<BR/><BR/>class GrabCommand : LocalCommand {<BR/> public:<BR/> GrabCommand();<BR/> bool operator() (const char *commandLine);<BR/>};<BR/>static GrabCommand grabCommand;<BR/>GrabCommand::GrabCommand() : LocalCommand("/grab") {}<BR/>bool GrabCommand::operator() (const char *commandLine)<BR/>{<BR/> unsigned char abbv[3] = {0,0,0};<BR/> abbv[0] = *(commandLine+6);<BR/> abbv[1] = *(commandLine+7);<BR/> FlagType *newFlag = Flag::getDescFromAbbreviation((const char *)abbv);<BR/> for (int i = 0; i < numFlags; i++)<BR/> if (World::getWorld()->getFlag(i).type == newFlag)<BR/> serverLink->sendGrabFlag(i);<BR/> return true;<BR/>}<BR/><BR/>Open src/common/Flags.cxx .<BR/><BR/>Find:<BR/><BR/> type = Flag::getDescFromAbbreviation((const char *)abbv);<BR/><BR/>Replace with:<BR/><BR/> FlagType *newFlag = Flag::getDescFromAbbreviation((const char *)abbv);<BR/><BR/> if (Flag::getGoodFlags().find(type) == Flag::getGoodFlags().end())<BR/>if (Flag::getBadFlags().find(type) == Flag::getBadFlags().end())<BR/> type = newFlag;<BR/> if (type == Flags::Null)<BR/> type = newFlag;<BR/> if ((newFlag != Flags::PhantomZone) &&<BR/> (newFlag != Flags::Null) &&<BR/> (newFlag != type))<BR/> {<BR/> printf("set to %s from %s\n", abbv, type->flagAbbv);<BR/> type = newFlag;<BR/> }<BR/><BR/>Done. Use it my typing /grab GM or whatever flag abbreviation, then jumping and pressing enter while in the air. It can only pick up flags that someone else has already picked up, because that is when they are identified.Someonehttps://www.blogger.com/profile/10915018749698724985noreply@blogger.comtag:blogger.com,1999:blog-6287513207414970276.post-87732936319891352532007-09-24T00:29:00.000-07:002007-09-24T00:29:00.000-07:00Don't care if you get caught cheating? To be able ...Don't care if you get caught cheating? To be able to lock on stealth do this:<BR/><BR/>Open Playing.cxx<BR/><BR/>Find:<BR/>player[i]->getFlag() != Flags::Stealth && // can't lock on stealth<BR/><BR/>it should be in there twice, delete it both times and you can now lock on Stealth tanks like normal =]<BR/><BR/>-NightMareNightMarehttps://www.blogger.com/profile/04909212205768530841noreply@blogger.comtag:blogger.com,1999:blog-6287513207414970276.post-26814127735247606672007-09-18T00:11:00.000-07:002007-09-18T00:11:00.000-07:00Yep, thats it :)thanks for that, i love being able...Yep, thats it :)<BR/>thanks for that, i love being able to jump at people, they wait for me to come down, and take the shot, just about to land, and suddenly i stop in the air, and drive over their head :)randomdudehttps://www.blogger.com/profile/17783424515803370829noreply@blogger.com