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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Dragonthunder
Junior Member
Join Date: Oct 2014
Location: The Netherlands
Old 10-13-2015 , 15:10   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #661

Hello,

This plugin doesn't seems to work for me. I installed both TF2Items and TF2Attributes, and this plugin ofcourse in my server. But when I enable TF2 randomizer, players get a random class, but their standard loadout for that class is still used. When you type "/myweps" in the chat there are random weapons shown from different classes.

I guess TF2Items is installed correctly, cause "TF2 Items give weapon" is working.
__________________
POOTIS POW! HAHA!
Dragonthunder is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 10-14-2015 , 01:58   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #662

Check for error logs or errors on the server console?
Potato Uno is offline
Dragonthunder
Junior Member
Join Date: Oct 2014
Location: The Netherlands
Old 10-14-2015 , 10:50   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #663

Quote:
Originally Posted by Potato Uno View Post
Check for error logs or errors on the server console?
Here are the errors, sorry for not posting them directly. This shows every time someone is rerolled.

Code:
L 10/14/2015 - 16:46:38: [SM] Native "TF2Attrib_SetByName" reported: Plugin owning this native is currently paused.
L 10/14/2015 - 16:46:38: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 10/14/2015 - 16:46:38: [SM]   [0]  Line 1944, C:\sourcemod\tf2items_randomizer.sp::GiveRndWeapons()
L 10/14/2015 - 16:46:38: [SM]   [1]  Line 1604, C:\sourcemod\tf2items_randomizer.sp::Timer_LockerWeaponReset()
__________________
POOTIS POW! HAHA!

Last edited by Dragonthunder; 10-14-2015 at 10:50. Reason: typo
Dragonthunder is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 10-14-2015 , 10:52   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #664

Get the updated gamedata for tf2attributes and try again.
Potato Uno is offline
Dragonthunder
Junior Member
Join Date: Oct 2014
Location: The Netherlands
Old 10-14-2015 , 11:04   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #665

Quote:
Originally Posted by Potato Uno View Post
Get the updated gamedata for tf2attributes and try again.
That did it, it's working now!
Thank you very much for helping me
__________________
POOTIS POW! HAHA!
Dragonthunder is offline
DrFallen
AlliedModders Donor
Join Date: Jul 2013
Location: ./root
Old 12-14-2015 , 04:55   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #666

Is there anyway to configure this to only randomise primary weapon and not class or secondary/melee?
DrFallen is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-14-2015 , 17:08   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #667

That's a good idea, but unfortunately I think the cvar tf2items_rnd_normals affects all weapon slots. You could probably disable the rolls for classes/etc by editing the plugin's code (just search for places where it uses RandomFloat/RandomInt or whatever the function was called).
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit 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
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 12-15-2015 , 13:16   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #668

L 12/15/2015 - 22:15:02: [SM] Native "TF2Items_GiveNamedItem" reported: Item is NULL. File a bug report if you are sure you set all the data correctly. (Try the FORCE_GENERATION flag.)
L 12/15/2015 - 22:15:02: [SM] Displaying call stack trace for plugin "customweaponstf.smx":
L 12/15/2015 - 22:15:02: [SM] [0] Line 917, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::GiveCustomWeapon()
L 12/15/2015 - 22:15:02: [SM] [1] Line 763, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::GiveCustomWeaponByIndex( )
L 12/15/2015 - 22:15:02: [SM] [2] Line 1408, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::Timer_CheckBotEquip()
265/ - obj_attachment_sapper: UTIL_SetModel: not precached: models/buildables/toolbox_placement.mdl
265/ - obj_attachment_sapper: UTIL_SetModel: not precached: models/buildables/toolbox_placement.mdl
Maximilian_ is offline
Mr.Orion
Senior Member
Join Date: Apr 2012
Location: In my microwave.
Old 12-15-2015 , 15:09   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #669

Quote:
Originally Posted by Maximilian_ View Post
L 12/15/2015 - 22:15:02: [SM] Native "TF2Items_GiveNamedItem" reported: Item is NULL. File a bug report if you are sure you set all the data correctly. (Try the FORCE_GENERATION flag.)
L 12/15/2015 - 22:15:02: [SM] Displaying call stack trace for plugin "customweaponstf.smx":
L 12/15/2015 - 22:15:02: [SM] [0] Line 917, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::GiveCustomWeapon()
L 12/15/2015 - 22:15:02: [SM] [1] Line 763, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::GiveCustomWeaponByIndex( )
L 12/15/2015 - 22:15:02: [SM] [2] Line 1408, C:\Users\Theray\Desktop\SteamCMD and Servers\Tf2\tf\addons\sourcemod\scripting\CW2 \customweaponstf.sp::Timer_CheckBotEquip()
265/ - obj_attachment_sapper: UTIL_SetModel: not precached: models/buildables/toolbox_placement.mdl
265/ - obj_attachment_sapper: UTIL_SetModel: not precached: models/buildables/toolbox_placement.mdl
You should of posted it here.
__________________
Mr.Orion is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 12-17-2015 , 08:59   Re: [TF2Items] Randomizer (v1.591, 08/11/2013)
Reply With Quote #670

Quote:
Originally Posted by Mr.Orion View Post
You should of posted it here.
Oh, exactly
Maximilian_ 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 17:44.


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