Hellgate Revival :: Forums

Hellgate: London (Single Player) => Modification => Topic started by: Leitner on Aug 01, 2009; 12:38 AM

Title: Cheat Engine?
Post by: Leitner on Aug 01, 2009; 12:38 AM
Alright so I decided to try out some hex editing on a few of my characters to see what sort of trouble I could make. Initially I tried downloading the HxD program and ran into problems. I brought my problem to Berit and he discovered it was because I was using 64bit windows which is not compatible.

Cheat engine allows me to selected hellgate_sp_dx9_x64.exe I am still not sure if this is the right process to be selecting and it doesn't have the HG icon but perhaps this is something to do with CE. Either way the program seems much more complex and after tinkering around with it for a while I discovered absolutly nothing... So I have two questions here. A could someone point me in the right direction as far as using cheat engine. and B does anyone know the hex value for green items (I would prefer turning green to yellow as it would spare my injectors and scrap components etc.) Or does that for some reason not work.
Title: Re: Cheat Engine?
Post by: Norak on Aug 01, 2009; 01:18 AM
1) It is very complicated, in terms of its different...ness..
Once you get used to it, it is much easier than anything else.
You should start over here:
http://http://forum.cheatengine.org/
2)No idea..
Title: Re: Cheat Engine?
Post by: Berit on Aug 01, 2009; 02:38 AM
2) Item quality: 00 00 c0 31 xx 00 00 00

Replace 'XX' with one of the following codes:

01 normal,
02 enhanced, This one for 'Green' Items ("00 00 c0 31 02 00 00 00" in hex)
03 rare,
04 legendary,
05 mutant,
06 unique,
07 enhanced,
08 rare,
09 legendary,
0a mutant,
0b unique,[/list]

07 and above is for mods,
Armour and Weapons use 01, 02, 03,04 and 06.


I'm not sure what 'Mutant' is, although I think it had something to do with Subscriber or Multiplayer only ??
Title: Re: Cheat Engine?
Post by: maeyan on Aug 01, 2009; 03:17 AM
Mutant items are those items bosses only drop such as "Shulgoth's Sword of Nightmares". In the next patch we are making these item's more obvious  8-)
Title: Re: Cheat Engine?
Post by: Malachor on Aug 01, 2009; 04:08 AM
NOOoooo! :)
Don't change green items, you won't get an actual unique item, only a yellow item.
Say you have a green "Accurate Fire Bolter", when you change item quality all you'll get is a yellow "Accurate Fire Bolter", not a unique version of the Fire Bolter.
If you're worried about your scrap, well it's too late now, either you go ahead and change the item quality and sell your scrap and start again(obviously not rare scrap and nanoshards), or you don't and hope you find the unique in the store.
Or, you could go ahead and change it, but go through one instance of the item quality at a time and make sure you skip the scrap.
Oh yeah, cheat engine can't 'replace all' like Hxd can(but it doesn't work on 64 bit), so you pretty much have to do it one at a time anyway.
Title: Re: Cheat Engine?
Post by: Berit on Aug 01, 2009; 04:38 AM
Then too, if all you're worried about is having enough scrap materials, you can use this hack to solve the problem ...(BTW , I don't recommend going over 4500, that way you can scrap other items later without lesser used parts clogging up you're inventory



BTW ... Muled from member 'freekyjason' over on the old Revival forum site

Quote
I use cheat engine 5.5 for process editing, and hex workshop for file editing.

both on 64bit vista first, now 64bit windows 7
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 02, 2009; 03:38 AM
cheat engine can be a handful to start with, and yes you are selecting the right process. the icon doesnt show for me either (although my cousin using pretty much the same setup has an icon... weird huh?)

drop by the cheat engine forums linked higher up, great source of info, and easier than someone trying to write a whole new tutorial for it. its pretty decent for editing memory on the go, but like anything else can cause errors editing a running process :P ive found it not as useful with static files, so hex workshop is my preferred editor for those.

glad i found a couple to work on 64bit as my stupid motherboard wont allow memory remapping so without 64bit installed i only get to use 1.5g from 6g of my RAM. anyone in the market for a motherboard stay away from XFX :/
Title: Re: Cheat Engine?
Post by: Leitner on Aug 03, 2009; 06:06 AM
Alright I have been messing around with cheat engine some more and playing with tutorials etc. From what I can see cheat engine is far more robust in terms of specific capabilities etc (though lack of a few features such as replace all is rather annoying) But I don't fully understand why some of my scans are not working correctly.

Using the tutorial that comes with the program teaches you about the different scan types i.e. exact value, value between, etc. If use a search for a value between 10 and 20 for example I get a list of options that presumably includes the target address if I was searching for a value of 15. If I then increase the value to say 21 and do a search for increase value it looks for a value from that list that has been increased to my understanding, however, this does not actually seen to work in reality.

So in essense I don't suppose someone could shed light on the hole in my logic regarding this?
Title: Re: Cheat Engine?
Post by: Anonymous on Aug 03, 2009; 06:11 AM
Okay, silly question.
When you change that value from say 15 to 21, do you save it then do a scan for the new value?
Maybe it only looks at the actual data loaded and not an unsaved value.
Title: Re: Cheat Engine?
Post by: Malachor on Aug 03, 2009; 06:32 AM
What exactly are you scanning for Leitner?
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 03, 2009; 06:43 AM
i have that all the time, especially searching for things like skill points, experience and palladium :P

first scan will give 20+ results, next cuts it down a little, then sometimes the third can gives no results, or only 1 or a couple, but they arent the right ones. seems to be either losing the memory its scanning or hellgate is moving things around. im inclined to go with the latter.

pretty sure the memory location is being changed on the fly, which makes narrowing down results a bit of hit n miss. you have to be pretty quick at alt tabbing, making a change, rescanning, then changing the result you want.

