Jump to content
  • 0
Sign in to follow this  
Kleber Henrique

Ajuda com thor Patcher / Noticias

Question

Achei um thor patcher e acabei editando aqui

fico tudo bonitinho porem ele não ta lendo as noticias

alguém pode me ajudar a configura a bendita noticia?

 

nessa parte aqui:

 

//notice_file - [Relative Address]//You should able to access this file by combine base_url & notice_filenotice_file=

 

 

Se eu coloco o diretório do meu arquivo .html que seria a noticia ele não aparece nada

mais seu eu deixo:

 

//notice_file - [Relative Address]//You should able to access this file by combine base_url & notice_filenotice_file=index.html

Ele aparece:

Bem vindo ao Rock-RO

Servidor em manutenção

Acesse o face

Acesse o twiter

 

Porem não sei aonde está esse tal index.html sei que não está na pasta do meu thor e não está na pasta patch na minha hospedagem '0' isso é bruxaria aonde posso configurar isso?

 

// Thor Patcher Internal Config File// Note: any entry leaves as blank will use default value// True = 1// False = 0// Note that true or 1 both works fine (that's why I put "=")[URL]//base_url - everything except patch files will read from here//The address should point to a directory with / at end//// example://  http://domain.com/patch///    NOT//  http://domain.com/patch//base_url=http://rock-ragnarok.com/patch///notice_file - [Relative Address]//You should able to access this file by combine base_url & notice_filenotice_file=index.html//core_file - [Relative Address]//this internal config file only store whats required,//but core_file is a remote config file that stores on your web hostcore_file=main.ini//TimeOut - timeout of connection in seconds//0 is default setting, leave it as 0 unless you know what you are doing!TimeOut=0//=============================// File below is on local disk//=============================[Local]//status_file - [Relative Address]//It used to store information such as last patch id etc,status_file=Atualizacoes.dat//grf_file - [Relative Address]grf_file=rock-ro.grf//client_file - [Relative Address]//It's GAME EXE not patcher'sclient_file=Saint-Rock-RO.exe//client_parameter - [Self Explained]client_parameter=-1sak1//---------------------------------------------------------------------------------////  Below are advanced settings, it is not required to change for patcher to work////---------------------------------------------------------------------------------//=============================// Custom Skin controls//=============================[Skin]//windows_autosize - if set to 1, window size will automatically adjust depend on content sizewindows_autosize=false//windows_mode - How should window presented?// None - Borderless window// Single - Window cannot resized// Sizeable - ... what it says, however it can not resize when windows_autosize set to true or 1window_style=none// Width and Height of window//windows_autosize set to false or 0 for this to work// Min: 1 Max: 10000 (I don't think you would need that large)window_width=800window_height=400// If set to true, user able to drag window by click images (background)// recommended to true especially for boarderless windowwindow_handle_move=true// Image for background (DOES NOT READ FROM DIRECTORY OF PATCHER, the config packer will put image inside patcher too)// Support  : jpg bmp// Note     : patcher determine image format by filename extension, use with care!background_file=images3/bg.bmp//New style of progress bar, it used image.//WARNING: HIGH CPU USAGENewProgressBar=False//Image of progress bar(only when ProgressBar set to true; BMP, JPG, PNG are supported)ProgressBar_back=ProgressBar_front=// size of progress bar? (only when NewProgressBar set to false)progress_bar_width=355progress_bar_height=15// Position of progress barprogress_bar_left=20progress_bar_top=295//Custom progress bar color//Use hexadecimal of RGB [eg. #4C7D7E]//Color for back of progress bar.progress_bar_backcolor=fadbabprogress_bar_backcolor_end=fadbab//Color for front of progress bar.progress_bar_barcolor=5ca028progress_bar_barcolor_end=5ca028// Status message width (showing current status)// no heightstatus_width=498// Text alignment// Left , Center , Rightstatus_alignment=left// Positionstatus_left=23status_top=295//Color for status, in hexadecimal of RGB [eg. #123456]status_color=000000// control notice (News box? Mini web browser? you name it)notice_width=505notice_height=268notice_left=19notice_top=18// For start buttonstart_normal=images3/start_main.pngstart_hover=images3/start_hover.pngstart_down=images3/start_main.pngstart_left=381start_top=290// For Exit buttonexit_normal=images3/close_main.pngexit_hover=images3/close_hover.pngexit_down=images3/close_main.pngexit_left=455exit_top=290// for cancel buttoncancel_normal=images3/close_main.pngcancel_hover=images3/close_hover.pngcancel_down=images3/close_main.pngcancel_left=455cancel_top=290// How many custom buttons you want to create?// Can create up to 255 buttons (Plenty enough)buttons=6// - Custom buttons -//As you can see below, it's not that hard to make custom buttons//the number after "button" is id(depends on how many you set in buttons)// _normal - image file when button is in normal status//button1_normal=images/minimize.png// _hover - image file when user hover on it//button1_hover=images/minimizehover.png// _down - image file when user mouse down on it//button1_down=images/minimize.png// _left/_top - position of button//button1_left=556//button1_top=10// _mode - mode for button// 0 = open URL// 1 = Launch file/program// 2 = Message box// 3 = Minimize// 4 = Close patcher// 5 = Start button clone//button1_mode=3// _action - depend on what you set in _mode, this may vary// ex. _mode = 0 , _action=http://google.com// which makes user open that URL address after click that button//button1_action=// Parameter - Currently only used in "Start button clone"//button1_parameter=// _normal - image file when button is in normal status//button2_normal=images/close.png// _hover - image file when user hover on it//button2_hover=images/closehover.png// _down - image file when user mouse down on it//button2_down=images/close.png// _left/_top - position of button//button2_left=576//button2_top=10// _mode - mode for button// 0 = open URL// 1 = Launch file/program// 2 = Message box// 3 = Minimize// 4 = Close patcher// 5 = Start button clone//button2_mode=4// _action - depend on what you set in _mode, this may vary// ex. _mode = 0 , _action=http://google.com// which makes user open that URL address after click that button//button2_action=// Parameter - Currently only used in "Start button clone"//button1_parameter=//Custom Buttons//Register Buttonbutton1_normal=images3/reg_main.pngbutton1_hover=images3/reg_hover.pngbutton1_down=images3/reg_main.pngbutton1_left=15button1_top=316button1_mode=0button1_action=http://rock-ragnarok.com/cadastro//Forumbutton2_normal=images3/forum_main.pngbutton2_hover=images3/forum_hover.pngbutton2_down=images3/forum_main.pngbutton2_left=136button2_top=315button2_mode=0button2_action=http://rock-ragnarok.com/forum///Vote for usbutton3_normal=images3/vote_main.pngbutton3_hover=images3/vote_hover.pngbutton3_down=images3/vote_main.pngbutton3_left=257button3_top=315button3_mode=0button3_action=http://rock-ragnarok.com/cadastro///Facebookbutton4_normal=images3/fb_main.pngbutton4_hover=images3/fb_hover.pngbutton4_down=images3/fb_main.pngbutton4_left=383button4_top=335button4_mode=0button4_action=https://www.facebook.com/groups/RockRagnarok///Twitterbutton5_normal=images3/twit_main.pngbutton5_hover=images3/twit_hover.pngbutton5_down=images3/twit_main.pngbutton5_left=418button5_top=335button5_mode=0button5_action=https://twitter.com/R0ckRO//googlebutton6_normal=images3/google_main.pngbutton6_hover=images3/google_hover.pngbutton6_down=images3/google_main.pngbutton6_left=453button6_top=335button6_mode=0button6_action=https://www.youtube.com/channel/UC7pmAD-idhVgi_MmMxXC0zQ[BGM]//Background music, leave blank to disable (mp3/mid/wav)//Side note: Personally, I don't like background music in this kind situation, so think about players.bgm=//Loop play background music? (play over and over)BGMLoop=False//BGM Volume (1-100)// Recommended value: 40-60 [Respect player's ears please]// Default: 50Volume=50//Note: This will override "bgm" entry when set!//When set, patcher will scan all mp3 in specific directory (use relative path)//It will random choose one when launch//eg.   BGM/BGMDir=[Misc]//Set to true if you want patcher allow to start game when unable to connect webserverContinue On Connection Fail=true//What will the window title called?Title=Patch Rock Ragnarok//Set this to true if you love to see similar effect in RO when dragging window.// (Semi transparent effect)// Note: Does not apply to window title yet.// Not recommended for average users.FadeOnDrag=false

 

 

