[(X)Aseco/FAST] AutoQueue v0.75

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

zastas
pedestrian
pedestrian
Posts: 11
Joined: 27 Jul 2013 08:08
Owned TM-games: TM2
Manialink(s): NO

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by zastas » 04 May 2014 14:29

thank you to answer me
in this case why is it in the list of plugins xaseco2?
http://plugins.xaseco.org/info.php?id=139

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1365
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by undef.de » 04 May 2014 17:18

zastas wrote:thank you to answer me
in this case why is it in the list of plugins xaseco2?
http://plugins.xaseco.org/info.php?id=139
Maby because of: http://forum.maniaplanet.com/viewtopic. ... 929#p94929
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by schmidi » 05 May 2014 19:24

zastas wrote:in this case why is it in the list of plugins xaseco2?
http://plugins.xaseco.org/info.php?id=139
Read carefully. Your are talking about a port of v0.75 by TheM.
As i basically know nothing about the new ManiaPlanet-API i cant provide any solution right now.

You may want to enable debug-mode and provide some logs.
plugin.fufi.autoqueue.php line 99:

Code: Select all

	var $debug = true;

zastas
pedestrian
pedestrian
Posts: 11
Joined: 27 Jul 2013 08:08
Owned TM-games: TM2
Manialink(s): NO

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by zastas » 05 May 2014 21:57

Here is a log, I do not know if this is what you want

Code: Select all

# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 5.4.4-14+deb7u4 on Linux
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[XAseco2] Load plugin [plugin.dedimania.php]
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.musicserver.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.rpoints.php]
[XAseco2] Load plugin [jfreu.plugin.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[XAseco2] Load plugin [plugin.forceMods.php]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.fufi.autoqueue.php]
[XAseco2] Load plugin [plugin.fufi.menu.php]
[XAseco2] Load plugin [plugin.pay2play.php]
[XAseco2] Load plugin [plugin.nouse.betting.php]
[XAseco2] Load plugin [plugin.dbtools.php]
[XAseco2] Load plugin [plugin.server_neighborhood.php]
[XAseco2] Load plugin [plugin.third_party_plugins_uptodate.php]
[XAseco2] Load plugin [plugin.randominfomsg.php]
[XAseco2] Load plugin [plugin.greeting_dude.php]
[05/05,23:45:38] Try to connect to MP dedicated server on 127.0.0.1:5202 timeout 180s
[05/05,23:45:38] Try to authenticate with login 'SuperAdmin' and password '****'
[05/05,23:45:38] Connection established successfully !
[05/05,23:45:38] [LocalDB] Load config file [localdatabase.xml]
[05/05,23:45:38] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'lbd_bddlbd01'
[05/05,23:45:38] [LocalDB] MySQL Server Version is 5.5.31-0+wheezy1
[05/05,23:45:38] [LocalDB] Checking database structure...
[05/05,23:45:38] [LocalDB] ...Structure OK!
[05/05,23:45:38] [RASP] Loading config file [rasp.xml]
[05/05,23:45:38] [RASP] Checking database structure...
[05/05,23:45:38] [RASP] ...Structure OK!
[05/05,23:45:38] [RASP] Cleaning up unused data
[05/05,23:45:38] Load default admin panel [panels/AdminRightCorner.xml]
[05/05,23:45:38] Load default donate panel [panels/DonateBelowCPList.xml]
[05/05,23:45:38] Load default records panel [panels/RecordsRightCorner.xml]
[05/05,23:45:38] Load default vote panel [panels/VoteBottomCenter.xml]
[05/05,23:45:39] ************* (Dedimania) *************
[05/05,23:45:39] * Dataserver connection on Dedimania ...
[05/05,23:45:39] * Try connection on http://dedimania.net:8082/Dedimania ...
[05/05,23:45:39] Webaccess (dedimania.net:8082/Dedimania.8083): send: deflate, receive: deflate
[05/05,23:45:39] * Connection and status ok! (Dedimania.8083)
[05/05,23:45:39] ------------- (Dedimania) -------------
[05/05,23:45:39] Load stats panel [panels/Stats2.xml]
[05/05,23:45:39] Load music server config [musicserver.xml]
[05/05,23:45:39] Initialize default rounds points: MotoGP - 25,20,16,13,11,10,9,8,7,6,5,4,3,2,1
[05/05,23:45:39] **********[plugin.records_eyepiece.php/1.0.9.9-MP]**********
[05/05,23:45:39] >> Checking Database for required extensions...
[05/05,23:45:39]    + Found column `Timezone` at table `players_extra`.
[05/05,23:45:39]    + Found column `DisplayWidgets` at table `players_extra`.
[05/05,23:45:39]    + Found column `MostFinished` at table `players_extra`.
[05/05,23:45:39]    + Found column `MostRecords` at table `players_extra`.
[05/05,23:45:39]    + Found column `RoundPoints` at table `players_extra`.
[05/05,23:45:39]    + Found column `TeamPoints` at table `players_extra`.
[05/05,23:45:39]    + Found column `Visits` at table `players_extra`.
[05/05,23:45:39]    + Found column `WinningPayout` at table `players_extra`.
[05/05,23:45:39]    + Found index `Continent` at table `players`.
[05/05,23:45:39]    + Found index `Nation` at table `players`.
[05/05,23:45:39]    + Found index `Wins` at table `players`.
[05/05,23:45:39]    + Found index `UpdatedAt` at table `players`.
[05/05,23:45:40]    + Found index `Score` at table `records`.
[05/05,23:45:40]    + Found index `Score` at table `rs_karma`.
[05/05,23:45:40]    + Found index `Score` at table `rs_times`.
[05/05,23:45:40] >> Updating `MostFinished` counts for all Players...
[05/05,23:45:43] >> Updating `MostRecords` counts for all Players...
[05/05,23:45:43] >> Finished.
[05/05,23:45:43] ***********************************************************
[05/05,23:45:48] **********************(tm-karma.com)**********************
[05/05,23:45:48] plugin.tm-karma-dot-com.php/1.0.7 for XAseco2
[05/05,23:45:48] Set Server location to "France"
[05/05,23:45:48] Trying to authenticate with central database "http://worldwide.tm-karma.com/API-3.0.0.fphp"...
[05/05,23:45:48] Successfully started.
[05/05,23:45:48] The API set the Request-URL to "http://europe.tm-karma.com/API-3.0.0.fphp"
[05/05,23:45:48] **********************************************************
[05/05,23:45:48] [DBTOOLS] DBTools v1.0.7 by vni aka jimpower
[05/05,23:45:48] [DBTOOLS] Parsing configuration file
[05/05,23:45:48] [DBTOOLS] Mode is set to LOCAL
[05/05,23:45:48] [DBTOOLS] Scheduling is disabled.
[05/05,23:45:48] [DBTOOLS] Sync complete. Type "/dbtools" to start. 
###############################################################################
  XASECO2 v1.03 running on 127.0.0.1:5202
  Name   : Les Barjots du Dirt! - lbd01
  Game   : ManiaPlanet - Stadium - Rounds
  Version: 3.3.0 / 2014-04-29_23_00
  Author : Xymph
