Raised This Month: $32 Target: $400
 8% 

TF2 Giving weapons to another class


Post New Thread Reply   
 
Thread Tools Display Modes
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-23-2008 , 16:28   Re: TF2 Giving weapons to another class
Reply With Quote #21

It works on linux servers. I haven't tried it on a Windows server as of the new update(s) that came out. You can always go ahead and try it otu.
bl4nk is offline
#Barracuda
Junior Member
Join Date: May 2008
Location: Germany
Old 08-23-2008 , 16:37   Re: TF2 Giving weapons to another class
Reply With Quote #22

Just tried, still crashing.
#Barracuda is offline
boykevin
Member
Join Date: Mar 2008
Old 08-24-2008 , 13:46   Re: TF2 Giving weapons to another class
Reply With Quote #23

how do you strip weapons is like losing all the ammo it or what and good thing my friend and i have a linux server

edit: tested works
i also looked in teh plugin and would adding
SetTrieValue(hTrie, "tf_weapon_lunchbox", 1); or
SetTrieValue(hTrie, "tf_weapon_flaregun", 1); work?

Last edited by boykevin; 08-24-2008 at 14:34.
boykevin is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-24-2008 , 15:15   Re: TF2 Giving weapons to another class
Reply With Quote #24

I suppose so. Are those the correct weapon names?
bl4nk is offline
The JCS
AlliedModders Donor
Join Date: Jan 2007
Location: Brazil
Old 08-24-2008 , 16:53   Re: TF2 Giving weapons to another class
Reply With Quote #25

bl4nk, can you fix it to Windows?
The JCS is offline
Send a message via MSN to The JCS
boykevin
Member
Join Date: Mar 2008
Old 08-24-2008 , 18:00   Re: TF2 Giving weapons to another class
Reply With Quote #26

Quote:
Originally Posted by bl4nk View Post
I suppose so. Are those the correct weapon names?
yea i looked in my gameserver files and thats what they had for the .ctx files
boykevin is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-25-2008 , 08:02   Re: TF2 Giving weapons to another class
Reply With Quote #27

Quote:
Originally Posted by The JCS View Post
bl4nk, can you fix it to Windows?
I'm sure if he knew why it crashes on Windows, he'd fix it. So no, until he figures that out, he can't fix it for Windows.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 08-25-2008 , 17:51   Re: TF2 Giving weapons to another class
Reply With Quote #28

Thank you, bl4nk!
I've made a "weapon market" plugin in february but it was based on the classical GiveNamedItem function and now it's broken since the Goldrush update. I was trying the new offset but I could understand how to find proper CScriptCreatedItem, I wonder how you did it. Also, it's possible to change m_iClass property and your weapons will be saved but class changed - that was my workaround on multiclass weapons.
FaTony is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 08-25-2008 , 18:02   Re: TF2 Giving weapons to another class
Reply With Quote #29

Quote:
Originally Posted by RM_Hamster View Post
From update:

Fixed a loophole that allowed players to pickup weapons of other classes

Does that mean this no longer works?
You used to be able to edit the classes CTX files to change what weapon they had in each slot. In addition, you were able to use the console commands to create the weapon, then using +use another player could pick it up. This is what the patch notes were referring to and what they fixed. Bl4nk is working to actually do this with a work around in his code so yes it is still possible. As of now only on Linux servers.
CrimsonGT is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 08-25-2008 , 18:11   Re: TF2 Giving weapons to another class
Reply With Quote #30

Yes, crashes on windows now
FaTony 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 10:24.


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