13.05.2013, 19:38
(
Последний раз редактировалось Kwarde; 26.05.2013 в 11:10.
)
BugReport - Let players report bugs!
What is this?
This filterscript (BugReport) gives players the possibility to report bugs.
No, it won't just send a message to admins with the bug report. It also saves the report into a file (default "scriptfiles/ServerBugReports.txt") and ingame you -as admin- can use a command to see the last 9 bug reports (reading from that file).
Why would this be usefull?
Well, I personally think that it's handier to let people report the bug ingame then letting them go to a site and report the bug there. Off course, the site is more advanced (they can include images and such) and this script only allows a max bug-report-string length of 100 characters.
However, it's also handier (I think) to use a command (or look into the file) to see all the bugs then going to a site and look through topics.
But the most important opinion off course, is your opinion!
Changelog
Download
Version 1.0.1-S (Latest, most stable)
* Full package: http://www.mediafire.com/download/4h...nload_101S.zip
* Source (.pwn) only: http://pastebin.com/Wm7Fb3TP
Please use this one! Others might occur bugs in other filterscripts because OnDialogResponse returns "1", which should be "0"! Check out https://sampwiki.blast.hk/wiki/OnDialogResponse
Also, after all case, "1" should be returned (which happened in this version too). If you have a little bit knowledge you can do this all yourself, otherwise download this one!)
Version 1.0.0-S
* Full package: http://www.mediafire.com/download/6b...nload_100S.zip
* Source (.pwn) only: http://pastebin.com/Vpksb56M
(NOTE: It's a stable version. I did quite alot tests, tested everything on different ways and I no longer found bugs (actually I did, but those are fixed :P). Although I haven't found bugs, you perhaps can find them! If you find a bug, please report it! (Don't use /reportbug but report it on this topic))
Version 0.4.34-RC (Note: small bug in /editconf)
* Full package: http://www.mediafire.com/download/6j...oad_0434RC.zip
* Source (.pwn) only: http://pastebin.com/fTMnVJNZ
Version 0.3.0-RC:
* Full package: http://www.mediafire.com/download.php?yk3jndju3cmbtha
* Source (.pwn) only: http://pastebin.com/pGiWmEMd
Version 0.1.28-RC:
* Full package: http://www.mediafire.com/download.php?az9e0bszidnrljb
* Source (.pwn) only: http://pastebin.com/gaVpkthM
Version 0.1.22-RC:
* Full package: http://www.mediafire.com/download.php?29dqm9zgg7i7add
* Source (.pwn) only: http://pastebin.com/RY44GApW
The project is no longer in development; no new updates will be added unless if there are requests! Eventually bugs however will be fixed
Credits
- DracoBlue for djson
- ****** for sscanf2
- ZeeX for zcmd
More help
A file called BugReport_README.txt is included in the full package download. There is more information about the filterscript and its content.
If you still have questions after reading all the files, don't hesitate to contact me.
Video and screens
Gonna make a video later!
p.s.
Off course, if you find a bug in this script, don't use /reportbug but let me know!
What is this?
This filterscript (BugReport) gives players the possibility to report bugs.
No, it won't just send a message to admins with the bug report. It also saves the report into a file (default "scriptfiles/ServerBugReports.txt") and ingame you -as admin- can use a command to see the last 9 bug reports (reading from that file).
Why would this be usefull?
Well, I personally think that it's handier to let people report the bug ingame then letting them go to a site and report the bug there. Off course, the site is more advanced (they can include images and such) and this script only allows a max bug-report-string length of 100 characters.
However, it's also handier (I think) to use a command (or look into the file) to see all the bugs then going to a site and look through topics.
But the most important opinion off course, is your opinion!
Changelog
Код:
[13-05-2013] * Initial release (version 0.1.22-RC) [14-05-2013] * Added interval for using /reportbug to prevent spam (thank you [KHK]Khalid for the idea!) (v0.1.28-RC) * Added server config file (v0.2.0-B) * Added /editconf command to be able to configure settings (v0.2.1-B) * USE_INGAME_ADVERTISE now must be true/false! (v0.2.3-B) * Slightly improved /editconf, making it more user-friendly (v0.2.10-RC) [15-05-2013] * Script rewritten (v0.3.0-RC): - Improved perfomance (PVars are no longer used. I use global variables instead now) - Minor bug fixes - Improved 'clean-code' (the script is better readable now) - /editconf is made a little bit more user-friendly * Added in config file: lastUpdate - For 0.4 I'm gonna need to change the bugreport file, this config will make sure that the file gets editted properly without causing bugs (v0.3.0-RC) [16-05-2013] * Added update-system (edit the BUG_REPORT_FILE; add IDs) (v0.4.1-A) [17-05-2013] * Improved update-system (v0.4.2-A) * Fixed update-system bugs (v0.4.3-A) [22-05-2013] * Changed the update-system; it now only is a system to check if the bug report file is compatible with the current version! (Since 0.4 will be the last update) (v0.4.6-A) [23-05-2013] * BugReportFileCheck system done; 100% fixed (v0.4.16-B) * Added /removebugreport [bugreport ID] (v0.4.17-B) * Added define 'TMP_FILE' (name for tmp file, not really usefull unless if you want a seperate directory) (v0.4.18-B) * Added function 'removeBugId(id);' to remove IDs from reports (v0.4.20-B) * Changed /checkbugs; added the ID of the report * Fixed bugs in 0.4-added stuff + perfomance increased (also from 0.4 stuff) (v0.4.29-B) * Debugging prints removed, switched to Release Candidate (v0.4.30-RC) * Removed 'djStyled(true);', futher small unimportant changes (v0.4.32-RC) * Added instant saving of the server configuration file (otherwise bugs might occur when the server crashes while new reports were added, for example) (v0.4.33-RC) * Small bugfix (REPORT_INTERVAL); forgot to add '* 1000' (v0.4.34-RC) [24-05-2013] * Changed /editconf 'interval' (players who still wait now immediately can use the command again) (v0.4.35-RC) * Changed /editconf 'interval' (I shouldn't use "*1000" here; it would be multiplied by '*1000' again!) (v0.4.36-RC) * Changed /checkbugs and /removebugreport; Removed '!fexist' check (because GetFileLines() does this already) (v0.4.37-RC) * >>FINAL RELEASE! v1.0.0-S (Stable) << [26-05-2013] * Important update! Fixed possible bug (OnDialogResponse returned 1 but should be 0. Check out https://sampwiki.blast.hk/wiki/OnDialogResponse) (v1.0.1-S)
Version 1.0.1-S (Latest, most stable)
* Full package: http://www.mediafire.com/download/4h...nload_101S.zip
* Source (.pwn) only: http://pastebin.com/Wm7Fb3TP
Please use this one! Others might occur bugs in other filterscripts because OnDialogResponse returns "1", which should be "0"! Check out https://sampwiki.blast.hk/wiki/OnDialogResponse
Also, after all case, "1" should be returned (which happened in this version too). If you have a little bit knowledge you can do this all yourself, otherwise download this one!)
Version 1.0.0-S
* Full package: http://www.mediafire.com/download/6b...nload_100S.zip
* Source (.pwn) only: http://pastebin.com/Vpksb56M
(NOTE: It's a stable version. I did quite alot tests, tested everything on different ways and I no longer found bugs (actually I did, but those are fixed :P). Although I haven't found bugs, you perhaps can find them! If you find a bug, please report it! (Don't use /reportbug but report it on this topic))
Version 0.4.34-RC (Note: small bug in /editconf)
* Full package: http://www.mediafire.com/download/6j...oad_0434RC.zip
* Source (.pwn) only: http://pastebin.com/fTMnVJNZ
Version 0.3.0-RC:
* Full package: http://www.mediafire.com/download.php?yk3jndju3cmbtha
* Source (.pwn) only: http://pastebin.com/pGiWmEMd
Version 0.1.28-RC:
* Full package: http://www.mediafire.com/download.php?az9e0bszidnrljb
* Source (.pwn) only: http://pastebin.com/gaVpkthM
Version 0.1.22-RC:
* Full package: http://www.mediafire.com/download.php?29dqm9zgg7i7add
* Source (.pwn) only: http://pastebin.com/RY44GApW
The project is no longer in development; no new updates will be added unless if there are requests! Eventually bugs however will be fixed
Credits
- DracoBlue for djson
- ****** for sscanf2
- ZeeX for zcmd
More help
A file called BugReport_README.txt is included in the full package download. There is more information about the filterscript and its content.
If you still have questions after reading all the files, don't hesitate to contact me.
Video and screens
Gonna make a video later!
p.s.
Off course, if you find a bug in this script, don't use /reportbug but let me know!