Aseco1.0 @ jfreu (89.1% done) download test-release

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 02 Apr 2007 16:52

Keep getting this error...
[PHP warning] Invalid argument supplied for foreach() on line 1963 in file c:\.....\plugins\jfreu\jfreu.funcs.inc.php


Error suddenly started and happens all the time now.

Not sure what i may have messed about with tho :lol:



edit: Sorted now. started aseco, rasp and jfreu from scratch. Had so many modded php files that it was prob one of them forcing that error
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

User avatar
Jackel
speedy pilot
speedy pilot
Posts: 316
Joined: 06 Oct 2006 09:57
Owned TM-games: TMN,TMU,&TMS
Location: Florida, USA
Contact:

getting error from jfrue

Post by Jackel » 10 Apr 2007 18:50

I just added Jfrue's plugin .17a to Aseco Running Rasp 1.5c and is getting the following error on start-up:
[PHP Warning] fsockopen(): unable to connect to :80 (A connection attempt failed
because the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.
) on line 1694 in file C:\aseco\plugins\jfreu\jfreu.funcs.inc.php
[Challenge] server registration : FAILED
[PHP Warning] fsockopen(): unable to connect to :80 (A connection attempt failed
But Aseco continues fine after that. only other glitch I've seen is if I goto options in game for Jfrue and hit the next button on the bottom Aseco crashes out leaving this message:
Fatal error: Cannot access empty property in C:\aseco\plugins\chat.jfreu2.php o
line 1211
Press any key to continue . . .
Is there anyway to remove the next button from the options box & is that first error anything too really worry about?

Jfreu
Pit Crew
Pit Crew
Posts: 304
Joined: 21 Nov 2006 11:57
Owned TM-games: tmu
Location: France
Contact:

Re: getting error from jfrue

Post by Jfreu » 11 Apr 2007 00:11

Jackel wrote:I just added Jfrue's plugin .17a to Aseco Running Rasp 1.5c and is getting the following error on start-up:
[PHP Warning] fsockopen(): unable to connect to :80 (A connection attempt failed
because the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.
) on line 1694 in file C:\aseco\plugins\jfreu\jfreu.funcs.inc.php
[Challenge] server registration : FAILED
[PHP Warning] fsockopen(): unable to connect to :80 (A connection attempt failed
But Aseco continues fine after that. only other glitch I've seen is if I goto options in game for Jfrue and hit the next button on the bottom Aseco crashes out leaving this message:
Fatal error: Cannot access empty property in C:\aseco\plugins\chat.jfreu2.php o
line 1211
Press any key to continue . . .
Is there anyway to remove the next button from the options box & is that first error anything too really worry about?
Hmm...
For the fsock warning, the fsock function seems to not be the same on all PHP versions.
I used to use this function to test the server public server (if this server is down, the fopen crashes aseco)
You can remove this test doing this :
Open "plugin/jfreu/funcs.inc.php"

find "function read_net_file" (line ~1700)

delete the 2 lines under :
*$fp = @fsockopen($aseco->server...
*if (!$fp) return "ERROR";

save the file and restart aseco
for the "cannot access empty property" error ... well.. i dont remember what i did there :o

now i'm working on a new version with aseco 1.0, i recode all the plugin..
it will not be exactly a plugin because i had to change a lot of code in aseco to do all that i wanted to.
So, it will be a full "aseco1.0 + jfreuPlugin"
I try to finish it (or at least do a 1st RC) for the end of the current month (april 2007).


(edit : btw it's "Jfreu" not "Jfrue" ;))

[RoD]Priit
road tourist
road tourist
Posts: 80
Joined: 03 Jan 2007 21:03
Owned TM-games: TMN & TMUF
Contact:

Post by [RoD]Priit » 11 Apr 2007 08:31

i have this error!

Code: Select all

[Aseco] Load settings [config.xml]
[Aseco] Load plugin [plugin.localdatabase.php]
[Aseco] Load plugin [chat.admin.php]
[Aseco] Load plugin [chat.help.php]
[Aseco] Load plugin [chat.me.php]
[Aseco] Load plugin [chat.records.php]
[Aseco] Load plugin [chat.stats.php]
[Aseco] Load plugin [chat.players.php]
[Aseco] Load plugin [plugin.rasp.php]
[Aseco] Load plugin [plugin.rasp_jukebox.php]
[Aseco] Load plugin [plugin.rasp_chat.php]
[Aseco] Load plugin [plugin.rasp_karma.php]
[Aseco] Load plugin [plugin.rasp_nextmap.php]
[Aseco] Load plugin [chat.bestrecs.php]
[Aseco] Load plugin [chat.tmchat.php]
[Aseco] Load plugin [plugin.joinleave.php]
[Aseco] Load plugin [chat.betting.php]
[Aseco] Load plugin [jfreu.plugin.php]
[Aseco] Try to connect to server on xxx.xxx.x.xx:5000
[Aseco] Authenticated with username 'SuperAdmin' and password 'superadmin'
[Aseco] Connection established successfully!
[Local DB] Load settings file ...
[Local DB] Try to connect to MySQL server
[Local DB] MySQL Server Version is 5.0.24a-community-nt
[rasp] Cleaning up unused data
*-*-*-*-*-* RASP 1.5 is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[04/10,19:36:19] 
####################################

Tables OK! /tmchat command initiated

####################################
[04/10,19:36:19] 
#################################

Tables OK! /bet command initiated

#################################
[04/10,19:36:19] [Problem] client query failed (xxx.xxx.x.xx:5000)
[PHP Warning] fsockopen() [http://www.php.netfunction.fsockopen]: unable to connect to :80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
) on line 1694 in file C:\Program Files\trackmania server\Tmn\aseco\plugins\jfreu\jfreu.funcs.inc.php
[PHP Warning] fsockopen() [http://www.php.netfunction.fsockopen]: unable to connect to :80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
) on line 1694 in file C:\Program Files\trackmania server\Tmn\aseco\plugins\jfreu\jfreu.funcs.inc.php
[Local DB] Synchronize players with database
What is wrong?

Jfreu
Pit Crew
Pit Crew
Posts: 304
Joined: 21 Nov 2006 11:57
Owned TM-games: tmu
Location: France
Contact:

Post by Jfreu » 11 Apr 2007 09:17

Read my last post :wink:

User avatar
Jackel
speedy pilot
speedy pilot
Posts: 316
Joined: 06 Oct 2006 09:57
Owned TM-games: TMN,TMU,&TMS
Location: Florida, USA
Contact:

Thank You

Post by Jackel » 11 Apr 2007 14:38

thank you Jfreu for your help, and nice plugin, didn't think of it but the version of php I'm using is 5.1.6 I had to delete a little more than what you said, So the section of the jfreu.funcs.inc.php looks like this with no errors coming up on start except; [Challenge]server registration : ERROR

function read_net_file($request) // ok : return string || error : return false
{


{
return "ERROR";
}
$contents = '';
while (!feof($handle))
{
$contents.= fread($handle, 8192);
}
fclose($handle);
return $contents;
}
function forced_vote(&$aseco,$command)

and sorry for mispelling your name I'm lucky I can still type during this time of day.

User avatar
SchNaake
pedestrian
pedestrian
Posts: 10
Joined: 11 Nov 2006 10:41
Owned TM-games: TMNF + TMUF
Contact:

Re: getting error from jfrue

Post by SchNaake » 11 Apr 2007 19:52


find "function read_net_file" (line ~1700)

delete the 2 lines under :
*$fp = @fsockopen($aseco->server...
*if (!$fp) return "ERROR";
hello jfreu

i edit my "jfreu.funcs.inc.php" at your guidance, when i now "weekChallenge"(in jfreu.config.php) enable this Errormessage comes:

Code: Select all

g# initialize ASECO ############################################################ [Aseco] PHP Version is 5.2.1 [Aseco] Load settings [config.xml] [Aseco] Load plugin [plugin.localdatabase.php] [Aseco] Load plugin [chat.admin.php] [Aseco] Load plugin [chat.help.php] [Aseco] Load plugin [chat.me.php] [Aseco] Load plugin [chat.records.php] [Aseco] Load plugin [chat.stats.php] [Aseco] Load plugin [chat.players.php] [Aseco] Load plugin [plugin.rasp.php] [Aseco] Load plugin [plugin.rasp_jukebox.php] [Aseco] Load plugin [plugin.rasp_chat.php] [Aseco] Load plugin [plugin.rasp_karma.php] [Aseco] Load plugin [plugin.rasp_nextmap.php] [Aseco] Load plugin [jfreu.plugin.php] [Aseco] Try to connect to server on localhost:5000 [Aseco] Authenticated with username '*********' and password '*******' [Aseco] Connection established successfully! [Local DB] Load settings file ... [Local DB] Try to connect to MySQL server [Local DB] MySQL Server Version is 5.0.33 [rasp] Cleaning up unused data *-*-*-*-*-* RASP TMU 1.2 is running! *-*-*-*-*-* |...Loading Settings |...Loaded! |...Checking database structure |...Structure OK! |...Calculating ranks |...Done! [Challenge] server registration : OK [Local DB] Synchronize players with database ############################################################################### Aseco vTMU 1.1a running on localhost:5000 Game : TmUnited - TimeAttack Author: Florian Schnell ############################################################################### Begin Race [PHP Warning] Invalid argument supplied for foreach() on line 1962 in file /opt/lampp/htdocs/aseco/plugins/jfreu/jfreu.funcs.inc.php [04/11,21:45:07] map changed [none] >> [Senna] [04/11,21:45:07] current record on Senna is 1:07.23 and held by $l[http://www.o-f-u-t.de/]|OFuT|$l Schnake [04/11,21:45:42] << player 49 joined the game [_f80schnake] [PHP Warning] Invalid argument supplied for foreach() on line 484 in file /opt

Jfreu
Pit Crew
Pit Crew
Posts: 304
Joined: 21 Nov 2006 11:57
Owned TM-games: tmu
Location: France
Contact:

Post by Jfreu » 11 Apr 2007 20:41

oops ... i think it's because there is no weekChallenge this week.. but i don't want/haveTime to fix this old plugin, i try to finish the new one (1522,9% better) as fast as i can, you can see it sometimes on the "LOLnSHORT" server in Norway when i make some tests with a lot of players.

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

omfg

Post by ming » 12 Apr 2007 09:36

Jfreu wrote:but i don't want/haveTime to fix this old plugin, i try to finish the new one (1522,9% better) as fast as i can,
:o :D :D

great news... is it gonna run on aseco1, or only on 0.61?

cant wait for the release... :wink:

greetz
Manialink: mingcolor>

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

Jfreu
Pit Crew
Pit Crew
Posts: 304
Joined: 21 Nov 2006 11:57
Owned TM-games: tmu
Location: France
Contact:

Post by Jfreu » 12 Apr 2007 09:46

It uses Aseco 1.0.2b customized.
A little screenShot to see how big it will be :
Image

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

Post by ming » 12 Apr 2007 09:48

whohooo :D :D :D :D :D :D :D

awesome::: great job^^ :1010
Manialink: mingcolor>

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

darkpsy
highway camper
highway camper
Posts: 4
Joined: 30 Nov 2006 15:43

Post by darkpsy » 15 Apr 2007 21:09

The link is broken for me. Can someone please mirror the plugin so I can download it?

Thanks!

XRay007
happy cruiser
happy cruiser
Posts: 123
Joined: 20 Nov 2006 18:46
Owned TM-games: TMU, TMS(X), TMN
Contact:

Post by XRay007 » 16 Apr 2007 11:47

darkpsy wrote:The link is broken for me. Can someone please mirror the plugin so I can download it?

Thanks!
Here:

http://www.nitro-junkie.de/index.php?op ... tdown&id=2 :D
Image
Image

User avatar
Fleckman
speedy pilot
speedy pilot
Posts: 529
Joined: 17 Nov 2006 20:50
Owned TM-games: TMO,TMS,TMN,TMU
Location: Siegen, Germany
Contact:

Post by Fleckman » 28 Apr 2007 14:21

I noticed something today: when I restart a map, the ATL bases its time calculation on the map that would have come without the restart.
(Rather embarrasing that it thook me several months to find that out^^)
Does anybody else have that problem or is it just me (the world's foremost expert on php /IRONY OFF) )?
Image

Jfreu
Pit Crew
Pit Crew
Posts: 304
Joined: 21 Nov 2006 11:57
Owned TM-games: tmu
Location: France
Contact:

Post by Jfreu » 01 May 2007 10:04

The new plugin is not finished ... maybe 50~60% done
I told there will be a downloadable version today, so if you want to test it, here is the current version :

Download Aseco1.0.2_Jfreu

There is no admin panel yet !
The plugin does not work with aseco 1.0.2b (original)
To install, create database tables with the 'localdb/aseco.sql' file, configure "config.xml" and "localdatabase.xml"
Then launch your aseco exec file.

The manialink GUI needs a good server internet connection speed
This version has been tested with 35~45 players on a 100Mb server and worked fine :)

Admin commands :
/del # delete a track in the tracklist from its id(#)
/anna /go start anna (smart bot :wink: )
/anna /stop stop anna
/anna message speak for anna
/anna /me message anna /me message

Things left to do :

-Admin panel
-PlayerList
-Vote system
-All manialink close button
-WeekChallenge feature
-Duels
-Bets
Last edited by Jfreu on 01 May 2007 11:03, edited 2 times in total.

Post Reply