Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/25/12 in all areas

  1. Hi All, Here is a rather simple quest template based on arrays. It will tell users what they're missing among other things, and makes for a good way to quickly get a quest in game. //===== eAthena Script ======================================= //= Super Awesome Quest Template //===== By: ================================================== //= CalciumKid //= & Okira //===== Current Version: ===================================== //= 2.0 //===== Compatible With: ===================================== //= eAthena 1.0 Final + //===== Description: ========================================= //= Quest Template //============================================================ <map>,<x>,<y>,<facing> script <npcname> <npcsprite>,{ //===== Config: ============================================== set .npcname$,"[^FF0000 <npcname> ^000000]"; //Change to whatever you want the NPC name to be setarray .reqid[1],<id>,<id>,<id>; //Item IDs for the items, required for item checks setarray .reqn$[1],"<name>","<name>","<name>"; //These are names of the required items, for the dialogue setarray .reqa[1],<amount>,<amount>,<amount>; //These are how many of each item is required set .prize,<rewardid>; //Change this to the Item ID of the item reward set .prizen$,"<rewardname>"; //Change this to the name of your reward set .prizea,<rewardamount>; //Change this to the amount of the prize item set .zeny,20000000; //Amount of zeny for quest (set to 0 to disable) L_QUEST: mes .npcname$; mes "Hah! Hello there "+strcharinfo(0); next; mes .npcname$; mes "I don't get many visitors, so I assume you're after my legendary ^FF0000"+.prizen$+"^000000?"; menu "Of course",-,"No way",L_EXIT; next; mes .npcname$; mes "Great! I love business. I can make you a ^FF0000"+.prizen$+"^000000, but only if you bring me the materials required."; next; mes .npcname$; mes "Would you like me to make one for you?"; menu "Yes",-,"No",L_EXIT; next; mes .npcname$; mes "I'll need the following:"; for (set .@x,1; .@x < getarraysize(.reqid); set .@x,.@x + 1) { mes .reqa[.@x]+" ^FF0000"+.reqn$[.@x]+"^000000"; } if (.zeny > 0) { mes .zeny+" ^FF0000Zeny^000000"; } next; mes .npcname$; mes "Do you have those items?"; menu "Yes",-,"No",L_EXIT; next; mes .npcname$; for (set .@x,1; .@x < getarraysize(.reqid); set .@x,.@x + 1) { if(countitem(.reqid[.@x]) >= .reqa[.@x]) {mes "You've got enough ^00FF00"+.reqn$[.@x]+"^000000";} else {mes "You need more ^FF0000"+.reqn$[.@x]+"^000000";} } if (.zeny > 0) { if (Zeny < .zeny) {mes "You're missing ^FF0000Zeny^000000";} else {mes "You've got enough ^00FF00Zeny^000000";} } next; mes .npcname$; mes "Would you like to complete the quest?"; menu "Yes please!",-,"No Thanks",L_EXIT; next; for (set .@x,1; .@x < getarraysize(.reqid); set .@x,.@x + 1) { if(countitem(.reqid[.@x]) < .reqa[.@x]) goto L_EXIT2; } if (.zeny > 0) { if (Zeny < .zeny) goto L_EXIT2; } mes .npcname$; mes "Brilliant! Fantastic! Here you go."; for (set .@x,1; .@x < getarraysize(.reqid); set .@x,.@x + 1) { delitem .reqid[.@x],.reqa[.@x]; } if (.zeny > 0) { set Zeny, Zeny - .zeny; } goto L_FINAL2; close; L_EXIT: next; mes .npcname$; mes "Eh. I don't need you either. Bah!"; close; L_EXIT2: next; mes .npcname$; mes "I'm sorry, you don't have enough!"; close; L_FINAL2: next; mes .npcname$; mes "Brilliant! Fantastic! Here you go."; getitem .prize,1; close; } Just edit everywhere it has placeholders wrapped in <>. You can expand the NPC to contain as many required items as you wish, just keep adding entries to the arrays. I also have a version that doesn't require the input of item names. This version however I don't have laying around because the servers I have used this template on often have strange names for items in their item_dbs. I can recode release this version if requested. If you like my work, please rate the topic and give reputation! Thanks!
    1 point
  2. I agree, that the mobs make it look cluttered. I like the idea though, of replacing certain letters with mobs, but it looks like you placed the mob over the original text, it might look better if you remove that particular letter, replace it with some spaces, and then place the mob there. Then, since some mobs aren't as large as the letter (like RO), you could try making them larger. Free-transform is one way (select the layer, select "Rectangular Marque Tool", right click and click "Free Transform", then drag the lower left or right corner while pressing the shift key, so the portions are constrained and it doesn't look stretched), and the other way would be opening the mob and resizing it by itself, then copying and pasting onto your original work. I would suggest going with a theme, you have cute monsters mixed with monsters that have no cute to them, so it kind of throws it off, so either go with the cute or go with the more serious ones (since the server name is Mysterious RO, serious may compliment it more if you choose ones that are mysterious or enchanting). The two red monsters (I've seen them, but don't know their names yet) don't seem to fit at all, because of their color and theme. I think those would fit more with an ocean/beach themed server. I agree with the wiki intersecting with the title, it just doesn't look right. I again like the idea, but I'm not sure as to how to make it work. You could try changing the font and font color, but if that doesn't work then hmm... Well I understand the style, you're trying to combine two subjects. Maybe try combining something related to the wiki software you're using (media wiki?), into the title, like what is seen here, instead of the text. I also like the Mysterious RO text, but the Storyline, Wiki, and Features text look too simple/typical, so they don't have that interesting/wow effect. I like Version 3 the most out of everything, because the stroke and drop shadow make it pop more.
    1 point
  3. actually...it doesnt affect anything here...just a simple warning show you that the item that currently selling in this shop might be abused due to player can farm zeny buy purchase the item from the shop and sell back to shop because they can earn the zeny due to cost of purchase is lower than amount of gain... - shop Emistry_Shop -1,512:1 change the value 1 to any value with higher than the overchanged price of Apple....
    1 point
  4. How about this..xD @judas. just post your Youtube link..it will auto embed it... or use this [media]http://www.youtube.com/watch?v=3rI85jH3F4U[/media]
    1 point
  5. I used to play Skyrim, but them i took an arrow to the knee.
    1 point
  6. Abi, are you using the latest rAthena compile with the right build in mmo.h? Have you edited clientinfo.xml with the correct IP? If so, update your kro/ragre. Regardless, this is a RELEASE topic not a support topic. If you need help, MAKE A THREAD in client support. From here on I will not hestitate to start deleting posts. I don't know why it reads like that in a hex editor, but it is actually the version I stated in the OP from here.
    1 point
×
×
  • Create New...