so far ive managed to edit skill points, attribute points, experience and palladium with cheat engine. but ive had to be persistent (and growl a lot), and quick, to get it to work
Title: Re: Cheat Engine?
Post by: Malachor on Aug 03, 2009; 06:49 AM
I know it's been a while since I used it, but I don't remember having trouble using cheat engine to find the hex offsets from the adjusteditemproperties.pdf.
I'd suggest doing that, rather than scanning for the values themselves, if you're not already doing it.
Title: Re: Cheat Engine?
Post by: Berit on Aug 03, 2009; 06:54 AM
Seems silly to ask ... but you guys are actually hitting the 'Escape' key to bring up the ingame menu aren't you ? The memory address shouldn't change at all once you hit escape, as it pauses the game and therefore 'pauses' the memory addresses ... just don't exit all the way until AFTER you've finished editing, then ALT-TAB back to hellgate click exit game and it should THEN save you're changes to file ... I admit that I've never used cheat engine, so maybe it works differently
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 03, 2009; 07:02 AM
*blushes* escape key? ofc... ummm yeah.. /me hides
Title: Re: Cheat Engine?
Post by: Berit on Aug 03, 2009; 07:08 AM
:D Happens to the best of us ... no worries ... Keep the info coming though if you can, because it seems you have more experience with cheat engine so ...
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 03, 2009; 09:46 AM
i forgot all about the escape key lol

also looking for that tute on making adrenaline pills into a skill retrainer (saves chasing in CEngine) but i dont think its been posted on here yet and get redirected here trying to get to the old forum :/
Title: Re: Cheat Engine?
Post by: Leitner on Aug 03, 2009; 09:54 AM
Well I hadn't been using the escape key but I will keep that in mind for future reference. But what I am currently doing is the tutorial that comes with cheat engine. It gives you addresses has you look for a certain address with a specific value etc. Say 15 in this case, then it gives you a list of addresses with that value included and the value changes to say 21 for example. I then switch my search to increase value which to my understanding should take the list of options I searched for (10-20) and retain any of the previous examples that now have a higher value. This seems to yeild me 0 results. To the best of my knowledge this is not due to my initial scan of 10-20 results as that would seem to conflict with other results where my initial scan had different values than the final number.
Title: Re: Cheat Engine?
Post by: Malachor on Aug 03, 2009; 11:27 AM
@ freekyjason: check here viewtopic.php?f=5&t=31 (http://www.hellgateaus.info/forum_x/viewtopic.php?f=5&t=31)

@Leitner, could you specify which step of the tutorial, you're doing?
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 03, 2009; 01:24 PM
cheers malachor, ill be sure to grab it
Title: Re: Cheat Engine?
Post by: Berit on Aug 03, 2009; 01:45 PM
Quote from: "Leitner"
Well I hadn't been using the escape key but I will keep that in mind for future reference. But what I am currently doing is the tutorial that comes with cheat engine. It gives you addresses has you look for a certain address with a specific value etc. Say 15 in this case, then it gives you a list of addresses with that value included and the value changes to say 21 for example. I then switch my search to increase value which to my understanding should take the list of options I searched for (10-20) and retain any of the previous examples that now have a higher value. This seems to yeild me 0 results. To the best of my knowledge this is not due to my initial scan of 10-20 results as that would seem to conflict with other results where my initial scan had different values than the final number.

The cheat engine tutorial is mainly aimed at finding UNKNOWN memory address, WE KNOW the exact  memory address we want already, all we need to do is substitute the xx in the address listed in the pdf file for the number in game ... you find it, you change it, you save it, and you're done ...

SO ... Don't keep the escape key in mind ... USE IT ... Grab a notebook and pencil or better yet open windows notepad ... Write or type the amount of Palladium you have open  NOW PRESS ESCAPE ingame to bring up the menu now ALT-TAB, open up windows calculator and covert that number to hex ... open the adjusteditemproperties.pdf file scroll down to almost the bottom and you will see the Palladium offset with xx in the middle followed by several PAIRS of 00's, insert your amount in  to the offset from the xx using the zeros to the right if you need more numbers then select that memory address and search for that alone in cheat engine, if you have done it correctly it should find it straight away ... remember HG:L reads hex numbers backwards, and hex is always IN PAIRS so if the hex is a1b2c3 you must insert c3 b2 a1 instead ... or if it's an od number like a1b2c it would be 2c 1b 0a note the 0 in front of the a? to keep it as a PAIR ...
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 03, 2009; 02:03 PM
i do it slightly different (my effort way :P)

i grab the number for palladium/attributes/skills or what have you, do the first search in CE for that number. once it finishes and pops up the results i jump back ingame and change the amount either higher or lower (like sell/buy an item, use a point, kill a zombie) and then alt-tab out again and copy the new number into the search. then hit next scan (not new scan) and it usually finds less results. i keep doing that until i get it down to 5 or 4 results, then quickly change them all to what i want, jump into game and apply point, sell item or whatever i need to change the figure. if it hasnt worked it becomes obvious :P

most of the time i can get it to work, but sometimes the memory gets shifted and you get blank results on next scan. then its a case of exiting the game and retrying with another save, or killing process with task manager to prevent save. or you can take the new result and try again while everything is already running. frustrating at times, but there you have it.

berits method would probably be better for those stats, and i do use that method for item edits (although i forgot the escape key, hence have not had any successful item edits so far lol)

so yeah, probably best to grab the item txt from malachors link, then use berits method of finding things, and will make things easier for you
Title: Re: Cheat Engine?
Post by: Leitner on Aug 09, 2009; 08:15 AM
Hello and welcome to another session of Newbie Questions with Leitner.

Alright so for starters messing around with cheat engine some more and still looking through the tutorial I was able to answer some of my previous questions to some extent. Confident that I had the basics down I decided to give some hex editing a shot.

My first attempt was to create a skill retrainer and I immediately ran into a problem. Cheat Engine only seems to be able to search for 8 byte sequences at maximum. So the FF FF FF FF 4A 03 00 00 FF FF FF FF FF FF FF FF sequence is exactly twice as long as I could search for. At first I tried searching for various segments such as FF FF FF FF 4A 03 00 00 or the string of FF's on the end. Some of these came up with results and some did not (the 4A 03 seems to be where the problem lies).

So I have several questions for anyone who may be able to answer them. First is there any way to expand the search ability, I took a look at the custom option but it looks like it will take some learning to master. And second why the hex value is not appearing. My routine is to open HG, pull up my character that I wish to respec, make sure that I do in fact have adrenaline pills, press esc, alt tab out, pull up cheat engine, grab the hg process, and then run a search for the hex seq. Is there any step in the process that I am missing or trick that I need to account for and am not?
Title: Re: Cheat Engine?
Post by: Norak on Aug 09, 2009; 08:23 AM
Would love to help you but CE tends to get me banned from servers and such, just from having it installed!
How retarded is that!
Though that should work, from my previous experiences with it. Though CE is not mainly for Hex, its main use is the numbers themselves...
So you would search for the number of ad pills you have, then try and find them by using one, then entering the new number into CE (should be just 1 less, cos you only used 1) and click next scan. This should, via process of elimination, eventually, leave you with 1 byte or whatever. Though some problems I have had with CE before is that with some stuff you have to times the number you really want/have by...like 8 or something..Do some searching...
[EDIT] Or a simple google search could help. :P
I used "Hellgate london Cheat engine"..:
http://http://forum.cheatengine.org/viewtopic.php?p=1561021&sid=c32db9875b4a2c1ee94f76476476075b
Title: Re: Cheat Engine?
Post by: Malachor on Aug 09, 2009; 11:10 AM
Umm Norak, Leitner's not interested in changing the amount of adrenaline pills he has, he's interested in changing the 4A 03 into the skill retrainer.

Leitner, I'd suggest you choose FF FF 4A 03 00 00 FF FF instead.

Having said that, I decided to have a go myself, with no luck.
I got a system error #87 something about an incorrect parameter, when I started it, and was not able to search for my suggestion at all, nothing showed up.
But doing a different search on cheat engine itself(obviously it wouldn't have the 4a03) worked :?
What operating system are you using Leitner? I'm using win 7 x64, maybe that has some bearing.
Title: Re: Cheat Engine?
Post by: Norak on Aug 09, 2009; 11:42 AM
Once you find it, though, you can change any value...Can't you?
Title: Re: Cheat Engine?
Post by: Malachor on Aug 09, 2009; 01:21 PM
The biggest problem using your method, is finding the particular item you want, by using just the amount of the item. Don't forget, you can only buy the powerups(injectors, prds, adrenaline, etc) in stack sizes of 1. Also, you'd have to ensure that you have in your inventory a different number of the powerups(or get rid of them somehow, selling them wouldn't help since they'd be in the buy back page).

Which is why I use other values, not current amount.
Title: Re: Cheat Engine?
Post by: Jaknet on Aug 09, 2009; 01:37 PM
Hopefully this is an easy question.

Not used Cheat engine so far, but I've been looking through the adjusted items list and the only thing I'm after changing at the moment is the amount of nanoshards in my inventory.

Basically before I start messing around and trying to find this value, does anyone know the details for increasing the amount of these. Or a link to the thread about this.

Cheers for any help... :)
Title: Re: Cheat Engine?
Post by: Leitner on Aug 09, 2009; 01:55 PM
@malachor: I am using 64bit windows vista. Also any search I run that contains the 4A 03 gives me no results.

@jaknet: I am not sure if you can alter the number of nano shards or not but the item adjust sheet has a method for turning all white items into unique or legendary items. If you can use HxD I would suggest following the steps and then just break down all the uniques you have.
Title: Re: Cheat Engine?
Post by: Jaknet on Aug 09, 2009; 02:05 PM
Quote from: "Leitner"
@jaknet: I am not sure if you can alter the number of nano shards or not but the item adjust sheet has a method for turning all white items into unique or legendary items. If you can use HxD I would suggest following the steps and then just break down all the uniques you have.

Cheers Leitner. I did see that way, I was just being hopeful that there might have been a quicker/easier way of doing it.... ;)
Title: Re: Cheat Engine?
Post by: Malachor on Aug 09, 2009; 02:14 PM
Jaknet, if you have a nanoshard then you can use the "stack size", way down the bottom(if I remember correctly). "search" for it :)

