Raised This Month: $12 Target: $400
 3% 

TFC skills rank with speed run timer


Post New Thread Reply   
 
Thread Tools Display Modes
Lt Llama
Senior Member
Join Date: Aug 2004
Old 09-30-2006 , 04:13   Re: TFC skills rank with speed run timer
Reply With Quote #51

Quote:
Originally Posted by jRaven View Post
Question: Should you be able to break the map's speed record after finishing the map once already? Ex: map loads, you finish and do not break record, you finish again and should break record but it doesn't save score. (Is this intended?)
This was designed together with the function that you can only get points once during the current map period. After some concideration i kept that part in the speedrunning to. See a map change as the start of a competition, a bit like a sprinter race irl. Do you get a second chance? No! The regulars who do speedrunning now keep rerunning the map and using amx_stoptimer until they get it right.

But it is on my To-Do-list for the plugin, as many other things.
One really bad design thing is that all classes are handled equal.
It is generally much harder to conc a map than doing it as solly. This should be reflected in the points given. Not to mention demo piping it.

What has to be done, which im aware of is, in this order:
1. Class differantiation
2. Speedrunning saved if record is broken (maybe)
3. Decide weither players stats should just run on and on for ever or be reset periodically.

And tons of fun stuff I want to add .

/Lt.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.

Last edited by Lt Llama; 09-30-2006 at 04:31.
Lt Llama is offline
DAWG
Member
Join Date: Jul 2004
Old 05-09-2007 , 15:06   Re: TFC skills rank with speed run timer
Reply With Quote #52

If there is anyone still having the problem of player names not linking to their stats pages as described in my post on page 3 of this topic. It can be easily fixed by adding this line to each of the .php pages.

ADD THIS:
Code:
$steamid = $_GET["steamid"];
to the top so it looks like this:
Code:
<?
include("dbinfo.inc.php");
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$steamid = $_GET["steamid"];
$query="SELECT `steamId`, `nickNames`, `nFinnished`, `rankTotal`, `primaryRank` FROM `skillrank` ORDER BY ABS(nFinnished) DESC";
$result=mysql_query($query);
I added mine right after line #4 (ie:the "mysql_select" line) and all is now working great.

NOTE: Use this method if registering globals on in the .HTACCESS did not fix the problem, (or if you don't/can't want to mess with the .HTACCESS file).
__________________

People are like slinkies. Not realy good for anything,
but they still put a smile on your face when you push'm down the stairs!

Last edited by DAWG; 05-09-2007 at 17:52.
DAWG is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 05-10-2007 , 05:27   Re: TFC skills rank with speed run timer
Reply With Quote #53

Thx for this fix DAWG. I didnt have to think about htaccess, just worked for me. But this is much better also if you use a remote host, and dont have access to the web server and its contents.

Ill update the readme file attached to the zip with your info.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.

Last edited by Lt Llama; 05-10-2007 at 05:30.
Lt Llama is offline
steve139
Senior Member
Join Date: May 2007
Location: here
Old 11-05-2007 , 11:53   Re: TFC skills rank with speed run timer
Reply With Quote #54

why files for spawn red ball and green ball it isn't save with menu ?
steve139 is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 11-05-2007 , 13:36   Re: TFC skills rank with speed run timer
Reply With Quote #55

Not sure what you mean steve. Every map has its own file with the coords saved for red and green ball. If you want to make a new config for a map you use the menu.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.
Lt Llama is offline
steve139
Senior Member
Join Date: May 2007
Location: here
Old 11-05-2007 , 17:24   Re: TFC skills rank with speed run timer
Reply With Quote #56

i know
but the files isn t save
i make a new file
i set green ball
i set red ball
team allowed
and score
all this isn t save
there are just
this line :
/*** START OF SKILLSRANK MAPFILE OF MAP %s ***\
edit:
i can add a ball with spawn function
but the files isn t save!!!!
help me PLEASE

Last edited by steve139; 11-06-2007 at 15:20.
steve139 is offline
proskater
Junior Member
Join Date: Jun 2006
Old 11-26-2007 , 18:54   Re: TFC skills rank with speed run timer
Reply With Quote #57

Hi! I really need this plugin ((( I've created [ProKlimbers] Community. And I want to make a nice climb server. I've found your plugin. And it totaly doesn't work for me.

I am getting this error:


L 11/27/2007 - 02:52:25: [AMXX] Plugin "skillsrank1_4_4.amxx" failed to load: Module/Library Class "dbi" required for plugin. Check modules.ini

//Please PM me
proskater is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 11-27-2007 , 01:51   Re: TFC skills rank with speed run timer
Reply With Quote #58

Probably needs to be changed using the latest database interface.
I still use 1.76d and it works like a charm.
I try and find the time to update this.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.
Lt Llama is offline
foamy11
New Member
Join Date: Aug 2007
Old 03-06-2009 , 20:25   Re: TFC skills rank with speed run timer
Reply With Quote #59

can u put anyname for the database?

Exsample
<?
$host="127.0.0.1";
$username="<add username here>";
$password="<add password to database here>";
$database="<lalala>";
?>
foamy11 is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 03-07-2009 , 04:34   Re: TFC skills rank with speed run timer
Reply With Quote #60

Do you have a mysql server running?
Do you have a front end program to manage the mysql databases?

You need that in order to make this running locally.

If you dont know what I'm talking about you should have a look at
http://dev.mysql.com/doc/refman/5.1/en/index.html
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.
Lt Llama is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode