Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 14:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



convert [help]

Discussion on convert [help] within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2006
Posts: 48
Received Thanks: 13
convert [help]

Hello guys,

I'm pretty new to stuff like reading Data out of games,such as warhammer. I found out the pointer + offset for the x / y / z / heading value right now and they're correct, found the same info in a forum, but my problem is, that in cheat engine it looks like this:

X =
Array of Byte[4] = 55 6F 81 49
4bytes = 1233219413
float: 1060330.625

And I was wondering, how I can convert them in C# or in any other language, to get the correct value, which is telling me the x value.

there has to be some kind of convertation there, because someone released a program and he reads out the same data as I do, but it displays the correct x value.

Does any1 have an idea?
syron198 is offline  
Old 11/16/2008, 15:01   #2
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Could you be a bit more descriptive about which part of that array is the X, Y, Z etc?
Are the coordinates just byte value, or int32s?

If You're using ReadProcessMemory, you just need to read the correct number of bytes off the buffer you read, and cast them into your type.
unknownone is offline  
Old 11/20/2008, 13:46   #3
 
elite*gold: 0
Join Date: Oct 2005
Posts: 201
Received Thanks: 23
Take a look at the . It provides alot of methods to convert byte arrays to base data types and vice versa.

Also take a look at page. It provides infos on how to use ReadProcessMemory in C#.
mondesser is offline  
Reply


Similar Threads Similar Threads
[HELP]How to convert files!
07/12/2010 - Zero - 2 Replies
is there ANY way possible to convert .DMap files to .dds there is no file converter i can find that supports dmap and its makin ma angra :mad:
Convert Ring [Eu3]
06/04/2010 - Archlord Trading - 5 Replies
ok so since i saw much ppl start to trade and sell thier cm event uniques i want to try to trade/sell my one too i got Convert Ring of Trancsen Skills +1 / Exp +6% / Convert to 16% / 1 Slot Ashtal on top i give 5 - 8k wc(p) for a
pano po mag convert?
06/05/2009 - Soldier Front Philippines - 2 Replies
any TUT po ba sa pag convert ng wallhack sa ISO at panogamitin..?:confused:
[C++] how to convert dec to hex?
05/11/2009 - C/C++ - 1 Replies
I need to convert a decimal integer into hex. The decimal integer is the value of a pointer and i need to get in hex to use it as a address for writeprocessmemory. So is there any way to convert a dec into a hex and use the hex value as a argument for writeprocessmemory? EDIT:meeh...forgot that the value is only displayed as decimal number -.- /close plz



All times are GMT +1. The time now is 14:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.