Jump to content

Bahmut

Members
  • Posts

    382
  • Joined

  • Last visited

Everything posted by Bahmut

  1. That's because you have two skills in one line and you have to add one comma at the end of every skill.
  2. You are using 3ceam. But this is the rAthena Support Board. Why don't you just got to the 3ceam Board (If there is one) or use rAthena where new mounts are already implemented.
  3. Renewal hit and flee are implemented in rAthena
  4. What do you exactly mean by this? Which menu got disabled?
  5. No you have add the sound effects to your client. The sounds are not implemented in ragnarok so you have to add them. download the sound files linked in the eA topic and convert them to mono (ro don't like stereo) and add them to your wav folder in your client.
  6. Yeah because you haven't converted added the soundfiles linked in the eAthena thread: http://www.eathena.ws/board/lofiversion/index.php?t276828.html
  7. Thats because you have to unload a NPC first before loading the same again or just use reloadscript.
  8. Sorry my mistake. I edited my script. Please try it again.
  9. Then this error is from another script or you typing the map wrong when using @warp
  10. What's your problem with adding them? Which error do you get?
  11. As Emestry said you have entered a map that does not exist and you have loaded the npc or you already have another npc called pvp_sound. And with the sound not working have you done this: And a hint for the future: http://graphicssoft.about.com/cs/general/ht/winscreenshot.htm
  12. Bahmut

    npc request

    This should work. please test it first because I haven't tested it myself: //================ DONATION Trader=================== turbo_room,99,120,6<tab>script<tab>Donation Shop<tab>403,{ mes .name$; mes "You currently have "+countitem(.tcg_item)+" TCG."; mes "Would you like to look at the shop?"; next; if (select("Yes:No") == 2) close; close2; callshop "Donation_SHOP",1; npcshopattach "Donation_SHOP"; dispbottom "You currently have "+countitem(.Donation_item)+" TCG."; end; OnBuyItem: for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { for(set @j,0; @j < getarraysize(.TCG_ITEMS); set @j,@j+1) { if(.TCG_ITEMS[@j] == @bought_nameid[@i]) { set @itemcost,(.ITEMPRICE[@j]*@bought_quantity[@i]); set @totalcost,(@totalcost+@itemcost); break; } } } if(@totalcost > countitem(.tcg_item)) { dispbottom "You don't have enough TCG."; } else { for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; announce strcharinfo(0) + " has purchase a " + getitemname(@bought_nameid[@i]) + " from the donation NPC"; } delitem .tcg_item,@totalcost; dispbottom "Thank you for shopping."; } set @totalcost,0; deletearray @bought_nameid[0],128; deletearray @bought_quantity[0],128; end; OnInit: npcshopdelitem "Donation_SHOP",909; // Leave this alone set .name$,"[Donation Trader]"; set .tcg_item,7179; // Input TCG ID setarray .TCG_ITEMS[0],5467,2720,2721,2722,2723,2724,2725,5374,5518,2629,20001,1228,13017,2630,4441,2554,5325; setarray .ITEMPRICE[0],10,7,7,7,7,7,7,10,10,8,6,5,6,4,10,6,4; // Item prices - Should followe ID's order for(set .@item,0; .@item < getarraysize(.TCG_ITEMS); set .@item,.@item+1) { npcshopadditem "Donation_SHOP",.TCG_ITEMS[.@item],.ITEMPRICE[.@item]; } end; } - shop Donation_SHOP -1,909:5 EDIT: xD too late
  13. This should work: caspen,151,209,4<tab>script<tab>freebies<tab>864,{ //- Item ID setarray .@freebie_Item[0],2104,2311,2404,2701,5132; //- Quantity setarray .@freebie_Quantity[0],1,1,1,1,1; //- Refine setarray .@freebie_Refine[0],0,0,0,0,0; //- Cards setarray .@freebie_Card1[0],0,0,0,0,0; setarray .@freebie_Card2[0],0,0,0,0,0; setarray .@freebie_Card3[0],0,0,0,0,0; setarray .@freebie_Card4[0],0,0,0,0,0; //- NPC Name set .npcname$,"[^990000Freebies^000000]"; mes .npcname$; mes "Hello "+strcharinfo(0)+"would you like some freebies ? "; next; if(#freebiez == 1) { mes .npcname$; mes "you've already claim your Freebies."; close; } for ( set .@x,0; .@x < getarraysize(.@freebie_item); set .@x,.@x + 1 ) { getitem2 .@freebie_Item[.@x],.@freebie_Quantity[.@x],1,.@freebie_Refine[.@x],0,.@freebie_Card1[.@x],.@freebie_Card2[.@x],.@freebie_Card3[.@x],.@freebie_Card4[.@x]; } set #freebiez,1; mes .npcname$; mes "you got already the server's freebies good luck on your new character "; close; }
  14. Which part of the pvp script does not work? -<tab>script<tab>pvp_sound<tab>-1,{ OnPCKillEvent: set .@map$,"pvp_n_1-5"; if (strcharinfo(3) != .@map$) end; attachrid killedrid; if (@halo_pvpsound >= 5) soundeffectall "killjoy.wav",0,.@map$; set @halo_pvpsound, 0; attachrid killerrid; set @halo_pvpsound, @halo_pvpsound +1; switch (@halo_pvpsound) { case 2: soundeffectall "doublekill.wav",0,.@map$; end; case 3: soundeffectall "triplekill.wav",0,.@map$; end; case 5: soundeffectall "killingspree.wav",0,.@map$; end; case 7: soundeffectall "overkill.wav",0,.@map$; end; case 10: soundeffectall "rampage.wav",0,.@map$; end; case 15: soundeffectall "unstoppable.wav",0,.@map$; end; default: end; } } Have you converted and added the sound effects linked in the thread? What's not working for you with this script? http://rathena.org/b...aily#entry94284 Please be more specific.
  15. Could please post the script in a readable form.
  16. Just asking: Do you really want a jobchanger for this jobs? Because they are not implemented in rA yet, so your players can not use the skills. If you want to see them for testing just use @job (or #job) to change the class with a gm account. Anyway here is a basic script. Haven't tested it but it should work fine: prontera,146,174,4<tab>script<tab>Ninja 2nd Class<tab>727,{ mes "[Ninja 2nd Class]"; if (Class != Job_Ninja) { mes "You can not change your job here."; } mes "Please choose a class."; next; switch(select("Kagerou":"Oboro")) { case 1: mes "[Ninja 2nd Class]"; mes "Are you sure?"; if (select("Yes","No") == 2) close; jobchange 4211; close; case 2: mes "[Ninja 2nd Class]"; mes "Are you sure?"; if (select("Yes","No") == 2) close; jobchange 4212; close; } }
  17. But this will also include people playing on different computers and houses where more than one is playing on your server like family members or couples
  18. Remove the music from your website! It's really anoying for a lot of users (me included) and against webstandards. Because of the music I closed your website instantly.
  19. Have you already tried another browser? Just for testing.
  20. http://www.eathena.w...ndpost&p=271782 EDIT: Oh thats version 0.5
  21. Please use the code tag for your scripts and you are missing a ";" at the end of this line: set .@zenyCost,100
  22. You could search the forums. There are some topics where this is already answered.
×
×
  • Create New...