Dust87 Posted March 26, 2017 Posted March 26, 2017 I would like to change the connection port of my Thor patcher, If someone could help me this time it would be great! Thanks! Quote
0 Rynbef Posted March 26, 2017 Posted March 26, 2017 U will need to change your Apache/Nginx Port(Web Port 80). As example u use Apache. U can change ur port at /etc/apache2/ports.conf. Change "Listen 80" to another port. As example "Listen 32147". Now u can access ur webpage or thor folder on "http://yourdomain.com:32147/patcher/". Rynbef~ 1 Quote
0 Dust87 Posted March 26, 2017 Author Posted March 26, 2017 (edited) 8 minutes ago, Rynbef said: U will need to change your Apache/Nginx Port(Web Port 80). As example u use Apache. U can change ur port at /etc/apache2/ports.conf. Change "Listen 80" to another port. As example "Listen 32147". Now u can access ur webpage or thor folder on "http://yourdomain.com:32147/patcher/". Rynbef~ Thanks for your answer! My apach is on the port 8080, but I don't know why my patcher don't want to connect. here are my params: config.ini Spoiler [Config:Main] RootURL='http://MYIP/thor/' RemoteConfigFile='main.ini' TimeOut=0 StatusFile='patchs.dat' DefaultGRF='mdata.grf' ClientEXE='Morigan Launcher.exe' ClientParameter='-1sak1' FinishOnConnectionFailure=false [Config:Window] AutoResize=true Style='none' Width= Height= DragHandling=true Background='images/bg.jpg' FadeOnDrag=false [Config:BGM] File= Loop=true Volume=20 Directory= [Config:Misc] Title='Morigan Patcher' HideProgressBarWhenFinish=false [Label:Status] AutoResize=true Width=411 Height=16 Left=40 Top=447 Alignment='left' FontColor=$ffffff FontName = 'calibri' FontSize =9 Text='Patch Process Finished' Hook='StatusChange' [ProgressBar:bar1] Width=411 Height=16 Left=36 Top=419 BackColorStart= BackColorEnd= FrontColorStart= FrontColorEnd= FrontImage='images/frontprogress.png' BackImage='images/backprogress.png' Hook='ProgressChange' [NoticeBox:Box0] Width=216 Height=161 Left=32 Top=238 URL='http://MYIP/thor/notice.html' [Button:Start] Default='images/start.png' OnHover='images/starthover.png' OnDown='images/startdown.png' Left=468 Top=323 Hook='Start' [Button:Exit] Default='images/Exit.png' OnHover='images/Exithover.png' OnDown='images/Exitdown.png' Left=684 Top=6 Mode=5 main.ini (server side): Spoiler //Thor Patcher remote config file [Main] //Allow patching or not? allow=true //Should patcher ignore everything else and finish patch immediately? Force_Start=false //if not, what message should appear? policy_msg=Server is taking a nap. //file_url - patch files should ALL put here. // This config entry will override the one in embed config. // o HTTP: // http://domain.com/dir/ // o FTP: // ftp://domain.com/dir/ // o With <Username> [Password] [Port] // ftp://username:[email protected]:port/dir/ // o Note: username is required if want put password, otherwise everything is optional. file_url=http://MYIP/thor/patchs/ [Patch] //use CheckSum tool, hash for client & patcher // used to make sure exe is up to date // (leave empty to disable this feature) ClientSum= PatcherSum= //This is compressed file for patcher & client update // To make these work, ClientSum and/or PatcherSum can't be empty // Note: these files should put same place as patch file (file_url in internal config) //Relative address, not FULL URL! ClientPath= PatcherPath= // Patch list file PatchList=plist.txt [Stars] // Shining o.O (Anyways, its for start button clones) // Since orignal client has check sum.. why not for clones? XD //How many? (it should same as amount of start button clone, but of course it's your choice) clients=0 // _sum - checksum, use CheckSum tool. //client1_sum= // _Name - Filename of exe //client1_Name= // _Path - Path for file [Compressed] //client1_Path= [Misc] //Set a limit for fragment, when reach this limit, patcher will ask user to defrag FragmentLimit=50 If you don't mind to help me :/ Edited March 26, 2017 by Dust87 Quote
0 Cyro Posted March 26, 2017 Posted March 26, 2017 5 minutes ago, Dust87 said: Thanks for your answer! My apach is on the port 8080, but I don't know why my patcher don't want to connect. here are my params: config.ini Hide contents [Config:Main] RootURL='http://MYIP/thor/' RemoteConfigFile='main.ini' TimeOut=0 StatusFile='patchs.dat' DefaultGRF='mdata.grf' ClientEXE='Morigan Launcher.exe' ClientParameter='-1sak1' FinishOnConnectionFailure=false [Config:Window] AutoResize=true Style='none' Width= Height= DragHandling=true Background='images/bg.jpg' FadeOnDrag=false [Config:BGM] File= Loop=true Volume=20 Directory= [Config:Misc] Title='Morigan Patcher' HideProgressBarWhenFinish=false [Label:Status] AutoResize=true Width=411 Height=16 Left=40 Top=447 Alignment='left' FontColor=$ffffff FontName = 'calibri' FontSize =9 Text='Patch Process Finished' Hook='StatusChange' [ProgressBar:bar1] Width=411 Height=16 Left=36 Top=419 BackColorStart= BackColorEnd= FrontColorStart= FrontColorEnd= FrontImage='images/frontprogress.png' BackImage='images/backprogress.png' Hook='ProgressChange' [NoticeBox:Box0] Width=216 Height=161 Left=32 Top=238 URL='http://MYIP/thor/notice.html' [Button:Start] Default='images/start.png' OnHover='images/starthover.png' OnDown='images/startdown.png' Left=468 Top=323 Hook='Start' [Button:Exit] Default='images/Exit.png' OnHover='images/Exithover.png' OnDown='images/Exitdown.png' Left=684 Top=6 Mode=5 main.ini (server side): Hide contents //Thor Patcher remote config file [Main] //Allow patching or not? allow=true //Should patcher ignore everything else and finish patch immediately? Force_Start=false //if not, what message should appear? policy_msg=Server is taking a nap. //file_url - patch files should ALL put here. // This config entry will override the one in embed config. // o HTTP: // http://domain.com/dir/ // o FTP: // ftp://domain.com/dir/ // o With <Username> [Password] [Port] // ftp://username:[email protected]:port/dir/ // o Note: username is required if want put password, otherwise everything is optional. file_url=http://MYIP/thor/patchs/ [Patch] //use CheckSum tool, hash for client & patcher // used to make sure exe is up to date // (leave empty to disable this feature) ClientSum= PatcherSum= //This is compressed file for patcher & client update // To make these work, ClientSum and/or PatcherSum can't be empty // Note: these files should put same place as patch file (file_url in internal config) //Relative address, not FULL URL! ClientPath= PatcherPath= // Patch list file PatchList=plist.txt [Stars] // Shining o.O (Anyways, its for start button clones) // Since orignal client has check sum.. why not for clones? XD //How many? (it should same as amount of start button clone, but of course it's your choice) clients=0 // _sum - checksum, use CheckSum tool. //client1_sum= // _Name - Filename of exe //client1_Name= // _Path - Path for file [Compressed] //client1_Path= [Misc] //Set a limit for fragment, when reach this limit, patcher will ask user to defrag FragmentLimit=50 If you don't mind to help me :/ Try checking your folder permissions, it might not allowing patcher to read those files 1 Quote
0 Dust87 Posted March 26, 2017 Author Posted March 26, 2017 6 minutes ago, Cyro said: Try checking your folder permissions, it might not allowing patcher to read those files Thank for you answer, my perms on the files are thoses: -rw-r--r-- 1 root root 38531 Nov 15 2008 bg.jpg -rw-r--r-- 1 root root 1618 Mar 26 20:43 main.ini -rw-r--r-- 1 root root 539 Mar 11 2009 notice.html drwxr-xr-x 2 root root 4096 Mar 26 15:13 patchs -rw-r--r-- 1 root root 0 Mar 26 15:14 plist.txt -rw-r--r-- 1 root root 268 Nov 15 2008 style.css Quote
0 Rynbef Posted March 26, 2017 Posted March 26, 2017 Change: RootURL='http://MYIP/thor/' to: RootURL='http://MYIP:8080/thor/' Rynbef~ 1 Quote
0 Dust87 Posted March 26, 2017 Author Posted March 26, 2017 Just now, Rynbef said: Change: RootURL='http://MYIP/thor/' to: RootURL='http://MYIP:8080/thor/' Rynbef~ Thanks, I've tried, but said: Quote
0 Rynbef Posted March 26, 2017 Posted March 26, 2017 (edited) Do u use a firewall/iptable on ur root? Do u can access the site via browser? Rynbef~ Edited March 26, 2017 by Rynbef 1 Quote
0 Dust87 Posted March 26, 2017 Author Posted March 26, 2017 2 minutes ago, Rynbef said: Do u use a firewall/iptable on ur root? Do u can access the site via browser? Rynbef~ I don't use any firewall/iptable, and I can acces to the site: Quote
0 Rynbef Posted March 26, 2017 Posted March 26, 2017 Do u have a firewall at ur pc? Add the Thor Patcher to the firewall and run the patcher as administrator. Rynbef~ 1 Quote
0 Dust87 Posted March 26, 2017 Author Posted March 26, 2017 Soved: I find that the access isnt in " var/www/thor/ " like my older server. I just moved the folder in " var/www/html/thor/ " and it was solved. Thanks for help guys :3 Quote
Question
Dust87
I would like to change the connection port of my Thor patcher, If someone could help me this time it would be great!
Thanks!
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.