SA-MP Forums Archive
[FilterScript] ******* Video Searcher and Reproducer - 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] ******* Video Searcher and Reproducer (/showthread.php?tid=374906)



******* Searcher and Reproducer v2 [PHP] - richardcor91 - 04.09.2012

******* Searcher and Reproducer v2


Demo: 176.31.142.86:7788
The last host ip was not working properly.

Hi guys!
This filterscript is able to search and reproduce ******* audio.
In first release I used pwncurl 0.1 by DracoBlue, but I noticed it might cause crashes and that's why I tried to create a new version using PHP, so I could use HTTP samp function that actually sends threaded HTTP requests, which is much more safer.

How to use:
Very simple, just type /y <Name of video to search> and you will get a list of the results found in *******.com, just like this:
New command: /yall - for RCON admins - able to reproduce audio for all players.

Instructions:
1. Download the pawno code and change the 12th line:
Код:
#define YOUR_WEBSITE "yourwebsite.com" //Change to your website name
2. Download the php code, rename the file downloaded to "curl.php".
3. Go to your website host (via ftp or any file manager) and upload the curl.php file to the /public_html/ directory.
4. Make sure curl.php file permissions are set to 644.
5. Compile and load the FS.



Download:
v2 (RECOMMENDED):
pwn source code: pastebin.com/NqUwxLAj
php source code: pastebin.com/hb6McDTX

v1 (not recommended - it uses pwncurl plugin)
Pastebin: pastebin.com/uFXMUKwH


Notes:
This is my first try on php and this is the website that helped me to create this filterscript:
http://linuxprograms.wordpress.com/category/curl-web/ - that's why I think it's still possible to do some improvements in the way that filterscript gets the information from the php side.

Hope you enjoy it!
Riccor


Re: ******* Video Searcher and Reproducer - shamortiy - 04.09.2012

Awesome! Release if for windows, please!


Re: ******* Video Searcher and Reproducer - richardcor91 - 04.09.2012

Sorry, I can't. Actually, I don't have Microsoft Visual installed.
Maybe someone else has it.


Respuesta: ******* Video Searcher and Reproducer - master-arg - 04.09.2012

Just awesome +rep


Re: ******* Video Searcher and Reproducer - C00K13M0N$73R - 04.09.2012

Quote:
Originally Posted by shamortiy
Посмотреть сообщение
Awesome! Release if for windows, please!
http://www.solidfiles.com/d/863fa4103e/


Re: ******* Video Searcher and Reproducer - D_Malfoy - 04.09.2012

Quote:
Originally Posted by C00K13M0N$73R
Посмотреть сообщение
thx, nice work


Re: ******* Video Searcher and Reproducer - razor steven - 04.09.2012

Totally a cool stuff! Thanks.
+rep



Re: ******* Video Searcher and Reproducer - paulommu - 04.09.2012

Код:
#define MAX_SS 65536
You must be kiddin' me.


Re: ******* Video Searcher and Reproducer - jpeg - 04.09.2012

Very Nice!


Re: ******* Video Searcher and Reproducer - richardcor91 - 05.09.2012

Quote:
Originally Posted by paulommu
Посмотреть сообщение
Код:
#define MAX_SS 65536
You must be kiddin' me.
Nope, man. I actually used that size because the amount of source code found in ******* is huge.


Re: ******* Video Searcher and Reproducer - richardcor91 - 06.09.2012

Version 2 released! Now free of plugins and using php side.
Demo server is also available


Re: ******* Video Searcher and Reproducer - Admigo - 02.08.2013

Not working here.
Код:
Error: Request failed. Try again later. [Response code 1]
Edit: It doesnt work cause this is not a windows version? Release this for windows please.


Re: ******* Video Searcher and Reproducer - BackScreen - 03.08.2013

it's give me: Unknown command... why ?


Re: ******* Video Searcher and Reproducer - TutosN - 28.05.2017

someone can give me de .pwn file i dont have a own website


Re: ******* Video Searcher and Reproducer - HoangNam - 28.05.2017

So cool. Thanks bro


Re: ******* Video Searcher and Reproducer - DDR3 - 30.05.2017

Working on linux?