A little help?
#1

Any idea why this happens?

PHP Code:
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFOBE.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFOBE.txd.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFYST.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFYST.txd.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BMOBE.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BMOBE.txd.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_C_worker.dff.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_C_worker.txd.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Cba.dff.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Cba.txd.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Clb.dff.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Clb.txd.
[21:08:59] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gda.dff.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gda.txd.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gdb.dff.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gdb.txd.
[21:09:02] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOST.dff.
[21:09:02] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOST.txd.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOTR.dff.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOTR.txd.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFYCG.dff.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFYCG.txd. 
PHP Code:
new DOWNLOAD_URL[] = "https://github.com/username/servername/tree/master/models";
public 
OnPlayerRequestDownload(playeridtypecrc)
{
    if(!
IsPlayerConnected(playerid)) return 0;
    new 
url_final[256+1], filename[64+1], foundfilename 0;
    
    if(
type == DOWNLOAD_REQUEST_TEXTURE_FILE)
    {
        
foundfilename FindTextureFileNameFromCRC(crcfilename64);
    }
    else if(
type == DOWNLOAD_REQUEST_MODEL_FILE)
    {
        
foundfilename FindModelFileNameFromCRC(crcfilename64);
    }
    if(
foundfilename)
    {
        
format(url_final256"%s/%s"DOWNLOAD_URLfilename);
        
RedirectDownload(playeridurl_final);
        
printf("[requesting download]: playerid %d redirecting download to %s."playeridurl_final);
    }
    return 
0;

Captura.PNG

Captura1.PNG
Reply
#2

why what happens
Reply
#3

I suspect github would like to speak to you about misuse of their system...


Seriously though, why have you hooked it up to your github, use a normal webserver...
Reply
#4

Quote:
Originally Posted by Sew_Sumi
View Post
I suspect github would like to speak to you about misuse of their system...


Seriously though, why have you hooked it up to your github, use a normal webserver...
I do not know what web page to use, I used mega and follow the same error.
Reply
#5

Quote:
Originally Posted by SapMan
View Post
I do not know what web page to use, I used mega and follow the same error.
You need an actual web host, not a file host/streamer/e.t.c.

This is in the same realm as those who want to use yourtube links in the audio stream setup. It doesn't work. You need the file to be directly accessible, not just hosted.

This is where a genuine web host with FTP upload, and no cloud based shit, is a good thing to know how to get, how to use, and how to setup.
Reply
#6

Can you explain it better? Or does it mean that I have to have my own web page to download the models from the internet?
Reply
#7

Yes.
Reply
#8

Quote:
Originally Posted by Sew_Sumi
View Post
Yes.
It's not true, you just use the cloudinary. You must register and upload files to the previously created folder, then use the appropriate link to download the models to the server.

https://cloudinary.com/
Reply
#9

Yea, and what happens when the cloud trips it's flood filter? Are you sure it ACTUALLY handles?

Trying to go technical when you don't need to, and skimping on costs trying to save a buck, NEVER bode well.
Reply
#10

Quote:
Originally Posted by Zamek
View Post
It's not true, you just use the cloudinary. You must register and upload files to the previously created folder, then use the appropriate link to download the models to the server.

https://cloudinary.com/
Now, what is the option?

IMAGE: Captura.PNG
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)