View previous topic :: View next topic |
Author |
Message |
Dr.Disrespect Grandmaster Cheater Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Apr 21, 2017 11:36 pm Post subject: "writeInteger", ""writeQword"? |
|
|
1. Does "writeInteger" write 4 bytes into the memory address while "writeQword" writes 8 bytes? If not, what is the difference?
2. I want to only write 2 bytes into the memory, but it seems that the "writeBytes" function is not working properly when the value requires 2 bytes. It can only write 1 byte even when the value is between 255 and 65535.
Thanks.
_________________
**************
A simple example is better then ten links. |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Apr 22, 2017 2:49 am Post subject: |
|
|
integer is 4
use writeBytes(address, wordToByteTable(twobytevalue))
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Dr.Disrespect Grandmaster Cheater Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Apr 22, 2017 12:27 pm Post subject: |
|
|
Dark Byte wrote: | integer is 4
use writeBytes(address, wordToByteTable(twobytevalue)) |
Got it, thank you ,DB.
_________________
**************
A simple example is better then ten links. |
|
Back to top |
|
|
|