SA-MP Forums Archive
[FilterScript] Feedback sender and bug tracker - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Feedback sender and bug tracker (/showthread.php?tid=218626)



Feedback sender and bug tracker - admantis - 30.01.2011

pawn Code:
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~ In a boring night of 29 january of 2011 I made this
~~~ I had nothing else to do.
~~~ By admantis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
What is this?
I was bored and I thought of making something and this was the best idea I had. It will let you send a bug or a suggestion and it will be saved in a file so the server owner can further read it and fix / make it.

EX:
I type /feedback. I choose option 'Suggestion', and I type it. If I type it too long it will warn me, saying to be concrete and clear. If I type swearing or insults it will kick me. Otherwise, the text will be sent and saved in a file.
The file format will be
Code:
[Log] = Bug report from Admantis [30/01/2011]: alright, the bug is that masks arent working
[Log] = Suggestion from Admantis [30/01/2011]: to remove /b for more rp :)

Commands?

/feedback

Download?
Courtesy from notesbin
http://notesbin.com/1313708791
Password: supermanvsgoku

Any questions? PM me


Re: Feedback sender and bug tracker - Hal - 30.01.2011

ahhh dini !

Good base though for anyone who wants a feature like it :P


Re: Feedback sender and bug tracker - admantis - 30.01.2011

it doesn't matter, the speed is not important in THIS case, specially when there is an anti-spam.
thanks


Re: Feedback sender and bug tracker - Hal - 30.01.2011

Quote:
Originally Posted by admantis
View Post
it doesn't matter, the speed is not important in THIS case, specially when there is an anti-spam.
thanks
very true. I love the pre-added words for antispam :P


Re: Feedback sender and bug tracker - wups - 30.01.2011

i suggest changing those unused variables from:
pawn Code:
if(fag != -1 || noob != -1 || stupid != -1 || ass != -1 || gay != -1
        || asshole != -1 || slut != -1 || prick != -1 || whore != -1)
to
pawn Code:
if(strfind(inputtext,"fag",true) != -1 || strfind(inputtext,"noob" != -1........)



Re: Feedback sender and bug tracker - sherlock - 30.01.2011

nice,i may use it.


Re: Feedback sender and bug tracker - [Ips]Guh - 30.01.2011

Nice Job..Very Good.


Re: Feedback sender and bug tracker - [L3th4l] - 30.01.2011

Erm you could of use something else than Dini when writing only:

pawn Code:
new
    iStr[128],
    iFile = fopen("bugs.txt", io_append);

    format(iStr, sizeof(iStr), "%s", inputtext);
    fwrite(iFile, iStr);
    fclose(iFile);
Not bad i guess


Re: Feedback sender and bug tracker - Cruiser_23 - 30.01.2011

Nice... Best for RP and Stunt GM's
I'm going to check it out, NOW!


Re: Feedback sender and bug tracker - admantis - 30.01.2011

Quote:
Originally Posted by [L3th4l]
View Post
Erm you could of use something else than Dini when writing only:

pawn Code:
new
    iStr[128],
    iFile = fopen("bugs.txt", io_append);

    format(iStr, sizeof(iStr), "%s", inputtext);
    fwrite(iFile, iStr);
    fclose(iFile);
Not bad i guess
Thank you I will consider it

If anyone has found a bug tell me, or if you've made this in your server PM me IP to test it.