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

[TF2] Unusual Taunts


Post New Thread Reply   
 
Thread Tools Display Modes
Author
StrikeR14
AlliedModders Donor
Join Date: Apr 2016
Location: Behind my PC
Plugin ID:
7356
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Do you want unusual taunts? We got some.
    Old 10-29-2020 , 05:11   [TF2] Unusual Taunts
    Reply With Quote #1

    [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.

    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account

    Last edited by StrikeR14; 11-02-2020 at 11:31. Reason: Version 1.0.2
    StrikeR14 is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 11-01-2020 , 21:04   Re: [TF2] Unusual Taunts
    Reply With Quote #2

    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:011: [SM] Exception reported: Invalid Handle 0 (error: 4)
    L 11/01/2020 - 20:011: [SM] Blaming: utaunts.smx
    L 11/01/2020 - 20:011: [SM] Call stack trace:
    L 11/01/2020 - 20:011: [SM] [0] ArrayList.Length.get
    L 11/01/2020 - 20:011: [SM] [1] Line 50, utaunts.sp::Command_TauntEffect
    PC Gamer is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 11-02-2020 , 11:02   Re: [TF2] Unusual Taunts
    Reply With Quote #3

    Quote:
    Originally Posted by PC Gamer View Post
    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.
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account

    Last edited by StrikeR14; 11-02-2020 at 11:19. Reason: had an idea for an improvement
    StrikeR14 is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 11-02-2020 , 11:31   Re: [TF2] Unusual Taunts
    Reply With Quote #4

    Updated to 1.0.2 - Fixed invalid handle error.
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account
    StrikeR14 is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 11-02-2020 , 12:39   Re: [TF2] Unusual Taunts
    Reply With Quote #5

    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.
    PC Gamer is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 11-02-2020 , 18:46   Re: [TF2] Unusual Taunts
    Reply With Quote #6

    Quote:
    Originally Posted by PC Gamer View Post
    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.
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account
    StrikeR14 is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 11-02-2020 , 20:18   Re: [TF2] Unusual Taunts
    Reply With Quote #7

    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!
    PC Gamer is offline
    Hoto Cocoa
    Senior Member
    Join Date: Jun 2018
    Location: Somewhere
    Old 12-03-2020 , 22:28   Re: [TF2] Unusual Taunts
    Reply With Quote #8

    Can you make it that specific player can use specific unusual taunt?
    Hoto Cocoa is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 12-04-2020 , 12:21   Re: [TF2] Unusual Taunts
    Reply With Quote #9

    Quote:
    Originally Posted by Hoto Cocoa View Post
    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.
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account
    StrikeR14 is offline
    sewdyer
    Junior Member
    Join Date: Jun 2021
    Location: the moon
    Old 06-16-2021 , 11:34   Re: [TF2] Unusual Taunts
    Reply With Quote #10

    wheres the smx
    sewdyer 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 19:57.


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