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

[TF2] TF2 Item DB (replaces tf2itemsinfo)


Post New Thread Reply   
 
Thread Tools Display Modes
Nighty
Member
Join Date: Nov 2012
Old 07-06-2015 , 14:13   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #41

wow i feel stupid now, thank you <3

btw is there a way to use mysql for like all servers you own?

Last edited by Nighty; 07-06-2015 at 14:24.
Nighty is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 07-06-2015 , 17:38   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #42

Quote:
Originally Posted by Nighty View Post
wow i feel stupid now, thank you <3

btw is there a way to use mysql for like all servers you own?
Most server providers can interconnect your servers, but if you host, afraid you have to do it manually unless you write a batch file to copy all sql databases over to other server installs
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Nighty
Member
Join Date: Nov 2012
Old 07-06-2015 , 17:48   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #43

the plugin uses sqllite thats why i asked
Nighty is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 07-07-2015 , 16:06   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #44

Better to use tf2 items just
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
namazso
Member
Join Date: Mar 2012
Old 07-07-2015 , 16:06   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #45

Quote:
Originally Posted by friagram View Post
if you are going to insist on using python, you should just use curl/socket and grab the already prepared data remotely...
Quote:
Originally Posted by SimplyJpk View Post
Second this, would make it easier than having to rebuild the list. But holy crap, This is great! been waiting for a new tf2items for a while now :p
Quote:
Originally Posted by bottiger View Post
And who is going to host the server that prepares the data for everyone? I'm not doing it, and I don't trust someone else to do it for me.

Python is also used because it is faster at processing the data than Sourcepawn.
Here's a simple PHP sqlite db generator I wrote that does essentially the same as the python script: https://github.com/namazso/tf2idb_itemserver

Last edited by namazso; 08-23-2019 at 15:45.
namazso is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 07-09-2015 , 18:00   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #46

Code:
L 07/09/2015 - 22:59:45: [SM] Plugin encountered error 25: Call was aborted
L 07/09/2015 - 22:59:45: [SM] Native "SetFailState" reported: no such table: tf2idb_item
L 07/09/2015 - 22:59:45: [SM] Displaying call stack trace for plugin "tf2idb.smx":
L 07/09/2015 - 22:59:45: [SM]   [0]  Line 66, tf2idb.sp::OnPluginStart()
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 07-10-2015 , 02:37   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #47

Quote:
Originally Posted by King Cnut View Post
Code:
L 07/09/2015 - 22:59:45: [SM] Plugin encountered error 25: Call was aborted
L 07/09/2015 - 22:59:45: [SM] Native "SetFailState" reported: no such table: tf2idb_item
L 07/09/2015 - 22:59:45: [SM] Displaying call stack trace for plugin "tf2idb.smx":
L 07/09/2015 - 22:59:45: [SM]   [0]  Line 66, tf2idb.sp::OnPluginStart()
You didn't make the sql table then
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 07-10-2015 , 11:48   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #48

Quote:
Originally Posted by xXDeathreusXx View Post
You didn't make the sql table then
Any instruction on how to do this on Windows? Is Python the only way to update the database, or is there another way that doesn't require me to install all that garbage on it for this one plugin? The table I'm supposed to make, is it in the clientprefs database or what? I don't have any databases running on my server. I'm very confused. Thanks
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*

Last edited by King Cnut; 07-10-2015 at 11:48.
King Cnut is offline
Nighty
Member
Join Date: Nov 2012
Old 07-10-2015 , 13:02   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #49

just download
Quote:
Originally Posted by namazso View Post
call it tf2idb.sq3 and put it in tf\addons\sourcemod\data\sqlite
Nighty is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 07-10-2015 , 20:39   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #50

Quote:
Originally Posted by Nighty View Post
just download
call it tf2idb.sq3 and put it in tf\addons\sourcemod\data\sqlite
Thank you!
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut 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 09:28.


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