View unanswered posts | View active topics It is currently Fri Apr 24, 2026 11:23 am



Reply to topic  [ 5 posts ] 
 New URL type for launching TW helpers 
Author Message
Sergeant Major
User avatar

Joined: Mon Mar 05, 2001 3:00 am
Posts: 69
Location: Sweden
Unread post 
I have implemented support in SWATH for a new URL type to
help launch a TW helper from a normal URL link on a web page.

This way all games can be represented with a link that will
simply launch the TW helper and create a new game with
the settings for that particular game. Other helpers may
implement the same support to make this work for everyone.

The URL format looks like this:
tw2002://twgs.swath.net:23/new?game=C& sectors=5000&name=MyGame
(The blank before sectors is just to avoid it being translated in here)

This example will simply create a new game database with
5000 sectors for the "C" game on server twgs.swath.net port 23, called MyGame.

/Stein

_________________
/Stein

SWATH: http://www.swath.net


Sun May 01, 2005 2:46 pm
Profile WWW
Lieutenant J.G.
User avatar

Joined: Fri Sep 12, 2003 2:00 am
Posts: 352
Location: USA
Unread post 
Hey Stien when is the new swath going to be ready ?

_________________
It's a game. Have fun!
Desert Fox / Tommy Gunn
Member of Phoenix Rising


Sun May 01, 2005 6:42 pm
Profile ICQ
Sergeant Major
User avatar

Joined: Mon Mar 05, 2001 3:00 am
Posts: 69
Location: Sweden
Unread post 
We found an issue with the server and soon an update, v1.0.2 will be out. The TWXSync part in SWATH is running fine now after redesign and alot of testing. Got another issue left that we are currently hunting. When that one is solved, it will be released.

It is now long time overdue, but I think it is better to have it working properly than rushing things. Thank you for your patience.

_________________
/Stein

SWATH: http://www.swath.net


Sun May 01, 2005 7:33 pm
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Thanks for the hard work Stein.

So what happens if I have already clicked on that link in the past, and have that game currently setup? Will it just launch SWATH and open that game? Will it overwrite the existing game? Will it prompt me in some way?

Thanks,
+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Mon May 02, 2005 10:44 am
Profile WWW
Sergeant Major
User avatar

Joined: Mon Mar 05, 2001 3:00 am
Posts: 69
Location: Sweden
Unread post 
The keyword "new" will let you create a new database with the game settings filled in. So, this link is mainly thought as an easy way to start playing in a new game you find on a webpage.

_________________
/Stein

SWATH: http://www.swath.net


Mon May 02, 2005 3:49 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 30 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 wSTSoftware.