PDA

View Full Version : Server stats & Remote admin update



XyZspineZyX
06-26-2003, 07:01 AM
Here's a new UDP beacon by myself and -TAT-Glyphical earlier version was released last week but since then it has been further upgraded getting rid of bugs and adding new features.

New features:
1. Does not mess up when too many people are on the server (it is now sent in 3 packets instead of 2).
2. To get the extra data you now send "REPORTEX" instead of "REPORT" to save bandwidth.
4. More remote admin commands added.

Admin commands:
1. Kick/ban by ubi id or player name
2. Remote restart
3. Remote message (message players from outside the server)
4. Remote map change (works like map 1... or map some number in the game).

Some screen shots:
Site status:
http://www.clantat.com/linking/modding/remote_stats1.gif

A remote message:
http://www.clantat.com/linking/modding/remote_stats2.jpg

You can download the new version here:
ClanTAT (http://www.clantat.com/thecabinet/files/rvs_tatipdrv.zip)
or
DLR (http://www.bestwerx.com/downloads/rvs_tatipdrv.zip)

You can see the beacon in action here:
[/url]
Thanks to =DLR=AFLAC for the mirror, live stats and the letting us use his server. [url="http://www.bestwerx.com"]Visit DLR (http://www.bestwerx.com/ServerStats.asp?ip=172.30.30.83&port=8777)

NB: Your asp/php will have to be updated.


Neo4E656F
aka -TAT-Neo
neo@clantat.com
visit ClanTAT (http://www.clantat.com)

The thread for the old version can be found here: (http://forums.ubi.com/messages/message_view-topic.asp?name=rb3rvsservers&id=zzuel)

http://www.clantat.com/linking/neo_sig.gif (http://www.clantat.com/)

Message Edited on 06/26/0304:06PM by TAT_Neo

XyZspineZyX
06-26-2003, 07:01 AM
Here's a new UDP beacon by myself and -TAT-Glyphical earlier version was released last week but since then it has been further upgraded getting rid of bugs and adding new features.

New features:
1. Does not mess up when too many people are on the server (it is now sent in 3 packets instead of 2).
2. To get the extra data you now send "REPORTEX" instead of "REPORT" to save bandwidth.
4. More remote admin commands added.

Admin commands:
1. Kick/ban by ubi id or player name
2. Remote restart
3. Remote message (message players from outside the server)
4. Remote map change (works like map 1... or map some number in the game).

Some screen shots:
Site status:
http://www.clantat.com/linking/modding/remote_stats1.gif

A remote message:
http://www.clantat.com/linking/modding/remote_stats2.jpg

You can download the new version here:
ClanTAT (http://www.clantat.com/thecabinet/files/rvs_tatipdrv.zip)
or
DLR (http://www.bestwerx.com/downloads/rvs_tatipdrv.zip)

You can see the beacon in action here:
[/url]
Thanks to =DLR=AFLAC for the mirror, live stats and the letting us use his server. [url="http://www.bestwerx.com"]Visit DLR (http://www.bestwerx.com/ServerStats.asp?ip=172.30.30.83&port=8777)

NB: Your asp/php will have to be updated.


Neo4E656F
aka -TAT-Neo
neo@clantat.com
visit ClanTAT (http://www.clantat.com)

The thread for the old version can be found here: (http://forums.ubi.com/messages/message_view-topic.asp?name=rb3rvsservers&id=zzuel)

http://www.clantat.com/linking/neo_sig.gif (http://www.clantat.com/)

Message Edited on 06/26/0304:06PM by TAT_Neo

XyZspineZyX
06-26-2003, 07:17 AM
Sorry my bad...

There is a slight bug in the php source which will make the green teams color blue.

To fix add this to the top of the ListPlayers function in the index.php file:

global $TeamGame;

cheers

Glyphical

<div align="center">http://www.clantat.com/~glyphical/glyph-sig.jpg </div>

XyZspineZyX
06-26-2003, 03:15 PM
Looks nice!

http://www.gameservers.net
Biggest hosting company in Europe!

XyZspineZyX
06-27-2003, 07:46 PM
Mr TAT people, can you do summit similar that works on a remote server.

I.E, Uber1337 runs our server, and I suppose installing anything on this will upset him / her.

Any Chance...you marvelous techies you http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

I`am not dead till I stop KICKIN!

XyZspineZyX
06-28-2003, 02:06 AM
Have you tested this on multiple servers?

Our clients would like to use this program but with multiple servers , when you use remote admin and enter the password it comes back Incorrect Password. I have tried on all our servers and it does the same.

Can you verify this is not a problem on our end?


Brad


Smart-Hosting
Your SMART choice for RVS Hosting!

XyZspineZyX
06-28-2003, 02:26 AM
Nevermind, we must have d/led a corrupt zip. the new zip works.

Brad

XyZspineZyX
06-28-2003, 10:23 AM
One person was getting incorrect password because for some reason the name "password", that has been set for the password variable is reserved or something and wont work on certain clients.... not sure exactly the reason but if you replace all instances of "password" in the rvsadmin.php or .asp to password1 it fixes the problem. Also for multiple servers you would just need to specify different .ini files, using standard server commands. with each ini containing a different settings for the beacon.

Good to see you got it working, I just thought I would post this as it might help someone else experiencing difficulties.

lego_008:
I am unsure of your question, it does not make sense to me, please be more specific.

Neo

http://www.clantat.com/linking/neo_sig.gif (http://www.clantat.com/)

Message Edited on 06/28/0307:33PM by TAT_Neo

XyZspineZyX
06-28-2003, 12:27 PM
Sorry Neo...I was a little drunk last night...right here goes.

We have a server rented from uber1337, how do I use your beacon thingy on it so all our clan members can access it.
Our game server is not local to our web server.

Is this possible? and if not can you marvolous chaps do a mod that works this way?

I`am not dead till I stop KICKIN!

XyZspineZyX
06-28-2003, 12:51 PM
Hi Neo, how about a php nuke version ?

XyZspineZyX
06-29-2003, 09:03 AM
lego:
Yes it will work remotely, just read the readme and you should be fine.

subzero:
the php version should work on your phpnuke site.

Regards,
Neo

lego_008 wrote:
- Sorry Neo...I was a little drunk last night...right
- here goes.
-
- We have a server rented from uber1337, how do I use
- your beacon thingy on it so all our clan members can
- access it.
- Our game server is not local to our web server.
-
- Is this possible? and if not can you marvolous chaps
- do a mod that works this way?
-
- I`am not dead till I stop KICKIN!



http://www.clantat.com/linking/neo_sig.gif (http://www.clantat.com/)

XyZspineZyX
07-01-2003, 09:06 PM
Neo,

Seeing how you seem to have alot of experience with the unreal engine.
Would it be possible to have your Beacon log to a file?
Reason I ask is I was going to make a script to poll the server every few seconds to gather stats to make a stats thing for my server.
But after some thought I ran into several problems.
Like if it would hit the server when the map changes it wouldn't get the correct stats.

However if you logged everything to a log file we could make a script to parse the log and gather stats for servers.
What do you think?

I used your beacon and made a php script to run every 5 minutes via cron job, to have announcements on my server..
People get freaked when they see it lol.

So basically it would have to write a continous log of using your extended beacon...

Maybe have it log time,user,kills,%rate\n
time,user2,kills,%rate\n
etc etc

Now to calculate the stats we could calculate something like

(kills*100)/(deaths+1) + %rate = points
or something like that.
Then PHP file or perl :P would parse the log file and make a nice little stats page.
Perl or PHP would have to be smart enough to know what info it has already parsed which is probably not hard to do because of the TIME stamp :P

What you think?


r00t 3:16

XyZspineZyX
07-07-2003, 07:11 PM
Hey Neo,

I just installed your utility on our server and it works perfectly. Thank you.

It can be access here: http://tid.wickedservers.com ( <A HREF=)/rsvstats/" target=_blank>http://tid.wickedservers.com/rsvstats/</a>

Visit ::TID:: at http://tid.wickedservers.com

NovOne

November One

XyZspineZyX
07-09-2003, 06:59 AM
Is neo mia or what?

:P

wanted to know what he thought of my idea?

Also wondering how he compiled it.
Because I can't get nothing to compile errors out the bum...

r00t 3:16

XyZspineZyX
07-09-2003, 02:45 PM
Neo I read the readme and I still can`t figure it out...HELP...plz give me an itdoits giude http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif



I`am not dead till I stop KICKIN!

XyZspineZyX
07-14-2003, 02:44 AM
I just want an IRC SCOREBOT !!, Anyone seen any around or know of anyone working on it or so ?=

Enlighten me (O:

XyZspineZyX
07-14-2003, 07:07 AM
what do you mean and irc scorebot?

You want to be able to type /scorcebot bleh and haveit show the results?

I could probably script something for ya.

r00t 3:16

XyZspineZyX
07-14-2003, 10:23 AM
we already got that type of scorebot, what we want is
that (for example) during a match it should tell us
whats going on in the game in real time...

like in UT2k3 it goes something like this:

Blue team won the round
Score 2-1 for blue team
Player x has the flag
Player y fragged player X
player x dropped the flag
player y returned the blue flag

blablabla and so on....

THATS what we want :P

XyZspineZyX
07-14-2003, 01:24 PM
Look at our server page info./i/smilies/16x16_smiley-wink.gif
http://www.mobilt.net/server.php ......

XyZspineZyX
07-14-2003, 11:37 PM
r00t316 wrote:
- what do you mean and irc scorebot?
-
- You want to be able to type /scorcebot bleh and
- haveit show the results?
-
- I could probably script something for ya.
-
- r00t 3:16
-
-


Yup m8, like for CS.

Like the way HLSW works / www.hlsw.de (http://www.hlsw.de)

Shows a match on irc with rounds, who killed who, with what gund and round scores, so ppl can watch a match on IRC. For CS many still use it though ppl rather see it on HLTV.

If you could make something similiar to that (HLSW ( IRC scorebot ) you can catch me on rite@meetyourmakers.dk or throw a msg here (= Look forward hearing from you ^^.

XyZspineZyX
07-14-2003, 11:41 PM
NSF_Punisher wrote:
- Look at our server page info./i/smilies/16x16_smiley-wink.gif
- http://www.mobilt.net/server.php
- ......
-
-
-


Its a nice statspage m8, but what we want is a bot for IRC that we can turn on and off for matches that shows, who killed who, round scores, map info and restart etc bla bla bla..

If you got that then type it please, and not just tossing the link (O;

XyZspineZyX
07-15-2003, 01:09 AM
Well I thought you wanted something that you could just msg the bot with.
Unfortunately this can't be completed because the stats that neo created only gets the info from the server per request.

For example someone requests rvs-server.php from a web site.
That scripts makes a connection to the server and then gathers the stats. Then closes the connection.

For what you want to do. It actually reads the log file. I believe.

So the information is always available. If you made something to just poll the server every 20 seconds every 5 seconds whatever. It could post the wrong info or post double info. Worst of all if it tried to connected while the map changes the info at the end of the last map is gone.

That is why I wanted neo to have his beacon create a log file and dump everything to it.
Then people could make scripts from that for server only stats which would keep the stats going.
Not like they are now per a request stats.

Hope that all makes sense....

I was trying to add code to neo's code but I am stuck at trying to compile the dang thing. Which noone is willing to help so looks like we are waiting for the SDK.


r00t 3:16

XyZspineZyX
07-15-2003, 02:38 AM
mym_mercy wrote:
-
- Its a nice statspage m8, but what we want is a bot
- for IRC that we can turn on and off for matches that
- shows, who killed who, round scores, map info and
- restart etc bla bla bla..
-
- If you got that then type it please, and not just
- tossing the link (O;
-
-

Ty.....maybe if u let a msgs in our forum one of our programmers could help u./i/smilies/16x16_smiley-wink.gif

http://www.mobilt.net/index.php

BTW ur clan have a hp?
if yes...could u give us the link...ty.....cu

XyZspineZyX
07-15-2003, 09:38 AM
Hehe thanks for offering me the help, but im a complete moron to script etc. so i cant make it :/ - so i put my hopes that they/you will (=

Our Site is : www.meetyourmakers.com (http://www.meetyourmakers.com)

XyZspineZyX
07-16-2003, 12:41 AM
Lovely program, I added the .asp stuff to my win2k box. I can view stats, but how do you execute the remote admin stuff (kicking, etc)???

XyZspineZyX
07-16-2003, 03:20 AM
Ok, ok, I read the files and (finally) figured it out, but now I'm getting some PHP errors: (win2k sp3)

Notice: Undefined variable: status in D:\Inetpub\ravens\php\index.php on line 329

Notice: Use of undefined constant unread_bytes - assumed 'unread_bytes' in D:\Inetpub\ravens\php\index.php on line 332

Notice: Undefined variable: status in D:\Inetpub\ravens\php\index.php on line 329

Notice: Use of undefined constant unread_bytes - assumed 'unread_bytes' in D:\Inetpub\ravens\php\index.php on line 332

Notice: Undefined variable: status in D:\Inetpub\ravens\php\index.php on line 329

Notice: Use of undefined constant unread_bytes - assumed 'unread_bytes' in D:\Inetpub\ravens\php\index.php on line 332

Notice: Undefined offset: 1 in D:\Inetpub\ravens\php\index.php on line 57

Notice: Undefined offset: 1 in D:\Inetpub\ravens\php\index.php on line 57

Please help?

XyZspineZyX
07-16-2003, 05:19 AM
i've been looking for a place to download this and haven't found one the TAT site doesn't have a downlaods page either that or there webmater needs to fix the link can anyone point me to a link.




http://xavier.servebeer.com/xsig.jpg (http://akaelite.net)

XyZspineZyX
07-17-2003, 07:18 PM
I got some problems with this

I get a timeout..........and suddenly I also get a mysql database error via email /i/smilies/16x16_smiley-sad.gif
------------------------
Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE session SET lastactivity=1058465057,location='/modules.php?s=a57ffb4cf7a334a44fa5b125dca11248&name=rvs-stats' WHERE sessionhash='a57ffb4cf7a334a44fa5b125dca11248'
mysql error: Lost connection to MySQL server during query

mysql error number: 2013

Date: Thursday 17th of July 2003 08:07:18 PM
Script: http://www.sushi-inc.dk/forums/modules.php?s=a57ffb4cf7a334a44fa5b125dca11248&name=rvs-stats
Referer:
--------------------------

Can anybody help me?

Thanks in advance

XyZspineZyX
07-18-2003, 10:57 AM
Any one got an idea??

XyZspineZyX
08-17-2003, 11:51 AM
I don't get it...i don't know what I'm doing wrong but I can't get the extended stats to show neither in PHP or in ASP from my own RS server no matter what game mode or map. I Only get the default stats.

I did a quick test those IP's @ http://www.bestwerx.com, (http://www.bestwerx.com) and I got all the extended stats...but I can't get them from my own server?? ...so there must be somming wrong with the RS server?

I'm running the UK version (1.4) and I have RS installed on D: +defaultpath. Copied the TATIPDrv.u and TATIPDrv.int into the RS system folder and made the change.

"Comment out or remove ServerActors=IpDrv.UdpBeacon
and add ServerActors=TATIpDrv.UdpBeaconEx."

But still no go...only getting the default stats (in PHP or ASP)

any ideas?...or am I missing somming?

thanks in advance

Re-Loaded

[Random Bullets]



Message Edited on 08/17/0310:53AM by Re-Loaded

XyZspineZyX
08-17-2003, 12:00 PM
Dont insert the line "ServerActor=TATIPdrv.UBpbeaconex" into Ravenshield.ini.

Since 1.40 it belong in "mods\ravenshield.mod" to load up the actor properly.

I like the way ubi informs people about those changes. Well done.

BTW: We found it ourselves not with the help of UBI.

@UBI: When do we get a fix for our memoryleaks??

XyZspineZyX
08-17-2003, 12:11 PM
Thanks you...works nicely now http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

XyZspineZyX
08-25-2003, 10:17 PM
Is there a way I can add new functions?
I saw function blalbalbla(blalba, balblabla) in the unreal script, but I don't really understand what is says there...

Is it possible to add those 2 commands:


lockserver true Password
lockserver false



Thanks in advance /i/smilies/16x16_smiley-wink.gif

*ECTA*PhatGun
-=Strat├┬Ęge=-
Ë░quipe de Combat Tactique et d'assaut
http://www.ecta.clan.st

Administrateur de MPCentral.net
support@mpcentral.net
http://www.MPcentral.net

XyZspineZyX
08-25-2003, 11:18 PM
yes you could add those commands.
Or ask neo nicely and maybe he will do it :P

r00t 3:16
www.cqc-gaming.com (http://www.cqc-gaming.com)

XyZspineZyX
08-27-2003, 06:36 AM
We got the stats page working just fine but the remote admin stuff is not connecting. Our server is 204.200.27.213:7777 ( www.TacticalGamerZ.com (http://www.TacticalGamerZ.com) ) We have tried ports 1777-9777, Is there a different beaconport for the remote admin stuff? If not, any ideas? BTW this it the stats page: http://www.tacticalgamerz.com/rvsstats/

XyZspineZyX
08-27-2003, 02:00 PM
hmm..just to test this thingy out I put one up pointing to one of the servers I host.

worked perfectly..with one exception...

to get the remote stuff to work I had to put the

[TATIpDrv.UDPBeaconEx]
AdminPassword=password

in ravenshield.inni in the system directory..I put it in the mod first but it wouldnt get it..

oh and port is 8777 btw..






Message Edited on 08/27/0301:22PM by PerK

XyZspineZyX
09-06-2003, 12:25 AM
I have placed it in the ravenshield.ini and the mod and the Remote Admin Feature (and Kit) still doesn't work. Any ideas? Anyone else having this issue?

BTW, the stats display just no RA and Kit.


Message Edited on 09/05/0307:34PM by BigQEd

XyZspineZyX
09-06-2003, 08:36 AM
i added the UDPBeaconex in the GameEngine

[Engine.GameEngine]
CacheSizeMegs=32
UseSound=True
Serveractors=TATIpdrv.UDPBeaconex

to the \RavenShield\Mods .mod and seem like i'm getting closer cause the error is now different. says PW isnt listed so i will goof around in the .mod file some more.

ActionJackson
http://www.TacticalGamerZ.com