###############################################################################
Begin Map
[05/05,23:45:49] [plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
[05/05,23:45:49] [AutoQueue] beginRace: isWarmup=true

[05/05,23:45:49] map changed [undefined] >> [New Power Dirt 005]
[05/05,23:45:49] current record on New Power Dirt 005 is 1:10.995 and held by Subliminal Boss Wanted
[05/05,23:46:00] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:46:10] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:46:14] << player 15 joined the game [spydex : $s$o$0cfL$f93ß$3f0Ď$ff0:$0cfŚゃ$f93ӱĐ$3f0ҿҳ$ff0ツ : France : 230 : ************]
[PHP Notice] Undefined index: checksum on line 335 in file /home/lbd/xaseco2/lbd01/plugins/plugin.third_party_plugins_uptodate.php
[05/05,23:46:15] [AutoQueue] Released first player from queue: spydex
[05/05,23:46:16] [AutoQueue] SpectatorReleasePlayerSlot: spydex

[05/05,23:46:20] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:46:29] [AutoQueue] Released first player from queue: spydex
End Round
[05/05,23:46:30] [AutoQueue] free: 11 max: 12 actual: 1

[05/05,23:46:40] [AutoQueue] free: 11 max: 12 actual: 1

Begin Round
[05/05,23:46:44] [AutoQueue] beginRound: isWarmup=false

[05/05,23:46:47] >> player 15 left the game [spydex : $s$o$0cfL$f93ß$3f0Ď$ff0:$0cfŚゃ$f93ӱĐ$3f0ҿҳ$ff0ツ : 00:00:33]
[05/05,23:46:50] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:00] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:10] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:20] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:30] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:40] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:47:50] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:48:00] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:48:10] [AutoQueue] free: 12 max: 12 actual: 0

