VSP ExcessivePlus Edition

77 replies [Last post]
FEST
Offline
Joined: Sep 2003
Posts:
VSP ExcessivePlus Edition

good job m8, np, I don't care Winking.

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
VSP ExcessivePlus Edition
FEST wrote:

good job m8, np, I don't care Winking.

Haha, now youll have to make another skin so that your vsp site looks unique Winking

Había una vez un barco chiquito...

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Version 1.1 released

Version 1.1

- Fixed some charset problems and set utf8 as the charset - no more fucked up names.
- Added first and last seen fields to player profile based on the start time of the games they played.
- Added country flags. Using http://software77.net/geo-ip/ as the ip to country table.
- Added ip2country table and fields configuration options so multiple vsp installations can share the same table and it also can be on another database.
- Added use_most_used_playerIP config option so if set to 1 the country displayed is from the most used ip, or the last ip if set to 0.
- Replaced baseq3 maps screenshots with new 1.04 screenshots.
- Added icons for thaws and shame hall rewards by dakini.
- Fixed possible negative skill problem.
- Optimized database inserts.

You will have to reparse the log files and apply all your configurations over a fresh install because lots of files are changed. Main post link updated to latest version.

Había una vez un barco chiquito...

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
VSP ExcessivePlus Edition

A little change: added a country search option. Only changed one file so here it is. Main post link updated.

Edit: thanks to camel for his suggestions regarding flags, player fields and country search.

Había una vez un barco chiquito...

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
VSP ExcessivePlus Edition
lagstard wrote:

A little change: added a country search option. Only changed one file so here it is. Main post link updated.

Edit: thanks to camel for his suggestions regarding flags, player fields and country search.

Thx Beast, new stats are awesome :thumbright:

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
VSP ExcessivePlus Edition

Also, if you are using bots, go to /path/to/vsp/pub/images/flags/, and copy (don't move it!) the xx.gif to zz.gif. Main post link updated to include the dummy flag.

Había una vez un barco chiquito...

(HK)Spider
spider's picture
Offline
Joined: Apr 2005
Posts:
VSP ExcessivePlus Edition

It might be easy for experienced coders and php users to apply this VSP into the servers.. but in my case i suck so is it posible to make a VSP install guide for Dummies?

The only acces i can get to hk servers is via SFTP. And i have 100 doubts when i edit the cfg-default.php.

Is it posible to explain with examples of what we need to insert in each line that has to be edited?

If someone can upload an already done default.php file it will be great Sad

Quote:
.: | h3ktor dice:
XD
phail ;_;

Visit: http://www.excessiveplus.net/spider/

*ZMB*KENSHIRO*
HK_Kenshiro's picture
Offline
Joined: Dec 2005
Posts:
FR France
VSP ExcessivePlus Edition

Damm, really good job -

Really nice, e+ need it, you do it.

N1.

You 're already dead!

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Version 1.1.1 released

Small update: Version 1.1.1:

- Added parser option: xp_version. Must be an integer containing the excessiveplus log version to be parsed, i.e. 103, 104. Default value is 103.
- Fixed special characters for both 1.03 and 1.04.
- Removed writing of temporary log file for non-1.03 version (bug is fixed on 1.04beta4).

Main post link updated to latest version. However, the amount of files changes is quite small, so i attach them for those that don't want to mess up with another major update.

By default, the xp_version parser option is 103, so, when parsing an 1.04 log file just add the parser option, like this:

[code:1]php vsp.php -l q3a-xp -p xp_version 104 games.log[/code:1]

When using savestate too, you have to put all the parser options at the end, like this:

[code:1]php vsp.php -l q3a-xp -p savestate 1 xp_version 104 games.log
or
php vsp.php -l q3a-xp -p xp_version 104 savestate 1 games.log[/code:1]

Edit: There is no need to reparse the log files, if someone has his name and/or random quote messed up already then he just have to play and/or chat and eventually the name/quote will be updated. Winking

Había una vez un barco chiquito...

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Crontab updater addon

Also, a little addon. The file i attach is a little script that uses an existing e+ crontab file and appends at the end a list of top players (the list and several other aspects of the script are configurable) and outputs to screen. Then, you can use ftp, scp, sftp or whichever protocol you need to use to upload the new crontab file to your quake 3 server, and then you will have a nice table output on your q3 server with the top players. To take a look at how the table looks like, you can go to DeexS Freeze Orgy, wait for 3 minutes and see the top player list in the q3 console. Alternatively, you can go to .AIM[+] FREEZE PUBLIC SERVER. and wait for like 15 minutes.

Ok, for dummies, this is what you need to do to make the script work:

1. Create a folder inside vsp. Name it whatever you want (ill call it as crontab from now on).
2. Customize the top_players.php i attach (at least change line 32 Tongue) and place it on the crontab folder.
3. Take a copy of your e+ crontab.txt file, rename it to crontab-src.txt and place it on the crontab folder.
4. Run this command:
[code:1]php /path/to/vsp/crontab/top_players.php crontab-src.txt >/path/to/wherever/you/want/crontab.txt[/code:1]
5. Then, you must find the way to update your e+ crontab server crontab. If the vsp is on the same computer as the quake 3 server, then it's easy, but if not then you have to use ftp, scp, sftp or whichever is the transfer protocol of your e+ server.

To automate the process, you just have to automate in a cron job/scheduled task steps 4 and 5.

Había una vez un barco chiquito...