I'm sure there were others who are using cheat engine on a 64 bit os, who didn't have any trouble.
Hopefully they can provide us with some ideas.
Title: Re: Cheat Engine?
Post by: Leitner on Aug 09, 2009; 02:17 PM
Well in that case it may be possible to change the number of nanoshards. I am not sure if HxD would work for it, but I think maybe using Noraks method of narrowing down item values could possibly work.

I.E. Use cheat engine to search for the hex value of the number of nano shards you currently own. Then run next scan using decreased value after nanoing an item. Or run increased value after breaking down items to receive another nano shard. Eventually you should be left with only a few values that you could alter to whatever number you desired.

That may not be possible for reasons beyond my experience but it seems like it may work.

EDIT: I see malachor already has a response that hopefully works for you.
Title: Re: Cheat Engine?
Post by: freekyjason on Aug 09, 2009; 02:20 PM
again i do things the long and painful way with CE. so far i havent been successful changing much by using the address to search for a specific field/item.

atm looking into another 64bit hex editor that has more luck finding the addresses listed in malachors text

and leitner thats the current way i do most of my hexing with CE, problem is the memory gets changed, and you have to jump ingame to actually change the values, by selling/destroying/buying, so chances are good that it can be a long process, requiring reloading a character here n there if you spend/use/break too much :P
Title: Re: Cheat Engine?
Post by: Jaknet on Aug 09, 2009; 06:05 PM
Thanks for all the help. I'll have a play around this evening and if I find the details for the nanoshards I'll post it here.


Edit... well that hurt my brain. I thought I'd start simple with the basic tutorial, first one went dead simple and straight forward, made a basic mess on the 2nd so I re started it and now even the first one refuses to work. Put in the exact health and it finds a few, get the next lower health, click next scan and it finds none. Sure I'm doing the same I did first time, re-started the program 10 times and still the same.

Going to eat, drink more coffee, re-start the PC and find a good wall to beat my head on... :)
Title: Re: Cheat Engine?
Post by: rmach11 on Aug 11, 2009; 12:56 AM
The max size for nanoshards is 5000 (88 13 hex). use the string for stack size from adjusteditemproperties.pdf to find and replace the amount you have with the amount you want.  Works great! :twisted:
Title: Re: Cheat Engine?
Post by: kreper on Aug 12, 2009; 09:02 AM
@jaknet

I will try to explain as best I can the method for changing your stack size or any number in the adjusted items pdf.  It's been a little while since i've used CE.  

  For reference..this is what is explained to be the memory address of your stack size whether it's nanoshards or any other scrap items.  

"Stack size: 00 00 C0 49 xx 00 00 00 00 00 00 4A yy 00 00 00
xx is the maximum number in the stack, eg 20 for injectors or 5000 for components.
yy is the current number in the stack."


  say you have 43 nanoshards in your inv.  You would search for
00 00 C0 49 88 13 00 00 00 00 00 4A 2B 00 00 00  

