Jump to content
  • 0

Thor Patcher unable to connect


Question

Posted (edited)

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

7 answers to this question

Recommended Posts

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

  • 0
Posted

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'

 

  • 0
Posted (edited)

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

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.

  • 0
Posted

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]

 

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...