Author Topic: Information on AFK Time Out?  (Read 2325 times)

0 Members and 1 Guest are viewing this topic.

Offline AliTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • Ali has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Information on AFK Time Out?
« on: December 18, 2022, 01:15:50 AM »
0
Does anyone have some insight on what exactly prevents the AFK timeout on OSI? I can't seem to find good info on this. Opening backpack periodically seems to prevent it, as does moving. Using bow or salute emote works as long as you're not mounted.

Standing at Luna bank prevents timeout, is it the other players nearby that does it? NPCs? Updating journal? I've been disconnected with recent 'You see' messages in my journal, so I'm not sure what the deal is with that.

I usually use the opening backpack method to prevent timeout, but I'm interested in learning of other ways that don't use the item cooldown timer and don't interfere with targeting cursors.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Information on AFK Time Out?
« Reply #1 on: December 18, 2022, 07:48:10 AM »
0
Ali,
Like you mention, all those action will prevent you to timeout.    I just use a Salute macro  every 5 min.   I like to think the it less obvious and  it  haven't mess my targeting system
In easy  I just use   if #sCnt > %timer  + 300 .....

Still need to find a function in Orion that wont spike my CPU

Offline AliTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • Ali has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Information on AFK Time Out?
« Reply #2 on: December 18, 2022, 11:54:12 AM »
0
Yeah, salute is great as long as you're not mounted or in animal form.

In Orion, you can use Timer or I usually just use Orion.Now() + 300000 and then check it against Orion.Now()

Code: [Select]
var endTime = Orion.Now() + 300000;
while(true)
    {
    if(Orion.Now() > endTime)
        {
        Orion.EmoteAction('Salute');
        endTime = Orion.Now() + 300000;
        }
    Orion.Wait(100);
    }

Offline Piller

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • Piller has no influence.
  • Respect: +3
  • Referrals: 1
    • View Profile
Re: Information on AFK Time Out?
« Reply #3 on: December 19, 2022, 06:31:17 AM »
0
I believe its the multi trainer on this site will open a spell/rune book and close it. Not sure where it is on the code I can try to figure it out tonight but have just seen it happen while training

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Information on AFK Time Out?
« Reply #4 on: December 19, 2022, 09:58:22 AM »
0
There are also some gumps on OSI that prevent logout without all that other actions. If you open the gump to a Magincia Broker (I did this with the commodity broker, but likely both pet and commodity function the same) then you will not get kicked for being what it deems idle.
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Tags: