With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Old WQ3 forum - archived. Links may not work.

Postby hika » Thu Jun 15, 2006 11:28 pm

L3th4l wrote:Took alot of bullshit but RAWHIDE is now automagicly generating player stats and updates every 4 hours. 8)

Yeah, that's cool :)
It is just encouraging to spread such a tool in order to incitate more people to play Western Quake 3

L3th4l wrote:hika, how did you get it not to list bots? Did you use "ping>0".

You can check this VSP topic
http://www.5th-gradient.com/vsp/ipb/index.php?showtopic=222

To be simple, you have to edit <vsp_rootdir>/pub/include/playerBanList-default.inc.php.
Here, I have the following content
Code: Select all
$player_ban_list=array(
    "Clint"
    ,"Sentenza"
    ,"Unknown"
    ,"TheMexican"
    ,"Tuco"
    ,"ManWithNoName"
    ,"Jane"
    ,"Oakley"
  );

//  $player_ban_list=array(); // remove or comment off this line to enable ban list


After this modification, you should regenerate the log data, by first
- removing your savestate file located in <vsp_rootdir>/logdata subfolder
- executing a "php vsp.php -a clear_db" to empty all data before reprocessing the log file.

BTW, I have another problem with the game time.
I will check this and give you some reports then.
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby L3th4l » Thu Jun 15, 2006 11:49 pm

hika wrote:BTW, I have another problem with the game time.
I will check this and give you some reports then.


Yeah it does the same for me, says "1971". I'm just going to rewrite that part of the code myself along with adding some specific WQ3 stuff..

I have it linked on the main page already, under community section of the left nav.

I'll get the bots out of there later :lol:
User avatar
L3th4l
Smokin' Amigo!
 
Posts: 1948
Joined: Sat Jun 18, 2005 8:06 am
Location: Binghamton, NY. USA



Postby ReD NeCKersoN » Fri Jun 16, 2006 12:26 am

Looks pretty sweet so far there Leeth! 8)
User avatar
ReD NeCKersoN
SG Team
 
Posts: 3245
Joined: Wed Mar 27, 2002 6:22 am
Location: VA, USA



Postby hika » Fri Jun 16, 2006 12:39 am

Hey, RAWHIDE VSP skin looks pretty cool.
I can't do the same since I have no such skills :)
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby hika » Fri Jun 16, 2006 1:33 pm

I have found how to fix the game time.
Details can be found at the following topic.
http://www.5th-gradient.com/vsp/ipb/index.php?showtopic=34

To be simple, q3ded should be (re)launch with this additional parameter :
+sets gamestartup \"`date +"%D %T"`\"
The date time is in the following format : MM/DD/YY hh:mm:ss

This way, all the futur writes in the log file would add the gamestartup variable in every "Init game" line. This is needed for the VSP parser.
However, all previous lines in the log will not be corrected since the gamestartup value did not exist.
Unless, ALL the previous "Init game" lines are reedit by hand, or by script :(.
In this case, another problem is that we certainly do not remember the date time to set.
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby Pardner » Fri Jun 16, 2006 3:54 pm

thank-you hika! this is an awsome addition to the online playing community.
@ L3th4l. the rawhide stat page looks great.

can wait to get back playing online!

Image
Image
User avatar
Pardner
SG Team
 
Posts: 1786
Joined: Fri Nov 18, 2005 5:48 am
Location: MD, USA



Postby torhu » Fri Jun 16, 2006 4:11 pm

Very cool stats, leeth!

I think 'Lightning Gun' in the stats should probably be replaced by 'Colt Lightning'. It's weapon number 6, anyway.
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway



Postby L3th4l » Fri Jun 16, 2006 5:01 pm

torhu wrote:Very cool stats, leeth!

I think 'Lightning Gun' in the stats should probably be replaced by 'Colt Lightning'. It's weapon number 6, anyway.


Ha, thanks. I couldn't figure out what gun that was... :? :lol:
User avatar
L3th4l
Smokin' Amigo!
 
Posts: 1948
Joined: Sat Jun 18, 2005 8:06 am
Location: Binghamton, NY. USA



Postby L3th4l » Fri Jun 16, 2006 6:35 pm

Thanks everyone, hope you all enjoy it..

I have found another problem with it. After making it so bots don't show in the list, any player listed that has not played against human players has errors in their listing.

*FIX*
Comment out the first line and un-comment the second under Error Reporting in cfg-default.php. That disables the debugging mode and all error warnings are gone.

Code: Select all
// Error Reporting
   
    //error_reporting(E_ALL ^ E_NOTICE);
    error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
    //error_reporting(E_ALL);
                       
User avatar
L3th4l
Smokin' Amigo!
 
Posts: 1948
Joined: Sat Jun 18, 2005 8:06 am
Location: Binghamton, NY. USA



Postby hika » Fri Jun 16, 2006 10:33 pm

torhu wrote:I think 'Lightning Gun' in the stats should probably be replaced by 'Colt Lightning'. It's weapon number 6, anyway.

Hey, I have found a way to change the weapons name :

1) Make a copy of <vsp_rootdir>/pub/games/q3a/weaponsets/default folder to <vsp_rootdir>/pub/games/q3a/weaponsets/westernq3

2) In <vsp_rootdir>/pub/games/q3a/weaponsets/westernq3, remove default-weapons.php and
create a file named westernq3-weapons.php with the following content
Code: Select all
<?
global $weaponset;

