[FilterScript] Feedback sender and bug tracker
#1

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
Reply
#2

ahhh dini !

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

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

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
Reply
#5

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........)
Reply
#6

nice,i may use it.
Reply
#7

Nice Job..Very Good.
Reply
#8

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
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)