AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Unusual Taunts (https://forums.alliedmods.net/showthread.php?t=328156)

StrikeR14 10-29-2020 05:11

[TF2] Unusual Taunts
 
[TF2] Unusual Taunts


Description:

This plugin allows players to apply unusual taunt effects while taunting! The Unusual Taunts Menu is fully updated by reading TF2 Schema every MapStart. Since items_game.txt doesn't have any information about the effect's names, I decided to go directly to the WebApi and fetch these names from there.

Requirements / Dependencies :

Commands :
  • !utaunt - Command for opening the unusual taunts menu.
  • !unusualtaunt - Same as above.

Changelog:

Code:

1.0.2 - Fixed invalid handle error.
1.0.1 - Blocked more buggy taunts that might crash the server.
1.0 - Initial Release


The repository below contains specific Installation Instructions. Please follow them or else the plugin might not function properly.


PC Gamer 11-01-2020 21:04

Re: [TF2] Unusual Taunts
 
I tried using this today but received this error:

Quote:

L 11/01/2020 - 20:01:21: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 11/01/2020 - 20:01:21: [SM] Blaming: utaunts.smx
L 11/01/2020 - 20:01:21: [SM] Call stack trace:
L 11/01/2020 - 20:01:21: [SM] [0] ArrayList.Length.get
L 11/01/2020 - 20:01:21: [SM] [1] Line 50, utaunts.sp::Command_TauntEffect
L 11/01/2020 - 20:01:31: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 11/01/2020 - 20:01:31: [SM] Blaming: utaunts.smx
L 11/01/2020 - 20:01:31: [SM] Call stack trace:
L 11/01/2020 - 20:01:31: [SM] [0] ArrayList.Length.get
L 11/01/2020 - 20:01:31: [SM] [1] Line 50, utaunts.sp::Command_TauntEffect

StrikeR14 11-02-2020 11:02

Re: [TF2] Unusual Taunts
 
Quote:

Originally Posted by PC Gamer (Post 2723383)
I tried using this today but received this error:

Assuming you followed the instructions in the repository, that error is being generated due to errors in the HTTP request (since there are many HTTP status codes), I'll add a block when this happens.

EDIT: I'll also add a repeating timer that will try to fetch the data from the WebAPI again.

StrikeR14 11-02-2020 11:31

Re: [TF2] Unusual Taunts
 
Updated to 1.0.2 - Fixed invalid handle error.

PC Gamer 11-02-2020 12:39

Re: [TF2] Unusual Taunts
 
Thanks for the update. Now getting this error in chat: [SM] There was an error with the server's HTTP Request, try again later.

No error in server error log.

StrikeR14 11-02-2020 18:46

Re: [TF2] Unusual Taunts
 
Quote:

Originally Posted by PC Gamer (Post 2723486)
Thanks for the update. Now getting this error in chat: [SM] There was an error with the server's HTTP Request, try again later.

No error in server error log.

I've made a slight change to my code. It's up to the HTTP status codes now. If that doesn't help, then there's nothing else I can do.

PC Gamer 11-02-2020 20:18

Re: [TF2] Unusual Taunts
 
Thanks for the update.

Problem: I received the log error "[utaunts.smx] Could not fetch unusual taunts (HTTP status 403)"
Cause: My api key was formatted wrong. When I cut/pasted my api key it was in the format of "key: abcdefg"
Solution: Changed the api key from "key: abcdefg" to read "abcdefg" in sourcecode. Recompile plugin.
Plugin now works.

It's an impressive plugin. Thanks for making it!

Hoto Cocoa 12-03-2020 22:28

Re: [TF2] Unusual Taunts
 
Can you make it that specific player can use specific unusual taunt?

StrikeR14 12-04-2020 12:21

Re: [TF2] Unusual Taunts
 
Quote:

Originally Posted by Hoto Cocoa (Post 2727275)
Can you make it that specific player can use specific unusual taunt?

Not sure what you meant here, players can pick any effect on the menu, effects are not shared with other players.

sewdyer 06-16-2021 11:34

Re: [TF2] Unusual Taunts
 
wheres the smx


All times are GMT -4. The time now is 23:57.

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