Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-15-2005, 05:14 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Suggestion: Clientside Join

Alright.... Let's see what we have!

NPCServer updates(6)
http://forums.graalonline.com/forums...ad.php?t=60137

This brings to the attention of clientside joins.

Stefan says security risk. I say more powerful engine.

PHP Code:
...
  
item = new TStaticVar();
  
item.join("iobj");
  
item.setup);
... 
This, clientside, can be used as something VERY useful for clientside item management. There IS a security risk, but is Stefan's md5sum checks are good, then it should crash the client if they do hamper the scripts.

But! You can make a join function that LIMITS the join CLASSES only to classes in 'clientjoin' Server Options. This would add power to the scripting engine (having variables as classes), AS WELL AS having a secure system.

E.G.:
PHP Code:
clientjoin=door,items,trees 
__________________
In a world of change... Who'll you believe?
  #2  
Old 10-16-2005, 01:18 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
But how would you define what in the class to join();?

Would it automatically send and join the clientside script of the class?
__________________
Skyld
  #3  
Old 10-16-2005, 02:06 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
I would presume so. It would be easy to cache the clientside portion of the class, and have that easily applied to others. Maybe on login, cache the clientside portion of the clientside classes serveroptions.
__________________
In a world of change... Who'll you believe?
  #4  
Old 10-16-2005, 04:17 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Problem might be security, that's why it has not been added yet. A clientside-join would require that the client can request any class code. On the other side it is hard to add script code on clientside now, so it might be possible to add.
  #5  
Old 10-17-2005, 03:18 PM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
Quote:
Originally Posted by Stefan
Problem might be security, that's why it has not been added yet. A clientside-join would require that the client can request any class code. On the other side it is hard to add script code on clientside now, so it might be possible to add.
Atleast make sure it only works for defined classes listed in serveroptions. Like Velox suggested. Cause it would be annoiying if one manages to do the impossible and somehow inflict damage towards a server
__________________
  #6  
Old 10-17-2005, 04:00 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by petro1212
Atleast make sure it only works for defined classes listed in serveroptions. Like Velox suggested. Cause it would be annoiying if one manages to do the impossible and somehow inflict damage towards a server
You can probably not do damage to the server if the server is scripted good, but I could imagine someone using some memory editor to change the name of a class to make some object load a different class into memory which would change variables in a different way. Defining the list of joinable classes might be good yes.
 


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 12:44 AM.


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