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

[TF2] Melee Only


Post New Thread Reply   
 
Thread Tools Display Modes
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 03-31-2015 , 21:58   Re: [TF2] Melee Only
Reply With Quote #441

Updated gamedata (melee.txt) for today's TF2 update.
__________________

Last edited by pheadxdll; 03-31-2015 at 21:58.
pheadxdll is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-31-2015 , 22:45   Re: [TF2] Melee Only
Reply With Quote #442

Quote:
Originally Posted by pheadxdll View Post
Updated gamedata (melee.txt) for today's TF2 update.

I had windows at 412 and linux at 419 already..? Are you sure they changed or did you forget to bump them?

wait... damn april fools!

I really don't know what to think lol.. you said you reverted back to old way too but the gamedata present appears to be from the new way you tried vs just "WeaponReset" and the offsets.

Last edited by Horsedick; 04-01-2015 at 19:51.
Horsedick is offline
Blastitt
New Member
Join Date: Jun 2015
Old 06-26-2015 , 13:01   Re: [TF2] Melee Only
Reply With Quote #443

Great plugin! Is there any way to disable the Sandman's alt fire and other things like that?
Blastitt is offline
dsutas
New Member
Join Date: May 2016
Old 05-08-2016 , 12:43   Re: [TF2] Melee Only
Reply With Quote #444

So the answer is probably no but is there anyways to make it so while one team can only use melee while the other team is not forced to only use melee.
dsutas is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-08-2016 , 02:15   Re: [TF2] Melee Only
Reply With Quote #445

Is the PASStime jack (tf_weapon_passtime_gun) currently whitelisted? If it isn't, then this plugin and PASStime probably don't play nice.
__________________
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; 07-08-2016 at 02:17.
FlaminSarge is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 07-09-2016 , 23:50   Re: [TF2] Melee Only
Reply With Quote #446

Since passtime is out of beta I guess it's finally time to do that. I updated both the plugin and the gamedata so grab melee.txt and melee.smx.
__________________
pheadxdll is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-10-2016 , 12:24   Re: [TF2] Melee Only
Reply With Quote #447

Might be worth moving the whitelist to a config so it can be updated separately from the plugin.

Out of curiousity, is there a particular reason for comparing defindex rather than classname for whitelisting? I know int compare is probably faster, but classname might be better at catching new cases, etc. Can maybe also optimize the string compare by doing a trie lookup, too.

(Why does minigun state offset get set twice in initialization?)
__________________
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; 07-10-2016 at 13:16.
FlaminSarge is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 07-10-2016 , 13:32   Re: [TF2] Melee Only
Reply With Quote #448

> Might be worth moving the whitelist to a config so it can be updated separately from the plugin.
Weapons aren't added that frequently into the game.
> Out of curiousity, is there a particular reason for comparing defindex rather than classname for whitelisting?
You guessed it- faster.
> (Why does minigun state offset get set twice in initialization?)
Opps typo, thanks!
__________________
pheadxdll is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-10-2016 , 20:29   Re: [TF2] Melee Only
Reply With Quote #449

Valid, but it'd still allow people to arbitrarily set weapons as allowed in melee only, though I guess it changes the meaning of the plugin slightly. It also means that somebody could put up the updated config without having to modify the plugin and without you having to update it in the main post right away.
Classname lookups would be pretty darn fast using Tries now that they're backed by hashmaps, wouldn't it? Is the space the hashmap uses a concern?
__________________
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
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 11-02-2016 , 21:20   Re: [TF2] Melee Only
Reply With Quote #450

Updated the first post with new gamedata for today's update.
__________________
pheadxdll 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 14:23.


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