green is the maximum number of shards you can have in a stack and the blue would be the current amount in your inv.

To search for this....in CE..change the value type from 4 byes to array of bytes and type 00 00 C0 49 88 13 00 00 00 00 00 4A 2B 00 00 00 into the field next to where it says hex.   Then click on first scan.  It should list the address in the left box.  Double click on the address and it should port that address to the bottom box.  Right click on the address in the bottom box and go to change record -> value.  Then you would put in that field the new number of your stack size.  Example : 00 00 C0 49 83 13 00 00 00 00 00 4A 83 13 00 00


Sorry if it's a long post  :(  and I hope i've explained it well enough.  It's 3 am here so i'm kinda tired haha.

@Leitner

The reason you couldn't search the entire value is because you had the value type either set to 4 bytes or 8 bytes.  You have to set the value type to array of bytes in order to search the entire hex value.  

Hope this helps :)
Title: Re: Cheat Engine?
Post by: Malachor on Aug 12, 2009; 09:19 AM
Quote from: "kreper"
The reason you couldn't search the entire value is because you had the value type either set to 4 bytes or 8 bytes.  You have to set the value type to array of bytes in order to search the entire hex value.
Can you think of a reason why it doesn't work, even when you're using "array of bytes"?
That's the problem I'm having.
Title: Re: Cheat Engine?
Post by: kreper on Aug 12, 2009; 09:30 AM
what are looking to change?  I would have to test it out and see if I can recreate the problem..or If i get it to work on the first try...i can give you a list of the settings I have set to better diagnose the problem.  I can't think of anything off the top of my head at the moment, but my brain isn't exactly working at 100% either right now considering i've been up for almost 24 hours (stupid me  :shock: )
Title: Re: Cheat Engine?
Post by: Malachor on Aug 12, 2009; 11:41 AM
Well all I was doing was trying to get the skill respec to work.
Title: Re: Cheat Engine?
Post by: Leitner on Aug 13, 2009; 03:58 PM
Okay another question for you guys. I was modifying some of my items replacing certain affixes with others etc. I was replacing one of my focus item affixes from +1 to spectral bolt into +1 to all evoker skills. I had done this transfer a few times with various affixes such as +56 sheilds on my helm into +1 to all evoker skills. This time however when I ran the search it gave me 41 results (I discovered I had several items in the vault with this affix later, I suspect this was the cause).

At any rate I logged back in to find the spectral bolt affix missing and the +1 to evo skills in its place as I wanted, however, this actually ended up giving me +2 on the evo skills dispite what the item reads. So in short does anyone know why this may have happened? The extra skill points don't particularly bother me but I would rather understand how/why this happened.
Title: Re: Cheat Engine?
Post by: kreper on Aug 14, 2009; 12:48 AM
@Malachor

  Not sure why you couldn't get the skill respec to work.  I tried it and got it to work first time.  I'm using cheat engine 5.4.  It might be because of Win 7..not sure.  I'm running windows vista x64.  Not sure what version of ce you're using.  If you want..i can give you step by step on what I did.
Title: Re: Cheat Engine?
Post by: Jaknet on Aug 14, 2009; 12:58 AM
kreper

Thanks very much for taking the time to post the instructions.

I've not tried CE since the other day, but I'll give this a go tomorrow at some point as I reckon even I can follow that. :) I'll just ignore doing the tutorial and see what happens.

Midnight here and got early start tomorrow (cat to vet... should be "amusing")

Will let you know how it goes... the CE and nanoshards that is... ;)

Cheers again

Jak...

p.s. very basic and stupid question... I'm guessing when typing in the hex to search I leave the spaces between the pairs or not (told you it was a very basic question  :oops: )
Title: Re: Cheat Engine?
Post by: Malachor on Aug 14, 2009; 01:48 AM
@Kreper: I'm using ce 5.5.
Title: Re: Cheat Engine?
Post by: kreper on Aug 14, 2009; 03:09 AM
@malachor

Let me d/l ce 5.5 and test that out.  I'm going to attach 5.4 for you and see if that helps any.  


@Jaknet

No problem...and yes....keep the spaces between the pairs  :)
Title: Re: Cheat Engine?
Post by: Jaknet on Aug 16, 2009; 06:34 PM
@kreper

Got some time to try your instructions.... and worked perfectly... Thank you very much indeed  :D

Only thing that confused me at the start was I got 5 addresses back, so I edited all 5 and no problems... 8-)
Title: Re: Cheat Engine?
Post by: Berit on Aug 16, 2009; 11:18 PM
@Jaknet ... Glad you got it to work  :)  As to you're query, normally you will have 4 to 5 instances of each address you change, that's normal of each if it's less than 4, it may not work, and if more than 5, you may have typed the value in wrong, except with player stats and pally OR if you change an affix and you have 3 relics in you're stash with the same affix, it will change ALL of them ...

@Leitner ... Sometimes the game will do that, it's pretty tough, and if you change a value it doesn't like it'll either delete you're item or sometimes, it'll 'make up' a stat ... can be pretty cool sometimes
Title: Re: Cheat Engine?
Post by: kreper on Aug 17, 2009; 02:49 AM
Glad to hear it Jaknet.  Also, Ty berit for explaining the multiple addresses.  I forgot to mention that portion...did i mention i was up for more than 24 hours that night?  haha...anyway..enjoy your hex editing jaknet.
Title: Re: Cheat Engine?
Post by: Leitner on Aug 18, 2009; 05:11 AM
My confusion is actually due to the fact that I get plus 1 to evoker skills with absolutly no gear at all. I appear to have modified some value of the character itself rather than anything on an item. At any rate it is not a huge issue like I said.
Title: Re: Cheat Engine?
Post by: SinisterDeath on Sep 02, 2009; 09:05 AM
Cheat Engine on 64bit isn't impossible... Just very time consuming.

