PDA

View Full Version : rFactor Server Stats CMPS addon


The_Rayman
08-10-2006, 10:00 PM
Description
rFactor Server status module for vBulletin 3.5.x and CMPS 2.x
This Hack adds a rFactor Server monitor to your CMPS frontpage

Thanks to Rene for giving me the permission to use the script he made!
rFactor Server Query PHP Class by Rene - rene@wiesental-racing.de www.wiesental-racing.de

rFactor php Script by DemonTPx

Details
- Server Query PHP Class
- Server vBa php module script
- Install notes
- Example picture track info

If the .zip file does not work, rename to .rar (had to rename due to attachements restrictions.


History
1.0.0 Initial Version

To Do
- Driver info
- Laptime's
(will have to wait for new release of rFactor... currently not supported by rFactor)

Read the install.txt for installation details.

Forgot to put the adv_portal_rfactor.txt in the zip file...
Has been added. Enjoy!

update
Works from vbA 3.01 and vB3.8.x

tanyeri24
08-12-2006, 11:22 PM
sorry but what is rfactor?

powerbook
08-13-2006, 06:12 AM
I play rFactor, haven't installed the mod yet but it looks like a great idea...

The_Rayman
08-13-2006, 07:19 AM
sorry but what is rfactor?
Obviously, rFactor is a racing game (see attachement). If you don't know what something is... there's a place called Google... :)

I play rFactor, haven't installed the mod yet but it looks like a great idea...

It also works for the original tracks and mods. All you need to do is find out the track names, put them into rfactor_vba.php and link a picture to it.

merlier
09-03-2006, 12:14 PM
thnaks for this.

Have have some idea how i can get who is online ?

thanks

The_Rayman
10-10-2006, 12:49 PM
Who's online is not yet supported by rfactor.... as soon as it's available i will update the scripts

(sorry for the late reply)

Racenut
10-10-2006, 10:18 PM
from the install.txt

1) Go to Styles & Templates --> Style Manager --> Edit Templates (choose your style) and add a custom
template adv_portal_rfactor
2) Copy the code from the file adv_portal_rfactor.txt into this newly created template

The zip doesnt seem to include the adv_portal_rfactor.txt file. Am I missing something?

thanks

The_Rayman
10-27-2006, 02:19 PM
Updated the zip, i forgot the file adv_portal_rfactor.txt in the zip.
Please re-download and you'll find it ;)

Sorry for that!

Slyfox1
04-19-2007, 01:05 AM
Awesome dude!!

Cheers

EDIT:

Has anyone had any success getting this to work?

Server Offline is all I get.

merlier
04-19-2007, 12:05 PM
i modify this script

i use here :

http://forum.ffsca.org/forumdisplay.php?f=3

Slyfox1
04-19-2007, 01:11 PM
i modify this script

i use here :

http://forum.ffsca.org/forumdisplay.php?f=3

Any chance you could post the changes in the script to make it work ?

merlier
04-19-2007, 01:41 PM
Add to FORUMDISPLAY

[CODE]
<!-- Info Serveur-->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<td class="tcat" width="100%">
<center>
<u>Les serveurs FFSCA </u>
</center>
</td>
<tr>
<tbody>
<td class="alt1">
<center>
<script language="JavaScript" type="text/javascript" src="http://forum.ffsca.org/rfactor/rfactor.php?js=on" charset="ISO-8859-1"></script>
</center>
</td>
</tbody>
</tr>
</table>
<br />
<!-- Info serveur -->
[CODE]

Where http://forum.ffsca.org/rfactor/rfactor.php is your url for file

rfactor.php for see
cron.php for make query

Slyfox1
04-19-2007, 01:49 PM
Thanks for that. Did you rename the rfactor_vba.php file to rfactor.php ?

merlier
04-19-2007, 01:54 PM
see rf.zip

merlier
04-19-2007, 01:56 PM
i search for moudul for : GPl, NR2003, GTR2 , GTL and LFS

Slyfox1
04-19-2007, 02:00 PM
Thanks, but how does that know where my server is ?

Slyfox1
04-23-2007, 12:13 AM
If anyone has any problems getting this to work I would suggest doing as I did and venture over to the Author of the query script.

I did just this and managed to get it working. Be warned, the IP and port of the server are NOT always what they seem. I was able to connect to my server using X address and port when the correct ip and port were completely different.

Sly

The_Rayman
08-20-2007, 09:23 AM
If anyone has any problems getting this to work I would suggest doing as I did and venture over to the Author of the query script.

I did just this and managed to get it working. Be warned, the IP and port of the server are NOT always what they seem. I was able to connect to my server using X address and port when the correct ip and port were completely different.

Sly

Sly,

What do you mean with " the IP and port of the server are NOT always what they seem."? Is your server hosting on a different ip as the server yopu connect too :confused:?

PapaSmurf
09-30-2007, 06:49 AM
He means that most of the time, servers will work off several ports, one for a query port, one for the game port and sometimes some others. So if a script needs the query port, then putting in the main game port wont work. I think.

Diggazz
07-27-2008, 11:02 AM
Confirming this works with 3.7.2 & vBadvanced CMPS v3.0.1

I have a question though I cant seem to make a second and 3rd block successfully

no matter what I try I always end up with a white blank home page

Note I am running multiple rfactor servers with the same ip but with diff query ports

any assistance would be awesome

The_Rayman
07-27-2008, 12:39 PM
Confirming this works with 3.7.2 & vBadvanced CMPS v3.0.1


I know... it's on my website too... ;) Will update initial post. Thanks for letting us know anyway!


I have a question though I cant seem to make a second and 3rd block successfully

no matter what I try I always end up with a white blank home page

Note I am running multiple rfactor servers with the same ip but with diff query ports

any assistance would be awesome

Known problem if you use the same template. Make a different template for each server.
This should do the trick.