Jump to content

luizragna

Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by luizragna

  1. Talvez o problema seja falta de quebra de linhas. Aonde está: switch (@Tema) { case 14: soundeffectall "assassin_of_sunset.wav",0,24,@mapa$,0,0,50,50; break; case 12: soundeffectall "in_to_the_abyss.wav",0,24,@mapa$,0,0,50,50; break; case 11: soundeffectall "dont_forget_me_not.wav",0,24,@mapa$,0,0,50,50; break; case 7: soundeffectall "ring_of_nibelungen.wav",0,24,@mapa$,0,0,50,50; break; case 5: soundeffectall "bragis_poem.wav",0,24,@mapa$,0,0,50,50; break; case 2: soundeffectall "chaos_of_eternity.wav",0,24,@mapa$,0,0,50,50; break; default: soundeffectall @Tema$,0,24,@mapa$,0,0,50,50; break; } Tente trocar por: switch (@Tema) { case 14: soundeffectall "assassin_of_sunset.wav",0,24,@mapa$,0,0,50,50; break; case 12: soundeffectall "in_to_the_abyss.wav",0,24,@mapa$,0,0,50,50; break; case 11: soundeffectall "dont_forget_me_not.wav",0,24,@mapa$,0,0,50,50; break; case 7: soundeffectall "ring_of_nibelungen.wav",0,24,@mapa$,0,0,50,50; break; case 5: soundeffectall "bragis_poem.wav",0,24,@mapa$,0,0,50,50; break; case 2: soundeffectall "chaos_of_eternity.wav",0,24,@mapa$,0,0,50,50; break; default: soundeffectall @Tema$,0,24,@mapa$,0,0,50,50; break; }
  2. @Barterwood i changed the syntax, try replace: npcidentity.lua
  3. Hello guys. It's possible use the script command specialeffect in rathena?
  4. Hello guys. How can i disable mob target (like a clone)?
  5. Try this a simple example: prontera,151,187,4 script TesterIP 88,{ getpartymember getcharid(1),2; .@count = $@partymembercount; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[0], .@ip1$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[1], .@ip2$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[2], .@ip3$; //After executing the code above,IPs of respective members are stored in .@ip1$, .@ip2$ and .@ip3$ //Showing them: mes .@ip1$; mes .@ip2$; mes .@ip3$; close; }
  6. The custom label OnAttackMob don't trigger... The script: - script OnAttackMob -1,{ OnAttackMob: mes "ID: ^0000FF"+ mobid +"^000000"; mes "Nome: ^0000FF"+ mobnome$ +"^000000"; mes "Level: ^0000FF"+ moblevel +"^000000"; close; } mob.cpp case BL_PC: { struct map_session_data *sd = (TBL_PC*)src; char_id = sd->status.char_id; if( damage ) md->attacked_id = src->id; //Variáveis Especiais [SlexFire] pc_setglobalreg(sd, add_str("mobid"), md->mob_id); pc_setglobalreg_str(sd, add_str("mobnome$"), md->name); pc_setglobalreg(sd, add_str("moblevel"), md->level); //Slexfire OnAttackMob npc_script_event(sd, NPCE_ATTACKMOB); //<--- Trigger break; } npc.cpp case NPCE_ATTACKMOB: //OnAttackMob return script_config.attackmob_event_name; npc.hpp NPCE_ATTACKMOB, //OnAttackMob script.cpp "OnAttackMob", script.hpp const char *attackmob_event_name; //OnAttackMob
  7. Provavelmente é na hora de diffar o hexed.
  8. In the some cases, the hercules uses close how end. Paste a print of the error in the map-server to i see the line of the problem.
  9. Do you can show your script?
  10. @Tokei It would be better if don't need to make modifications to the source. But that already helps. Thank You ?
  11. Hello guys. How can i do it the right way? prontera,100,100,4 script Duplicator 84,{ prontera,162,193,4 duplicate(Healer) Healer#prt 909 //<----- }
  12. Hello guys. I'm creating a custom archer mob and want add this arrow sprite:
  13. Olá amigo. Tentar ver alguns tutoriais no youtube. Como por exemplo este:
  14. Did you try to create a new character? Could be some script doing this
  15. In the conf/groups.conf search for: all_skill: true Chage to false
  16. @Kincy Quando você baixa o thor patcher ele vem com a pasta Web, recomendo que você nomeie ela para patch (vou chama-lá assim a partir de agora) Dentro da pasta patch (Antiga Web) você tem o arquivo main.ini, que contém a seguinte linha: file_url=http://domain.com/patch/data/ Troca o domain.com pelo IP (ou domínio) da hospedagem, vamos supor que ele seja 41.635.624.532, ficando assim: file_url=http://41.635.624.532/patch/data/ Copia a pasta patch e joga dentro da pasta raiz da hospedagem (a mesma que fica o index.html do site) Agora no arquivo tools/config.ini, você atualiza as seguintes linhas com o IP: RootURL='http://41.635.624.532k/patch/' URL='http://41.635.624.532/patch/notice.html' Compila um novo thor.exe, abre ele e vê se o botão jogar (ou play) está habilitado. Se sim, já é um grandíssimo avanço. Qualquer duvida manda inbox
  17. Olá @Kincy. A onde está hospedado o servidor?
  18. This map is used in old MVP Arena maps, try: quiz_00 (i'm not tested)
  19. Hello @arturzanca. See this topic:
  20. Hello guys. When i convert the image to indexed, she cause probems to sprite. I'm using Photoshop CS6,
  21. Quando a variável não tem prefixo, ela é do tipo permanente para personagem, que no caso é esta mf_nostorage. Ela esta sendo utilizada dentro da label OnInit. Está label é chamada pelo servidor quando o NPC é carregado, e não por um jogador. Por isto esta tendo conflito.
×
×
  • Create New...