This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 12-16-2011 , 00:53   Re: TF2Items - Items with custom attributes.
#1321

Quote:
Originally Posted by dbmiller5 View Post
TF2Items is most definitely broken after the winter update today. However, there are no error logs.
Replace the gamedata with the version attached on the post I just made and everything works fine.
__________________

Last edited by pheadxdll; 12-16-2011 at 01:00.
pheadxdll is offline
Old 12-16-2011, 04:19
FlaminSarge
This message has been deleted by FlaminSarge. Reason: Irrelevant now.
Old 12-16-2011, 04:31
loranger
This message has been deleted by asherkin. Reason: a) Really terrible code. b) Unrelated to this thread.
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-16-2011 , 04:58   Re: TF2Items - Items with custom attributes.
#1322

Quote:
Originally Posted by pheadxdll View Post
I tested the new gamedata attached below. But the autoupdater still has the wrong values. So you have to disable it through configs/core.cfg if you don't want it replacing the gamedata with the incorrect values. Asherskin, let us know when you update it please. It through me for a loop.
I've updated the gamedata on the updater.
For future reference, you can put custom gamedata in a "custom" subdir and it'll override the updater.
__________________
asherkin is offline
kim_perm
Member
Join Date: Sep 2007
Location: Perm, Russia
Old 12-16-2011 , 05:50   Re: TF2Items - Items with custom attributes.
#1323

Can you update first post (and links)?
kim_perm is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-16-2011 , 06:15   Re: TF2Items - Items with custom attributes.
#1324

Quote:
Originally Posted by kim_perm View Post
Can you update first post (and links)?
I will do when I get home from work.
__________________
asherkin is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-16-2011 , 14:13   Re: TF2Items - Items with custom attributes.
#1325

OK, I guess I have a bit of an ethical question.

I'm working on a TF2Items plugin that replaces 10 stock weapons with their festive counterparts: Scattergun, Bat, Rocket Launcher, Flamethrower, Stickybomb Launcher, Minigun, Wrench, Medigun, Sniper Rifle, and Knife.

However, you have to spend $2.50 for a Nasty Winter Key to open the Nasty Winter Crate that drops these items.

Should I actually post this plugin on AlliedMods when it's done, or keep it private?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 12-16-2011 at 14:14.
Powerlord is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 12-16-2011 , 14:43   Re: TF2Items - Items with custom attributes.
#1326

The weapon would become invisible, thus not circumventing item validation so I'd say..do it! The TF2Items GiveNamedWeapon plugin already does that.
__________________
pheadxdll is offline
Velture
Senior Member
Join Date: Jan 2011
Location: Poland, Warsaw
Old 12-16-2011 , 14:44   Re: TF2Items - Items with custom attributes.
#1327

Any news on the tf2items update?
__________________
Velture is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 12-16-2011 , 14:50   Re: TF2Items - Items with custom attributes.
#1328

Quote:
Originally Posted by Velture View Post
Any news on the tf2items update?
The autoupdater has the correct gamedata now. All you need to do is restart your server to receive it. Everything's fixed.
__________________
pheadxdll is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-16-2011 , 15:00   Re: TF2Items - Items with custom attributes.
#1329

Quote:
Originally Posted by pheadxdll View Post
The weapon would become invisible, thus not circumventing item validation so I'd say..do it! The TF2Items GiveNamedWeapon plugin already does that.
er... it does? I was under the impression that changing an item's index in the TF2Items_OnGiveNamedItem forward switched to the new index's model. Am I misunderstanding something here?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 12-16-2011 at 15:01.
Powerlord is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 12-16-2011 , 15:31   Re: TF2Items - Items with custom attributes.
#1330

Yes, but since the player doesn't own that weapon, it won't pass validation and will be invisible. Have you tried it yet?
__________________
pheadxdll is offline
Closed Thread



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 13:38.


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