View unanswered posts | View active topics It is currently Sun Dec 04, 2022 6:25 am



Reply to topic  [ 3 posts ] 
 Updated login script 
Author Message
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 159
Unread post Updated login script
I don't know if something is interfering with SWATH, but in some games it doesn't even seem to try to keep me logged in, so I tried the included KeepAlive script, but sure enough, it interfered with some stuff, so after bothering Micro a bit I improved it!

This sends and invisible character, just like SWATH is supposed to, but every 60 seconds.

It doesn't even try to watch for the inactivity warning!

Any suggestions?
Code:
# Copyright (C) 2005  Remco Mulder
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# For source notes please refer to Notes.txt
# For license terms please refer to GPL.txt.
#
# These files should be stored in the root of the compression you
# received this source in.

# TWX Script Pack 1: Keepalive script
# Author           : Xide
# Description      : A VERY simple script which sends an invisible character every 60
#                    seconds to keep the connection alive.
# Trigger Point    : Anywhere within TW where the global functions are
#                    working.
# Warnings         : Will send an invisible character every 60 sectors, whether
#                    the program is connected or not.  This character shouldn't
#                    disrupt anything, but use at your own risk.
#                  : Updated by Grey Gamer the Grey on 10Sep2022.

:wait
send #145
setDelayTrigger delay :wait 60000
pause


Attachments:
1_KeepAlive.ts [1.59 KiB]
Downloaded 23 times

_________________
Photons away!
Wed Aug 10, 2022 11:50 am
Profile
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 159
Unread post This still interferes with the game
I hadn't thought that I was receiving inactivity warnings and it turns out that I'm not!

Aside from write a script to detect when I have gone inactive and then and only then send invisible characters until I return to the keyboard I simply do not know what to do.

Just never do anything else until I log out? :)

_________________
Photons away!


Wed Aug 10, 2022 2:58 pm
Profile
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2546
Location: Oklahoma City, OK 73170 US
Unread post Re: This still interferes with the game
Grey Gamer wrote:
Just never do anything else until I log out? :)

I have never used 1_KeepAlive, because Mombot does this automatically.

Why would you ever log out, unless there is a time limit?

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Wed Aug 10, 2022 6:07 pm
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.