The online racing simulator
Airio (php) Script for point/times Classification
(112 posts, started )
Here my configuration, for example:

$file = "http://81.19.209.205/mc0676/GameServers/TC15102556807480442567053/Airio/Airio.sta.cr.txt";
$file2 = "http://81.19.209.205/mc0676/GameServers/TC15102556807480442567053/Airio/Airio.sta.un.txt";


You've to ask to your hosting the direct web link to airio files.

This one:
http://81.19.209.205/mc0676/Ga ... 53/Airio/Airio.sta.cr.txt
Quote from michele0676 :
You've to ask to your hosting the direct web link to airio files.

Hi Michele
I have in my config direct link as in your example. I tried even put that links to place where are warnings (line 21 and 159) but situation is same
please, someone can update the script?
Update to what?
my mistake, i meant "upload"
Please give me more info. Your readme not explaining everything right.

This is login for FTP?

$localhost = '188.120.112.29';
$user = 'user';
$password = 'password';
$database = 'Airio.db3';

is this ok? or need D:....\Airio.sta.cr.txt\

$file = "Airio.sta.cr.txt";
$file2 = "Airio.sta.un.txt";

What to do with this. In what program or ...?

CREATE TABLE IF NOT EXISTS `airiotable` (
`username` varchar(36) NOT NULL,
`gamenick` varchar(24) default NULL,
`trackname` varchar(4) default '',
`carname` varchar(4) default '',
`totallaps` int(10) default NULL,
`dpoints` int(11) default '0',
`ppoints` int(11) default '0',
`pointsc` int(11) default '0',
`tpoints` int(11) default '0',
`pointsct` int(11) default '0',
`champspt` int(11) default '0',
`champsptt` int(11) default '0',
`time` varchar(24) NOT NULL,
`PBsplit1time` varchar(8) NOT NULL default '',
`PBsplit2time` varchar(8) default '',
`PBsplit3time` varchar(8) default '',
`PBsplit4time` varchar(8) default '',
`TBsector1time` varchar(8) NOT NULL default '',
`TBsector2time` varchar(8) default '',
`TBsector3time` varchar(8) default '',
`TBsector4time` varchar(8) default '',
KEY `username` (`username`),
KEY `trackname` (`trackname`),
KEY `carname` (`carname`),
KEY `totallaps` (`totallaps`),
KEY `pointsc` (`pointsc`),
KEY `tpoints` (`tpoints`),
KEY `pointsct` (`pointsct`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

And in Airio.srv files, is this ok

# Address of a (PHP) script to be run periodically - string
# Periodicity of the script in minutes - integer
# Output of the script is ignored. These items may be used to define
# instance (not server) action, such as a script updating statistics.
# Define multiple scripts using '+' as the address separator.
ScriptInstance=http://fangio.eu5.org/skripta/tab_script.php
ScriptPeriod=10

When i do it manualy a get Copy error
thank you!
Is there somebody who can help me?
Hello all,

I try this script but i have problem in this step :

4) To finish the work u need edit Airio.srv.txt (or Airio.srv.1.txt) in the Script section and insert the link of your script and choose how often Airio have to launch the script. I suggest u each 180 minutes.

i have put :
ScriptStart=http://~/tab_script.php

ScriptPeriod=180

5) Script Main Page
After that the script was runned from Airio (or from u, simple calling the file "script.php") u can see the result calling the file "index.html".


Here i dont know what's file i need to rename on script.php

Someone can help me please ?
Sam
all work thank you anyway
-
(Str8Up) DELETED by Str8Up

Airio (php) Script for point/times Classification
(112 posts, started )
FGED GREDG RDFGDR GSFDG