[Aseco2.0]Oliverde8 Track Manager RELEASED

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Re: [Aseco2.0]Oliverde8 Track Maneger REALESED

Post by BLaHiTiS » 28 May 2008 22:40

OK, i trie the new version, but the only thing I see under the player counters is "unset", how do you get these icons to work?
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

Ptitzizi
road tourist
road tourist
Posts: 104
Joined: 03 May 2008 15:13
Owned TM-games: TMF

Re: [Aseco2.0]Oliverde8 Track Maneger REALESED

Post by Ptitzizi » 28 May 2008 23:43

If you need a translator for english/french, don't hesitate, I available :) PM me :)

Code: Select all

|...Done!
Karma good:0bad0ID:18
Registering vote....
[05/29,01:38:05] map changed [$0f0Re$fffU$0f0nion] >> [$0f0Re$fffU$0f0nion]
RESN:0
[PHP Warning] mysql_fetch_array(): supplied argument is not a valid MySQL result
 resource on line 242 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 275 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
Echo:SELECT * FROM `challenges` WHERE (  )
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 293 in file C:\Serveur\Test\new aseco\plugins\track.maneger.php
[Trackmaneger].NO tracks in random list
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 318 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
The plugin works well, I don't get it... I don't modificate nothing.

Thanx for your explanations and your beautiful French ;)
Good luck with your stuff.

Bye the way, in the xml :

<settings>
<MinTrack>100</MinTrack><!--Minimum number needed to Random to work-->

;)


User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]Oliverde8 Track Maneger REALESED

Post by oliverde8 » 29 May 2008 06:29

BLaHiTiS wrote:OK, i trie the new version, but the only thing I see under the player counters is "unset", how do you get these icons to work?
Did you add in admşn groups

<SETCAT>true</SETCAT>
<SETRND>true</SETRND>

for exemple in super admin

Code: Select all

<SUPERADMIN>
			<ADMINSUPER>true</ADMINSUPER>
			<ADMINWARN>true</ADMINWARN>
			<ADMINKICK>true</ADMINKICK>
			<ADMINBAN>true</ADMINBAN>
			<ADMINPANEL>true</ADMINPANEL>
			<JB_ADD>true</JB_ADD>
			<JB_ADMIN>true</JB_ADMIN>
			<SETSERVERNAME>true</SETSERVERNAME>
			<SETMAXPLAYERS>true</SETMAXPLAYERS>
			<CLEANBANLIST>true</CLEANBANLIST>
			<CLEANBLACKLIST>true</CLEANBLACKLIST>
			<CLEANGUESTLIST>true</CLEANGUESTLIST>
			<CANCELVOTE>true</CANCELVOTE>
			<ENDROUND>true</ENDROUND>
			<ADDADMIN>true</ADDADMIN>
			<REMOVEADMIN>true</REMOVEADMIN>
			<PRUNERECS>true</PRUNERECS>
			<ACDL>true</ACDL>
			<DEBUG>true</DEBUG>
			<MATCHADMIN>true</MATCHADMIN>
			<TC_LISTEN>true</TC_LISTEN>
			<SEE_OLIVERDE8_ADMIN_HUD_MENU>true</SEE_OLIVERDE8_ADMIN_HUD_MENU>
			<ADMINNEXTMAP>true</ADMINNEXTMAP>
			<ADMINRESTART>true</ADMINRESTART>
			<SETCAT>true</SETCAT>
			<SETRND>true</SETRND>
</SUPERADMIN>
That will give you permission to see the Hud to set them
Ptitzizi wrote:If you need a translator for english/french, don't hesitate, I available :) PM me :)

Code: Select all

|...Done!
Karma good:0bad0ID:18
Registering vote....
[05/29,01:38:05] map changed [$0f0Re$fffU$0f0nion] >> [$0f0Re$fffU$0f0nion]
RESN:0
[PHP Warning] mysql_fetch_array(): supplied argument is not a valid MySQL result
 resource on line 242 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 275 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
Echo:SELECT * FROM `challenges` WHERE (  )
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 293 in file C:\Serveur\Test\new aseco\plugins\track.maneger.php
[Trackmaneger].NO tracks in random list
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 318 in file C:\Serveur\Test\new aseco\plugins\track.maneger.ph
p
The plugin works well, I don't get it... I don't modificate nothing.

Thanx for your explanations and your beautiful French ;)
Good luck with your stuff.

Bye the way, in the xml :

<settings>
<MinTrack>100</MinTrack><!--Minimum number needed to Random to work-->

;)
will look to that work should olso look to your mysql_free_result(): supplied argument is not a valid MySQL result any one else having that :ftw:

Thanks
Last edited by oliverde8 on 30 May 2008 05:43, edited 1 time in total.
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by BLaHiTiS » 29 May 2008 07:42

Ah, those admingroup things were the problem, (it's not in the first post so didn't really look to it)

Well the plugin seems to be "operational although there's lots of things that are still vague to me,

So other than setting track categories for 300+ tracks on my server , what is PlayUnrandom , just like it says, don't play random ? as, random is the state where the plugin will play tracks that have categories ?
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

ming
smooth traffic navigator
smooth traffic navigator
Posts: 260
Joined: 04 Dec 2006 11:10
Owned TM-games: all
Manialink(s): redlion, ming

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by ming » 29 May 2008 07:55

looks great. but i cant get it fully working.
i'm getting those error messages too

Code: Select all

....[PHP Warning] mysql_fetch_array(): supplied argument is not a valid MySQL result resource on line 242 in file ....
...
..
aint that due to the missing sql tables?
you mentioned in your readme
*Use trackmaneger.sql to create needed tables in Database
but i cant find that one.
thx
Manialink: mingcolor>

Luxembourg's TM-community website: www.trackmania.lu

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by BLaHiTiS » 29 May 2008 08:15

I thought these were added automaticly, but i see these errors always in the logs, so ... where is trackmanager.sql ? i don't see it any archive I have :)

EDIT: but they are in the 0.6 archive, so I'll post the sql string here if anyone wants it :

Code: Select all

-- phpMyAdmin SQL Dump
-- version 2.11.2.1
-- http://www.phpmyadmin.net
--
-- Anamakine: localhost
-- Üretim Zamanı: 12 Mayıs 2008 saat 21:28:27
-- Sunucu sürümü: 5.0.45
-- PHP Sürümü: 5.2.5

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Veritabanı: `aseco121`
--

-- --------------------------------------------------------

--
-- Tablo yapısı: `trackmaneger`
--

