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

[ANY] BugReport


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Cruze
Veteran Member
Join Date: May 2017
Plugin ID:
7212
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 07-20-2020 , 09:51   [ANY] BugReport
    Reply With Quote #1

    Description: Simple plugin to report bugs to online admin with forward! Made this for my upcoming plugin called: Discord_Utilities. If you're interested in BETA testing for that plugin, join my discord server. Link in signature.

    Forward: BugReport_OnReportPost();
    PHP Code:
    /**
     * Called after a client (or module) has reported a bug for a map.
     * Be sure to check that client != 0 if you expect a valid client index.
     *
     * @param client        Client index of the caller.
     * @param map            DisplayName of map when client reported the bug.
     * @param reason        Reason selected by the client for the report.
     * @param array         Array with reasons that have already been reported in the current map.
     * @noreturn
     */
    forward void BugReport_OnReportPost(int client, const char[] map, const char[] reasonArrayList array); 
    Credits:
    1) Impact for calladmin. Taken code from that.

    Translations are welcome. Send pull request in github!

    Github
    Attached Files
    File Type: zip BugReport1.0.zip (12.2 KB, 191 views)
    __________________
    Taking paid private requests! Contact me
    Cruze is offline
    Sajmooooon
    Senior Member
    Join Date: Nov 2018
    Location: Slovakia
    Old 07-20-2020 , 10:06   Re: [ANY] BugReport
    Reply With Quote #2

    Nice plugin, are reports also saved in log ?
    If no, can you add something like that ?
    Sajmooooon is offline
    enderandrew
    Senior Member
    Join Date: Jun 2020
    Old 07-21-2020 , 04:04   Re: [ANY] BugReport
    Reply With Quote #3

    This looks great. I look forward to testing this along with your Discord Utilities.

    I'm trying to learn Sourcepawn so I like looking through the source. It looks like bugreport.inc is missing from the zip file.
    enderandrew is offline
    Cruze
    Veteran Member
    Join Date: May 2017
    Old 07-21-2020 , 12:09   Re: [ANY] BugReport
    Reply With Quote #4

    Quote:
    Originally Posted by Sajmooooon View Post
    Nice plugin, are reports also saved in log ?
    If no, can you add something like that ?
    Not yet, will add it in next version
    Quote:
    Originally Posted by enderandrew View Post
    This looks great. I look forward to testing this along with your Discord Utilities.

    I'm trying to learn Sourcepawn so I like looking through the source. It looks like bugreport.inc is missing from the zip file.
    yes I forgot to add it. it's in github tho
    __________________
    Taking paid private requests! Contact me
    Cruze is offline
    Judge_Duck
    Junior Member
    Join Date: Jul 2020
    Old 04-06-2021 , 01:04   Re: [ANY] BugReport
    Reply With Quote #5

    Is it possible to add a "Custom Reason/User Input" option that prompts the user for a response?

    Something like a question could get sent via text chat and then the user could input their reasoning just like a chat message?
    __________________

    https://www.endofthelinegaming.com/ -- Picking up where NoHeroes ended.
    Judge_Duck is offline
    Judge_Duck
    Junior Member
    Join Date: Jul 2020
    Old 04-06-2021 , 01:07   Re: [ANY] BugReport
    Reply With Quote #6

    Wow actually tested it out and realized you've covered this, please disregard!
    __________________

    https://www.endofthelinegaming.com/ -- Picking up where NoHeroes ended.
    Judge_Duck 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 07:36.


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