![]() |
Reading Current Experience from Conquer Process
Hi, im trying to read the current character experience from the Conquer Process, i am reading from the address 0x5DB490, i found this using CE and am almost certain its the right address (if its not then please correct me). The problem is, when i find the address in CE i find the information i want (that is, the current character experience). But when i read in the data in C# i get a completly wrong value, for example, when i find the value in CE its 2470588, but when i find it in C# its 188. So it seems to me that CE is doing some calculation that im missing (perhaps creating a integer out of subsequent bytes?) Does anyone have a idea of what it is im missing? I tried reading off some subsequent bytes and got the following array:
{188,178,37,0,0,0,0,0,0,0,0,0,50,1} Thanks in advance for any help. |
Mind showing the C# code that you're using to read the memory ? I could check it.
|
is 2470588 the correct value?
edit: whoops, just read it fully, yes it is XD. You are probably using ReadProcessMemory wrong. It reads bytes and then from there you convert to an integer. Here is a snippet from CoHealth Code:
#region ReadX |
thanks for the two replys guys.
to high6: thanks for those code snippits, that BitConverter class might just be what i was looking for, tho i havnt had to use it when getting character level. to tanelipe: code as requested, once this is completed ill release the whole thing open source. Code:
private unsafe void timer_Tick(object sender, EventArgs e) |
Experience is ulong so it should be read as 8 bytes instead of 4. (Atleast it's like that on packets.) And when converting from the array you should use Convert.ToInt64 then also. Other than that I don't see whats wrong if the experience address is correct
|
Thanks :)
Ill test it out in about 10 hours and report back the result here. edit: thanks for your help, im all finsihed now, i had one more hurdle to overcome after getting the exp figure correct, that is realising that i had forgotten to multiply curexp/reqexp by 100 :P |
| All times are GMT +2. The time now is 13:49. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.