CREATE TABLE `trackmaneger` (
  `Group` int(9) NOT NULL,
  `Type` varchar(20) character set utf8 collate utf8_bin NOT NULL,
  `Value` varchar(40) character set utf8 collate utf8_bin default NULL,
  `Active` varchar(3) character set utf8 collate utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Tablo döküm verisi `trackmaneger`
--

INSERT INTO `trackmaneger` (`Group`, `Type`, `Value`, `Active`) VALUES
(1, 'All', NULL, 'Yes'),
(1, 'Rnd', NULL, 'No');
anyway, vagueness still prevails about these things:

<MinToRandom>35</MinToRandom><!--Minimum votes needed to decide if track will be random or not-->
<MinToDelete>1000000</MinToDelete><!--Miniumum votes needed to delete a track-->

where is this votes system and how do you do it ?
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by oliverde8 » 29 May 2008 08:24

Okay this was the worse realese I ever done :grmblz:

gofoth so much thing. added trackmaneger.sql in zip

and here is it

Code: Select all

CREATE TABLE `trackmaneger` (
  `Group` int(9) NOT NULL,
  `Type` varchar(20) character set utf8 collate utf8_bin NOT NULL,
  `Value` varchar(40) character set utf8 collate utf8_bin default NULL,
  `Active` varchar(3) character set utf8 collate utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Tablo döküm verisi `trackmaneger`
--

INSERT INTO `trackmaneger` (`Group`, `Type`, `Value`, `Active`) VALUES
(1, 'All', NULL, 'No'),
(1, 'Rnd', NULL, 'Yes');
Once this is in place tracks will be played randomly. Defauşt setting plays all tracks in Random list. and if <PlayUset> is true in xml it will play the ones which has not been decided olso. This table is to set up which track category will be played....

To blathis:
<MinPlayers>15</MinPlayers> thats not number of players needed to activate Random, TracManeger counts olso number of plays of every track, and it will count the track played if more then 15 players, it is to prevent to count when server empty as a track is taken off Random list when play a lot <MaxPlay>250</MaxPlay>

The vote systeme is karma just that I call it vote xD

<MinToRandom>35</MinToRandom>
Minimum number of Karma needed to decide if track will be random or not
<MinToDelete>1000000</MinToDelete>
Minimum number of karma needed to decide to delete track


Realy sorry :( I think the hall plugin was a desapointment for every one :oops: will try to catch up
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by BLaHiTiS » 29 May 2008 08:40

well we all try our best, and we can only mention if things don't work or soemthing,

also, when the plugin says "xxxx" has been randomly selected from so many tracks..

it actually means that it will be the next track, so that's a bit confusing:

could you change that to "xxxx has been randomly selected from xxx tracks and will be played next" or soemthing like that,
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

ming
smooth traffic navigator
smooth traffic navigator
Posts: 260
Joined: 04 Dec 2006 11:10
Owned TM-games: all
Manialink(s): redlion, ming

Re: [Aseco2.0]Oliverde8 Track Maneger REALESED

Post by ming » 29 May 2008 08:42

cool, thx. looks like random is workin now.
oliverde8 wrote: will look to that work should olso look to your mysql_free_result(): supplied argument is not a valid MySQL result any one else having that :ftw:
yes, im getting those too:

Code: Select all

[05/29,10:36:01] map changed [Welcome at ... Nations Forever !] >> [Forever Blue]
RESN:0
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result resource on line 275 in file /home/gamesrv/tm/mtf/aseco/plugins/track.maneger.php
Echo:SELECT * FROM `challenges` WHERE ( `Random` LIKE 'YES' OR `Random` LIKE 'AYES' OR `Random` LIKE '' ) 
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 297 in file /home/gamesrv/tm/mtf/aseco/plugins/track.maneger.php
n:275//196
|...Let Forever Be $z(Stadium) was randomly selected from $fff196 $ztracks
Manialink: mingcolor>

Luxembourg's TM-community website: www.trackmania.lu

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by oliverde8 » 29 May 2008 08:43

A will explain Random list and Cat :shock:

If a track is nice it is added in Random list, thats the setting :D
Group Type Value Active
1 Rnd NULL Yes

There is an option <PlayUset> in XML that makes tracks were random was not decided(tracks were karma smaller then <MinToRandom>) play also in random list

YOu see what I mean there is tracks that are random, But the Trackmaneger mysql table decide which tracs will be played randomly.

You can set track level skill and ask to play tracks were skill is ?? and so on. Cat is only optional, where can I use it

For exemple during the Beta :D I had my hall TMU playlist but I was playing tracks were Cat=TMFBeta

This things are set up by the TrackManeger table :D as explained in the second post :D
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by BLaHiTiS » 29 May 2008 08:44

hehe,
also for your messages that you send in the plugin to public chatr, could you honor the message color by aseco ?

ps: why is this set so high as a standard ?

<MinToDelete>1000000</MinToDelete><!--Miniumum votes needed to delete a track-->

What i dont understand in this "min and max votes" is: shouldn't you rather use percentage ? Like i can have 100 x bad karma votes for a track but if it's good and it has 200 votes, it's still being deleted ?
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by oliverde8 » 29 May 2008 08:46

BLaHiTiS wrote:well we all try our best, and we can only mention if things don't work or soemthing,

also, when the plugin says "xxxx" has been randomly selected from so many tracks..

it actually means that it will be the next track, so that's a bit confusing:

could you change that to "xxxx has been randomly selected from xxx tracks and will be played next" or soemthing like that,
Yes can change :D maybe should add it into the xml :wink:
BLaHiTiS wrote:hehe,
also for your messages that you send in the plugin to public chatr, could you honor the message color by aseco ?
I suppose I could :D
ming wrote:cool, thx. looks like random is workin now.
oliverde8 wrote: will look to that work should olso look to your mysql_free_result(): supplied argument is not a valid MySQL result any one else having that :ftw:
yes, im getting those too:

Code: Select all

[05/29,10:36:01] map changed [Welcome at ... Nations Forever !] >> [Forever Blue]
RESN:0
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result resource on line 275 in file /home/gamesrv/tm/mtf/aseco/plugins/track.maneger.php
Echo:SELECT * FROM `challenges` WHERE ( `Random` LIKE 'YES' OR `Random` LIKE 'AYES' OR `Random` LIKE '' ) 
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 297 in file /home/gamesrv/tm/mtf/aseco/plugins/track.maneger.php
n:275//196
|...Let Forever Be $z(Stadium) was randomly selected from $fff196 $ztracks
I suppose it has to do with a setting not your fault of course it must be mine will search for it

Edit: I don't think to have time today but for tomorow I suppose
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

ming
smooth traffic navigator
smooth traffic navigator
Posts: 260
Joined: 04 Dec 2006 11:10
Owned TM-games: all
Manialink(s): redlion, ming

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by ming » 29 May 2008 08:48

dont know if this is related to the error, but phpmyadmin puts your table in orange saying that no index is defined...
Manialink: mingcolor>

Luxembourg's TM-community website: www.trackmania.lu

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]Oliverde8 Track Manager RELEASED

Post by oliverde8 » 29 May 2008 09:00

ming wrote:dont know if this is related to the error, but phpmyadmin puts your table in orange saying that no index is defined...
yes normal because not defined as I never thik you will do a big table there :grmblz:

But nothing to do it is the check for delete making it will make it work for next realese not important error any way just trs to free something already free or that can be free.
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

Post Reply