Post: What is wrong here?
02-04-2016, 02:57 PM #1
iOBX_
Haxor!
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys so I am making a launcher. its secret. thats not important. I have uncharted 3 included !

I made the stats , but there is an issue !

I know I have the right offsets ! so there is an issue with my code.

here is my code

byte[] kills = BitConverter.GetBytes(Convert.ToInt32(this.{numericupdown}.Text));
PS3.SetMemory(offset, kills);

its NEGATIVE in the game ! Why?

Do i need this : ?

array.resize<byte>(ref kills, kills.Length + 1);

can anyone help?
02-04-2016, 04:00 PM #2
Toxic
former staff
Originally posted by iOBX
Hey guys so I am making a launcher. its secret. thats not important. I have uncharted 3 included !

I made the stats , but there is an issue !

I know I have the right offsets ! so there is an issue with my code.

here is my code

byte[] kills = BitConverter.GetBytes(Convert.ToInt32(this.{numericupdown}.Text));
PS3.SetMemory(offset, kills);

its NEGATIVE in the game ! Why?

Do i need this : ?

array.resize<byte>(ref kills, kills.Length + 1);

can anyone help?


why in the earth u used .Text for numerics? just do .Value, it returns int32, so no need to convert it again to Int32
02-04-2016, 04:19 PM #3
iOBX_
Haxor!
Originally posted by Habibi
why in the earth u used .Text for numerics? just do .Value, it returns int32, so no need to convert it again to Int32


Ahhh I didnt know that haha, but how will this fix my problem ? :/
02-04-2016, 04:20 PM #4
Toxic
former staff
Originally posted by iOBX
Ahhh I didnt know that haha, but how will this fix my problem ? :/


maybe the .Text returns a fucked up number, so it may counted it as negative? just try that :p
02-04-2016, 04:21 PM #5
iOBX_
Haxor!
Originally posted by Habibi
maybe the .Text returns a fucked up number, so it may counted it as negative? just try that :p


Ok I will ! Smile I will return the results ! And maybe thats why chris_deluxe tool doesnt do stats right ! Smile
02-04-2016, 04:26 PM #6
iOBX_
Haxor!
Originally posted by Habibi
maybe the .Text returns a fucked up number, so it may counted it as negative? just try that :p


hmm how do I do this? I did this:

byte[] kills = BitConverter.GetBytes(this.numericUpDown1.value);

but this is a double not a decimal :/
02-04-2016, 04:33 PM #7
iOBX_
Haxor!
Originally posted by Habibi
maybe the .Text returns a fucked up number, so it may counted it as negative? just try that :p

i did this:

int kills = Convert.ToInt32(numericUpDown1.Value);
byte[] killsX = BitConverter.GetBytes(kills);
PS3.SetMemory(0x0124D6E4, killsX);
02-04-2016, 04:34 PM #8
Toxic
former staff
Originally posted by iOBX
i did this:

int kills = Convert.ToInt32(numericUpDown1.Value);
byte[] killsX = BitConverter.GetBytes(kills);
PS3.SetMemory(0x0124D6E4, killsX);


well tbh, it depends on what element u using (which theme), the .Value varies from different themes :p
02-04-2016, 04:39 PM #9
iOBX_
Haxor!
Originally posted by Habibi
well tbh, it depends on what element u using (which theme), the .Value varies from different themes :p


I didnt know this ! But I'm using the windows numericUpDown !
02-04-2016, 05:24 PM #10
iOBX_
Haxor!
Originally posted by iOBX
i did this:

int kills = Convert.ToInt32(numericUpDown1.Value);
byte[] killsX = BitConverter.GetBytes(kills);
PS3.SetMemory(0x0124D6E4, killsX);

Ok, so i did it and it got rid of the negative ! but its still a messed up value !

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo