Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-15-2012, 12:55 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
global_motionblur.gani Crash

I believe there is a possibility global_motionblur.gani is being used by hacker(s) as a method to crash players clients, simply by setting it to their characters gani as opposed to its normal usage as a gani attribute.

While there are ways this could be detected by script, could this possibly be prevented in a more reliable way?
Maybe the gani's script could be modified to ensure it is not set to the players actual ani, like as follows:

PHP Code:
function onTimeout() {
  if(
player.ani.name == "global_motionblur"){
    return;
  }
  
//stuff

Reply With Quote
  #2  
Old 09-15-2012, 01:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Judging by script, lolcursion occurs which looks quite easy to fix.

PHP Code:
SCRIPT
const TIMEGAP 0.05;
const 
MOTIONSTEPS 5;

function 
onPlayerEnters() {
  
onTimeout();
}

function 
onTimeout() {
  
this.counter = (this.counter 1) % MOTIONSTEPS;
  if (
player.ani.name != "global_motionblur") { // dat fix
    
showTrail();
  } else {
    
hideimgs(200,201+MOTIONSTEPS);
  } 
  
setTimer(TIMEGAP);
}

function 
showTrail() {
  
with (findimg(200 this.counter)) {
    
layer 0;
    
player.x;
    
player.y;
    
player.z;
    
ani player.ani.name "[" player.anistep "]";
    
dir player.dir;
    
playerlook true;
    
actor.mode 1;
  }

  for (
temp.i=0temp.i<MOTIONSTEPStemp.i++)
    
findimg(200 + (this.counter+1+temp.i)%MOTIONSTEPS).actor.alpha 0.1 0.8*temp.i/MOTIONSTEPS;
}
SCRIPTEND 
__________________
Quote:
Reply With Quote
  #3  
Old 09-15-2012, 01:19 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
Judging by script, lolcursion occurs which looks quite easy to fix.
Nice. All Stefan needs to do now is change one line in one file on one server. Maybe by Christmas?
__________________
Reply With Quote
  #4  
Old 09-15-2012, 01:38 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
I already realized this on iEra, but thought its just me. But than some days later it worked fine for me on another server so I didnt bother reporting this.
Well maybe I had a fixed one, not sure
__________________
MEEP!
Reply With Quote
  #5  
Old 09-15-2012, 02:04 AM
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
I've updated and reloaded the file.
Reply With Quote
  #6  
Old 09-15-2012, 02:11 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Stefan View Post
I've updated and reloaded the file.
It's fixed, thanks.
Reply With Quote
  #7  
Old 09-15-2012, 01:25 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
I've updated and reloaded the file.
Merry Christmas!
__________________
Reply With Quote
  #8  
Old 09-15-2012, 02:55 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
I actually emailed Stefan about this 3 or 4 months ago, but I never received a reply and I didn't notice any change in the bug's behaviour. Thanks for bringing this up Thor.
Reply With Quote
Reply


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 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.