View Single Post
  #7  
Old 02-18-2006, 02:48 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
It seems that a bug came alone with this new v4 release that has somewhat cripled Maloria. Using a test script as the one shown below, it can be shown that actionclientside was not called at all.
PHP Code:
if (actionserverside) {
  
setplayerprop #c,test server called!;
  
triggeraction 0,0,clientside,*Test,;
  
setplayerprop #c,test server called 1!;
}
//#CLIENTSIDE
if (created) {
  
setplayerprop #c,test;
  
triggeraction 0,0,serverside,*Test,;
  
setplayerprop #c,test1;
}
if (
actionclientside) {
  
setplayerprop #c,clientside called!;

After running this script, the player's chat text was left at "test server called 1!".

Edit:
This script was run on both Maloria and N-Pulse (both non-gs2-enabled servers) and failed to arrive at "clientside called!". However, when it was run on #gscript (a gs2-enabled server) it did arrive at "clientside called!".

Maloria and N-Pulse: WEAPONNPC *Test
#gscript: WEAPONNPC Zelph_MaloriaProblem2
__________________