[Filterscript] HTML Bug Reporter + Auto FTP Uploader -
-zriptarusk - 13.04.2009
Bug Reporter
File Description:
This is a simple filterscript that allows all your server visitors to report instantly any bug they find in your gamemode. This will update a table in an html file, that you can see by opening it with your browser.
It doesn't use any other library then a_samp, so there is no worries about compatibility or having to download any other library includes to modify the filterscript.
Currently, the filterscript is in version 0.1b, but unlike my previous releases I took a deep look into this one.
If you find any bug, or if you wish any feature or simply have a suggestion to make, please reply to this topic. Comments are welcome aswell.
Oh, I almost forgot. This also includes a welcome message in OnPlayerConnect, telling which command the player can use to report a bug. («/bug [description]»)
SolidFiles Download: Version 0.1b
Credits:
Bug Reporter - Version 0.1b
Copyright © Joгo 'Zriptarusk' Lopes, All rights reserved
Feel free to modify and publish (or just mirror it), as long as you don't remove the credits.
Features to be Added: Request a feature by replying to this topic
- Table Column - User IP Address
How to Publish the Bug Reports in the Web:
File Uploader as finnaly been released. You can use it to update the file automaticly.
Another great way, requires you to have PHP and a web server (apache is good) in the same machine as your sa-mp-server.exe.
If you do, create a 'bugreports.php' in your www root, and populate that file with this code:
Код:
<?php
echo file_get_contents('/path/to/samp/server/scriptfiles/bugreports.htm');
?>
This code has been submited by N_i_k_i
-----------------------------------------------------------------------------------
File Uploader

Bug Reporter File Uploader is a simple Java Application that checks every 5 seconds if the file was modified, and if it was, uploads it to a server specified by you.
Re: [Filterscript] HTML Bug Reporter -
Klutty - 13.04.2009
So you mean that, all the bugs people report, goes into a .html file?
COOL! Nice one!
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 13.04.2009
Quote:
Originally Posted by ʎʇʇnןʞ
So you mean that, all the bugs people report, goes into a .html file?
COOL! Nice one!
|
It's actually a .htm file, but yes
Re: [Filterscript] HTML Bug Reporter -
Klutty - 13.04.2009
Quote:
Originally Posted by -praNkster+
Quote:
Originally Posted by ʎʇʇnןʞ
So you mean that, all the bugs people report, goes into a .html file?
COOL! Nice one!
|
It's actually a .htm file, but yes 
|
Awesome! Im using this! (im too lazy to make my own /bug command, hehe)
Thanks!
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 14.04.2009
how to make, that i can include this in my Homepage?
Like anyone Reports a bug.. the File is in Scriptfiles.. but i want that you can see it from the Homepage?
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 14.04.2009
Quote:
Originally Posted by ►☺◄©ookie►☺◄
how to make, that i can include this in my Homepage?
Like anyone Reports a bug.. the File is in Scriptfiles.. but i want that you can see it from the Homepage?
|
Well, I never tought about that.
If you host your page in the same computer you host your sa-mp server, you can go to bugreporter.pwn and replace "bugreports.htm" by (for example) "c:/apache/wwwdocs/bugreports.htm". If your host has setted you up a virtual path, you can talk to him for further help.
If you dont, I don't know any other way of doing it.
I'm not sure if this will work tho.
--- Update
I just tried this, and it doesn't work. The server will crash.
Re: [Filterscript] HTML Bug Reporter -
n_i_k_i - 14.04.2009
You can set virtual directory in Apache2 config.
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 14.04.2009
how?
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 14.04.2009
Quote:
Originally Posted by ►☺◄©ookie►☺◄
how?
|
The only way I know isn't good at all, but would do the job
Go to your apache/conf folder, search for apache.conf file.
Inside that file, search for
Код:
DocumentRoot "c:/apache/wwwroot"
My path isn't the same as your path. Search for DocumentRoot and your will show up
Set its value to:
Код:
DocumentRoot "c:/somefolder/sa-mp/scriptfiles"
That way, you could do in a browser:
and see your server bug reports.
Other users can access to that very own page, if they replace «localhost» by your global IP.
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 14.04.2009
i have a root server.. just for information..
Operating System : Debian 4.0
And.. i thing your way will make my Forums unacessable
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 15.04.2009
Quote:
Originally Posted by ►☺◄©ookie►☺◄
i have a root server.. just for information..
Operating System : Debian 4.0
And.. i thing your way will make my Forums unacessable
|
That's why I said its a bad way of doing that.
You could move your forums and entire website to scriptfiles/, but that would still be a bad idea since it would open a security breach in your server scriptfiles.
Re: [Filterscript] HTML Bug Reporter -
Maercell - 15.04.2009
Lol, nice!
I never had the idea to write a html-file via Pawn.
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 15.04.2009
Quote:
Originally Posted by Maercell
Lol, nice!
I never had the idea to write a html-file via Pawn.
|
The idea came by accident.. Lol
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 15.04.2009
Quote:
Originally Posted by -praNkster+
Quote:
Originally Posted by ►☺◄©ookie►☺◄
i have a root server.. just for information..
Operating System : Debian 4.0
And.. i thing your way will make my Forums unacessable
|
That's why I said its a bad way of doing that.
You could move your forums and entire website to scriptfiles/, but that would still be a bad idea since it would open a security breach in your server scriptfiles.
|
This would open the Acess to User Files + Passwords, too
Re: [Filterscript] HTML Bug Reporter -
n_i_k_i - 15.04.2009
Quote:
Originally Posted by ►☺◄©ookie►☺◄
This would open the Acess to User Files + Passwords, too
|
Never heard of .htaccess?
+ you can make scriptfiles/web, and place bugreport file and all webserver in there.
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 15.04.2009
nah.. too complicated... isnt there a script that checks every 2 Secounds the bug report File and makes a Copy from it to my httpdocs folder?
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 15.04.2009
Quote:
Originally Posted by ►☺◄©ookie►☺◄
nah.. too complicated... isnt there a script that checks every 2 Secounds the bug report File and makes a Copy from it to my httpdocs folder?
|
I can do that for you if you want.
I'll create it on Java, which should be compatible with most O/S aslong as theres a Java Virtual Machine installed.
Want me to do it?
Re: [Filterscript] HTML Bug Reporter -
Maercell - 15.04.2009
Why don't you make a version with MySQL?!?
It's a bit work, but very useful, if you want to have this bugreports on a webspace or something like that.
Re: [Filterscript] HTML Bug Reporter -
-zriptarusk - 15.04.2009
Quote:
Originally Posted by Maercell
Why don't you make a version with MySQL?!?
It's a bit work, but very useful, if you want to have this bugreports on a webspace or something like that.
|
Maybe.. in a future version.
Re: [Filterscript] HTML Bug Reporter -
mirkoiz - 15.04.2009
I would love you(non gay way) if you do that i can acess from my httpdocs to the bugreport.htm