View Full Version : General info request
dreakoth
9th November 2006, 07:45
Hey guys,
First off i want to ask about PB and what its currently scanning on BF2142 retail. I guess its not scanning much cause the console unlock works? can anyone let me know if they are scanning stuff yet and if making the standard nametag and minimap hacks is worth while.
Secondly i did my little console unlock trainer up, thanks for that (who ever worked it out). Im curious to know if theres any way to get a trainer to input the console commands? i have no idea how that stuff works, i guess u could just edit the vars thro the memory using ur trainer but it doesnt feel the same :P i dunno, just curious.
(p.s. i searched the forums for all this stuff couldnt find much / any thus why im asking)
update on this - im sure i saw a list of semihack commands u can use such as enemynametagdistance or some such but i cant find them today! its quite frustrating, if anyone can point me to them that would be great.
Has anyone thought much about those little red diamonds that u get over the enemy when u spot them? id like to know if anyone has any info about them , and possibly displaying them as opposed to the nametags, i would find it better and easy to see. I havnt looked into the nametags yet so i dont know much, but im just asking what u guys think about them.
update - so far if figured out that when u aim at an enemy it doesnt dispay the '3d icon' only their nametag, i guess its a slightly seperate thing shouldnt be hard to find it.
I'v got the so called 'GetTeam()' fuctions adress for bf2142 retail and i got the conditional jumps so show enemy vehicles but im stuck on the infantry, I found a jnz jump that when noped or je'ed hides all my infantry from the radar but it doesnt then show the enemy (nopping should in theory show both and je'ed should show just enemy as it is with the vehicles) can anyone shed any light onto this or any ideas on whats happening, ill keep looking myself too.
Basically if anyone wants to get nametag or minimap hack for bf2142 they can just follow calibers guide in the bf2 tut section, works fine, all u have to do is be able to understand it enough to not have to follow it number for number.
iv also noticed that the asm structure for the team comparison functions:
get player 1 team
get player 2 team
if player1team = player2team then show on radar
has changed so u cant use bf2 sig files for the bf2142 ones.
My two cents hope someone finds it useful.
Thanks,
Trav
Spontaneous
9th November 2006, 20:46
Well a couple things here.
PB is not scanning anything but for a simple directx hook right now. Who knows when they will start scanning the memory.
The nametag circle(diamond to you) is simple to find. 2 byte search, 1 if showing and 0 if not). Easy to find when you got the support unlock for scanning for enemys using some hand held scanner thing. That will bring up the circle. Now the thing is, the offset I found, will show it for both teams, as long as both teams nametags are showing. I do not know why this is, but it looks like for the circle hack to work, you will need normal nametags hack working. I am sure there is a way around this, but I just found the offset last night and didnt mess around enough yet.
Kaz
9th November 2006, 21:31
Add following lines in your Battlefield 2142\Profiles\0001\profile.con, found in My Documents folder. Right after LocalProfile.set lines.
Enemy tags:
NameTags.MaxEnemyDistance 999999
NameTags.EnemyDotLimit 0
NameTags.EnemyTagDelayTime 0
NameTags.EnemyTagFadeInTime 0
NameTags.EnemyTagFadeOutTime 999999
As soon as enemy is seen on screen, his name tag will appear and won't disappear until he dies.
Friendly tags and deployable item tags:
NameTags.MaxFriendlyDistance 999999
NameTags.ManDownFadeOutTime 999999
NameTags.DeployableDistance 100000
NameTags.MaxCallDistance 100000
These increase friendly tag distance for medkits, ammobags, friendly claymores, man down tags, etc...
After saving, make profile.con read-only so they won't disappear after restart. And feel free to experiment with the values!
Screenshot:
http://img207.imageshack.us/img207/1572/screen014ca5.png
*Since it's just editing the profile file, you can't get caught with Punkbuster!*
dreakoth
10th November 2006, 01:51
Cool, thanks guys.
So update so far:
I'v got console unlock, minimap (all infantry and vehicles, only two gates i needed to break to get everything :P gj dice for making it easier) and also have a nofog hack working too im now working on nametags.
I played around with my list of calls to 'getteam' method that originate from rendx9.dll but i cant get anything to work, its rather annoying.
I have one offset which when i nop the jnz gate will display all nametags in blue when they normally pop up, ie if I aim at the enemy their tag pops up and is blue, and if i mess around with the jump then i get other results like all nametags red ect.
Can someone shed any light on the nametags as i cant figure out what im missing?
Its funny how much u get working and figure out urself after u make a post :P ill prolly work out what i was doing wrong and fix it all before anyone can reply.
Thanks again,
Travis
Spontaneous
10th November 2006, 08:01
Here, since it really dont matter about this info
Lock Crosshair = D8 46 08 D8 4E 34 D8 4E 30 D9 5E 04 74 ?? 8B 90
Console Unlock = 75 1E 68 ?? ?? ?? ?? 8B CE FF 15 ?? ?? ?? ?? 8D 8D ?? ?? FF FF FF
MiniMap1 = 75 ?? C7 45 F4 26 00 00 00 EB ?? 8B 4D FC 8B 11 8B 4D FC FF 92
MiniMap2 = 75 ?? C7 45 F4 17 00 00 00 EB ?? 8B 45 FC 8B 10 8B 4D FC FF 92
MiniMap3 = 74 ?? C7 45 F4 18 00 00 00 E9 ?? ?? ?? ?? 8B 4D 08 E8
MiniMap4 = 0F 84 ?? ?? ?? ?? 8B 45 EC 8B 10 8B 4D EC FF 52 64 89 45 E0
MiniMap5 = 75 ?? C7 45 F4 25 00 00 00 EB ?? 8B 45 FC 8B 10 8B 4D FC FF 92
MiniMap6 = 75 ?? C7 45 F4 12 00 00 00 EB ?? 8B 45 FC 8B 10 8B 4D FC FF 92
MiniMap7 = 74 ?? C7 45 F4 13 00 00 00 EB ?? C7 45 F4 10 00 00 00 8B 45 EC
MiniMap8 = 75 ?? C6 45 E7 01 EB ?? 8B 45 F8 8B 10 8B 4D F8 FF 52 48 85 C0
Nametags1 = 75 ?? 83 8E B8 00 00 00 10 5F 5E 5B 8B E5 5D C2 04 00
Nametags2 = 0F 84 ?? ?? ?? ?? 8B 13 8B CB FF 92 F4 00 00 00 3B 46 74
Nametags3 = F6 C2 01 74 ?? DB 46 38 D8 1D ?? ?? ?? ?? DF E0 F6 C4 41
Nametags4 = 0F 84 ?? ?? ?? ?? D9 86 90 00 00 00 8B 8E 88 00 00 00 D9 86 8C 00 00 00
NametagsCircle = 75 ?? 8B 16 8B CE FF 92 ?? ?? 00 00 85 C0 0F 86 ?? ?? 00 00 8B 06 8B CE
Use that in OpSearcher, you will find the memory hacks
dreakoth
10th November 2006, 08:15
How come you needed so many for the minimap? I used two and im sure i'v gotten everything shown, one displayed all vehicles and the other displays all infantry.
What results does each adress that you've given produce? could be interesting to see whats different and id like to understand why you needed 8.
When i download opsearcher ill see if ur adresses match and get back to you.
Spontaneous
10th November 2006, 08:43
Well, I forget what everything is but here is a run down of most of it. Minimap inf, minimap veh, minimap inf for commander map, minimap veh for commander map, minimap leader icons, minimap inf for while using full map(for further distance drawwing), minimap veh for while using full map. I forget the 8th.
But in short, there is a lot more then just doing it for the small minimap. In bf2, most of us used 7 offsets. In 2142, there is 8.
dreakoth
10th November 2006, 09:12
Alright cool, ill have to convert ur adresses, load em into a trainer and see how they go one at a time. Atm im using ur number 2 for infantry and number 6 for vehicles, the number 6 seems to work for my large map and my minimap but maybe i was imagining it on the large one :P ill check and see
Thanks again,
Trav
Spontaneous
10th November 2006, 09:30
Atleast thats how I remember it. To be honest, I was given the offsets(except nametagscircle) and I made the sig file. Last time I found all the minimap offsets by hand was just over a year ago. Thats what I remember when I did it by hand. I could be wrong on it tho so anyone feel free to correct me.
dreakoth
10th November 2006, 12:40
Well iv had a look, and ill tell u my results so far.
When i try to go commander and have olly attatched and debug ports cleared then the game will crash for some reason *shrugs* so i cant test for commander map.
index : jumptype : jump changed to : result :
1 : JNZ : NOP : shows enemy inf when close with squad leader icons, in minimap and zoomed map
2 : JNZ : NOP : shows enemy inf when close with squad leader icons, in minimap and zoomed map
3 : JE : ALL : no change
4 : JE : ALL : no change
5 : JNZ : NOP : shows enemy veh any distance on minimap and zoomed map
6 : JNZ : NOP : shows enemy veh any distance on minimap and zoomed map
7 : JE : ALL : no change
8 : JNZ : NOP : when 1 or 2 or both are on it increases the distance u can see inf
you can use 1, 8 or 2, 8 or 1, 2, 8 - to display the infantry on the minimap, full map and with squad leader icons at any distance
u can also add in 5 or 6 or both to the above to display vehicles ie
1,5,8 - 1,6,8 - 1,2,5,6,8 anything, doesnt seem to make a difference (maybe commander map i dunno)
i would also like to know what the je jumps are sposed to be for as i couldnt get them to do anything ever
*shrugs*
i guess its changed since BF2 and maybe the guy u got the offsets off didnt do it manually either, just found one and used what he remembered from the last one
I havent got onto the nametags yet cause i dont have the renddx9.dll base and dont know 100% how to work it out so i left it for now :P
update with nametags:
one of ur sigs adress things points to the line above a jump and not the acual jump afaik this is wrong?
instead of
Nametags3 = dwRENDDX9Base + 0x1409FE
i think it should be 0x140A01 maybe u should fix ur sig file if im right
so i found out that nametags 1 gives u 3d icons, nametags 2 gives u the nametags and ur 'circle' thing works too, same as 3d icons such that the nametag has to be up.
in the game u can have the 'circle' w/o the nametag so i dunno how to get that happening but its alright for now
i cant figure out what ur other nametag lines are for, in bf2 i think u needed a few lines to get all the ppls tags to display but i only need the single one again(like the minimap), maybe u could shed some light on what the others might be for like u did with the minimap ones
Thanks again for sharing, u saved me some work :P
hopefully i can work out some new stuff i can share myself ;)
Travis
Spontaneous
10th November 2006, 22:02
As I said, it can be done with less, but it will not be as good as with all the lines. 2142 has not changed much code wise compared to bf2. When it is all the experts around in the bf community(sparten, dubbls, reckless youth, myself and I am sure people like scruie and haxing4life all use the same thing. I just found out, the person I got all these addies from, got it from looking at dubbls bhud hack.
scruie
11th November 2006, 02:06
Guess it's time someone made a sticky for addys...
Spont, funny thing about someone getting addys from another's hack I think I did the same from your legion hacks for my own :)
dreakoth
11th November 2006, 02:46
Im just wanting to work it out for my own benefit so i know. Its alright u saying 'seem to know enought, heres the addys, go for it.' but im just wanting to understand it properly.
Im not saying ur wrong, im just asking why because i dont understand and id rather understand ;)
Ill play around with a bit more but i think ill just move on to adding more of the commander and mine tags and other things for now.
Thanks,
Travis
Glassjaw
11th November 2006, 04:12
so where would one go to start making sense of all this information :P
Spontaneous
11th November 2006, 04:35
Glassjaw, by going through the available tuts for bf2.
scruie, yea a lot of people have. I dont mind. After all, its not the offsets that really makes a difference as we all know its easy to detect. Its what you do to make your stuff undetected that really counts.
Nametags should be nametags, metertags, 3dmap icons, and squad leader tags.
One of things that you didnt mention when going through the minimap ones is the squad leader one. You know, the circle with a number in it on the minimap. That is one of them.
dreakoth
11th November 2006, 06:29
@Glassjaw, all iv really looked at are (in rough order)
- A tut about clearing the debug ports so u can attatch ollyDbg
- Calibers Tuts 1 - 4
- Then look up TMK or grab a template (c++, vb) of whatever langue ur good at and use what u know to make some hacks
You can get all the Info and Tools from the BF2 - tutorial section of this forum
All iv done is move those methods over to BF2142
@Spont - I didnt pickup on the meter tags when going through ur list (looking to see what each jump does ingame), so i can look for that now and im sure ill find it, thansk for pointing that out.
With the squad leader icons i did mention it but it seemed to be a 'given' that worked with the initial 'show tags' nop.
By nopping either minimap1 or minimap2 u can get the minimap to display all the troops that are close by, with squad leader icons.
This is why im unsure about this stuff seems sketchy, i guess if u really tested everything it would all fall into place :P
I'v decided just to add them all to my list and go work on other things such as zoom hack and the commander ones.
Can anyone point me to a thread (if one exists - i noticed that there isnt much of an archive in the bf2 section, only 2 pages of post?) which talks about how the commander hacks work, ie the theory behind them? I dont really know as theres no tut and i havnt been around for any discussion.
I sorta want to understand what the method is rather then using the offsets from the demo that someoen supplied and going the easy way.
I could probably guess it but if its alrdy been written down i wouldnt mind reading it.
(p.s. i did search but didnt come up with any theory type stuff, only releases or lists of offsets or whatnot)
Oh almost forgot - whats ur 'lock crosshair' offset for? stopping the crosshair spreading? or swaying when zoomed? i dunno, either way when i set a breakpoint on it it never activates, so nopping or jmping it does nothing cause i can never the code the even run :P *shrugs* must just be me ( i tried moving, jumping, zooming in game ect)
Thanks,
Travis
Spontaneous
11th November 2006, 08:57
Well one thing you have to keep in mind is its not always a NOP. It can be other ASM code. I been making memory hacks quite some time and learn some other ASM code to help me along. I will tell you this much, I use the following asm code for my hacks
BYTE ForceShortJMP[1] = {0xEB};
BYTE Force00[1] = {0x00};
BYTE Force01[1] = {0x01};
BYTE FSUBSTST[3] = {0xD8, 0xE0, 0x90};
BYTE ForceNameTags[6] = {0xE9, 0x5C, 0x01, 0x00, 0x00, 0x90};
BYTE NOPon2[2] = {0x90, 0x90};
BYTE NOPon3[3] = {0x90, 0x90, 0x90};
BYTE NOPon6[6] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90};
BYTE ForceCommander[6] = {0x8A, 0x01, 0x90, 0x90, 0x90, 0x90};
For a commander hack, I dont remember ever seeing a good thread on how it was done here at mpc. Goto dubbls site, I think its battlecoders.com . They have a thread over there that I remember seeing about how to do a commander hack.
As for my lock crosshair, that locks the spread of the crosshair, like when you shoot or run.
dreakoth
11th November 2006, 14:39
I do know some asm, had to do it in uni :( horrid stuff
I have tryed different things other then nops, when i used ur offsets i thought they were wrong for the crosshairs, i thought u were looking at a conditional jump a few lines down from where ur offset pointed and not the float addition.
So i figured out what to do with the float ops :P (yay me - not like i did anything)
Im stuck with the commander ones, problem is that bf2142 crashes everytime i hit ctrl or click apply (to be the commander) and i think if i am the commander then attatch olly then itll crash, so i got no way to test the commander hacks :s
is there any chance u can tell me what to do to the move commands as i cant test anything? do i nop them or make them move 0 into the pointer instead of 1 (if im reading it right) as i dont know where u got the offset from i have no idea what it does :P
id also like to know where u use the force 0's and 1's i cant figure it out :P bf crashed again and im sick of rebooting it :'(
if u dont wanna say it here u could pm me or add me to msn i would also liek to see what uv done with 2 or three of the minimap and nametag offsets to compare with what iv got cause there still a little screwy, ie atm when i call for a medic no medic icons show on the radar (must have a gate around the wrong way)
Either way uv been a great help spontaneous, ill try not to bug u much for awhile cause i got to study for exams and put bf down till my holidays rock around. (2 weeks - ill be around a bit in between)
Thanks,
Trav
Spontaneous
12th November 2006, 01:24
Actually what crashes the game is SafeDisk(anti piracy) puts breakpoints into the games code which it does break when you try applying for commander. If you become commander before attaching olly, you should be fine.
I am using the force00 and force01 for the commander assists(to do unlimited supply drops, orb strikes and emp strikes. The normal code has it as 01. Forcing it to 00 makes them unlimited. I then use the force01 to return the orignal code.
firebat
12th November 2006, 01:43
derakothm If your still around. I saw this tutorial for commander hack over at battlecoders.com
[Tutorial] Complete Guide to the Commander Hack (http://www.battlecoders.com/forum/index.php?showtopic=814)
dreakoth
12th November 2006, 02:07
@firbat thanks for the link i didnt get around to finding it myself :P
1) I just used ur code and chucked it in trainer to test it and got it working, when u go 'force commander' is it supposed to turn all the infantry on the minimap into commander icons?
2) Has anyone been able to get the enemys assets to be displayed on the minimap? im not sure if its even possible as i cant think of a situation where they get displayed normally accept when u do a commander scan but that just shows em as red dots that u can 'spot' not the acuall icons, but then u can see ur own so it might be possible.
So i figured out that with my orig set of changes i was stopping the infantry and vehicles from displaying their 'class' when i called for medics ect (on the minimap) so i played with it some and now i can see you were right with the multiple minimap (8) offsets
I now have one for:
show inf (upclose)
show class icons inf
show veh
show class icons veh
show inf long range
i still dont know what ur offsets 3 4 and 7 are for but ill play with them more too (im guessing something to do with the commander as i havnt tested much as commander)
3) I found a post explaining the tags distance and how to increase it, u follow the jump u forced and steal the dma its pointing to, i did that but it doesnt seem to be effecting the tag distance ingame. If i set my static value to 800 the tags dont get displayed till im 120 away, and if i set it to 5 they will show up at 120 still.
I read a post about them changing bf2 or something, putting a limit on the value so u couldnt change it easy? Can someone shed any light onto that for me?
list of hacks:
unlock console
minimap - 90% done not sure what im missing
nametags - 70% done - need to figure out how to show meters and make them display further away
zoom - force zoom anytime 50% i can only get it working when im not zoomed - i noppeed the line so it doesnt shake but is there anyway to let me force zoom when alrdy zoomed so i can use the 'zoomed' crosshairs
lock crosshair
lock zoom crosshair
force commander
unlimited assets
need to do:
show mines
2d hud (2d circle thing that shows ur squad members - i want this with vehicles for when im in a chopper or tank and want to be able to find the enemy faster)
remove sniper overlay
can someone list any other memory hacks i can look into? ones from bf2 i havnt got listed that i can work on.
Any info on any of the above questions / problems will be greatly appreciated, maybe alot of this stuff has been discussed, if so just tell me and ill go look for it, im just posting it as i think of it.
Thanks alot for ur help so far spontaneous (and kaz and firebat)
Travis
(p.s. sorry for doubting ur multiple offsets :P)
nesti
13th November 2006, 12:01
Nice faked image ;)
I dont know if you noticed... but we don't have the BF2 Ranks in BF2142 .....
Spontaneous
13th November 2006, 20:32
What are you talking about nesti?
dreakoth
14th November 2006, 06:05
No one seemed to have much to say about my last long winded post, i got a few simple questions that ill keep short.
Has anyone thought about getting the enemies assets to be displayed on the minimap, has anyone got any theroys about this?
I didnt do the 'zoom' hack myself, i used someones post on how to do it in bf2 and so i dont know how it works exactly, im wondering if you can make it 'zoom' when ur already zoomed so u can use the 'zoomed' crosshairs, ie the sniper rifle isnt very handy when ur zoomed in from the normal veiw and dont have a crosshair.
Spontaneous
14th November 2006, 06:53
Havent tried, but I am sure it can be found by searching the addresses Team() would have gave you.
As for zoom hack. I am sure you can but the best way to do it would be to do the zoom hack with a crosshair hack where you force the value of the zoom crosshair to show instead of zooming while zoomed.
dreakoth
14th November 2006, 08:35
Alright sounds fair enough ill try it out
djemz
6th December 2006, 04:43
Add following lines in your Battlefield 2142\Profiles\0001\profile.con, found in My Documents folder. Right after LocalProfile.set lines.
Enemy tags:
NameTags.MaxEnemyDistance 999999
NameTags.EnemyDotLimit 0
NameTags.EnemyTagDelayTime 0
NameTags.EnemyTagFadeInTime 0
NameTags.EnemyTagFadeOutTime 999999
As soon as enemy is seen on screen, his name tag will appear and won't disappear until he dies.
Friendly tags and deployable item tags:
NameTags.MaxFriendlyDistance 999999
NameTags.ManDownFadeOutTime 999999
NameTags.DeployableDistance 100000
NameTags.MaxCallDistance 100000
These increase friendly tag distance for medkits, ammobags, friendly claymores, man down tags, etc...
After saving, make profile.con read-only so they won't disappear after restart. And feel free to experiment with the values!
Screenshot:
http://img207.imageshack.us/img207/1572/screen014ca5.png
*Since it's just editing the profile file, you can't get caught with Punkbuster!*
Hey is that all i have to do? Like i dont need anyother hax or anything?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.