Easiest method I found to change a value?
Say, skills. you have to level up about 2-3 times. (higher # the better, 1's and 0's are to common for obvious reasons. ;) )

So, say I have 15 skill points.
I'd search 15.
wait a few seconds.
enter 15 again and hit '2nd search'.
It will then take those 5000 orginal searches, and come up with say, 500. Wait a couple more seconds or until you see numbers changing and do it agian.

Eventually  you'lll get down to about 4 or 5  15's.

Then you double click every 15 and then change the value to say, 50.
alt-tab back in game, and spend points.
Should have it set to 50 points.

The problem with 64bit however, is everytime you change a value, everytime you MOVE, that specific spot in the memory changes! Some stats are apparently dependent on opening windows. Others are dependent on moving! Sometimes its just random! But it is possible. (But I think virtually impossible for a trainer to do it.)

XP can be done the same way, but you have to go 1 point below the xp cap for that level or it won't work.

You can also do it with money, but money works odd.... If you change the value of your cash in your inventory.. and sell something. You'll lose money proportional to what you put the value at! But when you buy items, it'll give you money proportional to what you put in! At least, sometimes it does that.

64bit & cheat engine and changing item stats, or quality would seem way to daunting and time consuming. Took me nearly 6 levels and 5 hours to get my skill points hacked. :P

32bit should be easier to change virtually everything. The biggest issue is trying to find the 'right one'. I don't know how you'd go about changing item quality with cheat engine though...
Title: Re: Cheat Engine?
Post by: Berit on Sep 02, 2009; 10:20 AM
I still don't understand ... Does Cheat Engine not allow you to search for specific memory addresses?
Title: Re: Cheat Engine?
Post by: kreper on Sep 02, 2009; 10:33 AM
I didn't find it that time consuming or difficult to modify in a 64 bit platform.  If you're just trying to use the search functions from cheat engine...it's pretty easy to figure out palladium values or skill points.  What I do...say I have 5 palla.  I'll do an exact scan for 5.  Then i'll sell something.  So now i have 100 palla.  When I do my next scan...i change my option from exact value to increased value by  and then type in 95.  This narrows down the addresses.  If i feel the need to narrow them down any further..i'll sell another item and repeat the process.  Same goes with skills, att points...etc..  The only thing i've ever had problems with is doing a search on my exp and trying to raise it manually with the search functions.  Luckily we have an items adjusted pdf file that tells us hex values to things we would like to change like skills, atts, etc..
Also, i hope you don't take this in the wrong manner...Just trying to give you a few search tips to make it a bit easier.  

If anyone would like help figuring out cheat engine...I will be glad to try and help....i'm not an expert..but I will try my best to make things a little clearer.  

To Malachor...I haven't forgotten about your problem and I know you're not a noob to hex editing.  So...me helping you is probably a shot in the dark haha.  Are you still having the problem with cheat engine and windows 7?  I haven't tried cheat enging 5.5 yet.

To Berit:  Yes...cheat engine will allow you to search exact hex values.  You just have to change the search option from "4 bytes" to "array of bytes".

  back on topic:
   Here is the adjusted items pdf to look at.  This should make your hex editing a breeze.  If you know all this stuff...then I appologize.  I try not to assume.
Title: Re: Cheat Engine?
Post by: Berit on Sep 02, 2009; 11:09 AM
So why are you searching for the number value 5 then selling something then searching again then hoping you've got the correct address,  Why not just hit the 'Esc' key to bring up the ingame menu (which essentially 'freezes' the memory) ALT-TAB to cheat engine, search for the exact address -> 00 00 40 24 05 00 00 00, and change each instance of that you find, ALT-TAB back to HG:L, click on 'exit game' which 'saves' the (now altered) memory to disk, then reload you're character with the new amount of pally? Is their a technical reason why this method doesn't work?
Title: Re: Cheat Engine?
Post by: kreper on Sep 02, 2009; 11:21 AM
No..no technical reason.  That is what I used to do before I found the adjusteditems pdf long ago.  I was just refering to what I used to do as an example for sinisterdeath when I was getting my feet wet with CE.  I just use the hex values from the pdf and search exact memory addresses.  There's no reason what so ever to try searching for mem addresses that are already known haha.

  I used to have save char files on the old forum before the overhaul.  But since then..i have lost all the files on my pc due to reformat and my old attachments are gone from my older posts :(  I'll just have to redo them sometime.
Title: Re: Cheat Engine?
Post by: Berit on Sep 02, 2009; 11:25 AM
Well that's what I thought  :shock: Mind you some people like to do things 'the old fashioned way' but seriously, when it comes to hex editing ... If someone's already found all the major addresses for you, why not use them?

I know HxD seems almost purpose built for hacking HG:L, and It's a shame it's not (yet) working on 64 OS's, but if cheat engine can do virtually the same things, what's all the fuss about ???  :?
Title: Re: Cheat Engine?
Post by: kreper on Sep 02, 2009; 11:49 AM
Quite True.  Hopefully the pdf I attached will get some hits and some of the newer people starting to hex edit will find it helpfull.  I mean...someone put some very hard work into that pdf...so lets use it!!  I guess what I should have done...was reference the pdf and explain how to search the hex values instead.  That is the fastest and most reliable way.  Anyway...I will still try to help with any questions on CE until they come out with a working version of HxD for a 64 bit OS, and even still if people prefer CE over HxD.
Title: Re: Cheat Engine?
Post by: Berit on Sep 02, 2009; 12:12 PM
You can also use some of the information from here viewtopic.php?f=55&t=69 (http://www.hellgateaus.info/forum_x/viewtopic.php?f=55&t=69) ... It's based on my experience with HxD ... but the basic information should still be useful, even if you're using Cheat Engine ...
Title: Re: Cheat Engine?
Post by: SinisterDeath on Sep 02, 2009; 07:21 PM
Well, that way of searching with cheat-engine is if you don't know where that memory is.
And I was mostly talking about 64bit, and I believe those memory addresses change constantly. Items may stay the same but other things are just.... random.

32bit is incredibly easy. ;)
Title: Re: Cheat Engine?
Post by: Leitner on Sep 02, 2009; 08:22 PM
Hey I had another question to bother the more experienced hexers around here. The .pdf file comes with the hex sequence containing xx in most cases to represent variable value. What would I do if I wanted to make a value larger than FF or 255? I have tried various experiements such as altering some of the 0's following the xx or simply adding the larger values and then including the extra 0's.

This tends to raise the amount above 255 but it has never given me the number I am actually aiming for and it does not seem to work in most cases outside the visual representation. I.E. I was trying to increase movement speed on my boots to about 300%, various combos resulted in anywhere frm 1k to 32k increased movement speed and the change was represented on my character screen. My movement speed was however not increased.
Title: Re: Cheat Engine?
Post by: kreper on Sep 02, 2009; 09:46 PM
That's a tricky one...but not too tricky.  You were right to use the extra zero's following the xx for the value.  The one thing that you missed...and most would only cause hellgate has to be weird....is you have to reverse the hex pairs.  I'll explain.

So we'll just say the value we're going to change consists of xx followed by some extra zero's like this xx 00.  We want to get it to 300 but here lies the problem.  300 in hex is 12C.  Normally you would think...change the xx 00 to
12 C0.  The way hellgate follows the code...it should be written 0C 12.  Just reverse the pairs.  That's it.  It's strange I know..but so is hellgate coding   :roll:
Title: Re: Cheat Engine?
Post by: Berit on Sep 02, 2009; 11:02 PM
Quote from: "kreper"
That's a tricky one...but not too tricky.  You were right to use the extra zero's following the xx for the value.  The one thing that you missed...and most would only cause hellgate has to be weird....is you have to reverse the hex pairs.  I'll explain.

So we'll just say the value we're going to change consists of xx followed by some extra zero's like this xx 00.  We want to get it to 300 but here lies the problem.  300 in hex is 12C.  Normally you would think...change the xx 00 to
12 C0.  The way hellgate follows the code...it should be written 0C 12.  Just reverse the pairs.  That's it.  It's strange I know..but so is hellgate coding   :roll:

Actually that's not quite right sorry ... to use you're example xx 00 ... to insert 12C would actually be 2C 01 you need to start at the LAST pair and work left, in pairs, and insert them from left to right, from the XX and working towards the right, using up the 00 pairs ... and if you have a single integer left over at the end, you put a 0 in front of it, to turn it into a pair ... or 12345 in hex = 30 39 so for hellgate xx 00 you would insert 39 30 ... So for Movement speed bonus of 300% the address is 00 00 80 23 XX 00 00 00 and 300 in hex = 12 C so the NEW address would look like this 00 00 80 23 2C 01 00 00 ... Remember you can only CHANGE an existing address, you CANNOT add a new one so you need to modify an existing parameter so for instance if you run an item through the Augmentrex 3000 and get Movement Speed Bonus of 17% you would first search for 00 00 80 23 11 00 00 00, then change ALL the instances of that to 00 00 80 23 2C 01 00 00 ...

 :?: What do you mean when you say the memory addresses change in the 64 bit version? The offsets should be the same for 32 or 64 bit. Hellgate is after all a 32bit app so even on a 64 bit OS it would still use the same offsets in memory I should think ... are you hitting the 'Esc' key to pause the game before you attempt to edit the memory?
Title: Re: Cheat Engine?
Post by: kreper on Sep 03, 2009; 12:07 AM
What Berit said...sorry for the wrong info  :oops:  I was putting the 0 at the end of the hex value instead of the beginning.  Sigh...maybe i'm in the wrong field  :(
Title: Re: Cheat Engine?
Post by: NobodySpecial on Sep 03, 2009; 02:00 AM
Methinks that somebody needs to write "The Definitive Hellgate Cheat Guide" or some such.

Something with lots of step-by-step details in it for dummies (like me), who need to be walked through the various procedures and techniques.  :D
Title: Re: Cheat Engine?
Post by: maeyan on Sep 03, 2009; 07:04 AM
We are continually developing new ways to modify HGL, I imagine this guide will be developed once our work is complete. :) I'm working on the toolset that will allow us to modify HGL in all ways possible through a simple GUI, no hex skills required. Our intentions for future Revival SP patches are under wraps for now
Title: Re: Cheat Engine?
Post by: Jaknet on Sep 03, 2009; 08:40 AM
I'm only a very basic user of cheat engine (as can be seen from my questions earlier in this thread ;)) and running Win7x64 I've not had any problem with this "changing memory addresses". Everything seems to remain static whilst using CE.
Title: Re: Cheat Engine?
Post by: Leitner on Sep 04, 2009; 02:24 AM
Perhaps you are not using the esc suggestion made by berit somewhere earlier in this thread. As he pointed out it freezes the game and your hex values cannot change during that state.

And like Jaknet I am a basic user of cheat engine, but with the friendly help here I've been able to mess around with my evoker anywhere from getting 15% hpb to becoming absurdly powerful. I plan on reposting my edited evoker at some point so people can enjoy the power.
Title: Re: Cheat Engine?
Post by: NobodySpecial on Sep 05, 2009; 10:43 AM
This has probably been asked before, but...

Has anyone managed to locate a cheat engine/trainer
that works with the 64-bit DX10 version of the game..?
Title: Re: Cheat Engine?
Post by: Berit on Sep 05, 2009; 02:10 PM
Quote from: "NobodySpecial"
This has probably been asked before, but...

Has anyone managed to locate a cheat engine/trainer
that works with the 64-bit DX10 version of the game..?

I don't think their is a free one that does ... there is this program http://www.hhdsoftware.com/Products/com ... ditor.html (http://www.hhdsoftware.com/Products/compare/hex-editor.html), but unfortunately the 'free' version doesn't open memory processes you have to pay for the 'standard' edition, it's not horrifically expensive, but it's probably a bit much just to edit a game ...however ... <cough> certain <cough> sites <cough><cough> might have a copy available <cough> to download <cough>
Title: Re: Cheat Engine?
Post by: NobodySpecial on Sep 06, 2009; 02:58 AM
Quote from: "Berit"
I don't think their is a free one that does ... there is this program http://www.hhdsoftware.com/Products/com ... ditor.html (http://www.hhdsoftware.com/Products/compare/hex-editor.html), but unfortunately the 'free' version doesn't open memory processes you have to pay for the 'standard' edition, it's not horrifically expensive, but it's probably a bit much just to edit a game ...however ... <cough> certain <cough> sites <cough><cough> might have a copy available <cough> to download <cough>


That might be worth buying, actually.

I can think of a lot of other <cough> uses <cough> for a tool like that.  ;)
Title: Re: Cheat Engine?
Post by: Malachor on Sep 06, 2009; 03:09 AM
I didn't have any luck opening the hgl process with that one(yes, I'm running dx10 64bit). Or with a few others either, for that matter. Of course I may have missed something about them, and it's been a while since I've worried about opening a process, so your mileage may vary.
Title: Re: Cheat Engine?
Post by: Berit on Sep 06, 2009; 01:59 PM
Quote from: "Malachor"
I didn't have any luck opening the hgl process with that one(yes, I'm running dx10 64bit). Or with a few others either, for that matter. Of course I may have missed something about them, and it's been a while since I've worried about opening a process, so your mileage may vary.

