Jump to content

DoomSlayer

Members
  • Content Count

    6
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

About DoomSlayer

  • Rank
    New Member
  • Birthday June 16

Profile Information

  • Gender
    Male
  • Interests
    ragnarok development
  1. does this mini boss have only on that map or is it on another maps? if he is just on that map you can use something like this, didn't test it but should work fine! - script BOSSSPAWN -1,{ OnInit: set .bspawn,0; //Where the kills will be saved(don't change) set .bneed,4; //Kills needed set .bossid,XXXX; //Boss ID set .minibossid,XXXX; //Mini Boss ID set .reward,512; //Reward for killing the Boss set .map$"MAPNAME"; //Name of the map you kill mini bosses end; OnNPCKillEvent: if (killedrid == .minibossid){ set .bspawn,.bspawn +1; if (.bspawn >= .bneed){ mapannounce .map$,"The map boss has appeared!",0; monster .map$,0,0,"NAME OF BOSS MONSTER",.bossid,1,"BOSSSPAWN::OnBossKill"; set .bspawn, 0; } } end; OnBossKill: mapannounce "The player "+strcharinfo(0)+" has killed the boss!"; getitem .reward,1; end; }
  2. tested it, but after 12h when you click again to vote he just adds the points to the player but don't open the voting page, if you delete the logs it works but after he have a log of one account he doesn't work for a second time.
  3. pode postar o resto do script? acho que isto deve funcionar - script MvPCash FAKE_NPC,{ end; OnNPCKillEvent: if (getmonsterinfo(killedrid,22)){ //Se o monstro der Exp de MvP vai dar CASH dispbottom "Você Ganhou 50 Pontos de Cash"; set #CASHPOINTS, #CASHPOINTS + 50; } end; }
  4. Gostei da ideia e fiz um npc, se quiseres usar, meu teclado nao eh portugues entao esta faltando acentos! Nao esqueca de trocar "MAPA,X,Y" pelas posicoes do NPC! //==============Made by DoomSlayer============= //Ferreiro Custom - Quanto mais materiais maior //a chance de sucesso! //============================================= MAPA,X,Y,3 script Blacksmith Custom 63,{ disable_items; mes "^0000FF"+.name$+"^000000"; mes "Eu sou o melhor Ferreiro da cidade!"; mes "Meu custo de trabalho e "+.price+" Zeny!"; mes "Quanto mais materiais voce ultilizar, mais chances de sucesso voce tem!"; next; switch(select("Refinar:Sair")){ case 1: mes "^0000FF"+.name$+"^000000"; mes "Qual o equipament que voce quer refinar?"; next; goto OnRefine; end; case 2: mes "^0000FF"+.name$+"^000000"; mes "Boa sorte!"; close; end; } OnRefine: setarray [email protected][1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_MID, EQI_HEAD_LOW; for(set [email protected],1; [email protected]<=10; set [email protected],[email protected]+1) set [email protected]$, [email protected]$ + ( getequipisequiped([email protected][[email protected]]) ? getequipname([email protected][[email protected]]) : F_getpositionname([email protected][[email protected]]) +"-[Unequipped]" ) +":"; set [email protected], [email protected][ select([email protected]$) ]; if (!getequipisequiped([email protected])) { mes "^0000FF"+.name$+"^000000"; mes "Voce nao tem nennhum equipamento!"; close; } if (!getequipisenableref([email protected])) { mes "^0000FF"+.name$+"^000000"; mes "Este equipament nao pode ser refinado!"; close; } [email protected]_id = getequipid([email protected]); [email protected]_refine = getequiprefinerycnt([email protected]); setarray [email protected][0], getequipcardid([email protected],0), getequipcardid([email protected],1), getequipcardid([email protected],2), getequipcardid([email protected],3); if ([email protected]_refine >= 20) { mes "^0000FF"+.name$+"^000000"; mes "Este equipamento ja esta no maximo!"; close; } if (getequipweaponlv([email protected]) == 0){ set [email protected],2; } else { set [email protected],1; } mes "^0000FF"+.name$+"^000000"; mes "Quantos "+.namemat$[[email protected]]+" voce quer usar?"; mes "A cada material sua chance aumenta por "+.matchance+"%."; next; input [email protected]; if ([email protected] == 0) { mes "^0000FF"+.name$+"^000000"; mes "Nenhum material? como vou refinar assim?"; close; end; } if (countitem(.material[[email protected]]) < [email protected]){ mes $npc$; mes "Voce nao tem essa quantidade de materiais"; close; end; } if ([email protected] > .maxmat){ mes $npc$; mes "Voce so pode ultilizar um maximo de "+.maxmat+" materiais!"; close; end; } mes "^0000FF"+.name$+"^000000"; mes "Entao vamos la!"; next; delitem .material[[email protected]],[email protected]; set [email protected],rand(1,100); set [email protected], (.chance + ([email protected] * .matchance)); if ([email protected] > [email protected]){ specialeffect2 EF_SUI_EXPLOSION; if (.break == 1){ failedrefitem .[email protected]; } if (.break == 2){ downrefitem [email protected]; } mes "^0000FF"+.name$+"^000000"; mes "Nao foi desta vez..."; close; end; } successrefitem [email protected]; mes "^0000FF"+.name$+"^000000"; mes "Muito facil!"; close; end; OnInit: set .name$,"Ferreiro"; //Nome do NPC set .chance,10; //Chance de refinar 10 = 10% (sem material) set .matchance,1; //Quantos % sobem por material set .maxmat,90; //Maximo de materiais que se pode usar (90 x 1 = 90%) setarray .namemat$,"Oridecon","Elunium"; //Nome dos materiais abaixo setarray .material[1],984,985; //Material que vai ser usado (984 - Oridecon 985 - Elunium) set .break,1; //1 - Errar quebra / 2 - Errar desce refinamento / 3 - Nada acontece ao errar set .price,25000; //Preco para refinar end; }
  5. Some instances have "warp" to the instance map, it breaks the instance if used! Use "//" on front of the warp command at the instances files, worked for me!
  6. Hello, Im new here on rAthena! I have just downloaded rAthena and made a local server, everything is fine but when I went to try the instances most of them doesn't work... Do I have to make something to enable them? here is the instances that worked: Sealed Shrine, Buwaya Cave, Endless Tower, Orcs Memory, Wolfchens Laboratory The others instances or the NPCs are all visible and I cannot speak with them, Mobs are visible at begining already, can't teleport inside, things like that. I have updated all rathena files to the last day of update, thank you! **UPDATE** Found the solution, fixed it and now it's working, sorry to bother!
×
×
  • Create New...

Important Information

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