![]() |
Setting Client Flags
I am currently constructing a simple class selection system, and I am going to store the class information using the players flags. I want to be able to select a row from a text list and apply the class to the player by pressing a GUI button. I am having some difficulties. It won't set the flag. Can anybody help out?
PHP Code:
If there is any other way to store information for a player other than client flags, please let me know. I have heard of clientr flags and was wondering what they were. I did some research and I see they can only be read clientside and applied to the player serverside. I am using client flags for the time being though. I have a suspicion that the problem occurring lies here. PHP Code:
|
selected.text
|
Quote:
Now I have that sorted, should I really be using clientr.class so dirty hackros can't modify the class using CheatEngine or whatever they are using? |
Quote:
|
Quote:
|
Quote:
with how things are currently going, anything that is sensitive needs to be stored into a clientr or other sort of server side storage, with additional verifications used to insure the triggerserver is coming from where you expect or not interfering with existing data |
Quote:
|
Quote:
|
I agree. It would be better if it had more of a defense mechanism to hacking programs and such other than what we can do with GS2.
|
Thor has Classic pretty well protected with his shotgun and baseball bat.
|
Quote:
Anyway. Something not related to client flags, but related to the same system I was describing in my first post. I was wondering how to change the height of a row in a GuiTextList Control. I have seen it done many times, for instance, in Kavan's staff panel, he has list of all the online players, weapons and levels. They are three times the height of a normal row. I tried using profile.fontsize = 10 but it seems the text dissapears anything after 8. Should I be using useownprofile = true? |
The coolest hack I've seen yet is the one that injects scripts. It's kind of hard to bring the client Anti-Hack up to date though when we're still stuck on V5.
This "insecure" code: PHP Code:
You would also make sure the class they pick is in the list of valid classes, and that they don't already have a class. Server-side verification is a must wherever (I.e: Web Apps) you go though, clients are inheritly insecure. Honestly though the hacking problem on Graal isn't that bad. The recurring wall-walking and freeze hacks are easily detected. |
FowlPlay4 is this the kind of protection you put in place when you scripted your EXP system for Zodiac, or added to it since then? It would be nice anyway if somebody could add some more advanced protection to the client system.
|
Quote:
seticonsize(1,32); |
Quote:
PHP Code:
|
Quote:
Baddies are killed on the server-side, so it makes no sense to send a trigger to the client to add exp, check, and then tell the server that it's time for them to level up. |
OK, another minor thing I need assistance with. I want to change the Multi Line text whenever I select a row and display text according to the class (row) selected. So, for instance...
PHP Code:
PHP Code:
Many thanks if you help. |
when you create the textlist, you should add some variable to each object as you add the rows like
PHP Code:
|
I think it would be better if I post the script I currently have and work around that.
PHP Code:
I was actually hoping to achieve something like this... PHP Code:
and then I could change the description and name of the classes easily at the top of the script. Can this be done? |
Do some serverside verification.
PHP Code:
|
Quote:
using addrow returns the row object upon creation, however, I imagine this doesn't even work since you aren't referencing an object to add the rows to. In the function, you either need to encompass all the addrows within a with statement: PHP Code:
The first is probably easier. In terms of adding a variable to the row object, addrow returns the row object upon being invoked. If you only want to add one variable to the row, calling PHP Code:
Otherwise, encompass the addrow within a with statement. PHP Code:
|
Not being funny or anything here Aaron, but wouldn't it be easier to do something like this. I haven't thought hard enough about how you could incorporate this into your code, but it would be worth looking up.
PHP Code:
PHP Code:
PHP Code:
Also, you should be adding security on the serverside like CBK and 0pix0 said. Them dirty "hackros" can change whatever they want as long as it remains clientside. I am giving you a "green pepper" anyway. (For those of you who don't know, Aaron likes to say red pepper and green pepper rather than red rep or green rep. I really don't know were this originated from) |
Quote:
|
Quote:
Touche! |
Quote:
|
| All times are GMT +2. The time now is 05:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.