You're running win 7 at the moment aren't you Malachor? ... I did have a little trouble figuring out how to use it myself ... it's designed, I think for doing way more complicated things than hexing a game .exe,  But it did work for me, I changed an item with 6 base shields to 1000 base shields, had to search for and change the entries one at a time using the 'Standard' version as it doesn't have a 'Replace All' feature ... After hitting CTRL-F and searching for the offset, I had to type in the modified data manually each time, but it did work ... <shrug>
Title: Re: Cheat Engine?
Post by: Malachor on Sep 06, 2009; 02:06 PM
If I remember correctly, I wasn't able to open the game's exe though ;)
It has been a while though, and I don't have it installed at the moment to double check.
And it's not as though it's a big deal for me anyway :)
Title: Re: Cheat Engine?
Post by: StickyMucus on Sep 16, 2009; 03:16 AM
Quote from: "maeyan"
... I'm working on the toolset that will allow us to modify HGL in all ways possible through a simple GUI, no hex skills required...

like jamella's d2 editor or something along those lines?
Title: Re: Cheat Engine?
Post by: maeyan on Sep 16, 2009; 04:36 AM
Quote from: "StickyMucus"
Quote from: "maeyan"
... I'm working on the toolset that will allow us to modify HGL in all ways possible through a simple GUI, no hex skills required...

