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

[TF2] Item Logger (With Web Panel)


Post New Thread Reply   
 
Thread Tools Display Modes
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 03-22-2013 , 15:01   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #251

Still getting that error when running update.php, anyone else??
Seems like my stuff is pretty much fucked up. The web page now shows "0" drops.
Image of my database below.


EDIT:
Just found this in the error logs:

Code:
L 03/22/2013 - 12:10:51: [SM] Native "SQL_FetchInt" reported: Current result set has no fetched rows
L 03/22/2013 - 12:10:51: [SM] Displaying call stack trace for plugin "itemlogger.smx":
L 03/22/2013 - 12:10:51: [SM]   [0]  Line 187, D:\TF2Server\orangebox\tf\addons\sourcemod\scripting\itemlogger.sp::T_PlayerSelect()
Attached Thumbnails
Click image for larger version

Name:	phpMyAdmin.jpg
Views:	134
Size:	56.2 KB
ID:	117479  

Last edited by ltgenkd; 03-22-2013 at 15:06. Reason: added error log
ltgenkd is offline
Pendaz
Junior Member
Join Date: Oct 2008
Old 04-01-2013 , 16:42   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #252

is this plugin dead now ?
Pendaz is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 04-01-2013 , 16:52   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #253

Plugin runs fine now. It was the Web API that temp caused the problem.
ltgenkd is offline
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Old 04-01-2013 , 16:59   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #254

Quote:
Originally Posted by ltgenkd View Post
Plugin runs fine now. It was the Web API that temp caused the problem.
The plugin runs fine, this guy (I think it's the same guy, correct me if I'm wrong!), is just a bit upset because I refused to drop what I was doing and help him right away.

Super friendly chat log: http://pastebin.com/5u4e1YZ2
(Note that I was busy in a game at the time)

Last edited by Geit; 04-01-2013 at 17:11.
Geit is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 04-01-2013 , 18:05   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #255

Quote:
Originally Posted by Geit View Post
The plugin runs fine, this guy (I think it's the same guy, correct me if I'm wrong!), is just a bit upset because I refused to drop what I was doing and help him right away.

Super friendly chat log: http://pastebin.com/5u4e1YZ2
(Note that I was busy in a game at the time)
I know that feeling. That's why I don't accept random friend requests. :/

I was trying to play BioShock Infinite on release day, and apparently everyone on my friends list chose that time to nag me about stuff. :/
__________________
Dr. McKay is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 04-02-2013 , 21:44   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #256

Quote:
Originally Posted by Geit View Post
The plugin runs fine, this guy (I think it's the same guy, correct me if I'm wrong!), is just a bit upset because I refused to drop what I was doing and help him right away.

Super friendly chat log: http://pastebin.com/5u4e1YZ2
(Note that I was busy in a game at the time)
Geit,

It wasn't me if you are referring to me. We chatted briefly on Steam not to long ago about the plugin. That username on Steam isn't mine.

Steam Profile
ltgenkd is offline
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Old 04-03-2013 , 18:18   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #257

Quote:
Originally Posted by ltgenkd View Post
Geit,

It wasn't me if you are referring to me. We chatted briefly on Steam not to long ago about the plugin. That username on Steam isn't mine.

Steam Profile

Sorry - I should have clarified, by "this guy", I meant the guy you replied to! - I know who you are, no need to worry about that!

Last edited by Geit; 04-03-2013 at 18:18.
Geit is offline
BBG_Theory
Veteran Member
Join Date: Oct 2010
Location: NC USA
Old 05-15-2013 , 02:26   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #258

had to add this to fix an error
PHP Code:
// ####################### SET PHP ENVIRONMENT ###########################
//error_reporting (E_ALL | E_STRICT);
error_reporting(0);
date_default_timezone_set('America/New_York'); 
to the SET PHP ENVIROMENT of the index.php



one thing that is weird is I intermittently see this notice

"Notice: Undefined variable: item_method in /drops/system/templates/drops.php on line 102"

I have updated the config.php with what was suggested a bit up thread
regarding the $item_methods

but this is discussing $item_method which is introduced in system/templates/drops.php

It is probably far from the best solution, but I disabled the error reporting via
error_reporting(0);

not sure why this variable is being reported as you are using isset to be sure it is declared before referencing it

Last edited by BBG_Theory; 05-15-2013 at 23:06.
BBG_Theory is offline
aRcTiC
SourceMod Donor
Join Date: Apr 2010
Old 06-18-2013 , 20:44   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #259

Code:
L 06/18/2013 - 20:30:47: [SM] Native "SQL_FetchInt" reported: Current result set has no fetched rows
L 06/18/2013 - 20:30:47: [SM] Displaying call stack trace for plugin "itemlogger.smx":
L 06/18/2013 - 20:30:47: [SM]   [0]  Line 187, /home/groups/alliedmodders/forums/files/6/2/4/7/1/93925.attach::T_PlayerSelect()
seem to be getting a lot of these after steampipe switch, any ideas?
aRcTiC is offline
PolyQuad
Member
Join Date: Oct 2011
Old 07-11-2013 , 11:27   Re: [TF2] Item Logger (With Web Panel)
Reply With Quote #260

Yesterdays Update broke the update.php script

$TFItems_440 = json_decode(file_get_contents('http://api.steampowered.com/IEconItems_440/GetSchema/v0001/?key='.$settings['steam']['api_key'].'&format=json&language='.$settings['generic']['language']));

is the new api url that needs to be replaced in the update.php and the item schema is now

#Comment out the old
#foreach($TFItems_440->result->items->item as $item_info)
Replace with
foreach($TFItems_440->result->items as $item_info)


Attached is a new working update.php
Attached Files
File Type: zip update.zip (846 Bytes, 75 views)
PolyQuad 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:01.


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