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

[TF2] Gimme (v1.20 - 03 May 2023)


Post New Thread Reply   
 
Thread Tools Display Modes
a purple dragon
Junior Member
Join Date: Sep 2022
Old 04-13-2023 , 18:18   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #61

Quote:
Originally Posted by PC Gamer View Post
Odd.. What command are you using to equip the cosmetic? What indexes are you using?

Examples:
!gimme 18 - will give player a rocket launcher weapon
!gimme 666 - will give player the B.M.O.C. (santa hat) cosmetic

Here's a good list of index numbers for TF2 items: https://csrd.science/misc/econ-tf/items.html
Right now I'm trying to equip the robot exclusive items but the game keeps telling me they're "invalid item index". This isn't just for those cosmetics either, this is also for the actual items in game that aren't weapons for some reason.
a purple dragon is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 04-13-2023 , 19:21   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #62

Quote:
Originally Posted by a purple dragon View Post
Right now I'm trying to equip the robot exclusive items but the game keeps telling me they're "invalid item index". This isn't just for those cosmetics either, this is also for the actual items in game that aren't weapons for some reason.
Odd.. I just tested the latest version (v1.19) and it works as intended. What are the exact commands you are using that isn't working for you?

Also, make sure the plugin dependencies are current. There was a gamedata update for them a while ago.

Plugin Dependencies:
Econ Data by nosoop. Here's a link: https://forums.alliedmods.net/showthread.php?t=315011
TF2Attributes by FlaminSarge. Here's a link: https://forums.alliedmods.net/showthread.php?t=210221

Also, I saw this same question on Discord. The screenshot provided on Discord showed errors for a different plugin called [TF2ITEMS] Give Weapon. That plugin doesn't support the giving of some weapons and cosmetics. Remove that plugin if you want to use my [TF2] Gimme plugin.

Last edited by PC Gamer; 04-13-2023 at 19:36.
PC Gamer is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-24-2023 , 08:19   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #63

hi,PC Gamer, can we have a permanent option for the API? , just like sm_gimmep
q1085909155 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 04-24-2023 , 17:57   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #64

Good News! The gimmep command already exists in this plugin.

!gimmep <item index number> will equip the item, and give the item again after every spawn or touch locker unless the player changes class or uses the !resetp command.
PC Gamer is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-24-2023 , 20:29   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #65

Yes, I have found it, but I want
to use it in other mods by way
of advanced Infinite ammo.inc.I didn't find permanent option in inc
q1085909155 is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 04-27-2023 , 14:21   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #66

Use this as a daily usage, it is my main plugin PC gamer.... Keep it up and looking forward for new Skins etc...
__________________
Happy DODs player is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-29-2023 , 01:54   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #67

I found that the weapons and ammo were not correct, for example: the Scout's main weapon, Force-A-Nature, had 6 rounds to fire
q1085909155 is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-30-2023 , 12:39   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #68

Quote:
Originally Posted by q1085909155 View Post
I found that the weapons and ammo were not correct, for example: the Scout's main weapon, Force-A-Nature, had 6 rounds to fire
The Widowmaker does no damage, as well as constantly pressing M1 will fire quickly
q1085909155 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 04-30-2023 , 23:18   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #69

Thanks for the input. I've started working on version 1.20. So far I've added the newer war skins requested by Happy DODs player, fixed the Force-A-Nature clip size and fixed the bugs with the Widowmaker as mentioned by q1085909155.

I'm having difficulty with adding the natives for the permanent command to the include file. For some reason it's buggy. But then again, I'm not a real programmer. Once I get that part figured out (or I give up on it for now) I'll release version 1.20.
PC Gamer is offline
q1085909155
Member
Join Date: Oct 2021
Old 05-01-2023 , 05:02   Re: [TF2] Gimme (v1.19 - 09 Feb 2023)
Reply With Quote #70

In use! giveitemp is given to multiple players

L 05/01/2023 - 13:49:26: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:49:26: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:49:26: [SM] Call stack trace:
L 05/01/2023 - 13:49:26: [SM] [1] Line 155, gimme.sp::GivePermItems
L 05/01/2023 - 13:49:45: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:49:45: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:49:45: [SM] Call stack trace:
L 05/01/2023 - 13:49:45: [SM] [1] Line 155, gimme.sp::GivePermItems
L 05/01/2023 - 13:49:55: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:49:55: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:49:55: [SM] Call stack trace:
L 05/01/2023 - 13:49:55: [SM] [1] Line 155, gimme.sp::GivePermItems
L 05/01/2023 - 13:50:00: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:50:00: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:50:00: [SM] Call stack trace:
L 05/01/2023 - 13:50:00: [SM] [1] Line 155, gimme.sp::GivePermItems
L 05/01/2023 - 13:50:16: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:50:16: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:50:16: [SM] Call stack trace:
L 05/01/2023 - 13:50:16: [SM] [1] Line 155, gimme.sp::GivePermItems
q1085909155 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 07:08.


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