| View previous topic :: View next topic |
| Author |
Message |
sir-gunny Advanced Cheater
Reputation: 0
Joined: 15 Mar 2012 Posts: 84
|
Posted: Fri Feb 13, 2026 3:40 am Post subject: Disable Confirmation "Change the file size to xxx bytes |
|
|
Every time I write something at the end of a file, I get the message "Change the file size to xxx bytes?." Is it possible to turn off this query (like a silent mode)?
| Code: | | writeBytes(getOpenedFileSize(),{0xAA,0xBB,0xCC,0xDD,0xEE,0xFF}) |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25880 Location: The netherlands
|
Posted: Fri Feb 13, 2026 5:03 am Post subject: |
|
|
Not at the moment. (imagine accidentally writing to address -1) But you could set the max filesize one time and ask once
Or use a memorystream instead of openFileAsProcess, write the bytes to there using a stream write command, then save the file and load that with openFileAsProcess
_________________
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 |
|
 |
sir-gunny Advanced Cheater
Reputation: 0
Joined: 15 Mar 2012 Posts: 84
|
Posted: Sat Feb 14, 2026 2:23 am Post subject: |
|
|
Hi DB.
Thank you for your prompt reply. You're right about the warning at -1, I didn't think of that. So I'll collect everything in a table and only write it once. Thank you very much.
|
|
| Back to top |
|
 |
|