Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / how can i save these values to a text file and encrypt them

Author
Message
Lowky12
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: On The Moon
Posted: 20th Mar 2011 12:46 Edited at: 20th Mar 2011 13:01
how can i save these values to a text file and encrypt them


they are all numbers

also if you can how could i make a decrypter so i can see the values and edit them

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
TuPP3
17
Years of Service
User Offline
Joined: 26th Jan 2007
Location: [+--]FINLAND
Posted: 20th Mar 2011 13:12 Edited at: 20th Mar 2011 13:14
Write the values as memblock.

Here is example:


Go to %temp% folder and open the "player.dat"(or save it where you want to see it), you will see

Which is unreadable and unmodifyable, but when you load the memblock you can use the values.
Lowky12
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: On The Moon
Posted: 20th Mar 2011 13:56
thanx

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 28th May 2011 14:17
Indeed! Was looking for something like this. Thanks.

Regards Sph!nx
http://www.mental-image.net
Grog Grueslayer
Valued Member
18
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 28th May 2011 18:21
@ Lowky12:

Just to let you know... TuPP3's code does not actually encrypt anything but TuPP3 knows that you don't really need encryption. When you save values like that in a file 99% of the time most people will look at that file and automatically think they can't change anything and probably won't so the data is relatively safe.

Login to post a reply

Server time is: 2024-04-19 12:15:13
Your offset time is: 2024-04-19 12:15:13