Jump to content
  • 0

[SOLVED] Thor Patcher - Failes to communicate with server


edumander1

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.03
  • Content Count:  12
  • Reputation:   0
  • Joined:  09/04/23
  • Last Seen:  

My thor patcher can show news and status server but can't get updates.

image.png.32320b531a195bf8a2ed2aab7ce655cc.png

 

This is my config.ini:

 

Quote
[Config:Main]
 
RootURL='http://battle.ragnarok.pw/patch/'
 
RemoteConfigFile='main.ini'
 
TimeOut=0
 
StatusFile='update.dat'
 
DefaultGRF='battlero.grf'
 
ClientEXE='Ragnarok.exe'
ClientParameter='-1rag1'
 
//When patcher unable to connect webserver,
//should the patcher allow player start the game anyways?
FinishOnConnectionFailure=false
 
[Config:Window]
 
Style='none'
 
//This allows the player drag the window by background
DragHandling=true
 
//Background can be either jpg or bmp, in later case
//the top-left pixel is chosen as transparent color.
Background='images/BGCLEAN.bmp'
 
FadeOnDrag=true
 
[Config:BGM]
File=''
 
Loop=true
 
Volume=5
 
Directory=
 
[Config:Misc]
Title='BattleRO Game Launcher'
 
HideProgressBarWhenFinish=false
 
[ProgressBar:bar1]
Width=663
Height=16
Left=2
Top=549
 
FrontImage='images/bar_h.png'
BackImage='images/bar.png'
Hook='ProgressChange'
 
[Label:Status]
AutoResize = false
Width=369
Height=80
Left=7
Top=535
Alignment='left'
 
FontColor=$6f6864
FontName = ''
FontSize = '7'
 
Text=''
 
Hook='StatusChange'
 
// - NOTICE BOX ----------------------------------------------------
 
// [NoticeBox:Slide]
// Width=557
// Height=176
// Left=19
// Top=102
// URL='http://battle.ragnarok.pw/patch/web/slide.php'
 
[NoticeBox:StatusServer]
Width=95
Height=30
Left=542
Top=47
URL='http://battle.ragnarok.pw/patch/web/status.php'
 
[NoticeBox:News]
Width=439
Height=106
Left=40
Top=307
URL='http://battle.ragnarok.pw/patch/web/news.php'
 
// [NoticeBox:Topics]
// Width=439
// Height=106
// Left=40
// Top=428
// URL='http://battle.ragnarok.pw/patch/web/topics.php'
 
// - BTN START ----------------------------------------------------
[Button:Start]
Default='images/BTNJOGAR.png'
OnHover='images/BTNJOGAR_H.png'
OnDown='images/BTNJOGAR.png'
 
Left=706
Top=460
 
//Hook is used for default buttons,
//do not use this on custom buttons!
Hook='Start'
 
// - BTN EXIT ----------------------------------------------------
[Button:Exit]
Default='images/BTNFECH.png'
OnHover='images/BTNFECH_H.png'
OnDown='images/BTNFECH.png'
 
Left=879
Top=9
 
Hook='Exit'
 
[Button:Cancel]
Default='images/BTNFECH.png'
OnHover='images/BTNFECH_H.png'
OnDown='images/BTNFECH.png'
 
Left=879
Top=9
Hook='Cancel'
 
// - CUSTOM BTNS ----------------------------------------------------
[Button:Website]
Default='images/WEBSITE.png'
OnHover='images/WEBSITE_H.png'
OnDown='images/WEBSITE.png'
 
Left=171
Top=47
Mode='1'
Action='https://battle.ragnarok.pw/'
 
[Button:Register]
Default='images/REGISTER.png'
OnHover='images/REGISTER_H.png'
OnDown='images/REGISTER.png'
 
Left=266
Top=47
Mode='1'
Action='https://battle.ragnarok.pw/account/create/'
 
[Button:Vote]
Default='images/VOTE.png'
OnHover='images/VOTE_H.png'
OnDown='images/VOTE.png'
 
Left=369
Top=47
Mode='1'
Action='https://battle.ragnarok.pw/vote/'
 
