Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Put it at the end of the "Script" (first) bracket. Tested, and it works. { while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; } },{},{}
  2. All-In-One updated to v1.5! Job change system is now official (lastJob), and rentals are now automatic. Both scripts generally cleaned/consolidated.
  3. Yes it does... o.o; After downloading all the parts, execute the first one to merge all of them.
  4. I added a new stylist in the SVN a few weeks ago: https://rathena.svn....tom/stylist.txt To add a payment option, replace these lines: setarray .@Look[1],7,1,6; set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); With this: setarray .@Look[1],7,1,6; setarray .@Cost[1],100000,20000,50000; set .@s, select(" ~ Cloth color ["+.@Cost[1]+"z]: ~ Hairstyle ["+.@Cost[2]+"z]: ~ Hair color ["+.@Cost[3]+"z]"); if (Zeny < .@Cost[.@s]) { message strcharinfo(0), "You don't have enough Zeny."; close; } set Zeny, Zeny-.@Cost[.@s];
  5. You could try this item script (not sure if it would work, though): while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; }
  6. @ronaldhrtnt: No no, I guess I didn't make it clear enough. Don't comment out the options! Instead, edit the line below: set .MenuOption,1|2|4|8|16|32|64|128|256|512; The numbers correspond to the numbers I wrote above, so you would want: set .MenuOption,2|4|8|256|512;
  7. You can disable that option and write a script that does it manually: - script Skulls -1,{ OnPCKillEvent: if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid)); end; }
  8. All variables (including arrays) are either integers or strings. Strings always have a "$" postfix. If you need to store both integer and string values into a single array, set the array as a string, and write all values in quotes (no matter if they're numbers or words). Then, if you need to call an integer value, use the "atoi" command: *atoi ("<string>") 'atoi' will interpret given string as a decimal number (base 10),
  9. Yes, it's animated~ c:
  10. Applies to this emblem pack as well (which is probably just a smaller version of the one where I mentioned this in the past). You even read the topic I posted this in yesterday and still don't care what your upload contains. They're not "illegal". I already have gone through them (there might be a handful of potentially offensive emblems left, but it's hard to scan through 2826 icons, as I'm sure you can imagine).
  11. prontera,148,166,6 script Rune Master 498,{ mes "[Rune Master]"; for(set .@i,1; getd(".R"+.@i+"[0]"); set .@i,.@i+1) for(set .@j,2; .@j<getarraysize(getd(".R"+.@i)); set .@j,.@j+2) { if (countitem(getd(".R"+.@i+"["+.@j+"]")) < getd(".R"+.@i+"["+(.@j+1)+"]")) break; if (!getd(".R"+.@i+"["+(.@j+2)+"]")) set .@R$[getarraysize(.@R$)],".R"+.@i; } if (!getarraysize(.@R$)) { mes "You have much to learn..."; close; } mes "Select your reward."; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@R$); set .@i,.@i+1) set .@menu$, .@menu$+getitemname(getd(.@R$[.@i]+"[0]"))+":"; set .@menu$, .@menu$+"^777777Cancel^000000"; set .@c, select(.@menu$)-1; if (.@c==getarraysize(.@R$)) { mes "...so be it."; close; } for(set .@i,2; .@i<getarraysize(getd(.@R$[.@c])); set .@i,.@i+2) delitem getd(.@R$[.@c]+"["+.@i+"]"), getd(.@R$[.@c]+"["+(.@i+1)+"]"); getitem getd(.@R$[.@c]+"[0]"), getd(.@R$[.@c]+"[1]"); mes "Here's your ^0055FF"+getitemname(getd(.@R$[.@c]+"[0]"))+"^000000, young one."; close; OnInit: // Format: <reward ID>,<reward count>,<required ID>,<required count>{,...}; setarray .R1[0],5116,1,512,50,513,60; setarray .R2[0],5075,1,514,2,515,54; setarray .R3[0],531,1,512,1,713,1; end; }
  12. You have duplicate NPC names, or you loaded those scripts twice.
  13. @Rabbit: Done, thanks! Post above is edited. (I couldn't find a "checkwarg" command when I looked for it, but apparently it's "checkwug", lol...)
  14. I read this and thought... didn't I do this before...? And -voila-, here's the exact script! http://www.eathena.ws/board/index.php?s=&showtopic=284912&view=findpost&p=1061104378 Now, critica, how exactly do you want this modified? Most of us don't know how "Horadic Cube" works, so you'll have to explain.
  15. Sounds like a call for my Item Rewards NPC! c:
  16. The weapon type articles are the same. eA doesn't have third jobs. o;
  17. Oh, sorry, forgot that I only updated the Wiki article on eAthena. Check it again - you can use any ID within certain limits for each weapon type. Either see RMS for sprite locations or use Myzter's name generator (it's different for each weapon and gender).
  18. http://rathena.org/wiki/Custom_Items http://rathena.org/wiki/Custom_weapons
  19. @Error218: Brian's link right above your post works just fine.
  20. @Omnipotent: That's what we have this command for. *isloggedin(<account id>{,<char id>}) (I'm aware a few people used getcharid() to check online status, but that shouldn't be the reason offline implementation is held back.)
  21. New mounts aren't even working before ~r15000, are they? o.o;
  22. ismounting() was added in r15009, which means you're waaay behind in updates~ (remove the line if you don't want to update, but... the other commands probably won't work either, then)
  23. This is a great idea, actually... if you don't mind, I'm stealing it for my own scripts. ;3 <header> { if (ismounting()) { message strcharinfo(0),"You must first remove your mount."; close; } else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) { if (!checkfalcon() && getskilllv(127) && !checkwug()) { if(select(" ~ Falcon: ~ Warg")==1) setfalcon; else getitem 6124,1; } else getitem 6124,1; } else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart()) { if (!checkmadogear() && getskilllv(2255)) { if(select(" ~ Cart: ~ Mado")==1) setcart; else setmadogear; } else setcart; } else if (!checkcart() && getskilllv(39)) setcart; else if (!checkfalcon() && getskilllv(127) && !checkwug()) setfalcon; else if (!checkriding() && getskilllv(63)) { if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon; else setriding; } else if (!checkmadogear() && getskilllv(2255)) setmadogear; else { message strcharinfo(0),"You do not meet requirements to rent."; close; } close; }
×
×
  • Create New...