Tried RC4 with the new redirect stuff and this happened
#1

All I did was use the new filterscript, changed url.

Code:
public OnPlayerRequestDownload(playerid, type, crc)
{
	if(!IsPlayerConnected(playerid)) return 0;
	new fullurl[256+1], dlfilename[64+1], foundfilename = 0;
	
	if(type == DOWNLOAD_REQUEST_TEXTURE_FILE) {
		foundfilename = FindTextureFileNameFromCRC(crc, dlfilename, 64);
	}
	else if(type == DOWNLOAD_REQUEST_MODEL_FILE) {
		foundfilename = FindModelFileNameFromCRC(crc, dlfilename, 64);
	}
	if(foundfilename) {
		format(fullurl, 256, "%s/%s", REDIRECT_DOWNLOAD_URL, dlfilename);
		RedirectDownload(playerid, fullurl);
		printf("[requesting download]: playerid %d redirecting download to %s.", playerid, fullurl);
	}
	return 1;
}
Code:
[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lvpdp...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lvpdp...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lapdp...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lapdp...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/crash...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/crash...4.83101082[03/12/2017 22:41:36] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/crash...4.83101082[03/12/2017 22:41:37] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/crash...4.83101082[03/12/2017 22:41:37] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/mafia...4.83101082[03/12/2017 22:41:38] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/mafia...4.83101082[03/12/2017 22:41:38] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/jimmy...4.83101082[03/12/2017 22:41:38] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/jimmy...4.83101082[03/12/2017 22:41:39] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavf...4.83101082[03/12/2017 22:41:39] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavf...4.83101082[03/12/2017 22:41:39] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavm...4.83101082[03/12/2017 22:41:41] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavm...4.83101082[03/12/2017 22:41:47] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavm...4.83101082[03/12/2017 22:41:48] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavm...4.83101082[03/12/2017 22:41:53] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavt...4.83101082[03/12/2017 22:41:54] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavt...4.83101082[03/12/2017 22:41:58] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gta4n...4.83101082[03/12/2017 22:41:59] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gta4n...4.83101082[03/12/2017 22:42:00] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/wd2ma...4.83101082[03/12/2017 22:42:02] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/wd2ma...4.83101082[03/12/2017 22:42:07] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/wd2ma...4.83101082[03/12/2017 22:42:08] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/wd2ai...4.83101082[03/12/2017 22:42:11] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/wd2ai...4.83101082[03/12/2017 22:42:32] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/paulw...4.83101082[03/12/2017 22:42:32] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/paulw...4.83101082[03/12/2017 22:42:33] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lukeh...4.83101082[03/12/2017 22:42:35] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/lukeh...4.83101082[03/12/2017 22:42:39] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/brazi...4.83101082[03/12/2017 22:42:41] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/brazi...4.83101082[03/12/2017 22:42:42] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/femal...4.83101082[03/12/2017 22:42:45] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/femal...4.83101082[03/12/2017 22:42:47] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gta4r...4.83101082[03/12/2017 22:42:48] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gta4r...4.83101082[03/12/2017 22:42:49] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavl...4.83101082[03/12/2017 22:42:49] [requesting download]: playerid 0 redirecting download to https://mywebsite.com/models/skins/gtavlazlow.txd.


The game got stuck here^

Then I noticed I had https instead of http on my server.

So deleted all the cache, went back in .. it went up to 60/39, sometimes u see it saying error on a txd/model but then it starts downloading instantly after. It allowed me in after being at 60/39 for awhile.. I'll make a video if needed.
Reply
#2

Some of my players have had similar issues today. The files that are invalid (bad checksum or whatever) should get downloaded again upon relogging.
Reply
#3

same thing here
Reply
#4

Should be fixed in RC4-1, try it out.
Reply
#5

You're meant to return 0 after calling RedirectDownload(). The RC4-1 server will fix it for you since it knows you called RedirectDownload().
Reply
#6

All good.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)