Wakabayashi

Members
  • Content Count

    9
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Wakabayashi

  • Rank
    New Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Wakabayashi

    [Solved] Lucky Roulette items dont showing.

    I solved the problem. I had to restart the entire SQL Server so that the items were visually visible.
  2. Hi rA Community. I have the problem that I can change the items in Lucky Roullette, but the items are not visually displayed or changed. I have changed the IDs in the db_roulette SQL and get the prices I have set there. Unfortunately, I do not visually see any change in roulette. Do I have to change anything in the client? If so where exactly? It would be really nice if someone could help me with my problem ..
  3. Wakabayashi

    Friend Warper Map restriction

    Okay, thanks you made my day.
  4. Wakabayashi

    Friend Warper Map restriction

    Ow.. this is great. Can I add more maps like this? getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu])); if (@m$ == "prontera","morocc","izlude"){ mes "I can't be teleport you to your friend's location!"; close; } warp @m$,@x,@y;
  5. Wakabayashi

    Friend Warper Map restriction

    Thanks for the quick answer Mr. Harziel. My Problem is that I don't know how to do this. Could you give me an example? I'll try this by my self.. maybe its not so hard. ^^
  6. Wakabayashi

    Friend Warper Map restriction

    Hello rAthena Community. I would like to ask for some help.. is it possible to add a map restriction? This is the Friendwarper script: prontera,167,199,6 script Friend Warper 461,{ deletearray [email protected][0],128; deletearray @aid[0],128; set @j,0; set @select$,""; query_sql "SELECT `friend_account` FROM `friends` WHERE `char_id` = "+getcharid(0)+"",[email protected]; set [email protected],getarraysize([email protected]); for(set [email protected],0;[email protected]<[email protected];set [email protected],[email protected]+1) if(isloggedin([email protected][[email protected]])) { set @aid[@j],[email protected][[email protected]]; set @j,@j+1; set @select$,@select$+":"+rid2name([email protected][[email protected]]); } set @menu,select(@select$)-2; if(isloggedin(@aid[@menu])) { getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu])); warp @m$,@x,@y; set @m$,""; set @x,0; set @y,0; set @j,0; set @select$,""; deletearray @aid[0],128; }else mes "He isn't online."; close; } Thanks for your time!
  7. Wakabayashi

    Can't show my Equipinformation.

    After relogging my character the "Show Equip" box is empty and the tick mark is gone.
  8. Wakabayashi

    Can't show my Equipinformation.

    Hi rAthena Community, my problem is the Checkbox "Show Equip" don't stays checked..
  9. Wakabayashi

    IP Checker for Questbord Script

    Hi there. ^^ I need a IP Checker for this Quest Board Script. Is there a posibility to add something like this? It would be very nice if you could help me with this.. //===== rAthena Script ======================================= //= tr0n's Questboard //===== By: ================================================== //= tr0n //===== Current Version: ===================================== //= 1.6.5 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Easily add collection and hunting quests. //===== Additional Comments: ================================= // 1.0.0 Release // 1.1.0 Added zeny reward // 1.2.0 Rewrote checkmob and killcounter // 1.3.1 Added level restriction // 1.3.4 Added Reward Item Amount // 1.4.4 Added Quest delay // 1.5.4 Added repeatable Quests // 1.6.4 Added party support // 1.6.5 Bug fixes for party support //============================================================ prontera,147,172,5 script Questboard 857,{ if(c_run==1){ mes "[^FF7700Questboard^000000]"; mes "^0000FF"+getd("." + currentquest$ + "_collectionname$")+"^000000"; mes "--------------------------------"; for( set [email protected], 0; [email protected] < getarraysize(getd("."+ currentquest$ + "_collectionitem")); set [email protected],[email protected]+2){ mes "^FF0000"+getitemname(getd("."+currentquest$+"_collectionitem["[email protected]+"]"))+" - "+countitem(getd("."+currentquest$+"_collectionitem["[email protected]+"]"))+"/"+getd("."+currentquest$+"_collectionitem["+([email protected]+1)+"]")+" ea.^000000"; } mes "--------------------------------"; mes "[Reward]"; mes "Item: ^0000FF"+((getd("." +currentquest$+"_collectionprize"))?getitemname(getd("." +currentquest$+"_collectionprize"))+" - "+getd("." +currentquest$+"_collectionamount")+" ea.^000000":"Nothing^000000"); mes "Zeny: ^0000FF"+getd("." +currentquest$+"_collectionzeny")+"^000000"; mes "Base EXP: ^0000FF"+getd("." +currentquest$+"_collectionexp["+0+"]")+"^000000"; mes "Job EXP: ^0000FF"+getd("." +currentquest$+"_collectionexp["+1+"]")+"^000000"; next; if(select("Finish:Abort") == 2){ mes "[^FF7700Questboard^000000]"; mes "Quest aborted."; set currentquest$, ""; set c_run, 0; close; } goto L_checkitems; } if(h_run==1){ mes "[^FF7700Questboard^000000]"; mes "^0000FF"+getd("." + currentquest$ + "_huntingname$")+"^000000"; mes "--------------------------------"; for( set [email protected], 0; [email protected] < getarraysize(getd("."+ currentquest$ + "_huntingmob")); set [email protected],[email protected]+2){ set [email protected], getd("."+currentquest$+"_huntingmob["+([email protected])+"]"); mes "^FF0000"+strmobinfo(1,getd("."+currentquest$+"_huntingmob["[email protected]+"]"))+" - "+getd(currentquest$+"_"[email protected]+"_"+([email protected]+1)+"_killcount")+"/"+getd("."+currentquest$+"_huntingmob["+([email protected]+1)+"]")+" ea.^000000"; } mes "--------------------------------"; mes "[Reward]"; mes "Item: ^0000FF"+((getd("." +currentquest$+"_huntingprize"))?getitemname(getd("." +currentquest$+"_huntingprize"))+" - "+getd("." +currentquest$+"_huntingamount")+" ea.^000000":"Nothing^000000"); mes "Zeny: ^0000FF"+getd("." +currentquest$+"_huntingzeny")+"^000000"; mes "Base EXP: ^0000FF"+getd("." +currentquest$+"_huntingexp["+0+"]")+"^000000"; mes "Job EXP: ^0000FF"+getd("." +currentquest$+"_huntingexp["+1+"]")+"^000000"; next; if(select("Finish:Abort") == 2){ mes "[^FF7700Questboard^000000]"; mes "Quest aborted."; for(set [email protected], 1; [email protected] < getarraysize(getd("."+currentquest$+"_huntingmob")); set [email protected],[email protected]+2){ set [email protected], getd("."+currentquest$+"_huntingmob["+([email protected])+"]"); setd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount", 0); } set currentquest$, ""; set h_run, 0; close; } goto L_checkmobs; } mes "[^FF7700Questboard^000000]"; mes "Select category:"; next; switch(select((.collection)?"Collection Quests":"", (.hunting)?"Hunting Quests":"", "Exit")) { case 1: set [email protected]$, ""; for( set [email protected],0; [email protected] < .collectionquestcount; set [email protected],[email protected]+1){ if ([email protected]) set [email protected]$,[email protected]$+":"; set [email protected]$, [email protected]$ + "[" + getd("." +([email protected]+1)+"_collectionmin") + " - " + getd("." +([email protected]+1)+"_collectionmax") + "] " + getd("." + ([email protected]+1) + "_collectionname$"); } set [email protected],select([email protected]$); if(.quest_repeat == 1){ if(gettimetick(2) < getd([email protected] + "_collection_delay")){ set [email protected]_left, getd([email protected] + "_collection_delay")-gettimetick(2); mes "[^FF7700Questboard^000000]"; if([email protected]_left < 60) mes "You have to wait ^0000FF"[email protected]_left+" seconds^000000 to do this quest again."; if([email protected]_left < 3600) mes "You have to wait ^0000FF"[email protected]_left/60+" minutes^000000 to do this quest again."; mes "You have to wait ^0000FF"[email protected]_left/60/60+" hours^000000 to do this quest again."; close; } } else{ if(getd([email protected] + "_collection_repeat") == 1){ mes "[^FF7700Questboard^000000]"; mes "You already did this quest."; mes "Please choose another one."; close; } } mes "[^FF7700Questboard^000000]"; mes "^0000FF"+getd("." + [email protected] + "_collectionname$")+"^000000"; mes "--------------------------------"; for( set [email protected], 0; [email protected] < getarraysize(getd("."+ [email protected] + "_collectionitem")); set [email protected],[email protected]+2){ mes "^FF0000"+getitemname(getd("."[email protected]+"_collectionitem["[email protected]+"]"))+" - "+getd("."[email protected]+"_collectionitem["+([email protected]+1)+"]")+" ea.^000000"; } mes "--------------------------------"; mes "[Reward]"; mes "Item: ^0000FF"+((getd("." [email protected]+"_collectionprize"))?getitemname(getd("." [email protected]+"_collectionprize"))+" - "+getd("." [email protected]+"_collectionamount")+" ea.^000000":"Nothing^000000"); mes "Zeny: ^0000FF"+getd("." [email protected]+"_collectionzeny")+"^000000"; mes "Base EXP: ^0000FF"+getd("." [email protected]+"_collectionexp["+0+"]")+"^000000"; mes "Job EXP: ^0000FF"+getd("." [email protected]+"_collectionexp["+1+"]")+"^000000"; next; if(select("Accept:Decline") == 2){ close; } if(BaseLevel >= getd("." [email protected]+"_collectionmin") && BaseLevel <= getd("." [email protected]+"_collectionmax")){ mes "[^FF7700Questboard^000000]"; mes "Quest accepted."; set c_run, 1; set currentquest$, [email protected]; close; } else{ mes "[^FF7700Questboard^000000]"; mes "You don't have the required"; mes "level to do this quest."; close; } case 2: set [email protected]$, ""; for( set [email protected],0; [email protected] < .huntingquestcount; set [email protected],[email protected]+1){ if ([email protected]) set [email protected]$,[email protected]$+":"; set [email protected]$, [email protected]$ + "[" + getd("." +([email protected]+1)+"_huntingmin") + " - " + getd("." +([email protected]+1)+"_huntingmax") + "] " + getd("." + ([email protected]+1) + "_huntingname$"); } set [email protected],select([email protected]$); if(.quest_repeat == 1){ if(gettimetick(2) < getd([email protected] + "_hunting_delay")){ set [email protected]_left, getd([email protected] + "_hunting_delay")-gettimetick(2); mes "[^FF7700Questboard^000000]"; if([email protected]_left < 60) mes "You have to wait ^0000FF"[email protected]_left+" seconds^000000 to do this quest again."; if([email protected]_left < 3600) mes "You have to wait ^0000FF"[email protected]_left/60+" minutes^000000 to do this quest again."; mes "You have to wait ^0000FF"[email protected]_left/60/60+" hours^000000 to do this quest again."; close; } } else{ if(getd([email protected] + "_hunting_repeat") == 1){ mes "[^FF7700Questboard^000000]"; mes "You already did this quest."; mes "Please choose another one."; close; } } mes "[^FF7700Questboard^000000]"; mes "^0000FF"+getd("." + [email protected] + "_huntingname$")+"^000000"; mes "--------------------------------"; for( set [email protected], 0; [email protected] < getarraysize(getd("."+ [email protected] + "_huntingmob")); set [email protected],[email protected]+2){ mes "^FF0000"+strmobinfo(1,getd("."[email protected]+"_huntingmob["[email protected]+"]"))+" - "+getd("."[email protected]+"_huntingmob["+([email protected]+1)+"]")+" ea.^000000"; } mes "--------------------------------"; mes "[Reward]"; mes "Item: ^0000FF"+((getd("." [email protected]+"_huntingprize"))?getitemname(getd("." [email protected]+"_huntingprize"))+" - "+getd("." [email protected]+"_huntingamount")+" ea.^000000":"Nothing^000000"); mes "Zeny: ^0000FF"+getd("." [email protected]+"_huntingzeny")+"^000000"; mes "Base EXP: ^0000FF"+getd("." [email protected]+"_huntingexp["+0+"]")+"^000000"; mes "Job EXP: ^0000FF"+getd("." [email protected]+"_huntingexp["+1+"]")+"^000000"; next; if(select("Accept:Decline") == 2){ close; } if(BaseLevel >= getd("." [email protected]+"_huntingmin") && BaseLevel <= getd("." [email protected]+"_huntingmax")){ mes "[^FF7700Questboard^000000]"; mes "Quest accepted."; set h_run, 1; set currentquest$, [email protected]; close; } else{ mes "[^FF7700Questboard^000000]"; mes "You don't have the required"; mes "level to do this quest."; close; } case 3: close; } L_checkitems: for( set [email protected],0; [email protected] < getarraysize(getd("."+currentquest$+"_collectionitem")); set [email protected],[email protected]+2){ if(countitem(getd("."+currentquest$+"_collectionitem["[email protected]+"]"))>=getd("."+currentquest$+"_collectionitem["+([email protected]+1)+"]")){ set [email protected],[email protected]+2; } } if([email protected]<getarraysize(getd("."+currentquest$+"_collectionitem"))){ mes "[^FF7700Questboard^000000]"; mes "You don't have everything."; close; } for( set [email protected],0; [email protected] < getarraysize(getd("."+currentquest$+"_collectionitem")); set [email protected],[email protected]+2){ delitem getd("."+currentquest$+"_collectionitem["[email protected]+"]"),getd("."+currentquest$+"_collectionitem["+([email protected]+1)+"]"); } mes "[^FF7700Questboard^000000]"; mes "Congratulation! Here is your Reward."; if(getd("." +currentquest$+"_collectionprize")!=0) getitem(getd("." +currentquest$+"_collectionprize"),getd("." +currentquest$+"_collectionamount")); set Zeny,Zeny+getd("." +currentquest$+"_collectionzeny"); getexp getd("." +currentquest$+"_collectionexp["+0+"]"),getd("." +currentquest$+"_collectionexp["+1+"]"); setd(currentquest$ + "_collection_delay"),gettimetick(2)+.quest_delay; setd(currentquest$ + "_collection_repeat"),1; set currentquest$, ""; set c_run, 0; close; L_checkmobs: set [email protected], (getarraysize(getd("."+currentquest$+"_huntingmob"))/2); for(set [email protected], 1; [email protected] < getarraysize(getd("."+currentquest$+"_huntingmob")); set [email protected],[email protected]+2){ set [email protected], getd("."+currentquest$+"_huntingmob["+([email protected])+"]"); if(getd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount")==getd("."+currentquest$+"_huntingmob["[email protected]+"]")){ set [email protected], [email protected]+1; if([email protected][email protected]){ goto L_checkmobs2; } continue; } goto L_checkmobs2; } L_checkmobs2: if([email protected]<[email protected]){ mes "[^FF7700Questboard^000000]"; mes "You didn't kill everything."; close; } mes "[^FF7700Questboard^000000]"; mes "Congratulation! Here is your Reward."; for(set [email protected], 1; [email protected] < getarraysize(getd("."+currentquest$+"_huntingmob")); set [email protected],[email protected]+2){ set [email protected], getd("."+currentquest$+"_huntingmob["+([email protected])+"]"); setd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount", 0); } if(getd("." +currentquest$+"_huntingprize")!=0) getitem(getd("." +currentquest$+"_huntingprize"),getd("." +currentquest$+"_huntingamount")); set Zeny, Zeny+getd("." +currentquest$+"_huntingzeny"); getexp getd("." +currentquest$+"_huntingexp["+0+"]"),getd("." +currentquest$+"_huntingexp["+1+"]"); setd(currentquest$ + "_hunting_delay"),gettimetick(2)+.quest_delay; setd(currentquest$ + "_hunting_repeat"),1; set currentquest$, ""; set h_run, 0; close; OnNPCKillEvent: if(h_run!=1) end; for(set [email protected], 1; [email protected] < getarraysize(getd("."+currentquest$+"_huntingmob")); set [email protected],[email protected]+2){ if(killedrid==getd("."+currentquest$+"_huntingmob["+([email protected])+"]")){ set [email protected], getd("."+currentquest$+"_huntingmob["+([email protected])+"]"); if(getd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount")>=getd("."+currentquest$+"_huntingmob["[email protected]+"]")) end; setd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount", getd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount")+1); dispbottom getd("."+currentquest$+"_huntingname$")+": ["+strmobinfo(1,[email protected])+"] ("+ getd(currentquest$+"_"[email protected]+"_"[email protected]+"_killcount")+"/"+getd("."+currentquest$+"_huntingmob["[email protected]+"]")+")"; if(getcharid(1) != 0 && .party_support == 1){ getmapxy([email protected]$,[email protected],[email protected],0); set [email protected], getcharid(3); set [email protected]$, currentquest$; getpartymember getcharid(1),1; getpartymember getcharid(1),2; for(set [email protected], 0; [email protected] < [email protected]; [email protected]++){ if(isloggedin([email protected][[email protected]], [email protected][[email protected]])){ if(attachrid([email protected][[email protected]])){ if(h_run==1 && getcharid(3) != [email protected] && [email protected]$ == currentquest$ && HP > 0){ getmapxy([email protected]$,[email protected],[email protected],0); if([email protected]$ == [email protected]$ && distance([email protected],[email protected],[email protected],[email protected]) < .party_range){ if(getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")<getd("."[email protected]$+"_huntingmob["[email protected]+"]")) { setd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount", getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")+1); dispbottom getd("."[email protected]$+"_huntingname$")+": ["+strmobinfo(1,[email protected])+"] ("+ getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")+"/"+getd("."[email protected]$+"_huntingmob["[email protected]+"]")+")"; } } } } } } attachrid([email protected]); } } continue; } end; OnInit: function AddCollection; function AddHunting; //Activate/Deactivate quest categories (1 - activated, 0 - deactivated) set .collection, 1; set .hunting, 1; //Quest Delay (seconds) //24 hours = 86400 seconds set .quest_delay, 86400; //Activate/Deactivate repeatable quests (1 - activated, 0 - deactivated) set .quest_repeat, 1; //Activate/Deactivate party support(1 - activated, 0 - deactivated) set .party_support, 1; //Max range for party support (+- x & y coordinations) set .party_range, 25; //Checks if quests are loaded (prevents out of index) if(.questsloaded==1) end; set .questsloaded, 1; //Add Collection Quests here (You can add as many required items as you want) //AddCollection("<Quest Name>",<Min Lvl>,<Max Lvl>,<Reward|Item ID>,<Reward|Item Amount>,<Zeny Reward>,<Base EXP>,<Job EXP>,<Item ID>,<Item Amount>,...); AddCollection("Collect the Jellopy.",1,175,6732,10,5000,132,26,909,200); AddCollection("Shell",5,175,6732,10,5000,768,153,935,100); AddCollection("Bee Sting",10,175,6732,10,10000,1320,264,939,100); AddCollection("Pointed Scale",15,175,6732,10,10000,1764,352,906,100); AddCollection("Worm Peeling",20,175,6732,10,15000,2522,504,955,100); AddCollection("Porcupine Quill",25,175,6732,10,15000,3692,738,1027,100); AddCollection("Tentacle",30,175,6732,10,20000,4940,988,962,100); AddCollection("Yoyo Tail",35,175,6732,10,20000,6240,1248,942,100); AddCollection("Lantern",40,175,6732,10,25000,8820,1764,1041,100); AddCollection("Wolf Claw",45,175,6732,10,25000,10640,2128,920,100); AddCollection("Orc Claw",50,175,6732,10,30000,13720,2744,1043,100); AddCollection("Rotten Bandage",55,175,6732,10,30000,16520,3304,930,100); AddCollection("Mantis Scythe ",60,175,6732,10,35000,20700,4140,1031,100); AddCollection("Black Hair",65,175,6732,10,35000,25200,5040,1020,100); AddCollection("Horrendous Mouth",70,175,6732,10,40000,38400,7680,958,100); AddCollection("Bug Leg",75,175,6732,10,40000,54000,10800,1042,100); AddCollection("Grit",80,175,6732,10,45000,83200,16640,1056,100); AddCollection("Maneater Root ",85,175,6732,10,45000,176000,35200,1033,100); AddCollection("Golden Hair ",90,175,6732,10,50000,340000,68000,1060,100); AddCollection("Brigan",95,175,6732,10,50000,816000,163200,7054,100); AddCollection("Tongue",100,175,6732,10,55000,1480000,296000,1015,100); AddCollection("Wooden Gnarl",105,175,6732,10,55000,1922000,384400,7222,100); AddCollection("Burning Heart",110,175,6732,10,60000,2586000,517200,7097,100); AddCollection("Rusty Screw",115,175,6732,10,60000,3084000,616800,7317,100); AddCollection("Used Iron Plate",120,175,6732,10,65000,3804000,760800,7319,100); AddCollection("Bloody Rune",125,175,6732,10,65000,5058000,1011600,7563,100); AddCollection("Suspicious Hat",130,175,6732,10,70000,6336000,1267200,1769,100); AddCollection("White Spider Limb",135,175,6732,10,70000,7978000,1595600,6325,100); AddCollection("Antler Helmet",140,175,6732,10,75000,10082000,2016400,6322,100); AddCollection("Rakehorn Helm",145,175,6732,10,75000,13224000,2644800,6321,100); AddCollection("Research Chart",150,175,6732,10,80000,19600000,3920000,7347,100); //Add Hunting Quests here (You can add as many required mobs as you want) //AddHunting("<Quest Name>",<Min Lvl>,<Max Lvl>,<Reward|Item ID>,<Reward|Item Amount>,<Zeny Reward>,<Base EXP>,<Job EXP>,<Monster ID>,<Monster Amount>,...); AddHunting("Chase the rabbit!",1,175,6732,10,5000,132,26,1063,100); AddHunting("Are you ready to rock?",5,175,6732,10,5000,768,153,1052,100); AddHunting("Butterfly Effect",10,175,6732,10,10000,1320,264,1018,100); AddHunting("Zombie Apocalypse",15,175,6732,10,10000,1764,352,1015,100); AddHunting("Stairway to Poring Heaven.",20,175,6732,10,15000,2522,504,1031,100); AddHunting("Want some Cookie?",25,175,6732,10,15000,3692,738,1265,100); AddHunting("Quak!",30,175,6732,10,20000,4940,988,1034,100); AddHunting("Don't let them hit you.",35,175,6732,10,20000,4940,988,1016,100); AddHunting("Dig some holes.",40,175,6732,10,25000,6240,1248,1127,100); AddHunting("Flora and fauna.",45,175,6732,10,25000,8820,1764,1118,100); AddHunting("Who controls the spice?",50,175,6732,10,30000,10640,2128,1165,100); AddHunting("Jakk the ripper.",55,175,6732,10,30000,13720,2744,1130,100); AddHunting("Winner winner chicken dinner!",60,175,6732,10,35000,16520,3304,1369,100); AddHunting("Row row row your goat.",65,175,6732,10,35000,20700,4140,1372,100); AddHunting("Look into her eyes!",70,175,6732,10,40000,25200,5040,1376,100); AddHunting("Puppetmaster",75,175,6732,10,40000,38400,7680,1143,100); AddHunting("Rock'N'Roll!",80,175,6732,10,45000,54000,10800,1784,100); AddHunting("Snake?Snake!?Snaaaaaake!",85,175,6732,10,45000,83200,16640,1030,100); AddHunting("What are they deleting?",90,175,6732,10,50000,176000,35200,1385,100); AddHunting("Healthy Minerals.",95,175,6732,10,50000,340000,68000,1614,100); AddHunting("Cute cold fluff.",100,175,6732,10,55000,816000,163200,1776,100); AddHunting("Old mans wandering.",105,175,6732,10,55000,1480000,296000,1208,100); AddHunting("Drop it like it's hot.",110,175,6732,10,60000,1922000,384400,1836,100); AddHunting("Dungeons and dragons.",115,175,6732,10,60000,3084000,616800,1713,100); AddHunting("Holy shit!",120,175,6732,10,65000,3804000,760800,1772,100); AddHunting("Imperator",125,175,6732,10,65000,5058000,1011600,1837,100); AddHunting("Womens curse.",130,175,6732,10,70000,6336000,1267200,1867,100); AddHunting("Highway to Hell ",135,175,6732,10,70000,7978000,1595600,1831,100); AddHunting("A bug's life.",140,175,6732,10,75000,10082000,2016400,1772,100); AddHunting("Pope's last hope.",145,175,6732,10,75000,13224000,2644800,1769,100); AddHunting("Burn baby burn!",150,175,6732,10,80000,19600000,3920000,1833,100); end; function AddCollection{ set .collectionquestcount,.collectionquestcount+1; setd ("." +.collectionquestcount+"_collectionname$", getarg(0)); setd ("." +.collectionquestcount+"_collectionmin", getarg(1)); setd ("." +.collectionquestcount+"_collectionmax", getarg(2)); setd ("." +.collectionquestcount+"_collectionprize", getarg(3)); setd ("." +.collectionquestcount+"_collectionamount", getarg(4)); setd ("." +.collectionquestcount+"_collectionzeny", getarg(5)); set [email protected], 6; set [email protected], getarraysize(getd("."+ .collectionquestcount + "_collectionexp")); setd ("." +.collectionquestcount+"_collectionexp["[email protected]+"]",getarg([email protected])); setd ("." +.collectionquestcount+"_collectionexp["+([email protected]+1)+"]",getarg([email protected]+1)); set [email protected], [email protected]+2; while(getarg([email protected],-1)!=-1 && getarg([email protected]+1,-1)!=-1){ set [email protected], getarraysize(getd("."+ .collectionquestcount + "_collectionitem")); setd ("."+.collectionquestcount+"_collectionitem["[email protected]+"]",getarg([email protected])); setd ("."+.collectionquestcount+"_collectionitem["+([email protected]+1)+"]",getarg([email protected]+1)); set [email protected],[email protected]+2; } return; } function AddHunting{ set .huntingquestcount,.huntingquestcount+1; setd ("." +.huntingquestcount+"_huntingname$", getarg(0)); setd ("." +.huntingquestcount+"_huntingmin", getarg(1)); setd ("." +.huntingquestcount+"_huntingmax", getarg(2)); setd ("." +.huntingquestcount+"_huntingprize", getarg(3)); setd ("." +.huntingquestcount+"_huntingamount", getarg(4)); setd ("." +.huntingquestcount+"_huntingzeny", getarg(5)); set [email protected], getarraysize(getd("."+ .huntingquestcount + "_huntingexp")); set [email protected], 6; setd ("." +.huntingquestcount+"_huntingexp["[email protected]+"]",getarg([email protected])); setd ("." +.huntingquestcount+"_huntingexp["+([email protected]+1)+"]",getarg([email protected]+1)); set [email protected], [email protected]+2; while(getarg([email protected],-1)!=-1 && getarg([email protected]+1,-1)!=-1){ set [email protected], getarraysize(getd("."+ .huntingquestcount + "_huntingmob")); setd ("."+.huntingquestcount+"_huntingmob["[email protected]+"]",getarg([email protected])); setd ("."+.huntingquestcount+"_huntingmob["+([email protected]+1)+"]",getarg([email protected]+1)); set [email protected], [email protected]+2; } return; } }