Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: Thijn on Sep 18, 2015, 06:45 PM

Title: Free file upload for script-releases
Post by: Thijn on Sep 18, 2015, 06:45 PM
http://files.thijn.ovh

This is a free file upload service mainly for uploading script releases, snippets, or plugins.
File upload size will be max 10MB, and only files of type 7z, zip, rar or nut are allowed.

You're asked for an Nickname, which can theoretically be anything, but preferable use your forum nickname if you actually want to release something.
All files will automagically be sent to VirusTotal and be scanned for viruses.
Uploaded files get a fancy download image that you can use on the forum, which looks like this:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fd5d374a1327754f459e763739a67a044%2FSquirrel-Racing-v1.4.zip&hash=f3617db6d3fbba2fc4216eb64aaf5d8bb5ad9036)

After a file upload you can copy paste a ready-to-use BBC, which will contain the clickable image.

Suggestions and bug reports are, as always, very much appreciated.

I'm not sure how this will turn out, but I'm willing to try. If things go wrong and it gets abused I will pull the plug, remove the files, and I wont be trying it again.
Title: Re: Free file upload for script-releases
Post by: Thijn on Sep 18, 2015, 06:56 PM
(I just noticed I accidentally locked this instead of pinning it. Derp.)
Title: Re: Free file upload for script-releases
Post by: KAKAN on Sep 19, 2015, 05:19 AM
Make account system too, because I can even use Stormeus name to upload shitty scripts and post it here :D

Other than that NICE WORK!
Title: Re: Free file upload for script-releases
Post by: DizzasTeR on Sep 19, 2015, 07:35 AM
Quote from: Thijn on Sep 18, 2015, 06:45 PMI'm not sure how this will turn out, but I'm willing to try. If things go wrong and it gets abused I will pull the plug, remove the files, and I wont be trying it again.

This, but as a matter of fact I won't like this facility to get removed because of some people here, maybe a way to get it more secure?
Title: Re: Free file upload for script-releases
Post by: DizzasTeR on Sep 19, 2015, 09:59 AM
[BUG] The number of 'Downloads' increment twice for one download.

I found this bug while testing the link generated for download since I had a doubt but noticed that when I first downloaded it went to two, after my second download it became four.
Title: Re: Free file upload for script-releases
Post by: . on Sep 19, 2015, 10:14 AM
Quote from: Doom_Killer on Sep 19, 2015, 09:59 AM[BUG] The number of 'Downloads' increment twice for one download.

I found this bug while testing the link generated for download since I had a doubt but noticed that when I first downloaded it went to two, after my second download it became four.

Maybe someone else downloaded that file in the meantime :-\
Title: Re: Free file upload for script-releases
Post by: Thijn on Sep 19, 2015, 10:37 AM
Quote from: Doom_Killer on Sep 19, 2015, 07:35 AM
Quote from: Thijn on Sep 18, 2015, 06:45 PMI'm not sure how this will turn out, but I'm willing to try. If things go wrong and it gets abused I will pull the plug, remove the files, and I wont be trying it again.

This, but as a matter of fact I won't like this facility to get removed because of some people here, maybe a way to get it more secure?
I have been thinking about this, and I'm open to suggestions but at the moment I'm not sure how to handle this.

Quote from: Doom_Killer on Sep 19, 2015, 09:59 AM[BUG] The number of 'Downloads' increment twice for one download.

I found this bug while testing the link generated for download since I had a doubt but noticed that when I first downloaded it went to two, after my second download it became four.
I'll take a look, thanks.

Edit: Changed a few lines and it seems to work now.
Title: Re: Free file upload for script-releases
Post by: Thijn on Sep 20, 2015, 07:50 PM
Kinda big change.

To increase security, I've added a login/register system.
In order to register you'll have to follow a link that will get PMed to your forum account. This way it's more secure as to who uploaded what file.

