-
Content Count
80 -
Joined
-
Last visited
-
Days Won
4
Posts posted by Tsuuu
-
-
I would like to know how do I forbid certain classes to use certain equipment.
I already tried using
Id: 18603 AegisName: "Black_Devil_Mask_" Name: "Black Devil's Mask" Type: 5 Buy: 20 Job: 0x028F5EEE Weight: 100 Slots: 1 Loc: 512 Refine: false View: 760 Script: <" bonus bAllStats,10; ">
Does not work. :/
Is there a list of job class identifiers?
-
Provavelmente você terá que olhar no pet_db.txt dentro da pasta DB
Sim, olhei, mas não entendi como transformar um monstro em pet, eu já tentei fazer algumas alterações no arquivo mas não tive suesso !
-
Tentei pesquisar sobre o assunto mais não encontrei nada concreto, talvez as labels de pesquisa não estavam em conjunto com os tópicos...
Gostaria de saber como eu faço pra tornar um monstro um pet e se possível colocar algumas condições pra ele, como por exemplo: aumentar algum stats ou dá algum efeito quando se está usando e principalmente como faço pra colocar restrição de uso.
Se alguém puder me informar onde eu olho essas configurações eu ficarei grato.
-
I'm at work and I can not test now, as soon as I get home I'm going to test, thank you very much for helping me, I'll return on this topic to notify you if it worked or not
@edit
Forgive me the delay, you helped me, thank you very much, could you inform me where I see the documentation of these parameter commands?
It stayed like this, works perfectly without any warning on the map-serv:
OnAtcommand4: getmapxy @map$,@x,@y,0; if(@map$=="bra_dun01") { message strcharinfo(0),"WARP OFF."; end; } else { if(.@atcmd_numparameters == 3) { if ( WARPCOORCD + 5 > gettimetick(2) ) { dispbottom "[Delay Warp com Coordenadas] ---> Você precisa esperar " + ( WARPCOORCD + 5 - gettimetick(2) ) + " segundos."; end; } else { atcommand "@warp "+.@atcmd_parameters$[0]+" "+.@atcmd_parameters$[1]+" "+.@atcmd_parameters$[2]+""; WARPCOORCD = gettimetick(2); end; } } else if(.@atcmd_numparameters == 2){ dispbottom "Você utilizou o warp com coordenadas erradas, corriga o comando."; end; } else { atcommand "@warp "+.@atcmd_parameters$[0]+""; } } }
-
Good Morning, could someone tell me how I can remove this 'warning' in map-server:
Here is the script:
bindatcmd "warp",strnpcinfo(3)+"::OnAtcommand4";
OnAtcommand4: getmapxy @map$,@x,@y,0; if(@map$=="bra_dun01") { message strcharinfo(0),"WARP OFF."; end; } else { if(.@atcmd_parameters$[1]) { if ( WARPCOORCD + 5 > gettimetick(2) ) { message strcharinfo(0),"[Delay Warp com Coordenadas] ---> Você precisa esperar " + ( WARPCOORCD + 5 - gettimetick(2) ) + " segundos."; end; } else { atcommand "@warp "+.@atcmd_parameters$[0]+" "+.@atcmd_parameters$[1]+" "+.@atcmd_parameters$[2]+""; WARPCOORCD = gettimetick(2); end; } } else { atcommand "@warp "+.@atcmd_parameters$[0]+""; } } }
PS: I'm a beginner, so please do not repair the code, just help me optimize it.
PS²: I sure use hercules.
-
Hello guys, well... I've a little problem, I changed the server lv max to 255, but when I try to change the lv max of the caracter, HP and SP return to 150/150, but if the caracter got the lv 150, he has 30k HP and 5k SP ( it's normal ), who knows what could it be?
-
For all have errors:
download ActEditor:
https://rathena.org/board/files/file/3304-act-editor/
look red parts and change sprite number of soword red, you can also change the switch time as wish..\/
Ps: for you who have downloaded and are using the friend's work please deems to +1 , it is the least you can do..
-
very nice?
I think it is better if there are effects of wind blow on the flag?
Yeaah, i too..
-
Thank you for sharing your work... +1
-
Very nice ! +1
-
-
Hello , I found this function but can not remember where , everything works as expected, but would like to make a change in function and do not know how.
The function lists all the teams of the character, wanna listed only head - top , armor, shield , boots and robe, also list only those who have without this item , those already equipped stay off the list.
it's possible? Could someone please help me?
it's possibleit's possibleFunction source:
/*======================================================= * Returns where the current item is equipped. *-------------------------------------------------------*/ BUILDIN(getequippedon) { int i = status->current_equip_item_index; struct map_session_data *sd; if (( sd = script->rid2sd(st) ) != NULL) { switch (i) { case EQI_HAND_L: script_pushint(st, ( sd->inventory_data[i]->type == IT_ARMOR ? EQP_SHIELD : EQP_WEAPON )); break; default: script_pushint(st, sd->status.inventory[i].equip); break; } } else script_pushint(st, 0); return 0; }
Item_db:
Id: 9999 AegisName: "Diablo_Enchant" Name: "Diablo Enchant" Type: 11 Script: <" callfunc( "F_DiabloEnchant",9999,909 ); "> }, { Id: 909 AegisName: "Jellopy" Name: "Jellopy" Buy: 6 Weight: 10 BuyingStore: true Script: <" .@eqp = getequippedon(); if (.@eqp & EQP_ARMOR) { bonus bVit,100; } if (.@eqp & EQP_HEAD_TOP) { bonus bInt,100; } if (.@eqp & EQP_SHOES) { bonus bAgi,100; } ">
-
I thought that the mob chat phrases were through clientside?
Yeah, probably I was wrong, i'm sorry.
I thought it was easy, thought it was just studying how is the mob_chat_db file that I could.
Thanks.
-
Hello , I did a little research and found nothing on the subject...
How do or where I see where have the exact configuration of the speech of a monster?
For example mvp moc_fild22 , it has a sequence of functional lines to talk..
but do not know how to do this setting to other MVPs , would like to create a file to make it work or even edit the existing and set up for each monster ?
Could someone please help me?
Any answer is welcome, even to study on the subject !
Thanks...
Ps: File-->mob_chat_db.txt .. hehe
-
@@lilcooldude69 I think @@Tsuuu is referring to the actual 'npctalk', where the npc has a dialogue message above its head.
exactly, thanks.
Oh , i'll test that out and come back to you o.o
I will be grateful to you.
-
idk maybe try
npctalk "^5BA146Hello, world!^000000";
but i also see in constants.nd there are these values
C_AQUA: 65535 C_BLACK: 0 C_BLUE: 255 C_GRAY: 8421504 C_GREEN: 32768 C_LIME: 65280 C_MAROON: 8388608 C_NAVY: 128 C_OLIVE: 8421376 C_ORANGE: 16753920 C_PURPLE: 8388736 C_RED: 16711680 C_SILVER: 12632256 C_TEAL: 32896 C_WHITE: 16777215 C_YELLOW: 16776960 C_PINK: 16761035 C_CHOCOLATE: 13789470 C_GOLD: 16766720 C_VIOLET: 15631086
So...I dunno.
I'm sorry for the delay , I tried every way and none worked...
You have any other idea where I look or search?
Obs: Thank you for answer to my topic
-
It is possible to change the color of the writing of "npctalk" in chat? Or will always be white?
I'm sorry if I posted the wrong place.
-
Holy shit , thank you, how can this, i need to study more, i did not realize ,.
Problem solved, God bless you !
@edit
Script working perfectly here \/
//==============================================================// // _ _ _____ _____ _ _ // // | | | | __ \ / ____| (_) | | // // | |__| | | | | | (___ ___ _ __ _ _ __ | |_ ___ // // | __ | | | | \___ \ / __| '__| | '_ \| __/ __| // // | | | | |__| | ____) | (__| | | | |_) | |_\__ \ // // |_| |_|_____/ |_____/ \___|_| |_| .__/ \__|___/ // // Hurican Dooders Script's ™ | | // // |_| // // // // Painel de Controle de Contas // // Versão 1.0 // //==============================================================// prontera,150,150,5 script Painel de Controle#HD 89,{ //================ Configurações ===============================// set .cp$,"[^EE0000Painel de Controle^000000]"; set .menu$,"^FFA500•^000000"; if(gettime(3) <= 18) { set .hr$,"om dia"; } else { set .hr$,"oa noite"; } //================ Banco de Dados ==============================// query_sql "SELECT `user_pass` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",@password$; query_sql "SELECT `email` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",@email$; query_sql "SELECT `logincount` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",@logou$; query_sql "SELECT `group_id` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",@nivel$; query_sql "SELECT `name` FROM `char` WHERE `account_id` = '"+getcharid(3)+"'",@chars$; //==============================================================// mes .cp$; mes "B"+.hr$+", "+strcharinfo(0); mes "Sou o assistente de contas."; mes "Aqui você poderá trocar sua senha, seu e-mail, resetar posição e deletar alguns itens do seu inventário."; mes "Me diga o que você precisa."; mes " "; mes "Senha atual: ^BF3EFF"+@password$+"^000000"; mes "E-mail atual: ^BF3EFF"+@email$+"^000000"; switch(select(""+.menu$+" Trocar minha senha:"+.menu$+" Trocar meu e-mail:"+.menu$+" Resetar Posição:"+.menu$+" Deletar item:"+.menu$+" Estatísticas da minha Conta:"+.menu$+" Nada")) { case 1: next; mes .cp$; mes "Sua senha atual é: ^BF3EFF"+@password$+"^000000"; mes "Deseja mesmo troca-la?"; if(select(""+.menu$+" Sim:"+.menu$+" Não") == 2) { next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } next; mes .cp$; mes "Ok então, digite a sua nova senha."; next; input .senha$; mes .cp$; mes "Sua nova senha é: ^BF3EFF"+.senha$+"^000000, está certo disso?"; if(select(""+.menu$+" Sim:"+.menu$+" Não") == 2) { next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } next; query_sql "UPDATE `login` SET `user_pass` = '"+.senha$+"' WHERE `account_id` = '"+getcharid(3)+"'"; mes .cp$; mes "Agora sua nova senha é: ^BF3EFF"+.senha$+"^000000"; next; mes .cp$; mes "Obrigado por usar os meus serviços."; close; case 2: next; mes .cp$; mes "Seu e-mail atual é: ^BF3EFF"+@email$+"^000000"; mes "Deseja mesmo troca-lo?"; if(select(""+.menu$+" Sim:"+.menu$+" Não") == 2) { next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } next; mes .cp$; mes "Ok então, digite seu novo e-mail."; next; input .mail$; mes .cp$; mes "Seu novo e-mail é: ^BF3EFF"+.mail$+"^000000, está certo disso?"; if(select(""+.menu$+" Sim:"+.menu$+" Não") == 2) { next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } next; query_sql "UPDATE `login` SET `email` = '"+.mail$+"' WHERE `account_id` = '"+getcharid(3)+"'"; mes .cp$; mes "Agora seu novo e-mail é: ^BF3EFF"+.mail$+"^000000"; next; mes .cp$; mes "Obrigado por usar os meus serviços."; close; case 3: next; mes .cp$; mes "Selecione qual personagem você deseja resetar posição"; next; switch(select("Escolher Personagem")) { case 1: for (.@i = 0; .@i < getarraysize(@chars$); .@i++) { .@menu$ = .@menu$ +" "+ @chars$[.@i]; .@menu$ = .@menu$ + ":"; } .@escolha = select(.@menu$)-1; .@char$ = @chars$[.@escolha]; break; } mes .cp$; mes "Deseja resetar a posição do personagem ^0000ff"+.@char$+"^000000?"; next; query_sql "SELECT `last_map` FROM `char` WHERE `name` = '"+.@char$+"'",@prison$; if (@prison$ != "sec_pri"){ if (select("- ^0000ffSim^000000:- Não") == 2) close; query_sql "UPDATE `char` SET `last_map` = 'prontera', `last_x` = 50, `last_y` = 50 WHERE `name` = '"+.@char$+"'"; mes .cp$; mes "Posição resetada !"; close; }else{ mes .cp$; mes "Voce não pode resetar a posição de um personagem que está preso."; close; } case 4: next; mes .cp$; mes "Bom, para deletar seu item bugado, deixe apenas ele no seu inventário."; mes "Tudo certo então? Posso deletar seu item?"; if(select(""+.menu$+" Sim:"+.menu$+" Não") == 2) { next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } next; atcommand "@itemreset"; mes .cp$; mes "Feito, seu item foi deletado com sucesso."; close; case 5: next; mes .cp$; mes "Vejo em meu sistema, que você já logou "+@logou$+" vezes nessa conta."; next; mes .cp$; mes "Vejo também, que você logou "+logou+" vezes neste char."; next; mes .cp$; if(getgmlevel() >= 1) { if(#CASHPOINTS >= 1) { mes "Sua conta é VIP e possui "+#CASHPOINTS+" Cashs."; close; } mes "Sua conta é VIP e não possui Cashs."; close; } if(#CASHPOINTS >= 1) { mes "Sua conta não é VIP e possui "+#CASHPOINTS+" Cashs."; close; } mes "Sua conta não é VIP e não possui Cashs."; close; case 6: next; mes .cp$; mes "Tudo bem então, tenha um(a) b"+.hr$+"!"; close; } //==== Estatísticas de Char OnPCLoginEvent: set logou,logou + 1; end; }
I need to study moreI need to study more -
Hello, good afternoon, someone could help me in this script ?
good, I caught a CP IN Game and added an option to reset position of character, but when the menu appears for selection of characters something is wrong, when I select the first character it returns me the second and when I select the last in the list it returns me null, ie my repetition structure is in the index with a value more...
I do not know how to solve this , someone could give me some tips please ?
Ps: My english is bad but i understand with help of translater.
Ps²: I'm sorry if I was not clear in the words, I am willing to provide any iformação in the code for better understanding
query_sql "SELECT `name` FROM `char` WHERE `account_id` = '"+getcharid(3)+"'",@chars$; case 3: next; mes .cp$; mes "Selecione qual personagem você deseja resetar posição"; next; switch(select("Escolher Personagem")) { case 1: for (.@i = 1; .@i < getarraysize(@chars$); .@i++) { //Here I ride the menu .@menu$ = .@menu$ +" "+ @chars$[.@i]; .@menu$ = .@menu$ + ":"; } .@escolha = select(.@menu$); .@char$ = @chars$[.@escolha]; break; } mes .cp$; mes "Deseja resetar a posição do personagem ^0000ff"+.@char$+"^000000?"; //Here I see that the return value is 1 more next; if (select("- ^0000ffSim^000000:- Não") == 2) close; query_sql "UPDATE `char` SET `last_map` = 'prontera', `last_x` = 50, `last_y` = 50 WHERE `name` = '"+.@char$+"'"; mes .cp$; mes "Posição resetada !"; close;
-
Solved, forgive my stupidity, you are the best...
Can close this topic, thanks.
-
Hello, good afternoon, first I would like to say that I am Brazilian and my english is bad but i understand and peopl to not notice my english.
Did a search and found nothing related to what I'm looking , I saw a system of buying items from merchant, something related to this skill call buying store:
http://ratemyserver.net/index.php?page=skill_db&skid=2535
Can anyone please tell me where to find it in hercules and how make for add ?
Font: http://irowiki.org/wiki/Buying_Store
@edit
Not find the npc quest, somebody help me please
somebody help mesomebody help mesomebody help mesomebody help mesomebody help messomeesomebody help mesomebody help me -
Bom, temos um meno no npc de presença que faz a troca de pontos por itens, no entanto, é definido a quantidade de itens pelo próprio menu, por exemplo, troca 1 ponto de presença por 100 ygg, gostaria de saber como faço pra adicionar um menu nesse npc pro player escolher quantos pontos ele deseja trocar, ficando assim:
1 ponto = 100 ygg
Digite a quantidade de pontos que você deseja trocar:
Se o jogador não tiver obviamente que vai retornar uma opção inválida, se alguém puder ajudar ficarei grato, segue abaixo o npc:
[REMOVIDO]
Obs: O npc não é meu, não foi eu quem fiz, nem tenho nenhum crédito sobre o npc, apenas editei.
@edit
Pode fechar o tópico, dúvida sanada !
-
Alguém já te falou que você é o melhor contribuidor da comunidade? Pois é, estou falando agora, devido às pesquisas que fiz e a quantidade de tópicos que eu vi sua ajuda, você pra mim é o melhor, tem conhecimento e explicações sólidas, ajudando bastante no entendimento rápido, bom, quero deixar meus mais sinceros agradecimentos, você é uma excelente pessoa, feliz é aquele que tem seus serviços as ordem !
@edit
Tanta dor de cabeça por causa de nada, era só dá um "F5" no auto patch, foi a única coisa que resolveu.
Podem fechar o tópico !
evilpuncker reacted to this -
Boa tarde, fiz a alteração da imagem da bg.bmp do thor patch, tudo funcionou perfeitamente, configurei a nova posição dos botões e tudo mais, no entanto, quando fiz a alteração da imagem (bg.jpg) de noticia na pasta web, a mesma não funciona, está pegando a imagem antiga, mesmo eu tendo apagado a imagem antiga, não tem nem de onde buscar a imagem da skin antiga e mesmo assim ela está lá, não estou entendendo o que fiz de errado ou o que deixei de fazer, alguém poderia me ajudar com alguma informação a respeito?
Grato desde já !
Obs: Não sei se abri o tópico na área certa ou se dão suporte a esse tipo de coisa, caso cometi um delito, peço que movam o tópico para área correta e aceito o alerta !
Help please, i beg ! file configure
in Linux Support
Posted · Edited by Tsuuu
Good morning, first of all, thank you very much to those who are willing to help me ...
I am trying to run the emulator on vps (host) but the configure file is not recognized at all, I already tried several things, install multiple dependencies, I already followed several tutorials and I can not make the file work, could someone help me with this task ? I just wanted to put my server online, but I'm inexperienced in the subject.
Thank you very much.
@edit
now is another problem