[Button:Donate]
Default='images/DONATE.png'
OnHover='images/DONATE_H.png'
OnDown='images/DONATE.png'
 
Left=438
Top=47
Mode='1'
Action='https://battle.ragnarok.pw/donate/'
 
// [Button:CommunityNews]
// Default='images/BTNCOMUNIDADE.png'
// OnHover='images/BTNCOMUNIDADE_H.png'
// OnDown='images/BTNCOMUNIDADE.png'
 
// Left=489
// Top=285
// Mode='1'
// Action='https://discord.gg/JC68t7b3Zj'
 
// [Button:CommunityTopics]
// Default='images/BTNCOMUNIDADE.png'
// OnHover='images/BTNCOMUNIDADE_H.png'
// OnDown='images/BTNCOMUNIDADE.png'
 
// Left=489
// Top=406
// Mode='1'
// Action='https://discord.gg/GCaqUtu'
 
// [Button:Face]
// Default='images/FACEBOOK.png'
// OnHover='images/FACEBOOK_H.png'
// OnDown='images/FACEBOOK.png'
 
// Left=587
// Top=103
// Mode='1'
// Action='https://discord.gg/GCaqUtu'
 
// [Button:Insta]
// Default='images/INSTAGRAM.png'
// OnHover='images/INSTAGRAM_H.png'
// OnDown='images/INSTAGRAM.png'
 
// Left=587
// Top=148
// Mode='1'
// Action='https://discord.gg/GCaqUtu'
 
[Button:Discord]
Default='images/DISCORD.png'
OnHover='images/DISCORD_H.png'
OnDown='images/DISCORD.png'
 
Left=587
// Left=587
Top=103
// Top=190
Mode='1'
Action='https://discord.gg/JC68t7b3Zj'
 
[Button:Setup]
Default='images/BTNSETUP.png'
OnHover='images/BTNSETUP_H.png'
OnDown='images/BTNSETUP.png'
 
Left=856
Top=9
Mode='2'
Action='Setup.exe'
 
//[Button:Extra]
//
//
//
// Mode - mode for button
// 1 = open URL
// 2 = Launch file/program
// 3 = Message box
//Mode=
// Action - depend on what you set in the Mod, this may vary
// ex. Mode = 1 , Action='http://google.com'
//Action=

 

and this is my main.ini:

 

Quote
//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://battle.ragnarok.pw/patch/data/
 
[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

 

Edited by edumander1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, edumander1 said:

My thor patcher can show news and status server but can't get updates.

image.png.32320b531a195bf8a2ed2aab7ce655cc.png

 

This is my config.ini:

 

 

and this is my main.ini:

 

 

I check your link, and it have https.

You try to disable https, just use http instead.

And also, the problematic part your main.ini 

Please check the file URL, make sure its correct.

Edited by Chaos92
additional info
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.03
  • Content Count:  12
  • Reputation:   0
  • Joined:  09/04/23
  • Last Seen:  

On 11/5/2023 at 2:57 AM, Chaos92 said:

I check your link, and it have https.

You try to disable https, just use http instead.

And also, the problematic part your main.ini 

Please check the file URL, make sure its correct.

Hi, thank you for your asnwer . I disabled the SSL and check the url in the main.ini.

Is everything correct and the patch dir is 775, but get 403 in the url and still doens't working.

 

I created a subdomain to the patch folder and change my RootURL to
 

Quote
RootURL='http://patch.battle.ragnarok.pw'

and no main.ini my file_url to 

Quote

 

like this the subdoamin doesn't have SSL, but still doesn't connect in the server.

 

@solved

 

I don't know why, but I changed my rootURL to 

Quote
RootURL='http://battle.ragnarok.pw/patch/'

and works...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  121
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

good day, i have a question

i following step this topic but my patcher is like this...


no start button show up and its written "Attempt to connect patch server"

123.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

8 hours ago, ManokStreZ said:

good day, i have a question

i following step this topic but my patcher is like this...


no start button show up and its written "Attempt to connect patch server"

123.jpg

Try open your patch URL, make sure can be opened, no issue.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  121
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

23 hours ago, Chaos92 said:

Try open your patch URL, make sure can be opened, no issue.

its oke now, the problem is i need change name patcher

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