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

[TF2 Stats] With Web Ranking and Item Logger [v9.1.0]


Post New Thread Reply   
 
Thread Tools Display Modes
crazyboylou
Junior Member
Join Date: Oct 2011
Old 12-20-2011 , 20:06   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2061

DarthNinja,
I figured out what was wrong... I entered in the database name wrong. I feel really stupid for it. Thanks for all of your hard work on fixing this mod up! It is really great! I love this stat system because it is more fair then any other! Keep other the great work! and I just have one more question...

In the pdf you state to "Just make an export of that file in .txt format. Open
the txt file and remove the lines in the beginning and in the ending of the file so that only the
lines with the player data remain (the lines that start with ‘INSERT INTO..etc’)."
I exported the player file not the data file. Where is the Insert Into in this text?

Last edited by DarthNinja; 12-20-2011 at 20:08. Reason: mudkip sized sql paste
crazyboylou is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-20-2011 , 20:10   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2062

I assume you're trying to export your sqlite database and import it into your sql database?
From that paste (use pastebin next time please) it looks like you exported the database structure, not the actual records.
__________________
DarthNinja is offline
crazyboylou
Junior Member
Join Date: Oct 2011
Old 12-20-2011 , 20:13   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2063

Where would i find the actual records? I did extract the tf2stats.sq3 file.
crazyboylou is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-20-2011 , 20:17   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2064

http://sqlitebrowser.sourceforge.net/
Documentation is available.
__________________
DarthNinja is offline
crazyboylou
Junior Member
Join Date: Oct 2011
Old 12-20-2011 , 22:21   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2065

#1136 - Column count doesn't match value count at row 1

^^^^ This is what is showing up now whenever I enter the data. Any suggestions?

Quote:
INSERT INTO Player VALUES('STEAM_0:1:20991231','Dr. Monocle- TheMonocleShow.com',4564,1681,1324268122,684, 454,67,7,8,4,65,69,46,4,0,4,25,0,68,159,0,0,0 ,30,32,13,0,0,0,0,0,0,0,1,11,0,0,0,0,5,32,1,0 ,42,0,0,16,0,0,0,1,0,0,1,0,18,17,0,0,0,20,0,1 ,0,0,0,41,0,0,0,0,6,1,0,0,11,0,0,0,2,0,0,0,0, 0,0,2,7,3,2,11,0,0,0,0,0,7,0,16,11,1,0,3,0,0, 0,0,4,0,11,0,20,0,0,16,33,0,0,157,68,109,34,8 1,10,9,44,66,33,62,183,44,115,23,31,49,121,68 ,0,2,10250,0,2,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0, 5,0,0,0,67,0,0,0,0,0,2,0,8,0,0,0,0,27,3,0,1,0 ,0,25,0,0,0,0,11,0,0,0,0,2,0,0,0,0,0,13,0,19, 0,0,0,4,0,0,0,0,0,0,0,0,0);

Last edited by crazyboylou; 12-20-2011 at 22:54.
crazyboylou is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-20-2011 , 23:25   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2066

Due to structure differences in the SQLite and MySQL database versions, you will have to do an INSERT INTO VALUES statement. You may be able to generate the required SQL by first importing in to intermediary database, exporting, and re-importing.
__________________
DarthNinja is offline
crazyass
New Member
Join Date: Dec 2011
Old 12-21-2011 , 18:39   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2067

Hi, Would like to say, I love you plugin and would like to know if there is a Cvar for changing the admin flag from root to a custom one? if not, is there anyway of doing this?
crazyass is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-21-2011 , 19:38   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2068

Quote:
Originally Posted by crazyass View Post
Hi, Would like to say, I love you plugin and would like to know if there is a Cvar for changing the admin flag from root to a custom one? if not, is there anyway of doing this?
http://wiki.alliedmods.net/Overridin...28SourceMod%29
__________________
DarthNinja is offline
resin
Member
Join Date: Dec 2008
Location: Valve's Underbelly
Old 12-22-2011 , 21:49   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2069

thanks for the ongoing updates, been using with for a while (sqllite) and its wonderful. I may have stated it before, but an option to rank by time played on the server as well would make it perfect (possibly an average between points and time played). But it's not a complaint, just an idea thanks again!
__________________

Last edited by resin; 12-22-2011 at 21:50.
resin is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-22-2011 , 22:36   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.9.0]
Reply With Quote #2070

The website has the data to do such a ranking so I assume you mean ingame (also since you said you use sqlite).

I could write something like !mytime to output something like "<Name> has spent more time on this server then XX other players (xdays, xminutes, and xseconds). XX Players have spent more time on this server".

Is that what you're thinking?
__________________
DarthNinja is offline
Reply



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 12:13.


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