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

[TF2Items] Randomizer (v1.591, 08/11/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
TitanTF
Senior Member
Join Date: Mar 2016
Location: Singapore
Old 11-04-2016 , 11:48   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #681

i have cases where my players are stucked in randomizer x10, any idea how i could fix this? this seems to occur when they get rolled wearables like gunboats, darwin shield etc

im using the latest gamedata
TitanTF is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 11-07-2016 , 14:44   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #682

Updated gamedata. Same gist link.
__________________
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
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 06-05-2017 , 15:59   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #683

gamedata: https://github.com/asherkin/TF2Items.../tf2.items.txt
lugui is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-24-2017 , 02:28   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #684

Hey guys, I finally got around to writing a plugin to replace rndmodelcrashfix.vpk

Please try it out here https://github.com/FlaminSarge/tf_sa...elfix/releases

Let me know if it fixes crashes due to UTIL_SetModel. Thanks.

(Delete rndmodelcrashfix.vpk from your tf/custom/ folder).
__________________
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; 12-24-2017 at 02:47.
FlaminSarge is offline
ToasterKritz
Junior Member
Join Date: Mar 2018
Old 03-16-2018 , 04:28   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #685

My server console says everything is loaded, yet, nothing happens. Not sure what is happening here, plugin is loaded, no errors.

Probably Jungle Inferno but there is no indication of anything being wrong, it simply doesn't do anything

Never mind, I'm an absolute idiot, it says the plugin is not enabled

Instead occasionally players get stuck in the spawn floor, the only way to fix is to use sm_reroll, HELP

Last edited by ToasterKritz; 03-16-2018 at 05:43.
ToasterKritz is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 03-28-2018 , 03:11   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #686

The 'getting stuck on spawn' issue sounds like a case of outdated gamedata. Try bumping the numbers by +1? If it works, post your server's OS and the number that you used for your OS here, and I'll update the file.
__________________
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; 03-28-2018 at 03:11.
FlaminSarge is offline
trbz_
Junior Member
Join Date: May 2018
Old 05-30-2018 , 17:30   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #687

There is an issue that causes flamethrowers to not work (flame particles don't come out, can only deal damage when you are almost touching the target).

It's happening on randomizer servers, and I am working on a mod using Custom Weapons 3 (which requires the tf2items.randomizer.txt) and the same problem is occuring. I haven't found a fix on that thread, and I can't find one here. Any help?
trbz_ is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-31-2018 , 03:09   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #688

It's now a better idea to set PRESERVE_ATTRIBUTES on the TF2Items handle created for giving weapons than it is to omit it, so that an item's native static attributes are still applied. Randomizer (and I'm assuming CW3) currently omits that flag from TF2Items_CreateWeapon, resulting in it lacking the attributes that control flame physics.
__________________
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
KaidemonLP
Member
Join Date: Jul 2016
Old 06-16-2018 , 04:29   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #689

Quote:
Originally Posted by FlaminSarge View Post
It's now a better idea to set PRESERVE_ATTRIBUTES on the TF2Items handle created for giving weapons than it is to omit it.
How would one do that?
KaidemonLP is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-16-2018 , 09:40   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #690

Quote:
Originally Posted by KaidemonLP View Post
How would one do that?
In Randomizer source code, change line 4230 (I haven't tested this)
Code:
   From: 	new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | OVERRIDE_ATTRIBUTES;

   To: 	new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | PRESERVE_ATTRIBUTES;
And, if you are using giveweapon with tf2items_giveweapon... in that source code, change line 1878 (Tested. Works)
Code:
   From: 	new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | OVERRIDE_ATTRIBUTES;

   To: 	new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | PRESERVE_ATTRIBUTES;
Net effect: Things like Flamethrowers and Thermal Thruster work as intended. At least they do with tf2items_giveweapon plugin that I tested.
PC Gamer 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 00:12.


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