Jump to content
  • 0

Thor Patcher help,


Question

Posted (edited)

I want to create a new button but it says "Config parsing error or missing resource file" . I have everything i check everything but still the same. But when i remove the code its say done, so its mean that the problem is in the custom button please help :(. Here's the code:

[Config:Main]

RootURL='http://127.0.0.1/patch/'

RemoteConfigFile='main.ini'

TimeOut=0

StatusFile='server.dat'

DefaultGRF='server.grf'

ClientEXE='game.exe'
ClientParameter='-1sak1'

FinishOnConnectionFailure=false

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

Width=500
Height=531

DragHandling=true

Background='images/bg.jpg'

FadeOnDrag=false

[Config:BGM]
File=

Loop=true

Volume=20

Directory=

[Config:Misc]
Title='Regeneration Ragnarok Online'

HideProgressBarWhenFinish=true


[ProgressBar:bar1]
Width=423
Height=49

Left=36
Top=428

BackColorStart=$009DEEEF
BackColorEnd=$00C2F1F1

FrontColorStart=$006ED5B0
FrontColorEnd=$0080DDCA

FrontImage=
BackImage=

Hook='ProgressChange'



[Label:Status]
AutoResize = false

Width=423
Height=49

Left=36
Top=428
Alignment='center'

FontColor=$ffffff
FontName = ''
FontSize =

Text=''

Hook='StatusChange'

[NoticeBox:Box0]
Width=309
Height=236
Left=11
Top=162
URL='http://nelro.net/patch/Notice.html'



[button:Start]
Default='images/start.png'
OnHover='images/start_hover.png'
OnDown='images/start.png'

Left=345
Top=280

Hook='Start'

[button:Exit]
Default='images/exit.png'
OnHover='images/exit_hover.png'
OnDown='images/exit.png'

Left=347
Top=347

Hook='Exit'


[button:Cancel]
Default='images/exit.png'
OnHover='images/exit_hover.png'
OnDown='images/exit.png'

Left=347
Top=347
Hook='Cancel'

//Homepage Button
button1_normal=images/homepage.png
button1_hover=images/homepage_hover.png
button1_down=images/homepage.png
button1_left=347
button1_top=222
button1_mode=0
button1_action=http://re-ro.com//

//Minimize Button
button4_normal=images/minimize.png
button4_hover=images/minimize_hover.png
button4_down=images/minimize.png
button4_left=455
button4_top=13
button4_mode=3
//End Of Custom Buttons

THANKS!

Edited by Arcenciel
Codeboxed

5 answers to this question

Recommended Posts

Posted

Did you try putting the values is quotes?

Like this:

//Homepage Button

button1_normal='images/homepage.png'

button1_hover='images/homepage_hover.png'

button1_down='images/homepage.png'

button1_left='347'

button1_top='222'

button1_mode='0'

button1_action='http://re-ro.com//'

//Minimize Button

button4_normal='images/minimize.png'

button4_hover='images/minimize_hover.png'

button4_down='images/minimize.png'

button4_left='455'

button4_top='13'

button4_mode='3'

//End Of Custom Buttons

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