Exiled-Team / AdminTools

An SCP:SL EXILED plugin that gives server owners fun commands and logging functionality for their servers
20 stars 48 forks source link

Grenade command will not work in Exiled 7.0.0-rc3 #71

Closed Resident-Fortress closed 1 year ago

Resident-Fortress commented 1 year ago

Grenade command when attempted to be run will return Index was outside the bounds of the array. ZAP hosting told me this was an issue with the plugin

Steps to reproduce the behavior:

  1. Go to Text Based RA on a ZAP hosted server
  2. Write grenade Player ID Frag Type and hit enter
  3. See error

Grenade is supposed to spawn on the player that is specifed

Server logs https://pastebin.com/2LtE2Wjq Error is on the bottom of the log

7.0.0-rc.3

[2023-05-30 22:45:32.083 +02:00] Total number of plugins: 9 Enabled plugins: 9 Disabled plugins: 0 Exiled.Events:

Resident-Fortress commented 1 year ago

If the exiled team is this lazy then I have no idea what to do. I'll either switch to a different plugin loader or just recompile your ass admin tools in which I reviewed the C# code and all I see is pure clutter.

joker-119 commented 1 year ago

You see, grenade 2 -25 just isn't a valid command to give.

Firstly, you're not defining all the parameters for the command, which are grenade playerid grenadetype fusetime and secondly -25 is neither a valid grenade type nor a valid fuse time.

So basically you're stupid twice and if you couldn't figure thst simple issue out by reading the code (specifically the part at the very top of the command thst gives you the command and parameters to use) then your opinion is literally invalid and we have lost nothing by you using another framework, aside from losing another zap hosting chum that will probably spam our discord with meaningless shit and bug reports like this one thst aren't actually bugs since the command does actually work when used properly.

Sorry, I skipped the CS class where we learned how to fix other people's stupidity. Have fun tho.

"How dare the dev in charge of this free thing I'm using not have the time to respond to and immediately fix my 'bug' that is only caused by my inability to read." - Average ZAP hosting customer