Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Zodiac Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=220)
-   -   Zodiac, jailed for the escape button. (https://forums.graalonline.com/forums/showthread.php?t=77844)

Crono 12-08-2007 12:45 AM

Quote:

Originally Posted by Inverness (Post 1362647)
You should be petitioning Stefan to fix this problem so you don't have to go to such lengths to stop abuse.

http://forums.graalonline.com/forums...ad.php?t=77816

cbk1994 12-08-2007 01:31 AM

you could do something like this ...
Have DB NPC constantly setting serverr.timev to int( timevar2 ) every second.

Then in a system script have something like
PHP Code:

//#CLIENTSIDE
function onCreated()
{
  
setTimer);
}
function 
onTimeOut()
{
  
client.cTime serverr.timev;
  
setTimer);


Since it can't connect to the server, serverr.timev does not update. And that's assuming client scripts still run, which I'm pretty sure they don't. If they don't it still works the same.

then something like ....

PHP Code:

if ( ! client.cTime in serverr.timev 2serverr.timev | )
{
  
doNotAttack();
}
else
{
  
pwnThatNoob();


Could also solve some problems with modem taping, etc.

Just a suggestion rather than jailing people?

Inverness 12-08-2007 01:52 AM

That seems simple enough, just send trigger to client regularly, if one fails do a few retries, if they all fail, then give them the boot form the dungeon.
Quote:

Originally Posted by Gerami (Post 1362651)

Obviously Stefan doesn't know what hes doing on Zodiac or it might be a higher priority.

Edit: I just tested a simple ping function I made using a simple triggerclient and responding triggerserver. When the ESC menu is closed it works fine, when the ESC menu is open, I stop receiving a response, when I close the ESC menu again (with cancel) it works fine again.

There you go, simple way to check. All you need to do is adjust how sensitive you want the pings to be. For myself have a ping sent to clients in dungeon every 1 or 2 seconds, I doubt Graal would choke over that. If a client fails a single ping, disable whatever system that is being abused, if the next ping succeeds, reenable it. If a client fails multiple pings in a row (like 5) or has high failure rate, then boot from dungeon.

I don't play Zodiac so I don't know the details, I'm just going off of whats been posted in this thread.

Edit2: After having a second go at it with a more sophisticated function, the ESC menu works too fast for it to be accurate. Oh well, at least I gave it a shot. *Goes to sulk in corner*

xAndrewx 12-08-2007 08:19 AM

ok
well, thanks. ^^

BigBear3 12-08-2007 03:19 PM

This is why I barely play Zodiac. The Management Blows.
Pardon my language.

Tom 12-08-2007 04:18 PM

Andrew has only just been put in management, but yea, the general selection over the past months? or so has been crap. no pardon wanted. lol

Crono 12-08-2007 04:50 PM

Quote:

Originally Posted by BigBear3 (Post 1362713)
This is why I barely play Zodiac. The Management Blows.
Pardon my language.

Explain?

BigBear3 12-08-2007 05:20 PM

Quote:

Originally Posted by Gerami (Post 1362728)
Explain?

Manager used to be Calani. She did nothing and ignored everyone's requests. Now it is Drander. Drander is never online. Oh let's add some salt to the wound. The ETA banned me from all events for not selling him my Vampire Dusts. :\

Crono 12-08-2007 06:04 PM

Quote:

Originally Posted by BigBear3 (Post 1362734)
Manager used to be Calani. She did nothing and ignored everyone's requests. Now it is Drander. Drander is never online. Oh let's add some salt to the wound.

Drander does come online, hell theres a major update today.

Quote:

The ETA banned me from all events for not selling him my Vampire Dusts. :\
I wouldn't consider any ET part of "management".

BigBear3 12-08-2007 06:16 PM

That's still corrupt and the management should take care of this by either firing him or fixing my event blacklist.

coreys 12-08-2007 09:04 PM

Perhaps you should talk to Bell, she'd most likely do well to stop these problems.

Crono 12-08-2007 09:39 PM

Quote:

Originally Posted by BigBear3 (Post 1362756)
That's still corrupt and the management should take care of this by either firing him or fixing my event blacklist.

Have you told the management this happened?

coreys 12-08-2007 09:41 PM

This is what I have on Maloria to check for connection problems:

PHP Code:

function onActionServerSide() {
  switch (
params[0]) {
    
//Echo back to clientside if connection works.
    
case "serverecho":
      if ((
params[2]-1) > 0)
        echo(
"System Lag: Account " params[1] @ " had a connection failure. (Tried " @ (params[2]-1) @ " times.)");
      
triggerclient("weapon"name"clientok"params[1]);
    break;
    
/*
    Serverside lag detection to be completed later.
    case "serverok":
    break;*/
  
}
}
//#CLIENTSIDE
function onCreated() {
  
this.failcount 0;
  
this.timer 0;
  
client.noconnection false;
  
onTimeOut();
}
function 
onTimeOut() {
  
this.failcount++;
  if (
this.timer 3this.timer += .1;
  else {
    
triggerserver("weapon"name"serverecho"player.accountthis.failcount);
    
this.timer 0;
  }
  if (
this.failcount 3) {
    if (
this.failcount 10)
      
client.noconnection true;
    else {
      
this.failcount 0;
      
client.noconnection false;
      
serverWarp("login");
    }
  }
  else 
client.noconnection false;
  
setTimer(0.1);
}
function 
onActionClientSide() {
  if (
player.account == params[1]) {
    switch (
params[0]) {
      
//Connection successful
      
case "clientok":
        
this.failcount 0;
      break;
      
/*
      Serverside lag detection to be completed later.
      case "clientecho":
      break;*/
    
}
  }


Probably a better alternative. If client.noconnection is true, then don't do any processes, like damage detection, movement, etc.

BigBear3 12-08-2007 09:58 PM

I haven't got a chance to talk to Drander yet, no.

DustyPorViva 12-08-2007 10:14 PM

Quote:

Originally Posted by BigBear3 (Post 1362792)
I haven't got a chance to talk to Drander yet, no.

So why are you complaining about them not doing anything if they don't even know? Management doesn't come with a degree in mind-reading.


All times are GMT +2. The time now is 04:42 PM.

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