Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-03-2007, 01:26 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Protected variables

Similar to access specifiers in C++, it would be cool if we can create private or read-only variables so remote objects can't view and/or edit them.

I bring this up when as I realized that anyone could access the strings in my StaffRights dbnpc and read/change them. Thus I'd like an option to be able to protect objects and their associated variables. Only really needed serverside.

I have no idea how hard this would be to implement but cool if we could make variables read only or private/hidden.

Also, I'd also think it'd be great if we have an option to compile a weapon/class/npc 's coding with encryption. This could either be done by
  • Finalising and encrypting a NPCs code so it can never be accessed/changed again - only deleted
  • Encrypting a NPC with a password
  • Giving anyone with rights to the weapon the ability to encrypt / decrypt the NPC.

With the recent use of weapon scripts that can steal servers, this may be a useful addition as well. These may have been requested before. If this is a stupid idea, at least say why .
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.