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

[TF2] notso-randomizer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PepsiTheNine
New Member
Join Date: Dec 2021
Old 04-07-2022 , 23:36   [TF2] notso-randomizer
Reply With Quote #1

So in shounic's video "what if any class could use any weapon? what loadout would be the best?" he uses a plugin that behaves like Randomizer, but allows players to manually select their class and loadout via chat commands, and in the description he mentions that the developer who made this plugin for him has released it here. Wanting to use this for my own server I went to the link, but all I found was an .sp file, I tried to compile it but couldn't due to several errors, could anyone help me get this working? I think it relies on randomizer due to some of the stuff in there though I'm not familiar with scripting. I tried installing randomizer and it didn't seem to do anything as a script alone, any help would be much appreciated.

Also sorry this post looks kind of bad I've never posted here before.
Attached Files
File Type: sp Get Plugin or Get Source (notso-randomizer.sp - 71 views - 22.2 KB)
PepsiTheNine is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 04-08-2022 , 02:15   Re: [TF2] notso-randomizer
Reply With Quote #2

I looked at the code you provided. You're missing 12 files that go with this plugin. After you find and install those you'll have 185 errors to correct for it to be compiled in SourceMod 1.11.

Options:
1. Find the missing files (most can be found here: https://github.com/FortyTwoFortyTwo/Randomizer . Find any remaining file(s). Begin correcting the 185 errors.

2. Use a different plugin that allows you to use any weapon, such as [TF2 Items] Give Weapon plugin by FlaminSarge (link: https://forums.alliedmods.net/showthread.php?p=1337899 ), or the [TF2] Gimme plugin by me (link: https://forums.alliedmods.net/showthread.php?p=2766587 ). Using either of those will allow you to use any weapon by command if allowed by the server operator.
PC Gamer is offline
PepsiTheNine
New Member
Join Date: Dec 2021
Old 04-08-2022 , 05:33   Re: [TF2] notso-randomizer
Reply With Quote #3

Quote:
Originally Posted by PC Gamer View Post
I looked at the code you provided. You're missing 12 files that go with this plugin. After you find and install those you'll have 185 errors to correct for it to be compiled in SourceMod 1.11.

Options:
1. Find the missing files (most can be found here: https://github.com/FortyTwoFortyTwo/Randomizer . Find any remaining file(s). Begin correcting the 185 errors.

2. Use a different plugin that allows you to use any weapon, such as [TF2 Items] Give Weapon plugin by FlaminSarge (link: https://forums.alliedmods.net/showthread.php?p=1337899 ), or the [TF2] Gimme plugin by me (link: https://forums.alliedmods.net/showthread.php?p=2766587 ). Using either of those will allow you to use any weapon by command if allowed by the server operator.
Sounds cool... but wait, what about randomizer's hud additions? And the reload speed/ammo fixes?

Last edited by PepsiTheNine; 04-08-2022 at 05:34.
PepsiTheNine is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 04-09-2022 , 09:30   Re: [TF2] notso-randomizer
Reply With Quote #4

So this doesn't get lost in the AlliedModders Discord, it turns out that the closest usable commit corresponding to that incomplete plugin source is 6629192. Even at that commit, the plugin is attempting to use a nonexistent implementation of IndexIsForSlot, which isn't available anywhere in the history of that upstream repository.

Once the plugin has a working compile, the gamedata from that version has to be brought up to date. Randomizer gamedata isn't backwards compatible with that version due to section renames and other additions / removals.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 04-09-2022 at 09:42.
nosoop 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 09:43.


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