like jamella's d2 editor or something along those lines?
Yup :) I was up all last night working on it.. its shaping up very well.

You won't be able to edit your characters but you will be able to edit the game content, that being the major difference
Title: Re: Cheat Engine?
Post by: StickyMucus on Sep 16, 2009; 06:21 AM
aah, i see ... very cool!
Title: Re: Cheat Engine?
Post by: breizh1 on Oct 06, 2009; 11:37 AM
hello everybody!

i read all the forums and don't find a solution.

I have 2 carnal prisma and on it 26% damage(increase)   i want to create a copy from my olllddddd   SLIPNAUGHTS with 60%
i am on vista 64 so i have already download cheat engine 5.5
1- i launch the game, choose my char, open his own inventory and select    
weapon
2- alt tab and i launch CE choose hellgate etc.......
3- i try with 4bits and i change in 8 bits and again agian etc...
4- i choose Hex   i wrote   0000800E1A000000 and scan  but i find over 200000 answers
5- i try another method and select another skill in first scan (damage bestial) and i have near 900000 answer in second scan i wrote again the Hex for damage and no match found :cry:

someone have an idea or an esay tuto to change the value of this skill??

thanks for your answers :mrgreen:
Title: Re: Cheat Engine?
Post by: Malachor on Oct 06, 2009; 01:08 PM
What I would do is find something on the prism that is less common, or preferably unique to it.
I haven't played a cabalist though, so I don't know what prisms have that other items don't.
It could be something like a mod slot, type and amount.
Or you could look at the feed requirements for the item.
Title: Re: Cheat Engine?
Post by: breizh1 on Oct 06, 2009; 01:48 PM
i answer to your first question.

prism is the best (without slipnaight).
you have 2 sorts of prism   1  bottomless prisma
                                     2  carnal prisma

they are the best for evoker because you can have 4 slots each and if you put dual damage reliq (the best is 17%+17%) of course reliq add damage,
you make the maximum damage. nothing else can do the same damage, because less slots.
another thing, don't forget than LEGION is bugged (in MP it is)  1 or 10 points in this skill = same damage
i create 4 evoker in SP and 1 or 10 points, i don't see a difference

after perhaps....... i dont find anything to change the value of this skill  i you have another idea  you are welcome :mrgreen:
Title: Re: Cheat Engine?
Post by: Malachor on Oct 06, 2009; 04:26 PM
Looks like I just posted half of my advice  :roll:

What I should have mentioned, was use another attribute, like the feed requirements to narrow your search for the prism down to a smaller number.
Say it requires 24 will, and no other item does(just using the 24 will as an example :) ), by looking for that, rather than the damage you're looking for, it means that you would find the prism quicker.
This means that once you've found the prism, you can then manually look for the damage on it.
Unfortunately I don't have a character who can get prisms, so I can't provide more detailed help.
Title: Re: Cheat Engine?
Post by: breizh1 on Oct 06, 2009; 05:05 PM
thank's a lot, i try again to find my prism on cheat engine and I shall say to you what I shall have found
Title: Re: Cheat Engine?
Post by: breizh1 on Oct 06, 2009; 05:37 PM
doens't work  :?:  strange   and all tuto that i've found on the web (with video or pictures) is for others games dofus etc.....
Title: Re: Cheat Engine?
Post by: breizh1 on Oct 08, 2009; 01:33 AM
hehehe :mrgreen:  you can see the resluts now!!!
Title: Re: Cheat Engine?
Post by: Malachor on Oct 08, 2009; 02:04 AM
Good to see you got it :)
Title: Re: Cheat Engine?
Post by: pustulous on Oct 20, 2009; 09:23 AM
I'm defective where Hex is concerned. I'm trying to figure out the hex equivalent of 17. Anyone give any pointers for an old dog?
Title: Re: Cheat Engine?
Post by: Leitner on Oct 20, 2009; 09:31 AM
Well your computer should come with a calculator that can switch numbers between decimal and hexidecimal equivilants. If for whatever reason you wish to do it by hand Hex is a 16 based numbering system 0-9 A-F. It works in the same way as decimal though counting 0-F would be the same as going 0-15. You would then start over at 10 which equals 16 in decimal and continue 10-1F. I hope that makes things clear.
Title: Re: Cheat Engine?
Post by: Berit on Oct 20, 2009; 12:52 PM
Quote from: "pustulous"
I'm defective where Hex is concerned. I'm trying to figure out the hex equivalent of 17. Anyone give any pointers for an old dog?

I find having this web page open is always the easiest way to convert decimal to hex http://www.easycalculation.com/decimal-converter.php (http://www.easycalculation.com/decimal-converter.php) ... Just remember to reverse the pairs before trying to use them and add an '0' to the front of any single number, so ...

17 = 11 in hex

1700 = a4 06 (the actual hex value is 6a4, but HG:L needs it to be written backwards and in pairs) notice the second pair = a4 is written first, then the the first digit --> 6 has to be turned into a pair so you put in = 06