$weaponset['REM58']['name']                    = 'Remington 1858';
$weaponset['SCHOFIELD']['name']                = 'Smith & Wesson Schofield';
$weaponset['PEACEMAKER']['name']               = 'Colt Peacemaker';

$weaponset['WINCHESTER66']['name']             = 'Winchester 1866';
$weaponset['LIGHTNING']['name']                = 'Colt Lightning';
$weaponset['SHARPS']['name']                   = 'Sharps Rifle';

$weaponset['REMINGTON_GAUGE']['name']          = 'Remington 12 Gauge';
$weaponset['SAWEDOFF']['name']                 = 'Sawed-off Shotgun';
$weaponset['GATLING']['name']                  = 'Winchester 1897';

$weaponset['KNIFE']['name']                    = 'Bowie Knife';
$weaponset['DYNAMITE']['name']                 = 'Gatling Gun';
$weaponset['WATER']['name']                    = 'Dynamite';
$weaponset['SLIME']['name']                    = 'Molotov Cocktail';

?>


3) Then, in <vsp_rootdir>/pub/configs/cfg-default.php, locate the following line :
Code: Select all
$cfg['weaponset']='default';

and replace it by
Code: Select all
$cfg['weaponset']='westernq3';


Of course, instead of westernq3, anything else could be set, but be sure to respect file and folder naming.

4) After that, you should reprocess the log file, as the "Best Killer with ..." link name does not refresh instantly.

BTW, I found some sync problem between the weapon name and the MOD_<something> name in the logfile ...
Just see the westernq3-weapons.php file content.
I think it deserves a new topic in Bug reports :)
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby ReD NeCKersoN » Thu Jun 22, 2006 3:16 am

Lethal has bots filtered for the Rawhide server. Kills against bots do not count. However, each time a bot kills you it DOES count. :x Not only that, but games played versus bots also counts ...which dilutes your overall stats. Now I'm not a "stat-whore" by any means, but this may discourage stat oriented players from hanging out on the server waiting for others to join. Lethal is aware of these limitations but we're not sure if anything can be done about it. Anyone know if there is a fix for this? (Other than having no bots on the server.)
User avatar
ReD NeCKersoN
SG Team
 
Posts: 3245
Joined: Wed Mar 27, 2002 6:22 am
Location: VA, USA



Postby torhu » Thu Jun 22, 2006 9:11 pm

Seems that the Wasteland stats don't count kills by bots. I've only played against bots on that server, and the only death listed for me is 'Trigger hurt'.
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway



Postby hika » Thu Jun 22, 2006 9:23 pm

ReD NeCKersoN wrote:However, each time a bot kills you it DOES count. :x

I have rechecked the values in the stats page, for both RAWHIDE and Wasteland :
I can confirm that "bot kills you" does not count.

Actually, suicides are count as a death by World damage or Trigger Hunt "weapons" as mentioned by torhu.
That's why there is a difference between the death total and the "death by the other players" sum.
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby torhu » Sun Jul 09, 2006 8:49 pm

I found an explaination of what 'skill' in the stats mean:

http://www.5th-gradient.com/vsp/ipb/ind ... wtopic=144

It depends on the skill of the players you kill, and which weapon you use to kill them with.

Would it be possible to post the skill points for each weapon here, guys? For wq3, I think the weapons should be set to equal skill. Possibly with slightly higher points for knife, and maybe dynamite/molotov. Only problem is that killing by throwing a knife is a lot harder then by slashing. But just making all weapons equal might be the best solution. I don't want to think about improving my stats when playing wq3, I just want to have fun - and win, of course.
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway



Postby hika » Mon Jul 10, 2006 10:49 pm

torhu wrote:Would it be possible to post the skill points for each weapon here, guys?

Hmm, I have not found a way to do this, sorry ... It is also difficult to modified anything in VSP, since the code seems to be closed :( (Open vsp.php and you will know what I mean).
torhu wrote:For wq3, I think the weapons should be set to equal skill.

Here is my <vsp_rootdir>/pub/games/q3a/skillsets/westernq3/westernq3-skill.php, about weapon factor :
Code: Select all
$skillset['weapon_factor']['REM98']=1.0;
$skillset['weapon_factor']['SCHOFIELD']=1.0;
$skillset['weapon_factor']['PEACEMAKER']=1.0;

$skillset['weapon_factor']['WINCHESTER66']=1.0;
$skillset['weapon_factor']['LIGHTNING']=1.0;
$skillset['weapon_factor']['SHARPS']=1.0;

$skillset['weapon_factor']['REMINGTON_GAUGE']=1.0;
$skillset['weapon_factor']['SAWEDOFF']=1.0;
$skillset['weapon_factor']['GATLING']=1.0;

$skillset['weapon_factor']['KNIFE']=1.0;
$skillset['weapon_factor']['DYNAMITE']=1.0;
$skillset['weapon_factor']['WATER']=1.0;
$skillset['weapon_factor']['SLIME']=1.0;

And don't forget to adjust <vsp_rootdir>/pub/configs/cfg-default.php by replacing
Code: Select all
$cfg['skillset']='default';
by
Code: Select all
$cfg['skillset']='westernq3';


In the default skillsets config, I guess Colt Lightning (LIGHTNING) has more privilege since it has 1.5 factor and the others do not exist.
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



PreviousNext

Return to Game Server Info

Show Sidebar
Show Sidebar

User Control Panel

cron