Jump to content
  • 0

Change Thor Patcher Port


Question

10 answers to this question

Recommended Posts

  • 0
Posted

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~

  • Upvote 1
  • 0
Posted (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 by Dust87
  • 0
Posted
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 

  • Upvote 1
  • 0
Posted
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

  • 0
Posted
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:

web.thumb.png.5a1b176e02fe28d70ad5ff8636bc987f.png

  • 0
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...