Raised This Month: $53 Target: $400
 13% 

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-26-2018 , 19:25   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1651

Quote:
Originally Posted by BlazingDiancie View Post
Demoshields are still broken with both this mod and Custom Weapons 3. Also a TON of base weapons return "Invalid Weapon Index" when you try to give them to yourself, but for some reason, if you set them as a custom weapon, they work perfectly. What is going on here? And before you ask, I am using TF2IDB with an updated database.
Wearables (shields) being broken probably means outdated gamedata. https://gist.github.com/FlaminSarge/...cd964848446fef has the latest, I believe.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
BlazingDiancie
Member
Join Date: Sep 2014
Old 10-27-2018 , 12:26   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1652

Quote:
Originally Posted by FlaminSarge View Post
Wearables (shields) being broken probably means outdated gamedata. https://gist.github.com/FlaminSarge/...cd964848446fef has the latest, I believe.
I do have to ask, is "TF2IDB_TF2II_Compat" needed?" Because mine doesnt seem to work. It throws these at me:

L 10/27/2018 - 17:23:55: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 10/27/2018 - 17:23:55: [SM] Unable to load plugin "tf2idb_tf2ii_compat.smx": Native "TF2IDB_CustomQuery" was not found
BlazingDiancie is offline
BlazingDiancie
Member
Join Date: Sep 2014
Old 10-27-2018 , 12:29   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1653

Quote:
Originally Posted by FlaminSarge View Post
Wearables (shields) being broken probably means outdated gamedata. https://gist.github.com/FlaminSarge/...cd964848446fef has the latest, I believe.
Im still getting invalid index errors for a lot of itmes tho... >.<
BlazingDiancie is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 11-03-2018 , 01:40   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1654

Quote:
Originally Posted by BlazingDiancie View Post
I do have to ask, is "TF2IDB_TF2II_Compat" needed?" Because mine doesnt seem to work. It throws these at me:

L 10/27/2018 - 17:23:55: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 10/27/2018 - 17:23:55: [SM] Unable to load plugin "tf2idb_tf2ii_compat.smx": Native "TF2IDB_CustomQuery" was not found
Well, so, look at it this way:
TF2Items GiveWeapon needed TF2ItemsInfo to automatically add new items.
TF2ItemsInfo was old and not maintained, so TF2IDB was written to replace it, but TF2II and TF2IDB asked for the parameters needed to give info in different ways, so GiveWeapon couldn't use TF2IDB.
TF2IDB TF2II Compat pretends that it's TF2ItemsInfo (so GiveWeapon can use it), and then translates anything GiveWeapon asks for into relevant parameters for TF2IDB, and then translates TF2IDB's result back into a TF2II result.

Right now, though, TF2IDB TF2II Compat only works with the GitHub version of TF2IDB, which isn't finalized yet. You can experiment with it if you know how to compile plugins, though.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 11-03-2018 at 01:41.
FlaminSarge is offline
BlazingDiancie
Member
Join Date: Sep 2014
Old 11-08-2018 , 08:35   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1655

Quote:
Originally Posted by FlaminSarge View Post
Well, so, look at it this way:
TF2Items GiveWeapon needed TF2ItemsInfo to automatically add new items.
TF2ItemsInfo was old and not maintained, so TF2IDB was written to replace it, but TF2II and TF2IDB asked for the parameters needed to give info in different ways, so GiveWeapon couldn't use TF2IDB.
TF2IDB TF2II Compat pretends that it's TF2ItemsInfo (so GiveWeapon can use it), and then translates anything GiveWeapon asks for into relevant parameters for TF2IDB, and then translates TF2IDB's result back into a TF2II result.

Right now, though, TF2IDB TF2II Compat only works with the GitHub version of TF2IDB, which isn't finalized yet. You can experiment with it if you know how to compile plugins, though.
Gotcha. Thanks for the help.
BlazingDiancie is offline
SZOKOZ
Member
Join Date: Jan 2014
Old 12-17-2018 , 16:39   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1656

While using this plugin, I wanted to give my self the thermal thruster so I could test my weapon changes but the plugin was unable to because all the item definitions were hardcoded and the thermal thruster was not included. Could you please reconsider how the item definition indexes are loaded into the plugin... if you still maintain this plugin.
__________________
May still be available for SM scripting. Just look at my Steam profile regarding my availability.
My Steam
SZOKOZ is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 06-05-2019 , 07:25   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1657

I think that we should now use Econ Data instead of TF2II/TF2IDB.
__________________
MAGNAT2645 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 06-06-2019 , 06:22   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1658

Quote:
Originally Posted by MAGNAT2645 View Post
I think that we should now use Econ Data instead of TF2II/TF2IDB.
You are correct.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
BlazingDiancie
Member
Join Date: Sep 2014
Old 07-23-2019 , 10:22   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1659

Quote:
Originally Posted by FlaminSarge View Post
You are correct.
Quick side note, when is this plugin going to be updated to use TF2Econ?
BlazingDiancie is offline
xSquared
Junior Member
Join Date: Jan 2019
Old 07-26-2019 , 19:46   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1660

I can't seem to do the flamethrower fix mod. Can somebody tell me where it is that I need to mod? I don't know which source code it it I'm looking for.
xSquared 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:03.


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