View Single Post
  #29  
Old 01-20-2011, 05:49 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by MrOmega View Post
Ok, how would I talk to the serverside of a class script?
The problem occurs when you are including an arbitrary account as a parameter, so a malicious player could send the wrong account to do some screwy stuff. I guess the simplest way around that would be to stick with what you're doing but use 'actionplayer' serverside to get the account of the person doing the action instead of passing it as a parameter.

Quote:
Where do you see a typo in onActionPlaced.
I was referring to:

PHP Code:
  temp.pl.client.carry =
  
temp.pl.client.freeze false
where your code implies you are trying to do

PHP Code:
  temp.pl.client.carry temp.pl.client.freeze false
while your formatting implies that these are supposed to be two distinct lines with one being unfinished. I'm not trying to do any stylistic criticism here but it just seemed a bit ambiguous to me.
Reply With Quote