

Ajjwidjdneidjenw
Members-
Posts
161 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Ajjwidjdneidjenw
-
* entirely off topic post darned, got beaten by experience XD (Could've done it that way yeah.). hey, tbh I've started scripting in April(an easter event was my first script, yay goto's labels and overall poorly coded), gotta give me some credit . Found it, one of my first scripts.. //Made by Jeroen //Made using the rachel sanc quest as layout moscovia.gat,225,191,5 script Easter Bunny 1322,{ if (EB_COMPLETE == 1) { mes "[bunny]"; mes "Thank you so much for returning my eggs!"; close; end; } mes "[bunny]"; mes "Hello!"; mes "I am the easter bunny!"; mes "I know my appearance is a little bit strange but that's because I lost my Eggs!"; mes "If you manage to find all my eggs I wil give you a reward!"; next; if ((RED_EGG == 1) && (BLUE_EGG == 1) && (YELlOW_EGG == 1) && (GREEN_EGG == 1) && (PURPLE_EGG == 1) && (BLACK_EGG == 1) && (GOLD_EGG == 1)) { mes "[bunny]"; mes "Oh! I see you have my eggs!"; mes "Would you like to receive your items now ?"; next; menu "Redeem Item",-,"Cancel",EB_END; } Else { mes "[bunny]"; mes "I think I lost my eggs while traveling through the following locations:"; mes "Poring heaven, The ruins of Morocc, The new worlds camp,in the realm of anubises,"; mes "In a Toy Factory, In a lair of a 3 headed dragon and under a gaint tree in amatsu"; next; mes "[bunny]"; mes "Please help me find them."; set EB_START,1; close; end; } if(checkweight(607,1) == 0){ mes "[bunny]"; mes "You are carrying too many items!"; mes "Please come back later!"; close; } mes "[bunny]"; mes "Here we go!"; Next; mes "[bunny]"; mes "What will it be?! Time to find out!"; Next; set .@bonus_ticket,rand(50); if (.@bonus_ticket == 50) getitem 5378,1; // Bunny top hat 2% chance else if (.@bonus_ticket > 21 && .@bonus_ticket < 44) getitem 7619,1; //Enriched Elunium 22% else if (.@bonus_ticket > 0 && .@bonus_ticket < 20) getitem 14208,1; //Field Manual Box 38% else getitem 13914,1; // Party Assumptio scrollbox 38% next; mes "[Lottery Machine]"; mes "Congratulations! Come back soon!"; set #EB_COMPLETE,1; set EB_START,0; close; end; EB_END: mes "[bunny]"; mes "Come back soon!"; close; end; } pay_fild04,146,107,3 script RedEgg#Red -1,3,3,{ end; OnTouch: if (RED_EGG == 1) end; if (EB_START == 1) { mes "["+strcharinfo(0)+"]"; mes "I can see a red egg up in that tree"; mes "if only I had some sort of ^6B8E23Strong Branch^000000"; next; if (countitem(7203) > 0) { mes "["+strcharinfo(0)+"]"; mes "Oh wait! I do have some!"; mes "Lets try to get it out!"; next; set .@red_eggget,rand(1,20); if (.@red_eggget < 3) { mes "["+strcharinfo(0)+"]"; mes "Yes! I got the Red egg!"; set RED_EGG,1; close; } else { delitem 7203,1; //Strong Branch Mes "^6B8E23The Strong Branch broke in the attempt^000000"; close; } } else { mes "["+strcharinfo(0)+"]"; mes "I better start collecting some"; close; } } } mid_camp,227,235,3 script BlueEgg#Blue -1,3,3,{ end; OnTouch: if (BLUE_EGG == 1) end; if (EB_START == 1) { mes "["+strcharinfo(0)+"]"; mes "Ah!! I see a blue egg!"; mes "But it's stuck in this triangular shape thing."; mes "I wonder if I can get it out."; next; mes "^0003FF*clink* *Clink* *CLANG CLANG*^000000"; next; mes "["+strcharinfo(0)+"]"; mes "By the power of all Whitesmiths!!!!"; mes "I will pull you out!"; next; mes "^0003FF*BANG* *BANG* *BANG*^000000"; specialeffect2 EF_Blessing; next; specialeffect2 EF_OVERTHRUST; next; mes "["+strcharinfo(0)+"]"; mes "I got the blue egg!"; set BLUE_EGG,1; close; } } moc_ruins,59,161,3 script YellowEgg#Yellow -1,3,3,{ end; OnTouch: if (YELLOW_EGG == 1) end; if (EB_START == 1) { mes "[????]"; mes "hehehehe....."; mes "Are you looking for this?"; next; mes "["+strcharinfo(0)+"]"; mes "Yes! But how did you know?"; mes "and where did you get it from?"; next; mes "[Kafra Employee]"; mes "You may have it under one condittion."; mes "You will need to answer the following questions"; mes "Are you ready?"; switch(select("Yes!?:...No! I don't want to.")) { next; case 1: mes "[Kafra employee]"; mes "Well then,"; mes "let's begin."; next; mes "[Kafra employee]"; mes "What day is easter Celebrated?"; next; if (select("Sunday:Teusday:Friday:Saturday") == 1) set .@yellow_q,.@yellow_q+10; mes "[Kafra employee]"; mes "Why do we have eggs at Easter?"; next; if (select("Because they are yummy:They resemble Rebirth:Because.. just give me the egg") == 2) set .@yellow_q,.@yellow_q+10; mes "[Kafra employee]"; mes "Which came first?"; next; if (select("The chicken:The egg:None of Both:Jero") == 3) set .@yellow_q,.@yellow_q+10; mes "[Kafra employee]"; mes "A female rabbit is called a...?"; next; if (select("Doe:Cow:chicken:JC") == 1) set .@yellow_q,.@yellow_q+10; mes "[Kafra employee]"; mes "What kind of tail does the easter bunny assumed to have?"; next; if (select("Cutton Tail:Chocolate Tail:Liquor Tail:Bunny's have tails?") == 1) set .@yellow_q,.@yellow_q+10; mes "[Kafra employee]"; mes "Okay, this is the end of the test!"; next; if (.@yellow_q > 39) { mes "[Kafra employee]"; set YELlOW_EGG,1; mes "Fine you can have the egg"; next; mes "You got the Yellow egg!"; close; } else { mes "[Kafra employee]"; mes "I'm sorry you failed"; mes "Please try agian!"; close; } case 2: mes "[Kafra employee]"; mes "come back later!"; close; } } } in_sphinx4,25,214,3 script GreenEgg#Green -1,3,3,{ end; OnTouch: if (GREEN_EGG == 1) end; if ((TABLET_A == 1) && (TABLET_B == 1) && (TABLET_C == 1) && (TABLET_D == 1) && (TABLET_E == 1)) { mes "You inserted all of the tablets into the wall"; mes "A hidden hatch opened,"; mes "and you received the green egg!"; set GREEN_EGG,1; set TABLET_A,0; set TABLET_B,0; set TABLET_C,0; set TABLET_D,0; set TABLET_E,0; close; } if (TABLET_A == 1) end; if (EB_START == 1) { mes "["+strcharinfo(0)+"]"; mes "Hm... there is a strange writing on the wall"; next; mes "^0003FFIn order to get the Green egg"; mes "You will need to find 5 Tablets"; mes "You can find them on your minimap as you go along"; mes "After you got all 5 Tablet, return to this point^000000"; next; viewpoint 1,20,230,4,0x00FF00; mes "^0003FF You got Tablet A!"; set TABLET_A,1; close; } } in_sphinx4,20,230,3 script TABLET_B#Green -1,3,3,{ end; OnTouch: if (GREEN_EGG == 1) end; if (TABLET_B == 1) end; if (TABLET_A == 1) { mes "You have found tablet B!"; set TABLET_B,1; viewpoint 1,16,7,4,0x00FF00; close; } } in_sphinx4,16,15,3 script TABLET_C#Green -1,3,3,{ end; OnTouch: if (GREEN_EGG == 1) end; if (TABLET_C == 1) end; if (TABLET_A == 1) { mes "You have found tablet C!"; set TABLET_C,1; viewpoint 1,119,122,4,0x00FF00; close; } } in_sphinx4,119,122,3 script TABLET_D#Green -1,3,3,{ end; OnTouch: if (GREEN_EGG == 1) end; if (TABLET_D == 1) end; if (TABLET_A == 1) { mes "You have found tablet D!"; set TABLET_D,1; viewpoint 1,229,55,4,0x00FF00; close; } } in_sphinx4,229,55,3 script TABLET_E#Green -1,3,3,{ end; OnTouch: if (GREEN_EGG == 1) end; if (TABLET_E == 1) end; if (TABLET_A == 1) { mes "You have found tablet E!"; set TABLET_E,1; close; } } amatsu,263,195,3 script Angel Rabbit#Purple 1063,3,3,{ if (PURPLE_EGG == 1) end; if (EB_START == 1) { mes "There's a rabbit here, guarding a purple egg."; mes "What will you do to take the egg?"; next; switch(select("Pet the rabbit:Kick the rabbit:Eat the rabbit:just walk away")) { case 1: { mes "you attempted to pet the rabbit"; mes "The rabbit got scared and bit you."; mes "in the mean time you managed t take the egg"; percentheal -60,0; set PURPLE_EGG,1; close; } break; case 2: { mes "You kicked the rabbit, sending it flying"; mes "in the meantime you grab the egg, it is now yours."; set PURPLE_EGG,1; close; } break; case 3: { mes "you started to boil a hot soup and put the rabbit in the bowl."; mes "hm... Rabbit stew."; mes "you restored all your energy, and you got the purple egg."; percentheal 100,100; set PURPLE_EGG,1; close; } break; case 4: mes "you ran away"; close; } } } mosk_dun03,222,229,3 script BLACK_EGG#BLACK -1,3,3,{ end; OnTouch: If (BLACK_EGG == 1) end; if (EB_START == 1) { mes "You see a black egg in between the pile of skulls"; mes "you will need about 50 holy waters, to clear the way to the black egg."; next; if (countitem(523) > 49) { mes "You have enough holy waters to clear the way"; mes "Do you want to use them?"; next; menu "yes",-,"no",BA_END; mes "You cleared your way and got the black egg!"; delitem 523,50; //Holywater set BLACK_EGG,1; close; BA_END: Close; } mes "Better start get some holy waters!"; close; } } xmas_dun01,205,27,3 script Chepet#GOLD 1250,3,3,{ if (GOLD_EGG == 1) end; if ((countitem(7035) > 0) && (countitem(969) > 0) && (countitem(7053) > 99)) { mes "[Chepet]"; mes "I see you have the items!"; mes "Do you want to make a trade?"; menu "yes",-,"no",GO_END; next; mes "Thank you!"; delitem 7035,1; delitem 969,1; delitem 7053,100; set GOLD_EGG,1; close; } mes "[Chepet]"; mes "hello! I see you are"; mes "interested in this golden egg I found"; next; mes "[Chepet]"; mes "How about a little trade?"; mes "I want the following items:"; mes "^0003FF1 Match stick"; mes "1 Gold"; mes "and 100 Cyfar"; next; mes "[Chepet]"; mes "Please bring them to me"; close; GO_END: close; } This doesn't belong here though, mind if we continue this in a PM ?
-
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
use this - script Card remover -1,{ OnPCLoginEvent: getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( !( getiteminfo( @inventorylist_id[.@i], 5 ) & 256 ) && getiteminfo( @inventorylist_id[.@i], 5 ) & 513 && (@inventorylist_refine[.@i] != 0 || @inventorylist_card1[.@i] > 500 )) { delitem2 @inventorylist_id[.@i], @inventorylist_amount[.@i], @inventorylist_identify[.@i], @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; getitem @inventorylist_id[.@i], @inventorylist_amount[.@i]; for ( .@j = 1; .@j <= 4; .@j++ ) { if (!getd("@inventorylist_card"+ .@j +"["+ .@i +"]")) break; getitem getd("@inventorylist_card"+ .@j +"["+ .@i +"]"), @inventorylist_amount[.@i]; } } } end; } @annie for ( .@j = 1; .@j <= 4; .@j++ ) getitem getd("@inventorylist_card"+ .@j +"["+ .@i +"]"), @inventorylist_amount[.@i]; this part will return errors if the items don't exist. Changing to... for ( .@j = 1; .@j <= 4; .@j++ ) { if (!getd("@inventorylist_card"+ .@j +"["+ .@i +"]")) break; getitem getd("@inventorylist_card"+ .@j +"["+ .@i +"]"), @inventorylist_amount[.@i]; } We should do this more often -
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
+rep You're right @ Getd & the stackable item, still though, as all the item are equipment it might as well be a 1 instead of a variable, not that it would make any difference . I see why delitem2 was used, it was to prevent the wrong item from getting deleted or duped. Edit: quote: can't believe I'm doing script showdown with you xD Hey, we need to have a little fun here, right ? @ sumario try this: - script Card remover -1,{ OnPCLoginEvent: getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( !( getiteminfo( @inventorylist_id[.@i], 5 ) & 256 ) && getiteminfo( @inventorylist_id[.@i], 5 ) & 513 && (@inventorylist_card1[.@i] > 500 || !@inventorylist_refine[.@i])) { delitem2 @inventorylist_id[.@i], @inventorylist_amount[.@i], @inventorylist_identify[.@i], @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; getitem @inventorylist_id[.@i], @inventorylist_amount[.@i]; for ( .@j = 1; .@j <= 4; .@j++ ) getitem getd("@inventorylist_card"+ .@j +"["+ .@i +"]"), @inventorylist_amount[.@i]; } } end; } -
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
Yay my first rep, and that by a script mod <3 wouldn't the below work? - script Card remover -1,{ OnPCLoginEvent: getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( !( getiteminfo( @inventorylist_id[.@i], 5 ) & 256 ) && getiteminfo( @inventorylist_id[.@i], 5 ) & 513 && @inventorylist_card1[.@i] > 500 ) { delitem2 @inventorylist_id[.@i], @inventorylist_amount[.@i], @inventorylist_identify[.@i], @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; getitem @inventorylist_id[.@i], @inventorylist_amount[.@i]; for ( .@j = 1; .@j < 5; .@j++ ) getitem @inventorylist_card(.@j)[.@i], @inventorylist_amount[.@i]; } } end; } Edit, What just crossed my mind as well, if we remove multiple items at once, it deletes it and re-adds it multiple times, hence I used '1' when deleting/adding a item, beucase it would come across the others anyway. Why was delitem2 used again ? -
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
There aren't any mid+lower slotted items, unless this was customly added by the topic starter. -
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
He wanted the refine rate to reset itself, also this gets all the items in the inventory whereas 'successremovecards' only splits the item that is equipped. -
Can somebody kind enough tell me the commands... :)
Ajjwidjdneidjenw replied to Milky Holmes's question in Script Requests
Or what he said ^ -
Can somebody kind enough tell me the commands... :)
Ajjwidjdneidjenw replied to Milky Holmes's question in Script Requests
Healer by Eurphy First: //===== rAthena Script ======================================= //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Basic healer script. //============================================================ - script Healer -1,{ if (isequiped(4127)) { message strcharinfo(0),"The Golden Thief Bug Card blocks the healers magic!"; end;} set .@Price,0; // Zeny required for heal set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,0; // Heal delay, in seconds callfunc "F_ClearGarbage",0; if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; if (Zeny < .@Price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000")==2) close; set Zeny, Zeny-.@Price; } specialeffect2 313; percentheal 100,100; if (.@Buffs) { specialeffect2 37; sc_start SC_INCREASEAGI,240000,10; specialeffect2 42; sc_start SC_BLESSING,240000,10; } if (.@Delay) set @HD, gettimetick(2)+.@Delay; close; } alberta,25,240,6 duplicate(Healer) Healer#alb 909 aldebaran,135,118,6 duplicate(Healer) Healer#alde 909 amatsu,200,79,4 duplicate(Healer) Healer#ama 909 ayothaya,207,169,6 duplicate(Healer) Healer#ayo 909 brasilis,194,221,6 duplicate(Healer) Healer#bra 909 comodo,184,158,6 duplicate(Healer) Healer#com 909 dewata,193,175,6 duplicate(Healer) Healer#dew 909 eclage,105,35,4 duplicate(Healer) Healer#ecl 909 einbech,142,244,4 duplicate(Healer) Healer#einbe 909 einbroch,57,202,6 duplicate(Healer) Healer#einbr 909 dicastes01,201,194,4 duplicate(Healer) Healer#dic 909 geffen,115,72,6 duplicate(Healer) Healer#gef 909 gonryun,156,122,6 duplicate(Healer) Healer#gon 909 hugel,89,150,6 duplicate(Healer) Healer#hug 909 izlude,125,118,5 duplicate(Healer) Healer#izl 909 lighthalzen,149,103,6 duplicate(Healer) Healer#li 909 louyang,225,103,4 duplicate(Healer) Healer#lou 909 malangdo,226,188,4 duplicate(Healer) Healer#mal 909 malaya,205,205,6 duplicate(Healer) Healer#malay 909 manuk,256,176,6 duplicate(Healer) Healer#man 909 mid_camp,203,289,6 duplicate(Healer) Healer#mid 909 mora,106,100,6 duplicate(Healer) Healer#mora 909 morocc,153,97,6 duplicate(Healer) Healer#mor 909 moscovia,215,194,6 duplicate(Healer) Healer#mos 909 niflheim,188,180,5 duplicate(Healer) Healer#nif 909 payon,179,106,4 duplicate(Healer) Healer#pay 909 prontera,162,193,4 duplicate(Healer) Healer#pront 909 rachel,125,116,6 duplicate(Healer) Healer#rac 909 splendide,201,153,4 duplicate(Healer) Healer#spl 909 thor_camp,249,74,4 duplicate(Healer) Healer#thor 909 umbala,129,132,4 duplicate(Healer) Healer#umb 909 veins,217,121,4 duplicate(Healer) Healer#ve 909 xmas,143,136,6 duplicate(Healer) Healer#xmas 909 yuno,164,45,4 duplicate(Healer) Healer#yuno 909 Second: Could you please be more specific? Third: Either set all maps to the following or ask for a source Modification on the Source Request forum map_name mapflag snow Fourth: Conf/battle/skill.conf Change: emergency_call: 11 To emergency_call: 10 -
Did not quite get what you meant with the Santa hat. prontera,150,165,2 script Santa NPC 512,{ set .@n$, "[NPC_NAME]"; // name of NPc mes .@n$; mes "Hello would you like to enter the Christmas Event?"; mes "You will need to be a ^FF0000Novice^000000, that is higher than level ^FF000090^000000"; if(select("Yes please:No Thank you.")==2) close; next; if(BaseClass == Job_Novice && BaseLevel >= 90 && isequipped(2236)) warp "MAP",X,Y; //Map,x,y (0,0 for random coordinates on X & Y) mes .@n$; mes "You do not seem to meet the previous stated conditions..."; close; } Finaly managed to do a few things, usually this place is swarmed by rAthena Script devs; lmao.
-
auto removecard from low and middle equip
Ajjwidjdneidjenw replied to sumano's question in Script Requests
Not tested yet - script Card remover -,{ OnPCLoginEvent: getinventorylist; for(.@i = 0; .@i < @inventorylist_count; .@i++){ if((Getiteminfo(@inventorylist_id[.@i],5) == 512 || Getiteminfo(@inventorylist_id[.@i],5) == 1) && @inventorylist_card1[.@i]) { delitem @inventorylist_id[.@i],1; getitem @inventorylist_id[.@i],1; getitem @inventorylist_card1[.@i],1; } } end; } -
if everything is set to 127.0.0.1 you wouldn't have to port forward.
-
Ist es Deine webshop?
-
Need help with Cart Termination[CT]
Ajjwidjdneidjenw replied to kingnielz's question in Source Requests
src/map/battle.c -
Battle.c Find and comment: cri -= tstatus->luk*(!sd&&tsd?3:2); (so change to:) //cri -= tstatus->luk*(!sd&&tsd?3:2);
-
Need help with Cart Termination[CT]
Ajjwidjdneidjenw replied to kingnielz's question in Source Requests
Change if ( sc->data[sC_REFLECTSHIELD] && skillid != WS_CARTTERMINATION ) { rdamage += damage * sc->data[sC_REFLECTSHIELD]->val2 / 100; if (rdamage < 1) rdamage = 1; } to if ( sc->data[sC_REFLECTSHIELD] /*&& skillid != WS_CARTTERMINATION */) { rdamage += damage * sc->data[sC_REFLECTSHIELD]->val2 / 100; if (rdamage < 1) rdamage = 1; } -
Darnit Eurphy, you were faster than I was.(didn't notice your post, thought it wasn't brought up.). Indeed can be a lot smaller(keep comments intact, and special effects intact.) can do the special effects with a loop aswell . Also you were using string Variables ($ at the end), which does not apply, as you were using ID's. // ============== Credit ===================== // Scripted by WhiteEagle // =============== For ======================= // Delphin Project // =========================================== - script Levelupbox -1,{ OnPCBaseLvUpEvent: setarray .@item[0],501, // Level 10 with Item "Red Potion"; 501, // Level 20 with Item "Red Potion"; 501, // Level 30 with Item "Red Potion"; 501, // Level 40 with Item "Red Potion"; 501, // Level 50 with Item "Red Potion"; 501, // Level 60 with Item "Red Potion"; 501, // Level 70 with Item "Red Potion"; 501, // Level 80 with Item "Red Potion"; 501, // Level 90 with Item "Red Potion"; 501, // Level 100 with Item "Red Potion"; 501, // Level 110 with Item "Red Potion"; 501, // Level 120 with Item "Red Potion"; 501, // Level 130 with Item "Red Potion"; 501, // Level 140 with Item "Red Potion"; 501; // Level 150 with Item "Red Potion"; if(!(Baselevel%10)) End; For(set .@i,71; .@i < 73; set .@i,.@i++) specialeffect2 .@i; getitem .@item[(BaseLevel/10)-1],1; dispbottom "Congratulation "+strcharinfo(0)+" to level "+BaseLevel+"!"; end; }
-
Could you be a little bit more specific?
-
As far as I'm aware ++ didn't work in older revisions, thus I always used +1. I was never aware you could set variables like you would set integers in the SRC.
-
Th more like this prontera,155,177,5 script dkfjhsdfkjs 100,{ .@i = 1; while (1) { zeny = zeny + (( !rand(5) )? ( .@i * 5 ): -.@i ); // has a negative sleep2 250; } } although this works, but I don't recommend do something like this I don't believe in how rathena script engine calculating value inside compact if-else I just try this script ... my money really going up ... o.O that betting trick really prove can beat this system to gain infinite money .... in theory of course Is it now possible to set Varaibles without the 'set' command?
-
its based on server time, make sure that is set correctly. here's the script with the modifcation mentioned Above + load on Init ***not tested //===== rAthena Script ======================================= //= Bossnia Warp NPCs //===== By: ================================================== //= Masao //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena //===== Description: ========================================= //= Bossnia Warp NPC's. //===== Additional Comments: ================================= //= 1.0 Converted from the official script. //= 1.1 Optimized. [Euphy] //============================================================ prontera,132,125,4 script Bossnia Staff::bsw 908,{ mes "[Riss]"; mes "Hello?"; mes "I found some beautiful places"; mes "while I travelled all over the world."; mes "I am an adventurer."; mes "Haha~"; next; mes "[Riss]"; mes "What? My name is..."; mes "'Bossnia Staff'?? No no..."; mes "Well, my name is not so important."; mes "Sometimes you should be generous."; mes "No time for considering that kind of small stuff"; mes "when you have to concentrate on more important things."; next; mes "[Riss]"; mes "Hum... anyway I want to say... something.."; mes "While I was travelling through some places,"; mes "I found a really fearful place."; next; mes "[Riss]"; mes "Most of the time when you come to a place,"; mes "there is one strong and fearful monster."; mes "Isn't it?"; next; mes "[Riss]"; mes "But... but... in there..."; mes "There are lots of fearful and strong monsters in there..."; mes "That was really frightful."; next; mes "[Riss]"; mes "If I had reacted a bit later... a few seconds..."; mes "I might have been killed."; next; mes "[Riss]"; mes "What?"; mes "You want to go in there?"; mes "Oh~ Boy~ you didn't get me."; mes "In there......."; next; mes "[Riss]"; mes "Uh... you already know?"; mes "Although you know the place, you want to go in..."; mes "Good, I will send you there."; mes "But after you went there, don't hold"; mes "a grudge against me. Also it costs 5,000,000 zeny."; next; if (Zeny > 5000000) { mes "[Riss]"; mes "Would you really like to take the challenge??"; mes "Ok, just choose the course."; next; set .@i, select("First","Second","Third","Fourth"); mes "[Riss]"; mes "Take care, boy~"; mes "Don't hold a grudge against me."; close2; set Zeny, Zeny - 5000000; warp "bossnia_0"+.@i,rand(200,202),rand(200,202); end; } mes "[Riss]"; mes "You don't have enough money..."; mes "Come back when you have at least 5,000,000 zeny."; close; OnInit: if (gettime(4) > 4 || gettime(4) == 0) { if(gettime(4) == 4 && gettime(3) > 20) end; else if (!gettime(4) && gettime(3) < 22) end; else if (gettime(4) == 6) end; } hideonnpc "bsw"; end; OnFri2000: hideoffnpc "bsw"; end; OnSun2200: hideonnpc "bsw"; end; }
-
You could set an IP limitation by querying the database once more and getting the IP adress, and setting a variable using the IP as its name. Yes, you could avoid it by using a proxy though. If you have Harmony you could call the MAC adress.
-
How to make a Custom OBB, or OCA
Ajjwidjdneidjenw replied to budabeads's question in Database Support
You need to recompile afterwards. -
H> how to disable doppel card to creator
Ajjwidjdneidjenw replied to McNeri's question in Database Support
add to item_db2.txt 4142,Doppelganger_Card,Doppelganger Card,6,20,,10,,,,,,,,2,,,,,{ if(Class!=Job_Creator) bonus bAspdRate,10; },{},{} -
Script automatiicaly modifies @menu & other variables
Ajjwidjdneidjenw replied to Ajjwidjdneidjenw's question in Scripting Support
You just have to wonder about which and what to instance to get the scope you want. I will, no worries :-). -
Script automatiicaly modifies @menu & other variables
Ajjwidjdneidjenw replied to Ajjwidjdneidjenw's question in Scripting Support
That is exactly what I meant Annie, thanks. Its a shame I have to create a workaround. Edit: @Ryokem Unfortunately I did try that, but it didn't work.