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

[TF2] TF2 Item DB (replaces tf2itemsinfo)


Post New Thread Reply   
 
Thread Tools Display Modes
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 01-22-2015 , 19:46   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #11

No you will need to port it as I said in the first post. Many of the natives in tf2itemsinfo are grossly inefficient, especially for an SQLite backed database.

I already ported tf2items_giveweapon and tested it. I am hoping everyone else will take initiative to port the other plugins.
__________________

Last edited by bottiger; 03-26-2015 at 15:05.
bottiger is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-22-2015 , 20:18   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #12

Quote:
Originally Posted by bottiger View Post
No you will need to port it as I said in the first post. Many of the natives in tf2itemsinfo are grossly inefficient, especially for an SQLite backed database.

I already ported tf2items_giveweapon and tested it. I am hoping everyone else will take initiative to port the other plugins.
You should maintain a list of these on the OP too, p annoying if stuff is scattered in random posts.
__________________
Chdata is offline
Patka
Junior Member
Join Date: Feb 2012
Old 01-27-2015 , 20:09   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #13

Is it possible to use TF2IDB_FindItemCustom to find only items usable by all classes?
Patka is offline
HelpMe
Senior Member
Join Date: Jun 2013
Location: Home
Old 01-28-2015 , 14:28   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #14

I'm a bit confused with that sqlite database creation part.

Could I get some help?
HelpMe is offline
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 02-14-2015 , 21:00   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #15

Quote:
Originally Posted by Patka View Post
Is it possible to use TF2IDB_FindItemCustom to find only items usable by all classes?
Yes? It should be possible to do that with SQL.

Quote:
Originally Posted by HelpMe View Post
I'm a bit confused with that sqlite database creation part.

Could I get some help?
Edit the first 2 lines of tf2idb.py to point to the appropriate folders and run tf2idb.py to update/create the database.
__________________
bottiger is offline
HelpMe
Senior Member
Join Date: Jun 2013
Location: Home
Old 02-15-2015 , 03:40   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #16

Quote:
Originally Posted by bottiger View Post
Yes? It should be possible to do that with SQL.



Edit the first 2 lines of tf2idb.py to point to the appropriate folders and run tf2idb.py to update/create the database.
I read that, but I don't know where to place the python files if that even matters or what to point them to exactly.
HelpMe is offline
bovril
Member
Join Date: Jan 2011
Old 02-15-2015 , 07:27   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #17

Quote:
sourcemod-1.7.1-git5152-windows\tf2items_giveweapon.sp(2327) : warning 225: unreachable code
sourcemod-1.7.1-git5152-windows\tf2items_giveweapon.sp(5037) : error 017: undefined symbol "hSDKEquipWearable"
sourcemod-1.7.1-git5152-windows\tf2items_giveweapon.sp(5042) : error 017: undefined symbol "hSDKEquipWearable"
.
I get a compile error with your giveweapon port when I try to compile it

Last edited by bovril; 02-15-2015 at 07:31.
bovril is offline
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Old 02-15-2015 , 12:12   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #18

Thanks for plugin. Does anyone tested on linux and mysql? Database init scripts seems to be for windows…

it's fun how people care about memory leaks and talking about tf2ii plugin being broken, and my mvm servers can't work without crash/freeze more than 24hours -_____- so that plugin quite fine to me…
__________________
avi9526 is offline
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 02-15-2015 , 14:58   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #19

Quote:
Originally Posted by HelpMe View Post
I read that, but I don't know where to place the python files if that even matters or what to point them to exactly.
You can put the python files anywhere you want. If you can't figure out where your sourcemod or tf2 folder is I can't help you.

Quote:
Originally Posted by bovril View Post
I get a compile error with your giveweapon port when I try to compile it
You aren't compiling my version then.

Quote:
Originally Posted by avi9526 View Post
Thanks for plugin. Does anyone tested on linux and mysql? Database init scripts seems to be for windows…

it's fun how people care about memory leaks and talking about tf2ii plugin being broken, and my mvm servers can't work without crash/freeze more than 24hours -_____- so that plugin quite fine to me…

I developed this plugin on windows and moved them to all our linux servers, so they work for both. You just need to change the paths to the correct place. No one is going to have their server files in the same directory.
__________________
bottiger is offline
HelpMe
Senior Member
Join Date: Jun 2013
Location: Home
Old 02-15-2015 , 16:22   Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)
Reply With Quote #20

Quote:
Originally Posted by bottiger View Post
You can put the python files anywhere you want. If you can't figure out where your sourcemod or tf2 folder is I can't help you.
Okay alright got it. It creates the file though it has 0 bytes
HelpMe 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:16.


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