[05/05,23:48:20] [AutoQueue] free: 12 max: 12 actual: 0

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by schmidi » 06 May 2014 20:01

According to your log, everything seems just fine.

Lutzif3r
highway camper
highway camper
Posts: 4
Joined: 07 Aug 2014 13:15
Owned TM-games: TM2 C S V

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by Lutzif3r » 15 Aug 2014 12:51

nice plugin ....

but when u join as player uve been "autoqueue"d but if u join as spectator u got a "free spot"...

ehm
is this the right function?

greetz

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by schmidi » 15 Aug 2014 21:22

Lutzif3r wrote:but when u join as player uve been "autoqueue"d but if u join as spectator u got a "free spot"...
is this the right function?
cant help without knowing your setup. logs are welcome as well.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 278
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by L3cKy » 17 Apr 2021 18:33

Just noticed that line 1351 and 1354 are the same triggers.

Code: Select all

$_PLUGIN->addEvent('onEndRace', 'endRace');
Shouldn't be one set to onEndRound?

So long L3cKy

gorn_z34
sunday driver
sunday driver
Posts: 52
Joined: 25 Feb 2019 17:32
Owned TM-games: TMUF

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by gorn_z34 » 26 Apr 2021 11:30

Can someone add to this plugin an idlespec function? At this moment it can only idlekick not idlespec even when i have set it to kick to spec when enough places.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 278
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by L3cKy » 28 Apr 2021 01:06

gorn_z34 wrote:
26 Apr 2021 11:30
Can someone add to this plugin an idlespec function? At this moment it can only idlekick not idlespec even when i have set it to kick to spec when enough places.
Take a look at line 732: (When idlekick is enabled and player is not spectator)

Code: Select all

$this->doIdleKick($login, $this->idletime, 'Kicked idle player: ', $this->strings['kickidle']);
Will send the player to this function: (from line 934)

Code: Select all

function doIdleKick($login, $idleTime, $consoleText, $chatText){
	$player = &$this->playerList[$login];
	
	if ((!$player['isRelay']) &&(!$player['isReferee']) && ($this->kickadmins || !($this->isAdmin($login)))){
		$chatText = str_replace(array('%nick%', '%time%'), array($player['NickName'], $this->getTimeString($idleTime)), $chatText);
		$this->sendChatLine($chatText);
		$this->console('[AutoQueue] '.$consoleText.$login);
		$this->addCall('Kick', array($login));			
	}
}
AND you are actually looking for the line 941:

Code: Select all

$this->addCall('Kick', array($login));
Try this: (UNTESTED)

Code: Select all

# change 

$this->addCall('Kick', array($login));

# into

//$this->addCall('Kick', array($login));

# and add following line under it

$this->forceSpec($login, 1);
So long L3cKy
Last edited by L3cKy on 28 Apr 2021 06:19, edited 1 time in total.

gorn_z34
sunday driver
sunday driver
Posts: 52
Joined: 25 Feb 2019 17:32
Owned TM-games: TMUF

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by gorn_z34 » 28 Apr 2021 01:54

It worked but i noticed that after idlespec there is no button "click here to play" displayed.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 278
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by L3cKy » 28 Apr 2021 03:54

gorn_z34 wrote:
28 Apr 2021 01:54
It worked but i noticed that after idlespec there is no button "click here to play" displayed.
Yes because you just spectate the player without requeue.
Go to line 732: (also untested but should work)

Code: Select all

# change

$this->doIdleKick($login, $this->idletime, 'Kicked idle player: ', $this->strings['kickidle']);

# into

//$this->doIdleKick($login, $this->idletime, 'Kicked idle player: ', $this->strings['kickidle']);
$this->forceSpec($login, 1);
$this->addToQueue($login);

Change line 941 back to original.

So long L3cKy

gorn_z34
sunday driver
sunday driver
Posts: 52
Joined: 25 Feb 2019 17:32
Owned TM-games: TMUF

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by gorn_z34 » 29 Apr 2021 22:19

it add to queue indeed but when not in queue on spec it does idlespec stil even when on spec the counting doesnt stops

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 278
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: [(X)Aseco/FAST] AutoQueue v0.75

Post by L3cKy » 30 Apr 2021 12:58

gorn_z34 wrote:
29 Apr 2021 22:19
it add to queue indeed but when not in queue on spec it does idlespec stil even when on spec the counting doesnt stops
I guess that have something to do with "on PlayerInfoChanged" take a look from line 596.

So long L3cKy

Post Reply