![]() |
A Way to save Vars
Hi,
so i had the idea of doing untouchable vars double saved(in 2 subvars) in a format like this.34klj66$&!$j5lkj325j^!"5623#152#5jlkjkrqewklj rw.varname and second this.fjklsdfjlk24jkl152lk4j6jl1tö3jlk1l34jk16jkl4 35lkj324jlk152.varname so noone can access it easily, since they wont be able to find out the varname with the getdynamicvarnames and getvarnames functions disabled now, my problem is, i wanna keep these vars after logout of the player, but i dont wanna save em to a file, npc or client./clientr. strings because then they get easily modified :/ any idea how i could save em? |
err, save them as base64 encrypted? then decrypt them on login?
|
Or use Skyld's encrypting example.
|
well that still leaves room for people to decrypt them themself :p
|
Quote:
You can't say I won't encrypt because someone can decrypt it :o |
Quote:
|
Uh, yes it would lag alot.
Stop being so paranoid about people who are trying to hack variables. There is no perfect way to make everything secure and you need to live with that. Saving to file on server is a good method. Another is the base64 encryption. If you keep the system logged it should not be difficult to find out if anyone is causing a problem. I'm really getting tired of people who make all these off-the-chart scripts to prevent hacking before their server is even far enough on the map for anyone to want to hack in the first place. Spend less time worrying about hacking and more time developing. |
i'm not worrying, just came up with a idea when playing diablo2 xD
|
Quote:
Best said words...ever. |
Quote:
|
Quote:
|
Quote:
There is no encryption taking place with base64 alone. |
Quote:
|
Quote:
|
Quote:
|
Skyld's encrypting example + callstack + only you having access to whatever encrypts and decrypts something. Should do it, I guess.
|
| All times are GMT +2. The time now is 06:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.