17000 = 68 42 (or 42 68 in hex)

170000 = 10 98 02 ( or 2 98 10 in actual hex)

i hope this explains the concept well enough
Title: Re: Cheat Engine?
Post by: Malachor on Oct 20, 2009; 01:14 PM
I prefer windows calculator myself, that's what the numpad is made for(well, maybe not precisely designed for, but it does the job), use f5 and f6 to convert to and from hexadecimal, and a-f for the letters obviously.
Or you could go out and buy a real, live calculator that can do it, but it's probably not worth worrying about.
Title: Re: Cheat Engine?
Post by: pustulous on Oct 20, 2009; 06:55 PM
I suck at math. I really wish I'd been more attentive in school, but it bored me. I stuck to history, arts, gym, and literature.

I'm slowly getting it, though. The calc hex conversion is very helpful, fanks. It just seems like with everything being backwards and having to be put in backwards adds more to my confusion, LOL.

I'll spend some time trying to figure it out some more. Is there a *Hexing Hellgate: London for Dummies* on the market?  :D
Title: Re: Cheat Engine?
Post by: Malachor on Oct 21, 2009; 01:33 AM
Have you looked at this viewtopic.php?f=55&t=69 (http://www.hellgateaus.com/forum/viewtopic.php?f=55&t=69)
Title: Re: Cheat Engine?
Post by: pustulous on Oct 21, 2009; 01:45 AM
It's been my template for hexing, thus far. Luckily, it helps me convert the white items to gold. I've had luck with that thus far.

If LAN ever becomes a reality, I'm hoping trading or giving away weapons and armor will be included.  I'd hex the hell out of my higher class engineer's weapons and armor, then.
Title: Re: Cheat Engine?
Post by: Therek on Nov 27, 2009; 12:22 PM
Quote
You can also do it with money, but money works odd.... If you change the value of your cash in your inventory.. and sell something. You'll lose money proportional to what you put the value at! But when you buy items, it'll give you money proportional to what you put in! At least, sometimes it does that.

Ok, so I find my Palla address using CE and change the value, go back into the game and see the new amount in my inventory but when I either try and buy an item or sell an item, my Palla amount goes back to the original value as if the extra amount never existed. If I "really" had 30K and changed inventory to 7Mil, I still cannot but a retainer although it is not red from the vendor.

Now maybe I'm missing a step as I'm not saving anything anywhere before I try and buy/sell something. Neither in CE (if this is even possible) or in the game. I have tried exiting the game after I see the new Palla total but when I come back it's gone back to the original value.

Is this a hit and miss thing? Maybe I need to try a couple of times before it works? I have tried 3 times, all with the same results.

Please help a real newcomer get this going.
Title: Re: Cheat Engine?
Post by: Berit on Nov 28, 2009; 10:37 PM
Quote from: "Therek"
Quote
You can also do it with money, but money works odd.... If you change the value of your cash in your inventory.. and sell something. You'll lose money proportional to what you put the value at! But when you buy items, it'll give you money proportional to what you put in! At least, sometimes it does that.

Ok, so I find my Palla address using CE and change the value, go back into the game and see the new amount in my inventory but when I either try and buy an item or sell an item, my Palla amount goes back to the original value as if the extra amount never existed. If I "really" had 30K and changed inventory to 7Mil, I still cannot but a retainer although it is not red from the vendor.

Now maybe I'm missing a step as I'm not saving anything anywhere before I try and buy/sell something. Neither in CE (if this is even possible) or in the game. I have tried exiting the game after I see the new Palla total but when I come back it's gone back to the original value.

Is this a hit and miss thing? Maybe I need to try a couple of times before it works? I have tried 3 times, all with the same results.

Please help a real newcomer get this going.

Not sure what you could be doing wrong, however the behaviour described above sounds very weird ... Whenever hex editing the memory you MUST remember to exit your game after changing the values ... For Palladium there can be up to about 11 or so instances (at least there always has been for me) so you hit the escape key to 'pause' the game and 'freeze' the memory locations, alt-tab to your hex editor, make your changes to the required values then alt-tab back into HG:L ... DO NOT RESUME THE GAME !!! ... simply click on exit to 'save' your changes then reload your character as normal and you should see the changes and they should be permanent
Title: Re: Cheat Engine?
Post by: Therek on Nov 29, 2009; 02:54 AM
Berit, thanks for your help, worked like a charm.

May all your Nicola's be 8 slots.
Title: Re: Cheat Engine?
Post by: BetaSword on Dec 02, 2009; 06:29 AM
Well, for Cheat-En gine, it's quite possible, that it could Crash Hellgate at some Points, or lets it switch to noSave-Mode.
But It's quite possible to edit Money, Experience, Attribute-Points(may let's the Game switch to noSave-mode) and Skill-Points.
While on this, Money is quite the easiest one.

Simply search for the 4-Byte-Values. but keep the following in Mind:
Switching a Map would cause the Game to rearrange it's Memory, so that would let it crash with a Frozen Memory-Value.
For most Values, there should be 4-6 Locations, where it's saved, so if you got 6, select them all and add them, then Group their Adresses,
always select all Values of a Group and use the Edit>Value Method, to edit the Whole group like one, to keep the Game from oticing the Change(if this fails, the game won't save unless you restart Hellgate london, and reload your Character)

Oh, and please don't cheat in Multiplayer(if that's getting a Revival here).
Title: Re: Cheat Engine?
Post by: fenixrx on Feb 02, 2010; 02:35 PM
has anyone figured out the step by step method to turn normal items into unique items with cheat engine 5.5? if so could i have either a link or a reply containing the explanation please?...
Title: Re: Cheat Engine?
Post by: Heiachi Cloud on Mar 28, 2021; 04:41 AM
Can you please send me of video tutorial on how to use cheat engine in editing item?
Title: Re: Cheat Engine?
Post by: Algester on Sep 09, 2021; 06:43 AM
(https://i.imgur.com/bzQCf1r.jpg)

I simply find it baffling how "random" the AoBs are placed as I think if the mod has a second 'non-standard' modifier its placed somewhere around the memory region of the said mod.... but is not directly after the said mod

I have yet to tinker what the 00 00 00 26 02 00 00 00 means but maybe that controls (Mod type and sprite) 26 meaning its the 38th' sprite in an array and 02 being battery?