There's probably still a few bugs in the system, along with the fact that you have to login each time you close your browser, but since this was made in a few hours that's to be expected.
Bug reports are welcome :)
Title: Re: Free file upload for script-releases
Post by: EK.IceFlake on Sep 21, 2015, 03:34 PM
"automagically"
Are you sure? I don't see any magic.
Title: Re: Free file upload for script-releases
Post by: Thijn on Sep 21, 2015, 05:01 PM
Quote from: NE.CrystalBlue on Sep 21, 2015, 03:34 PM"automagically"
Are you sure? I don't see any magic.
Oh mate, there's plenty of magic involved. Plenty!
Title: Re: Free file upload for script-releases
Post by: KAKAN on Sep 21, 2015, 06:03 PM
lol :D
Title: Re: Free file upload for script-releases
Post by: rulk on Oct 22, 2015, 05:51 PM
Any chance of adding the ability to overwrite an existing file ? if I try and upload a file with the same name ( because I've updated it ) , I get 'this file is already uploaded'

As writing this I'm not sure if it's a good idea, it might get abused. but it's an idea.
Title: Re: Free file upload for script-releases
Post by: . on Oct 22, 2015, 05:59 PM
That's what version numbers are for. Right?

You could upload a file and associate it with another one. And when the user tries to download the old one it would be notified that there are newer ones. But still be able to download the old on if that's what he wants.
Title: Re: Free file upload for script-releases
Post by: Thijn on Oct 22, 2015, 06:09 PM
You should be able to upload a file with the same name. Only the contents need to be different.
I'll see if I can find the time to give it an update and allow you to upload newer versions.
Title: Re: Free file upload for script-releases
Post by: PunkNoodle on Nov 30, 2016, 09:05 PM
Excuse me for the bump, but I'm not able to register. I never received any PM and if I try again I get "I've already sent an verification code that account."
Title: Re: Free file upload for script-releases
Post by: Thijn on Nov 30, 2016, 10:10 PM
Settle'd in private. I'll try to fix it asap.
Title: Re: Free file upload for script-releases
Post by: Tizen on Jan 16, 2017, 01:52 PM
File upload not working. i did not received any PM to confirm.
Title: Re: Free file upload for script-releases
Post by: Thijn-FileBot on Jan 16, 2017, 06:25 PM
In order to keep sending PMs without getting a captcha I'm required to get 5 posts on this account. You can ignore these 5 post, and act like nothing happened.
Title: Re: Free file upload for script-releases
Post by: Thijn-FileBot on Jan 16, 2017, 06:25 PM
----
Title: Re: Free file upload for script-releases
Post by: Thijn-FileBot on Jan 16, 2017, 06:26 PM
---
Title: Re: Free file upload for script-releases
Post by: Thijn-FileBot on Jan 16, 2017, 06:26 PM
--
Title: Re: Free file upload for script-releases
Post by: Thijn-FileBot on Jan 16, 2017, 06:26 PM
-
Title: Re: Free file upload for script-releases
Post by: Thijn on Jan 16, 2017, 06:29 PM
@Tizen please try again
Title: Re: Free file upload for script-releases
Post by: KAKAN on Jan 17, 2017, 08:58 AM
It sent me 16 PMs with the same topic, i.e: "Your file upload verification link". I didn't even upload a single thing though
:edit: Now its 17
Title: Re: Free file upload for script-releases
Post by: PunkNoodle on Jan 17, 2017, 02:32 PM
Quote from: KAKAN on Jan 17, 2017, 08:58 AMIt sent me 16 PMs with the same topic, i.e: "Your file upload verification link". I didn't even upload a single thing though
:edit: Now its 17
(https://snag.gy/CtanHu.jpg)

Pretty much the same for me.
Title: Re: Free file upload for script-releases
Post by: Kewun on Jan 17, 2017, 03:20 PM
Ive got 6 pms
Title: Re: Free file upload for script-releases
Post by: Eva on Jan 17, 2017, 03:26 PM
Just 1 here
Title: Re: Free file upload for script-releases
Post by: Thijn on Jan 17, 2017, 05:13 PM
Fixed, someone found it funny to spam.
Title: Re: Free file upload for script-releases
Post by: PunkNoodle on Dec 06, 2017, 10:44 PM
*Bump*
I can't log in anymore, after I click on the Login button nothing happens. using Google Chrome if it helps.

@Thijn
Title: Re: Free file upload for script-releases
Post by: ! on Dec 07, 2017, 03:37 AM
Just logged in from chrome it's working.
Title: Re: Free file upload for script-releases
Post by: PunkNoodle on Dec 07, 2017, 07:58 AM
Quote from: PunkNoodle on Dec 06, 2017, 10:44 PM
*Bump*
I can't log in anymore, after I click on the Login button nothing happens. using Google Chrome if it helps.

@Thijn
Ignore it, it was me using wrong credentials to access :-[

Can't we have maybe an error message in the future? :-X
Title: Re: Free file upload for script-releases
Post by: Alecu Madalin on Sep 17, 2019, 08:41 AM
doesnt work anymore :'(
thx thijn
i think you hate my country and ip
Title: Re: Free file upload for script-releases
Post by: NicusorN5 on Sep 17, 2019, 05:31 PM
Quote from: Alecu Madalin on Sep 17, 2019, 08:41 AMthx thijn
i think you hate my country and ip
real shit?
Title: Re: Free file upload for script-releases
Post by: Alecu Madalin on Sep 26, 2019, 01:56 PM
Quote from: Athanatos on Sep 17, 2019, 05:31 PM
Quote from: Alecu Madalin on Sep 17, 2019, 08:41 AMthx thijn
i think you hate my country and ip
real shit?

nah
Title: Re: Free file upload for script-releases
Post by: H.a.S.a.N on May 04, 2023, 01:11 PM
Bro the register not work
Title: Re: Free file upload for script-releases
Post by: Dropgaming on Feb 15, 2024, 12:53 PM
how to create own server in vcmp