TMTP syntax

General Discussion about Trackmania United

Moderator: TM-Patrol

UKFC»ACE
smooth traffic navigator
smooth traffic navigator
Posts: 203
Joined: 08 Jun 2007 19:50
Owned TM-games: TMUF, TMNF
Location: Dublin, IRELAND

Re: TMTP syntax

Post by UKFC»ACE » 03 Aug 2008 11:36

For any forum admin who wish to add 'tmtp' to their BB codes here's how...

Go to ACP>Posting>Custom BB Codes...

For 'Usage' add: [join={TEXT}]{TEXT2}[/join]
and for HTML: <a href=tmtp://#join={TEXT}>{TEXT2}</a> note: no quotations around link!
click 'Display on posting page' and posters will now have a 'join=' BB like the 'server=' one here.

What's the story with the #spectate link? If I use tmtp://#spectate=admin_ninja for our server it just works the very same as tmtp://#join=admin_ninja

???

xis101
happy cruiser
happy cruiser
Posts: 154
Joined: 14 Aug 2006 01:22
Owned TM-games: TMUF
Manialink(s): gn
Contact:

Re: TMTP syntax

Post by xis101 » 03 Aug 2008 12:37

Thanks Ace,

if you use #sectate you join the server as spectator ;)

btw, is there a possibility to have a link with passwort?
maybe something like this: tmtp://#join=server&pw=123
Image

UKFC»ACE
smooth traffic navigator
smooth traffic navigator
Posts: 203
Joined: 08 Jun 2007 19:50
Owned TM-games: TMUF, TMNF
Location: Dublin, IRELAND

Re: TMTP syntax

Post by UKFC»ACE » 03 Aug 2008 14:04

I have made an 'ad' for the fufi widgets which palces a link on the HUD to add the server to favourites... tmtp://#addfavourite=admin_ninja. When the link is clicked it does add the server to favourites but in the process it also exits the player from the server. Is there any way around this?

UKFC»ACE
smooth traffic navigator
smooth traffic navigator
Posts: 203
Joined: 08 Jun 2007 19:50
Owned TM-games: TMUF, TMNF
Location: Dublin, IRELAND

Re: TMTP syntax

Post by UKFC»ACE » 03 Aug 2008 14:07

xis101 wrote:if you use #sectate you join the server as spectator ;)
No you don't. You join as player. But I think #spectate is a WIP for 'TV' servers?

xis101
happy cruiser
happy cruiser
Posts: 154
Joined: 14 Aug 2006 01:22
Owned TM-games: TMUF
Manialink(s): gn
Contact:

Re: TMTP syntax

Post by xis101 » 06 Aug 2008 10:27

xis101 wrote: btw, is there a possibility to have a link with passwort?
maybe something like this: tmtp://#join=server&pw=123
sorry for quoting myself, but does someone have an answer? :?:
Image

eMPiko
pedestrian
pedestrian
Posts: 6
Joined: 26 Dec 2007 11:24
Owned TM-games: TMN, TMU

Re: TMTP syntax

Post by eMPiko » 08 Sep 2008 12:56

How can I find out, what's name of server, where I just played. For example, I was on server $i$w$o$f00Ð$800a$400r$200k $000? Road, but tmtp://#join= doesn't work with that string. I know IP, of this server, but on that IP are 4 servers and I can't get on this. Also I know serverID, but I don't know syntax to make that link functional.

UKFC»ACE
smooth traffic navigator
smooth traffic navigator
Posts: 203
Joined: 08 Jun 2007 19:50
Owned TM-games: TMUF, TMNF
Location: Dublin, IRELAND

Re: TMTP syntax

Post by UKFC»ACE » 08 Sep 2008 14:01

You need the server login.

tmtp://#join=login

I was hoping to make a list of popular servers for our forum but I don't see a way to get the login of a server you are on without actually asking an admin.

User avatar
CavalierDeVache
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 23 May 2006 23:47
Owned TM-games: tmu tmn tms tmo
Location: Yellowstone Valley
Contact:

Re: TMTP syntax

Post by CavalierDeVache » 08 Sep 2008 15:05

You type /serverlogin in the server chat to find out.

UKFC»ACE
smooth traffic navigator
smooth traffic navigator
Posts: 203
Joined: 08 Jun 2007 19:50
Owned TM-games: TMUF, TMNF
Location: Dublin, IRELAND

Re: TMTP syntax

Post by UKFC»ACE » 08 Sep 2008 16:46

CavalierDeVache wrote:You type /serverlogin in the server chat to find out.
Brilliant! Thanks a mil!

thek142
sunday driver
sunday driver
Posts: 64
Joined: 30 Jan 2008 04:30
Owned TM-games: TMS, TMNF, TMUF

Re: TMTP syntax

Post by thek142 » 15 Nov 2008 06:14

[quote="Florent"]To use tmtp with short manialinks, you should use this syntax :

tmtp:///:YourManialink

the 3 characters '/' after "tmpt:" are needed
because otherwise web browsers (like IE, Firefox,...) add a '/' at the
end of the manialink.
quote]

You mean before and aftor TmTP right :P
AMD Athlon 64X2 6400+
Asus M2N SLI-Deluxe
Evga 8800GT 512mb x2
4gb of ram
Windows XP pro SP2

User avatar
Warrior
smooth traffic navigator
smooth traffic navigator
Posts: 200
Joined: 29 Apr 2008 13:56
Owned TM-games: tmnf, tmu
Location: worldwide
Contact:

Re: TMTP syntax

Post by Warrior » 25 Jul 2009 22:21

is there a way to make this work in TEAMSPEAK

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: TMTP syntax

Post by Knutselmaaster » 16 Jan 2011 09:53

UKFC»ACE wrote:For any forum admin who wish to add 'tmtp' to their BB codes here's how...

Go to ACP>Posting>Custom BB Codes...

For 'Usage' add: [join={TEXT}]{TEXT2}[/join]
and for HTML: <a href=tmtp://#join={TEXT}>{TEXT2}</a> note: no quotations around link!
click 'Display on posting page' and posters will now have a 'join=' BB like the 'server=' one here.

What's the story with the #spectate link? If I use tmtp://#spectate=admin_ninja for our server it just works the very same as tmtp://#join=admin_ninja

???
Don't use the {TEXT} in the first statement, malicious users can inject nasty things like that.
The safe way is:
[manialink={IDENTIFIER}]{TEXT}[/manialink]
------
<a href="tmtp:///:{IDENTIFIER}">Visit the {TEXT} ManiaLink</a>
------
Starts TrackMania Forever and connects to a ManiaLink. Example: [manialink=<yourmanialink>]Description of ManiaLink[/manialink]

The same counts for the other tmtp links of course.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest