FAST-Plugins (2008-04-17)

Discover FAST, a records keeping server control script with a public records system called Dedimania, which will show records from the server on tm-exchange.com

Moderators: Slig, TM-Patrol

User avatar
mcm
road tourist
road tourist
Posts: 75
Joined: 30 Jan 2007 21:19
Owned TM-games: UNO
Location: in da house ;)
Contact:

FAST-Plugins (2008-04-17)

Post by mcm » 11 Mar 2008 12:20

A quick update fix for TMF needs Fast3.2.x

http://www.mcmweb.de/plugin/plugin-tmf.zip

1. This is a little plugin for fast, working (tested) on TMN and TMU, applies local recordsaving without a database and some other aseco clones :D .
for installation and usage read the included readme.txt !! Requieres min. Fast3.1.3h !!

http://www.mcmweb.de/plugin/fast.plugin.zip

New Chatcommands :
/list -> shows all tracks in tracklist
/list text -> searches for tracks with "text" in name or author name
/list number -> shows tracks with authortime smaller number
/list number1 number2 -> shows tracks with authortime between number1 and number2
/list nofinish -> shows tracks where u didnt finish (also works /list nf)
/list notop -> shows tracks where u are not in maxtop by default 250 (also to use /list nt)
/list notop number -> shows tracks where u are not in top number
/jukebox -> shows current tracks in jukebox
/jukebox number -> puts the track number from list in jukebox
/jbx -> same as jukebox
/jbx undo -> removes players previous jukeboxed track
/add tmxid -> starts a vote to add a track from nations tmx with tmxid (admins dont need a vote)
/y or only y -> voteanswer for a tmx vote
/n or only n -> voteanswer for a tmx vote
/res -> starts a restart callvote to be answered with f1 or f2
/next -> starts a next callvote
/kick login -> starts a kick callvote for login
/ban login -> starts a ban callvote for login
/rank -> shows your current server rank an score
/top -> shows current server ladder with score
/recs -> show current top 5 local records for track in chat
/recs all -> show all local records for track in popup
/karma -> display current track karma
/++ or ++ -> vote karma good
/-- or -- -> vote karma bad
/showrecs -> toggles enable or disable showing the local records for you personaly
/showinfo -> toggles enable or disable showing the info messages for you personaly
/wins -> shows how often you have won
/pb -> shows your personal best time for track with date and time
/tmx -> shows tmx help
/tmx a authorname -> shows tmx tracks from authorname
/tmx t trackname -> shows tmx tracks with name
/tmx a authorname t trackname -> show tracks from tmx filter by author and trackname

New Admin Chatcommands:
/c -> cancels all votes
/rem number -> removes the track number from tracklist
/del number -> removes the track number from tracklist and deletes the file
/del it -> removes current challenge from list and deletes the file
/jbx clear -> clears the juke
/ltut -> toggles enable or disable the infomessages
/ltut number -> shows next infomessage after number of tracks
/autotime -> show current autotime status
/autotime on/off -> enable disable autotime feature
/autotime min -> min time for ta
/autotime max -> max time for ta
/autotime multi -> multiplier of tracks goldtime for autotime
/votelimit -> shows current votelimit status
/votelimit on/off -> enable or disable votelimitations
/votelimit maxres number -> limit maximum possible restartvotes to number
/votelimit maxnext number -> limit maximum possible nextvotes
/votelimit ratio number -> sets the default callvoteratio to number
/votelimit tmxratio number -> sets the default voteratio for /add
/atm -> shows current autotrackmanger status
/atm on/off -> enable or disable autotrackmanger
/atm votes number -> sets the minimum needed karmavotes for atm activity
/atm ratio number -> sets the karma approval ratio for atm activity
/dos dir -> shows track and folders in main tracksdirectory /challenges
/dos cd number -> change folder
/dos cd .. -> change one folder up
/dos add number -> add a challange to tracklist
/tmx all -> enables the /add for all users
/tmx admin -> enables the /add for admins only (default)
/joinmsg on/off -> enables or disables the join message with server rank display

2. A little quick and dirty Team-Chat plugin for fast (tested only on tmn)

http://www.mcmweb.de/plugin/cmd.to.zip

It does :

/to t message -> send message to your team only (also can use /to team message)

in team mode:
/to b message -> send message to blue (/to blue)
/to r message -> send message to red (/to red)

HF
Last edited by mcm on 17 Apr 2008 18:00, edited 3 times in total.

User avatar
milllan
road tourist
road tourist
Posts: 81
Joined: 21 Apr 2006 10:51
Owned TM-games: TMU
Location: Serbia
Contact:

Re: FAST-Plugins

Post by milllan » 12 Mar 2008 15:05

this plugin kicks ass :1010 .... aseco is pwned :1 .. on tmn at least
Image
g.Serbia.miןlan ®

http://www.myspace.com/milllan

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50
Contact:

Re: FAST-Plugins

Post by Paris69 » 14 Mar 2008 09:58

great!

Xymph
Pit Crew
Pit Crew
Posts: 5655
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: FAST-Plugins

Post by Xymph » 15 Mar 2008 20:28

milllan wrote:aseco is pwned .. on tmn at least
Actually, most of the commands here correspond with similar/identical ones that Aseco has had for a long time. :wink: But it's good to see FAST finally catching up to the same feature richness. Image
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
mcm
road tourist
road tourist
Posts: 75
Joined: 30 Jan 2007 21:19
Owned TM-games: UNO
Location: in da house ;)
Contact:

Re: FAST-Plugins

Post by mcm » 15 Mar 2008 22:22

well, i hope nothing and nobody is pwned here (somebody told me pwnege comes right outa kindergarden :D)
i thought this is some kind of community and as smal part of it, i tried to combine all the good things from the different automatic or whatever servercontroler, so that everybody without any hosting programing sql or other super powers would be able to run a nice tm server. (...no i did it for my ego to see if i can make it :wink: )

now that this post is already allmost a book i would like to thank all the other programers who all will find some pices of their codes in my plugin (remember i have never read the php manual :oops: )
thx to: mr.slig for his fast and supporting my work with fixes and addons in the core files and for the explanations and tutorials whitch made this possible also to say thx for hosting dedimania, thx to florian schnell, cyrus from die webber, assembler maniac, jfreu, gery, xymph, all that i have forgott and especialy to eyez for his aseco++ (tmx search core) and sabinegoth from tmx for tuts and managing the api changes on tmx-nations...offcourse thanks to all players from the test servers for suggestions and bugtracking and one special thx to milllan for his ideas and motivation :D

User avatar
milllan
road tourist
road tourist
Posts: 81
Joined: 21 Apr 2006 10:51
Owned TM-games: TMU
Location: Serbia
Contact:

Re: FAST-Plugins

Post by milllan » 16 Mar 2008 00:09

mcm wrote:well, i hope nothing and nobody is pwned here (somebody told me pwnege comes right outa kindergarden :D)
i thought this is some kind of community and as smal part of it, i tried to combine all the good things from the different automatic or whatever servercontroler, so that everybody without any hosting programing sql or other super powers would be able to run a nice tm server. (...no i did it for my ego to see if i can make it :wink: )
yeah whatever.. aseco still pwned :P

All i need now is a way to auto save all my settings, and auto load them when i restart fast

example .. i set /add function free for all but when i restart fast, its still admin only ... i dont wanna edit files, fast should be smart enough to save and load my settings ...

also how do i save mu playlist .. i know /custom command is used for that but i forgot how to use it ... (thi
Image
g.Serbia.miןlan ®

http://www.myspace.com/milllan

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: FAST-Plugins

Post by Slig » 24 Mar 2008 02:59

Nice plugin, it add most "little" commands that other scripts have using various plugins. That way those who like Fast but were lacking some functionnality should have a solution. Thx mcm :D

milllan wrote:example .. i set /add function free for all but when i restart fast, its still admin only ... i dont wanna edit files, fast should be smart enough to save and load my settings ...
In plugin.98.lb.php, search "$lb_tmxadd = 'admin';" and replace with "$lb_tmxadd = 'all';"
Sorry, if you want to have the plugin save its config, ask mcm... and hope he have some free time ;)
milllan wrote:also how do i save mu playlist ..
You should have a file like that : GameData/Tracks/MatchSettings/last.server_login.txt which is saved automatically at each beginning of map, you can use it as starting matchsettings for your server. Sadly the dedicated save the map list in the file without worrying about the current map in the list, so you will start with the same list, but at its beginning.

User avatar
mcm
road tourist
road tourist
Posts: 75
Joined: 30 Jan 2007 21:19
Owned TM-games: UNO
Location: in da house ;)
Contact:

Re: FAST-Plugins (update - 2008-03-24)

Post by mcm » 24 Mar 2008 03:31

well, its already done maybe not automatic but at least semi automatic, just had no time to post the facts :) so here we go...

** changes **
New Admin Chatcommands:
/save cfg name -> saves plugin configuration to file (save it with name "default" will load it on faststart)
/save map name -> saves playlist and matchsettings to file

/load cfg name -> loads the saved plugin configuration
/load map name -> loads playlist and matchsettings from file
/load imap name -> insert playlist from file in current tracklist
/load amap name -> add playlist from file at end of current tracklist
/load rmap name -> replace current tracklist with playlist from file but keep the matchsettings

** FAQ Update **
when fast starts its automaticaly saves the first default config file if there is no default yet
/load can only load files saved with /save or manually edited xml files, matchsettings are going to
default tracks folder, plugin config files go to data folder - so if you want to load your old matchsetting files
you still have to use the old common fast command /map

** HowTo Update **
only replace the plugin.98.lb.php in plugins directory from the package in first post :) and restart fast

User avatar
milllan
road tourist
road tourist
Posts: 81
Joined: 21 Apr 2006 10:51
Owned TM-games: TMU
Location: Serbia
Contact:

Re: FAST-Plugins (2008-03-24)

Post by milllan » 04 Apr 2008 12:45

nice tnx :lovetm
Image
g.Serbia.miןlan ®

http://www.myspace.com/milllan

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50
Contact:

Re: FAST-Plugins (2008-03-24)

Post by Paris69 » 05 Apr 2008 07:53

please, if you will continue in development, can you add the donation commands? thanks in advance. :)

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: FAST-Plugins (2008-03-24)

Post by Slig » 05 Apr 2008 08:24

Paris69 wrote:please, if you will continue in development, can you add the donation commands? thanks in advance. :)
as a chat command ? it already exists in fast : /pay . 10000 ;)

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50
Contact:

Re: FAST-Plugins (2008-03-24)

Post by Paris69 » 07 Apr 2008 09:11

oooh, thanks. sorry :)

User avatar
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: FAST-Plugins (2008-03-24)

Post by ----GLUK---- » 07 Apr 2008 18:38

not working in TMU
/y /n
/add tmxid


and how i can translate this plugin to russian?

User avatar
mcm
road tourist
road tourist
Posts: 75
Joined: 30 Jan 2007 21:19
Owned TM-games: UNO
Location: in da house ;)
Contact:

Re: FAST-Plugins (2008-03-24)

Post by mcm » 07 Apr 2008 19:56

yes it seems that tmxadd for tmu is admin only :D ill c what i can do bout that...
and yes the messages are quite static...but i guess it won't be forever ;)
meanwhile if you need it po ruski you have to search and replace in the plugin file...

User avatar
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: FAST-Plugins (2008-03-24)

Post by ----GLUK---- » 07 Apr 2008 21:17

tmxadd is for all

When a player asks track forum TMX and players on the server enters "y" - Nothing happens

and when i translate plugin.98.lb.php and saving it in Unicode - its not working

Post Reply