//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://rock-ragnarok.com/patch/web/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 filePatchList=atualizacao.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 defragFragmentLimit=50

 

Share this post


Link to post
Share on other sites

17 answers to this question

Recommended Posts

  • 0

 

Sim Julio ele está na minha hospedagem certinho POREM o thor não quer ler essa página de nociticas se eu coloco esse link la nas configuração o thor fica sem noticias mais se eu deixo apenas index.html ele aparece umas noticias lá mais não sei aonde configurar isso '-' pois esse index.html não sei aonde está já procurei em todos lugares e NADA.

 

 

4XHdEHN.png

Edited by noobsmok

Share this post


Link to post
Share on other sites
  • 0

tente no lugar do http o www

 

Nada ainda =/

 

Aonde poderia está esse index.htlm???

Se eu achar ele posso modificá-lo para rodar minhas noticias mais sei la aonde pode está esse arquivo.

Share this post


Link to post
Share on other sites
  • 0

o index.html é a página que vai ser lida. veja que o caminho completo eu postei ali em cima

Share this post


Link to post
Share on other sites
  • 0

o index.html é a página que vai ser lida. veja que o caminho completo eu postei ali em cima

 

Sim eu sei que o Index.html é o arquivo que sera lido POREM aonde estaria esse Index.html pois procurei em todos lugares e nada

