-
Content Count
218 -
Joined
-
Last visited
-
Days Won
8
Posts posted by ZelosAvalon
-
-
tyvm! great job!
-
Load different npc?
maybe you can add checks like if (LANG == 1) fetch all english texts, and save to variable, if (LANG==2) fetch other lamg texts.
and use those variables in mes.
But the variable LANG, where should I declare it? this is already declared when i create an account and choose my country ?
-
Olá.
Hoje vim trazer um tutorial muito simples, mas que é de grande utilidade para todos, até pelo motivo de eu não ter encontrado em nenhuma comunidade PT-BR. Tive um grande trabalho para achar um tutorial que tivesse uma línguagem mais prática e funcionasse, então devido a isso decidi postar.
Utilizar multíplos iteminfo.lub/lua.
Primeiro, como sabemos, os clientes mais novos estão usando itemInfo.lua / lub para substituir arquivos TXT para informações de item no lado do cliente, dentro da pasta System.
Acho que grande parte dos criadores de servidores mais complexos, se depararam com a situação de adicionar algum(ns) item(ns) de outro RO como idRO, iRO, & jRO, KRO e sempre receber "Item desconhecido" e "Maçãs", e não saber o verdadeiro motivo causador disso, exceto ao trocar os arquivos itemInfo.lua/lub. Eis que surgiu uma solução! Vamos lá.
Utilidade: utilizar itemInfo de outros servidores oficiais, como kRO, iRO e idRO, e fazer com que aqueles possam substituir informações não existentes de outros arquivos.
Tutorial
- 1º Passo:
Prepare os arquivos a ser utilizado, exemplo:
"itemInfo_bRO.lua" - Traduzido do BRO com todos os arquivos em PT-BR.
"itemInfo_iRO.lua" Servidor internacional iRO.
"itemInfo_idRO.lua".
"iteminfo_custom" - Seu iteminfo customizado, com seus itens criados.
"itemInfo_kRO.lua" - Servidor oficial e distribuidor do jogo RO.
- 2º Passo:
Faça um arquivo .lua vazio, dê o nome "itemInfo.lua". Este será o arquivo principal para ser lido pelo cliente.
Edite o "itemInfo.lua", e cole este código.
main = function() iiFiles = { "System/itemInfo_Translation.lua", -- 1st priority "System/itemInfo_iRO.lua", -- 2nd "System/itemInfo_idRO.lua", -- 3rd "System/itemInfo_kRO.lua", -- 4th } _TempItems = {} _Num = 0 -- check existing item function CheckItem(ItemID, DESC) if not (_TempItems[ItemID]) then _TempItems[ItemID] = DESC _Num = _Num + 1 else myTbl = {} for pos,val in pairs(_TempItems[ItemID]) do myTbl[pos] = val end for pos,val in pairs(DESC) do if not (myTbl[pos]) or myTbl[pos] == "" then myTbl[pos] = val end end _TempItems[ItemID] = myTbl end end -- end check -- Read all files for i,iiFile in pairs(iiFiles) do d = dofile(iiFile) end -- Read all files -- process _TempItems for ItemID,DESC in pairs(_TempItems) do --print("ItemID",ItemID,"Name",DESC.identifiedDisplayName) result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k,v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end -- process _TempItems _TempItems = nil return true, "good" end
- 3º Passo:entre no arquivo criado iteminfo.lua, que foi colado o código e onde estiver essa partemain = function() iiFiles = { "System/itemInfo_Translation.lua", -- 1st priority "System/itemInfo_iRO.lua", -- 2nd "System/itemInfo_idRO.lua", -- 3rd "System/itemInfo_kRO.lua", -- 4th }
Mude para o nome dos seus arquivos, colocando em ordem de prioridade qual arquivo deve ser lido primeiro pelo Hexed (Geralmente iniciado com o BRO). Salve e feche.
- 4º Passo:
Em seguida, copie o arquivo e renomeie o arquivo copiado para "iteminfo.lub".
- 5º Passo:
Entre em todos seus arquivos preparados no Passo 1, e verifique se ambos começam assim:
tbl = { ... }
Caso sim, continue no mesmo arquivo e vá para o próximo passo.
- 6º Passo:
Vá até o final do arquivo e remova a função principal. Geralmente estará assim.
function main() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end return true, "good" end
Adicione ao lugar removido o seguinte código.
for ItemID,DESC in pairs(tbl) do CheckItem(ItemID,DESC) end
Fim!
Aprecie seus novos arquivos.
Notas e Créditos.
OBS¹: Apenas traduzi um tutorial já existente, no qual vou estar deixando a fonte a baixo. Mas tive que modificar praticamente todo tutorial, então os créditos são a ambos.
OBS²: Não irei fornecer nenhum arquivo, isto é apenas um tutorial, não me envie pm me solicitando nada.
OBS³: todos os arquivos devem ser decompilado .lua, não compilado.
OBS4:Se você tiver itens com ícone vazio , isso significa que sua data não tem o sprite / textura necessária ou seus arquivos itemInfo estão com o "unidentifiedResourceName" ou "identifiedResourceName" vazio ou não preenchidos.
muito bom obrigado por compartilhar!!]
Seguinte tem alguma forma de colocar para o jogador escolher sua linguagem e de acordo com isso ler o itemInfo de sua região ? por exemplo eu coloco no clientinfo varios servers porem em vez de colocar o nome eu coloco a linguage tipo:
No iRO é:
Thor
Chaos
No nosso seria:
English
Portuguese
Spañol
etc..
dai de acordo que o jogador escolhe o seu jogo lerá o itemInfo.lub (bRO, kRO iRO) de acordo com a linguagem dele, seria uma possibilidade de colocar em servidores com dual language! e seria muito bom! eu gostaria de aprender como por um servidor com + de um idioma sem ter que ficar traduzindo, tipo o @lang, ele muda a linguagem geral, queria um que os jogadores pudessem escolher sua linguagem e dar load na que eles escolherem, seria TOP! se alguem souber e quiser compartilhar o conhecimento, e se alguem quiser participar de uma equipe de tradução, estou traduzindo o arquivo.po 100% par português porém ele é gigantesco e sozinho ta osso! Fica o convite!
Acho que é isso que vc quer...
hmm ty i'll take a look.
-
nice job!
-
It depends on the type of server you want!
pre-renewal - I recommend Hercules "We have the plugins to help and make your life easier!"
renewal - I recommend rAthena "Is much more up to date"
Now you have two types of community:
Hercules Vs rAthena
I prefer Hercules, they are much more active and helpful.rAthena's leave you in the vacuum for months.... (Nobody answers you in the forum)
However most active members use both forums, so you can find people working on both of them like me xP
I recommend you create two servers offline with hercules and another with rathena and test them, and see which best serves you!
-
Just saying I got this (and most up to episode 16) already done and waiting for some other pr's to be merged to make it as official. I can't tell exactly when I go to do the pr's, I also plan to do a server where I can test first. But I can assure you everything I do will go to Herc.
Nice work, we can work together sharing our work! I'm back now and I'll be more active, i'm working with rathena too, so as soon as I finish my scripts I'll share it to you!
I'm currently working on:
Dorams maps/npcs/monster spawn
Verus maps/npcs/monster spawn
Horror Toy Factory
Rebellion Job Quest
Achievement System
RoDex
-
maybe its time to update status from github ?
for example: Eclage was commented in Dec 17, 2013
wtf guys ? what happened ?
It's time to get organized again!
lets make it updated! and add more episodes to comment !
I want to try to help (I'm playing and copying several iRO scripts), but that way I don't know what was already done and what wasn't!
best regards ZelosAvalon.
-
Olá.
Hoje vim trazer um tutorial muito simples, mas que é de grande utilidade para todos, até pelo motivo de eu não ter encontrado em nenhuma comunidade PT-BR. Tive um grande trabalho para achar um tutorial que tivesse uma línguagem mais prática e funcionasse, então devido a isso decidi postar.
Utilizar multíplos iteminfo.lub/lua.
Primeiro, como sabemos, os clientes mais novos estão usando itemInfo.lua / lub para substituir arquivos TXT para informações de item no lado do cliente, dentro da pasta System.
Acho que grande parte dos criadores de servidores mais complexos, se depararam com a situação de adicionar algum(ns) item(ns) de outro RO como idRO, iRO, & jRO, KRO e sempre receber "Item desconhecido" e "Maçãs", e não saber o verdadeiro motivo causador disso, exceto ao trocar os arquivos itemInfo.lua/lub. Eis que surgiu uma solução! Vamos lá.
Utilidade: utilizar itemInfo de outros servidores oficiais, como kRO, iRO e idRO, e fazer com que aqueles possam substituir informações não existentes de outros arquivos.
Tutorial
- 1º Passo:
Prepare os arquivos a ser utilizado, exemplo:
"itemInfo_bRO.lua" - Traduzido do BRO com todos os arquivos em PT-BR.
"itemInfo_iRO.lua" Servidor internacional iRO.
"itemInfo_idRO.lua".
"iteminfo_custom" - Seu iteminfo customizado, com seus itens criados.
"itemInfo_kRO.lua" - Servidor oficial e distribuidor do jogo RO.
- 2º Passo:
Faça um arquivo .lua vazio, dê o nome "itemInfo.lua". Este será o arquivo principal para ser lido pelo cliente.
Edite o "itemInfo.lua", e cole este código.
main = function() iiFiles = { "System/itemInfo_Translation.lua", -- 1st priority "System/itemInfo_iRO.lua", -- 2nd "System/itemInfo_idRO.lua", -- 3rd "System/itemInfo_kRO.lua", -- 4th } _TempItems = {} _Num = 0 -- check existing item function CheckItem(ItemID, DESC) if not (_TempItems[ItemID]) then _TempItems[ItemID] = DESC _Num = _Num + 1 else myTbl = {} for pos,val in pairs(_TempItems[ItemID]) do myTbl[pos] = val end for pos,val in pairs(DESC) do if not (myTbl[pos]) or myTbl[pos] == "" then myTbl[pos] = val end end _TempItems[ItemID] = myTbl end end -- end check -- Read all files for i,iiFile in pairs(iiFiles) do d = dofile(iiFile) end -- Read all files -- process _TempItems for ItemID,DESC in pairs(_TempItems) do --print("ItemID",ItemID,"Name",DESC.identifiedDisplayName) result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k,v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end -- process _TempItems _TempItems = nil return true, "good" end
- 3º Passo:entre no arquivo criado iteminfo.lua, que foi colado o código e onde estiver essa partemain = function() iiFiles = { "System/itemInfo_Translation.lua", -- 1st priority "System/itemInfo_iRO.lua", -- 2nd "System/itemInfo_idRO.lua", -- 3rd "System/itemInfo_kRO.lua", -- 4th }
Mude para o nome dos seus arquivos, colocando em ordem de prioridade qual arquivo deve ser lido primeiro pelo Hexed (Geralmente iniciado com o BRO). Salve e feche.
- 4º Passo:
Em seguida, copie o arquivo e renomeie o arquivo copiado para "iteminfo.lub".
- 5º Passo:
Entre em todos seus arquivos preparados no Passo 1, e verifique se ambos começam assim:
tbl = { ... }
Caso sim, continue no mesmo arquivo e vá para o próximo passo.
- 6º Passo:
Vá até o final do arquivo e remova a função principal. Geralmente estará assim.
function main() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end return true, "good" end
Adicione ao lugar removido o seguinte código.
for ItemID,DESC in pairs(tbl) do CheckItem(ItemID,DESC) end
Fim!
Aprecie seus novos arquivos.
Notas e Créditos.
OBS¹: Apenas traduzi um tutorial já existente, no qual vou estar deixando a fonte a baixo. Mas tive que modificar praticamente todo tutorial, então os créditos são a ambos.
OBS²: Não irei fornecer nenhum arquivo, isto é apenas um tutorial, não me envie pm me solicitando nada.
OBS³: todos os arquivos devem ser decompilado .lua, não compilado.
OBS4:Se você tiver itens com ícone vazio , isso significa que sua data não tem o sprite / textura necessária ou seus arquivos itemInfo estão com o "unidentifiedResourceName" ou "identifiedResourceName" vazio ou não preenchidos.
muito bom obrigado por compartilhar!!]
Seguinte tem alguma forma de colocar para o jogador escolher sua linguagem e de acordo com isso ler o itemInfo de sua região ? por exemplo eu coloco no clientinfo varios servers porem em vez de colocar o nome eu coloco a linguage tipo:
No iRO é:
Thor
Chaos
No nosso seria:
English
Portuguese
Spañol
etc..
dai de acordo que o jogador escolhe o seu jogo lerá o itemInfo.lub (bRO, kRO iRO) de acordo com a linguagem dele, seria uma possibilidade de colocar em servidores com dual language! e seria muito bom! eu gostaria de aprender como por um servidor com + de um idioma sem ter que ficar traduzindo, tipo o @lang, ele muda a linguagem geral, queria um que os jogadores pudessem escolher sua linguagem e dar load na que eles escolherem, seria TOP! se alguem souber e quiser compartilhar o conhecimento, e se alguem quiser participar de uma equipe de tradução, estou traduzindo o arquivo.po 100% par português porém ele é gigantesco e sozinho ta osso! Fica o convite!
-
I'm working to put the map Verus and Lasagna functional like (iRO), with all the NPCs and monsters, at the moment I'm more focused on the maps of the Dorams, somebody has some script of the maps of verus (NPCs and monsters spawn) and want to share?
As soon as I finish the maps: Lasagna, lasa_fild01 / 02 I'll share with you guys!i'm working hard every days to put it working, I have the ID of the initial Dorams quests, but they don't work, because they don't exist in the emulator! So I'm taking too long!
I hope to release this as soon as possible, I already have practice all the dialogues of lasagna NPCs in scripts, but still have to make the quests work!
best regards ZelosAvalon.
-
The mobs still missing stats, thats why I didn't include them here.
np ty anyway, i'll try to found and make this mob_db by myself if i get it i share with you!
-
yes, but not sure when i do the pr (i work on this since some time, the recent iro testing helped a bit but there is still a lot missing).
for mobs
//== lasa_fild01 - Ravioli Plain Watch ======================== lasa_fild01,145,361,15,15 monster Red Plant 1078,5,5000,0,0 lasa_fild02,0,0,0,0 monster Eggring 3495,115,5000,0,0 lasa_fild02,0,0,0,0 monster Leaf Lunatic 3496,115,5000,0,0 lasa_fild02,0,0,0,0 monster Grass Fabre 3497,115,5000,0,0 //== lasa_fild02 - Ravioli Forest ============================= lasa_fild02,0,0,0,0 monster Wild Hornet 3498,40,5000,0,0 lasa_fild02,0,0,0,0 monster Sweet Roda Frog 3499,40,5000,0,0 lasa_fild02,0,0,0,0 monster Hunter Desert Wolf 3500,40,5000,0,0 lasa_fild02,0,0,0,0 monster Scout Basilisk 3502,2,5000,0,0 //== lasa_dun01 - Dragon Nest ================================= lasa_dun01,0,0,0,0 monster Trance Spore 3501,15,5000,0,0 lasa_dun01,0,0,0,0 monster Scout Basilisk 3502,20,5000,0,0 //== lasa_dun02 - Dragon Nest 2 =============================== lasa_dun02,0,0,0,0 monster Charge Basilisk 3503,15,5000,0,0 lasa_dun02,0,0,0,0 monster Charge Basilisk 2 3504,15,5000,0,0 //== lasa_dun03 - Dragon Nest 3 =============================== lasa_dun03,0,0,0,0 monster Charge Basilisk 2 3504,15,5000,0,0 lasa_dun03,0,0,0,0 monster Fruit Pom Spider 3507,15,5000,0,0
but i can not say much about their stats yet
tyvm do you have mob_db info? the eggring and others monsters from lasa have // before the name and have no status in my mob_db could you share it if you have ?
-
Someone have the files of doram maps, monsterr (mob_db) and NPCs from this maps ?
lasa_fild01
Mobs: http://www.divine-pride.net/database/map/lasa_fild01
NPCs: http://www.divine-pride.net/database/map/lasa_fild01#npcs
lasa_fild02
Mobs: http://www.divine-pride.net/database/map/lasa_fild02
NPCs: http://www.divine-pride.net/database/map/lasa_fild02#npcs
-
Ragnarok Online Daily Reward [PSD Only]
illust's for a system of daily rewards, created by me, based on the official theme of ragnarok online.
It works with the script [rathena]: Daily_Reward_System
PS: If you like it, and give me reputation, it's important to me and encourages me to continue with my work!
best regards, ZelosAvalon
-
Submitter
-
Submitted10/21/16
-
Category
-
-
can you guys try to download it and send me a feedback, let me know if link working now please!
https://www.midgard-community.com/forums/files/file/341-ragnarok-online-daily-reward/
-
nice xD I don't even know how to use it, but thanks (ofc I open it with photoshop)
is easy to use, the locked reference to the days you haven't received the reward, and the unlock is the day that you are, and will receive.
PS: i just have a problem with the script, maybe you can take a look and help me to merge it to Hercules, this script is for rathena
-
Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script?
The last version was 1.7B
https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt
Old revision script was buggy. it would be great you can update too.
I need to know what isn't working, the download?
and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena
Where's the PSD?
PSD here: https://www.midgard-community.com/forums/files/file/341-ragnarok-online-daily-reward/
Sorry, there is a problem
We could not locate the item you are trying to view.
Error code: 2D161/2
Kindly please, post an attachement here instead posting at the Midgard-Community?
i send an mail to Midgard-Community for check this error
PSD link: https://mega.nz/#!ixoBHLCA!Yzt2rKv8OZPQBIHB6s_8ytEzh9waYz9l2xzjKEgX1EM
Prourhildr and Eternity reacted to this -
Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script?
The last version was 1.7B
https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt
Old revision script was buggy. it would be great you can update too.
I need to know what isn't working, the download?
and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena
Where's the PSD?
PSD here: https://www.midgard-community.com/forums/files/file/341-ragnarok-online-daily-reward/
-
Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script?
The last version was 1.7B
https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt
Old revision script was buggy. it would be great you can update too.
I need to know what isn't working, the download?
and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena
-
Sorry, there is a problemReleased: midgard-community
PS: when I get a code that works with hercules i'll share here along with the code, for now I'm working on it, just the illust's were released
@Mysterious
@rokimoki
@Eternity
@True Zeal
We could not locate the item you are trying to view.
Error code: 2D161/2
hmm ?
the error occurred when you try to open the link or download?
Here's working normally!
-
Released: midgard-community
PS: when I get a code that works with hercules i'll share here along with the code, for now I'm working on it, just the illust's were released
@Mysterious
@rokimoki
@Eternity
@True Zeal
-
More power to you Zelos! So jealous of your skills haha. Hope you can keep improving your scripting skills so you can be an all-in-one
thank you very much!
-
is midgard community
OW, yes i'll share it on MC, I already divulged some of my items there! and more will come soon!
-
Looking good there! Maybe when you're done, we can also share it on MC?
new release:
I'll share, so I finished, I'm just testing the functionality with the script, i use an script made for rathena, if someone wants to help to merge to Hercules this script: Daily_Reward_System
excuse my lack of information, but what is MC?
-
I'm still with this problem!
2018-02-13aRagexeRE: clif_obfuscation #ERROR
in Client-Side Support
Posted · Edited by ZelosAvalon
2018-02-13aRagexeRE i got and error when compile:
some1 know how to fix it ?