Remote Version<\/a> File is the path to your version.txt file online. You should copy this URL and paste it into your web browser. If you can’t see or download the file, then something is wrong. See error codes below.<\/p>\n\n\n\nUpload or Transfer Files in Binary<\/h2>\n\n\n\n
You must ensure you upload all your game\/patch files in BINARY mode through your FTP client. This ensures that the files are transferred in the correct encoding format. If you don’t, your server could change the encoding of the file, thus resulting in the filesize changing or even the date stamp modification.<\/p>\n\n\n\n
If you upload\/transfer in BINARY mode, it will ensure the file integrity is kept intact when transferring to your server.<\/p>\n\n\n\n
Windows IIS Server Setup<\/h2>\n\n\n\n
Windows Servers (IIS) are very different from Linux driven servers. They typically block access to all file types except a handful of common ones, like exe, jpg, bmp etc.<\/p>\n\n\n\n
However, your AOPS patch files once renamed, will all have TLG appended to the end, such as:<\/p>\n\n\n\n
thisfile.jpgtlg
thatfile.exetlg<\/p>\n\n\n\n
And Windows IIS won’t know to allow access to these files. So in this instance, you need to set the permissions for these files. You can do it by going to our Site’s IIS properties, then clicking on MIME Types.<\/p>\n\n\n\n
You then need to add a new MIME type and inside Filename Extension type:<\/p>\n\n\n\n
.*<\/em><\/p>\n\n\n\nthen for MIME Type:<\/p>\n\n\n\n
application\/octet-stream<\/em><\/p>\n\n\n\nYou can also do this via a web.config file.<\/p>\n\n\n\n
You need to ensure you limit this to the patch directory (and subfolders) only. Otherwise you could expose your entire website\/server.<\/p>\n\n\n\n
Compression Output<\/h2>\n\n\n\n
You must make sure you disable any compression output from your server for both Windows and Linux servers.<\/p>\n\n\n\n
Disabling compression output means the file integrity will stay intact as the file is distributed to the AOPS patcher.<\/p>\n\n\n\n
Having GZIP compression enabled for example, will compress some of the files that are text and output a different file size, thus resulting in a never-ending-loop for that file being patched.<\/p>\n\n\n\n
View the Remote File<\/h2>\n\n\n\n
If you have followed all the Troubleshooting Steps and your patcher is still having problems patching a particular file, you then need to investigate that particular file.<\/p>\n\n\n\n
You can do this by opening up your debug log, finding the block or section where the suspect file is located and then looking at the information provided.<\/p>\n\n\n\n
For example, the first thing to do is, download the file that AOPS is downloading. You can do this by looking for the bit which starts with:<\/p>\n\n\n\n
Downloading (https:\/\/mysite.com\/myfiles\/Index.exetlg)<\/em><\/p>\n\n\n\nCopy this URL and paste it into your web browser. If it doesn’t download or produces a 404 or 503 or other error, then see the error codes below.<\/p>\n\n\n\n
If it DOES download, then once you have downloaded it through your browser, get up the file properties and check the filesize (in bytes) (not size on disk)<\/em> and compare it to the byte filesize listed in your patch.gcl file. They should be the exact same.<\/p>\n\n\n\nFirewall Restrictions<\/h2>\n\n\n\n
AOPS should not usually require any special kind of Firewall rule or access from a users computer. 99% of the time anyway.<\/p>\n\n\n\n
However, some users may have some really strange (or really protective) setups, so if this is the case, you will need to tell your user to ‘Allow’ an exception for your launcher and AOPS to run on their computer. This is literally in less than 1% of cases, but we thought we’d list it here anyway just in case.<\/p>\n\n\n\n
Typos, Typos, Typos!<\/h2>\n\n\n\n
If after double-checking everything you still can’t seem to figure out the issue, you need to go back through all your AOPS settings and triple-check for typos.<\/p>\n\n\n\n
All the URLs you put in, copy them from your settings boxes and paste them into your web browser. If you get an error or something doesn’t work, but it shows in your FTP\/File Manager then it could just be a typo. You will be surprised how many users waste hours of debugging just to figure out they missed a certain character out of their Patch URL.<\/p>\n\n\n\n
WordPress and Other Websites<\/h2>\n\n\n\n
Although you can host your patch files on the same server as your website etc. we do not recommend it.<\/p>\n\n\n\n
You ideally want to keep everything safe and secure so give your patch files an account of its own.<\/p>\n\n\n\n
Secondly, putting your patch files onto a server that has WordPress or other scripts installed can cause problems with htaccess and rewrite rules.<\/p>\n\n\n\n
Free or Paid File Hosting<\/h2>\n\n\n\n
AOPS supports pretty much any web server, free or paid.<\/p>\n\n\n\n
Whilst you can use a free web hosting account, it’s not really recommended because some free web hosts put limitations on those accounts. It does work with a lot of free hosting accounts. If you really must only use a free hosting account then we recommend you search Google for ‘free cpanel hosting’ and select a free web host.<\/p>\n\n\n\n
AOPS is not compatible with Infinity Free Hosting as they have a javascript download routine which breaks AOPS.<\/p>\n\n\n\n
We recommend a paid hosting account, even just a cheap one, so long as there’s no weird limitations etc.<\/p>\n\n\n\n
If you want a webserver without any hassle, we supply super-fast patch servers starting from $<\/a>2<\/a>.49 here<\/a> and we can provide full support for your AOPS setup.<\/p>\n\n\n\nPlease note, for web servers not under our control, whilst we can try help support you, we cannot guarantee support as they are not our servers.<\/p>\n\n\n\n
Common Error Codes<\/h2>\n\n\n\n
404<\/strong><\/p>\n\n\n\nThis means the URL is incorrect, the files has been moved or deleted.<\/p>\n\n\n\n
It usually means there’s a typo for this particular file.<\/p>\n\n\n\n
503<\/strong><\/p>\n\n\n\nA 503 error means your server is struggling to process the patch. It’s very rare this will happen but it means your server is not strong enough to deal with the request or there are too many requests.<\/p>\n\n\n\n
403<\/strong><\/p>\n\n\n\nThis means permission is denied for this file or folder on your server. You must ensure the file or folder in question that produces this result is set to public so it can be read\/downloaded by the AOPS patcher.<\/p>\n\n\n\n
For all other error numbers, please use Google.<\/p>\n\n\n\n
Please note, you must follow this guide and the
previous part 1<\/a> thoroughly before asking for help in the Discord or on the Forums. Support will not be given to those who have not followed these guides to rule out user error first.<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"Over the last 3+ years we have handled many queries and issues regarding AOPS. AOPS works 100%. However, sometimes a typo, a file issue or a server issue can cause it to be thrown out of loop (or into a loop). We have the original AOPS Troubleshooting Guide here. Please make sure you run through […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-494","post","type-post","status-publish","format-standard","hentry","category-game-launcher-creator-v2"],"_links":{"self":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/494"}],"collection":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/comments?post=494"}],"version-history":[{"count":5,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/494\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/494\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/media?parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/categories?post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/tags?post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}