sobre o caminho completo eu sei eu usava um outro thor patcher e peguei esse notice de lá mais como eu disse eu configuro o local e não aprece as noticias no meu thor =/

Edited by Kleber Henrique

Share this post


Link to post
Share on other sites
  • 0

tento renomear pra notice.html ?

Acabei de tentar e nada mais como o thor iria ler algo no meu ftp sem colocar o diretório do meu ftp '-'

ao colocar apenas notice.html aonde poderia deixar esse arquivo pro thor ler?

Share this post


Link to post
Share on other sites
  • 0

ele fica na hospedagem

 

como pode ficar na hospedagem sendo que eu não enviei nada para lá? pelo menos nada com nome index

e minha index do site não tem nada a ver com as noticias apresentada quando se coloca index.html

ou seja essa index ta em algum lugar escondido porem não sei aonde '-'

Share this post


Link to post
Share on other sites
  • 0

Não sei o que aconteceu mais renomiei o arquivo na minha hospedagem coloquei assim nas configuração:

 

 

notice_file=noticia.html 

 

E agora está lendo as noticias '-' mais as letras fico em branco e o fundo fico pequeno =/

Share this post


Link to post
Share on other sites
  • 0

Problema difícil, solução fácil:

 

c803550a68.png

 

como disse acima eu acabei colocando apenas noticias.html sem nenhum link

achei muito estranho o fato de estar : notice_file ao invez de url

Share this post


Link to post
Share on other sites
  • 0

Eu editei mas vi que voçe resolveu seu proprio erro.

 

Parabéns!

 

Sim acabei resolvendo sem saber como rsrs

Mais muito obrigado a Você e o Julio vocês me ajudaram bastante,,,

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.