//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://my.ro-gaming.net/patcher/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
Question
devcloud
Hello. i am facing trouble for setting up Thor Patcher Host.
Method i followed.
1 - Tools> Config.ini > changed RootURL saved > ConfigEmbeder - Browse Thor Patcher > Pack >
2 - Web> Main.ini> changed file_url saved > Renamed Web> Patcher > Transfered Folder to Webhost using Putty. ( SS Attached )
= i tried Running Patcher it says failed to communicate with server. [ Please Guide Me ] Thanks In Advance,
Config _________
[Config:Main]
RootURL='http://123.123.123.123/patcher/' RemoteConfigFile='main.ini' TimeOut=0 StatusFile='update.dat' DefaultGRF='myroro.grf' ClientEXE='myro.exe' ClientParameter='-1rag1' FinishOnConnectionFailure=false
[Config:Window]
AutoResize=true Style='none' Width= Height= DragHandling=true Background='images/YourRO.bmp' FadeOnDrag=false
[Config:BGM]
File= Loop=true Volume=20 Directory= [Config:Misc] Title='MyRO Patcher' HideProgressBarWhenFinish=true
[ProgressBar:bar1]
Width=290 Height=11 Left=21 Top=488 BackColorStart=$009DEEEF BackColorEnd=$00C2F1F1 FrontColorStart=$006ED5B0 FrontColorEnd=$0080DDCA FrontImage= BackImage= Hook='ProgressChange'
[Label:Status]
AutoResize = false Width=290 Height= Left=10 Top=500 Alignment='center' FontColor=$000000 FontName = '' FontSize = Text='' Hook='StatusChange'
[NoticeBox:Box0]
Width=300 Height=325 Left=16 Top=140 URL='http://123.123.123.123/patcher/notice.php' [Button:Start] Default='images/start_01.png' OnHover='images/start_02.png' OnDown='images/start_01.png' Left=340 Top=395 Hook='Start'
[Button:Exit]
Default='images/cancel_01.png' OnHover='images/cancel_02.png' OnDown='images/cancel_01.png' Left=340 Top=444 Hook='Exit'
[Button:Cancel]
Default='images/cancel_01.png' OnHover='images/cancel_02.png' OnDown='images/cancel_01.png' Left=340 Top=444 Hook='Cancel'
__________
Main.ini
Please use CODEBOX.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.