Jump to content
  • 0

Thor Patcher unable to connect


Poseidon

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

Hi guys

I am having real trouble getting my thor patcher to connect to my web host the only error message i get is either "attempting to connect" or "failed to communicate with server" It also doesn't show the notice box

here is my config.ini

[Config:Main]

RootURL='https://www.praetoriaro.com//patcher/'

RemoteConfigFile='main.ini'

TimeOut=0

StatusFile='PraetoriaRO.dat'

DefaultGRF='info.grf'

ClientEXE='PraetoriaRO.exe'
ClientParameter='-1rag1'

FinishOnConnectionFailure=false

[Config:Window]
AutoResize=true
Style='none'

Width=500
Height=430

DragHandling=true

Background='images/bg.jpg'

FadeOnDrag=true

[Config:BGM]
File=

Loop=true

Volume=20

Directory=

[Config:Misc]
Title='PraetoriaRO Patcher'

HideProgressBarWhenFinish=true


[ProgressBar:bar1]
Width=310
Height=20

Left=22
Top=385

BackColorStart=$009DEEEF
BackColorEnd=$00C2F1F1

FrontColorStart=$006ED5B0
FrontColorEnd=$0080DDCA

FrontImage=
BackImage=

Hook='ProgressChange'



[Label:Status]
AutoResize = false

Width=310
Height=

Left=20
Top=365
Alignment='center'

FontColor=$ffffff
FontName = ''
FontSize =

Text=''

Hook='StatusChange'

[NoticeBox:Box0]
Width=310
Height=150
Left=20
Top=200
URL='https://www.praetoria.com//patcher/index.html'



[Button:Start]
Default='images/start1.png'
OnHover='images/start2.png'
OnDown='images/start3.png'

Left=383
Top=211

Hook='Start'

[Button:Exit]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=244

Hook='Exit'

[Button:Cancel]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=211
Hook='Cancel'

here is my main.ini

//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=https://www.praetoriaro.com/patcher/patches/

[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

could anyone help me please?.

Edited by Poseidon
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

[Config:Main]

RootURL='https://www.praetoriaro.com/patcher/'

RemoteConfigFile='main.ini'

TimeOut=0

StatusFile='PraetoriaRO.dat'

DefaultGRF='info.grf'

ClientEXE='PraetoriaRO.exe'
ClientParameter='-1rag1'

FinishOnConnectionFailure=false

[Config:Window]
AutoResize=true
Style='none'

Width=500
Height=430

DragHandling=true

Background='images/bg.jpg'

FadeOnDrag=true

[Config:BGM]
File=

Loop=true

Volume=20

Directory=

[Config:Misc]
Title='PraetoriaRO Patcher'

HideProgressBarWhenFinish=true


[ProgressBar:bar1]
Width=310
Height=20

Left=22
Top=385

BackColorStart=$009DEEEF
BackColorEnd=$00C2F1F1

FrontColorStart=$006ED5B0
FrontColorEnd=$0080DDCA

FrontImage=
BackImage=

Hook='ProgressChange'



[Label:Status]
AutoResize = false

Width=310
Height=

Left=20
Top=365
Alignment='center'

FontColor=$ffffff
FontName = ''
FontSize =

Text=''

Hook='StatusChange'

[NoticeBox:Box0]
Width=310
Height=150
Left=20
Top=200
URL='https://www.praetoria.com/patcher/index.html'



[Button:Start]
Default='images/start1.png'
OnHover='images/start2.png'
OnDown='images/start3.png'

Left=383
Top=211

Hook='Start'

[Button:Exit]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=244

Hook='Exit'

[Button:Cancel]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=211
Hook='Cancel'

try this on your config.ini
re compile you thor patcher with this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   3
  • Joined:  11/13/11
  • Last Seen:  

You have https protocol? Try this:

 

[Config:Main]

RootURL='http://www.praetoriaro.com/patcher/'

RemoteConfigFile='main.ini'

TimeOut=0

StatusFile='PraetoriaRO.dat'

DefaultGRF='info.grf'

ClientEXE='PraetoriaRO.exe'
ClientParameter='-1rag1'

FinishOnConnectionFailure=false

[Config:Window]
AutoResize=true
Style='none'

Width=500
Height=430

DragHandling=true

Background='images/bg.jpg'

FadeOnDrag=true

[Config:BGM]
File=

Loop=true

Volume=20

Directory=

[Config:Misc]
Title='PraetoriaRO Patcher'

HideProgressBarWhenFinish=true


[ProgressBar:bar1]
Width=310
Height=20

Left=22
Top=385

BackColorStart=$009DEEEF
BackColorEnd=$00C2F1F1

FrontColorStart=$006ED5B0
FrontColorEnd=$0080DDCA

FrontImage=
BackImage=

Hook='ProgressChange'



[Label:Status]
AutoResize = false

Width=310
Height=

Left=20
Top=365
Alignment='center'

FontColor=$ffffff
FontName = ''
FontSize =

Text=''

Hook='StatusChange'

[NoticeBox:Box0]
Width=310
Height=150
Left=20
Top=200
URL='https://www.praetoria.com//patcher/index.html'



[Button:Start]
Default='images/start1.png'
OnHover='images/start2.png'
OnDown='images/start3.png'

Left=383
Top=211

Hook='Start'

[Button:Exit]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=244

Hook='Exit'

[Button:Cancel]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'

Left=383
Top=211
Hook='Cancel'

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

Yes i have https:// protocal enable site wide with clean urls

on the topic, I have changed what was suggested, i now have the notice.html  but i get failed to communicate with server when ever i start the patcher

Edited by Poseidon
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

u r using dedicated ragnarok hosting or unmanage vps?

i might think perhaps with the apache webserver configuration.. if in linux server..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

this is shared web hosting.

Thor patcher does not like .htaccess rule

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://praetoriaro.com//$1 [R=301,L]

once i removed this, It was able to connect without a problem, But my problem now is the security of my site is now limited.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

change server port to other than 80.. thor patcher will works on any ports besides normal port 80. just need to configure in webhost, config.ini & main.ini

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

its a shared hosting environment so changing of apache ports isn't an option for me i have figure out that thor patcher does not allow https via .htaccess file that is in the root of public html folder

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

 

Link to comment
Share on other sites

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.

×
×
  • Create New...