KingIris
Members-
Content Count
19 -
Joined
-
Last visited
About KingIris
-
Rank
Member
Profile Information
-
Github
LordIris
Recent Profile Visitors
2455 profile views
-
so i wanted to create christmas instance, but ive never done one before so i decided to re-edit the octopus cave instance and make it in to mine! but with out having relation to the two... so far i havent had any errors at all. but the part if (countitem(529)) { does not continue the instance nor does it even start it to go to the next part of the instance! heres the full script, Well the parts ive edited so far ~ te_aldecas2 mapflag src4instancete_aldecas3 mapflag src4instance//============================================================prontera,155,182,6 script Rodolfo Christmas#chinstance 416,{ set .@party_id,getcharid(1); set .@md_name$,"Woonie Christmas"; if (!.@party_id) { mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCHa! You alone is^000000 ^008800powerless^000000, ^CC33CChehe!^000000"; mes "^CC33CCBetter get someone to help you out.^000000 ^CC33CCMake a^000000 ^008800party^000000^CC33CC, and come back later.^000000"; close; } if (getcharid(0) != getpartyleader(.@party_id,2)) { mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCWhere is your^000000 ^008800leader^000000^CC33CC, hehe.^000000"; mes "^CC33CCI don't talk to some random people.^000000 ^CC33CCBring your^000000 ^008800boss^000000 ^CC33CCto me.^000000"; close; } mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCHello^000000 ^008800"+strcharinfo(0)+"^000000^CC33CC, Im Rodolfo. Im Santa's Little brother, I'm all about fun and games. Which is why i bring you this^000000 ^008800Christmas Instance^000000^CC33CC!^000000"; next; mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCThe Secret Lies Within the^000000 ^008800Clause^000000 ^CC33CCFamily,^000000 ^008800Antonio^000000 ^CC33CC& His^000000 ^008800minions^000000 ^CC33CCmust be stopped!^000000"; next; while(1) { switch(select("^008800~^000000 ^CC33CCAsk Rodolfo Whats going on.^000000:^008800~^000000 ^CC33CCAsk to open the Christmas Gates.^000000:^008800~^000000 ^CC33CCCancel.^000000")) { case 1: mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCWell lately my two brothers^000000 ^008800Nicholas^000000 ^CC33CCand^000000 ^008800Antonio^000000 ^CC33CChave been in a all out war between the two. Only because^000000 ^008800Nicholas^000000 ^CC33CCwas chosen to be this decades^000000 ^008800Santa Clause^000000^CC33CC.^000000 ^008800Antonio^000000 ^CC33CCwas not too please with^000000 ^008800mother and father's^000000 ^CC33CCdecision!^000000"; next; mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCSo ever since then,^000000 ^008800Antonio^000000 ^CC33CChas been trying to^000000 ^008800Sabotage Christmas^000000 ^CC33CCfor everyone and^000000 ^008800Nicholas^000000^CC33CC. Making^000000 ^008800Christmas^000000 ^CC33CCa really hard mission, Instead of a^000000 ^008800Joyful Holiday. Full of sharing, love and caring.^000000"; next; mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCIt seems like^000000 ^008800Antonio^000000 ^CC33CChas been a bit successful^000000 ^008800Sabotaging Christmas^000000^CC33CC, When it comes to Him and his friend^000000 ^008800The Grinch^000000^CC33CC. They find quite joy in the wrong, No wonder father always had them in the^000000 ^008800Naughty^000000 ^CC33CClist!^000000"; next; mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCIve taken the time out to fix this chaos between our^000000 ^008800Clause^000000 ^CC33CCfamily. Which is why ive been looking for^000000 ^008800Great Adventurers^000000 ^CC33CCto stop^000000 ^008800Antonion's^000000 ^CC33CCmadness once and for all!^000000"; next; mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCGo speak to^000000 ^008800Nicholas^000000^CC33CC, He has something you'll need for this^000000 ^008800Adventure^000000^CC33CC!^000000"; next; break; case 2: set .@playtime, questprogress(50000,PLAYTIME); if (.@playtime == 0 || .@playtime == 1) { mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^008800Antonio^000000 ^CC33CCis not around now, hehe.^000000"; mes "^CC33CCPlease come back later.^000000"; close; } if (.@playtime == 2) erasequest 50000; if (countitem(529)) { set .@instance,instance_create(.@md_name$,.@party_id); if (.@instance < 0) { mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCParty name is...^000000 ^008800"+getpartyname(.@party_id)+".^000000"; mes "^CC33CCParty leader is... ^008800"+strcharinfo(0)+".^000000"; mes "^008800"+.@md_name$+"^000000^CC33CC, I cannot open now, hehe.^000000"; mes "^CC33CCNow is not the time, please wait.^000000"; close; } if (instance_attachmap("te_aldecas2",.@instance) == "") { mes "^008800"+.@md_name$+"^000000 ^CC33CC- Reservation Failed!^000000"; instance_destroy(.@instance); close; } instance_set_timeout 600,300,.@instance; instance_init(.@instance); mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCI will open the gate for a while to^000000 ^008800"+.@md_name$+"^000000."; mes "^CC33CCPlease catch that^000000 ^008800Menace Antonio,^000000"; mes "^CC33CCand come back with his^000000 ^008800Stolen Gift^000000^CC33CC, hehe.^000000"; close; } mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCOnce you've got what you need from^000000 ^008800Nicholas^000000^CC33CC, I'll take you the trials of^000000 ^008800Antonio^000000^CC33CC!^000000"; close; case 3: mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCI'll see you next time then.^000000"; close; } }}xmas,148,95,2 script Christmas Gate CLEAR_NPC,{ mes "^FF8000[Christmas Gate]^000000"; mes "^FF8000This is the strange Gate that leads to^000000 ^CC33CCOAntonio's Madness^000000^FF8000!^000000"; next; switch(select("^CC33CC~^000000 ^FF8000Enter Woonie Christmas.^000000:^CC33CC~^000000 ^FF8000Stop.^000000")) { case 1: if (countitem(529)) { if (has_instance("te_aldecas2") == "") { if (questprogress(50000,PLAYTIME) == 0 || questprogress(50000,PLAYTIME) == 1) { mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCAh,^000000 ^008800Antonio^000000 ^CC33CCseems to be eating cookies! Would you come back later? Hehe.^000000"; close; } mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCSeems like^000000 ^008800Antonio^000000 ^CC33CCis waiting for you, Watch out for those stubborn^000000 ^008800Minions^000000^CC33CC!^000000 ^CC33CCand^000000 ^008800BEWARE^000000^CC33CC....^000000"; close; } mapannounce "xmas", getpartyname(getcharid(1))+" party's "+strcharinfo(0)+" member started to hunt Antonio!",bc_map,"0x00ff99"; if (questprogress(50000) == -1) setquest 50000; warp "te_aldecas2",88,163; end; } mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCYou should definitely prepare the^000000 ^008800Santa Scarf^000000^CC33CC, Its the only way i can sneak you inside^000000 ^008800Antonio's Lair^000000 ^CC33CCwith out being seen..^000000 ^008800Ninja Style^000000^CC33CC!^000000"; close; case 2: mes "^CC33CC[Rodolfo Christmas]^000000"; mes " "; mes "^CC33CCYes Yes, you better quit...^000000 ^008800Loozer^000000^CC33CC!!!!^000000"; close; }} can anyone give me any pointers or tell me exactly what im doing wrong when it comes to taking a instanced structure to make my own? ~ Thank you in advance
-
ill test it ina bit The error because you forgot to add " at Line 60, wrong position and missing "}" curly bracket. I got it working, Thanks both
-
ill test it ina bit
-
ScreenShot: Script: prontera.gat,160,178,3 script Kris Kringle 714,{ mes "[Kris Kringle]"; mes " "; mes "Do you know what Christmas is all about?"; menu "^0000ff~^000000 Sharing, Caring and Love?",-; next; mes "[Kris Kringle]"; mes " "; mes "No Silly! It's all about the gifts!"; menu "^0000ff~^000000 Oh.....",-; next; mes "[Kris Kringle]"; mes " "; mes "And speaking of gifts, I'm handling the Exchange Gift Program for all Woonies! To participate, you have to give me a Wrapped Gift and you'll get one in return. The exciting part is finding out what the gift you'll get contains!"; switch(select("^0000ff~^000000 Exchange Gift","^0000ff~^000000 Wrap Gift")) { case 1: next; if (countitem(12355) > 1) { mes "[Kris Kringle]"; mes " "; mes "Here's a gift in Return. Pray you won't get socks!"; next; delitem 12355,1; //Wrapped Gift getitem 12256,1; //Christmas Gift mes "[Kris Kringle]"; mes " "; mes "Have A Woonie Christmas :3"; close; } else { next; mes "[Kris Kringle]"; mes " "; mes "Heyyy,"; mes "You're not getting a gift unless you give one too"; mes "~ ^0000ffWrap Gift^000000"; next; mes "[Kris Kringle]"; mes " "; mes "Dont be greedy and make sure you got a gift to give back Next Time."; close; case 2: doevent "Kris Kringle2::OnTalk"; } }}// ------------ Kris Kringle 2 --------------------- script Kris Kringle2 -1,{OnTalk: mes "[Kris Kringle]"; mes " "; mes "Hmmm, No gift yet huh? I'll wrap one up for you... I just need a few Materials to make it for you!"; next; mes "[Kris Kringle]"; mes " "; mes I'll need these Materials:"; mes " "; mes "^0000ff~^000000 (6) ^0000ffGift Box^000000"; mes "^0000ff~^000000 (6) ^0000ffWrapping Paper^000000"; mes "^0000ff~^000000 (6) ^0000ffWrapping Lace^000000"; switch(select("^0000ff~^000000 I have all the Materials","^0000ff~^000000 Where am i getting those?")) { case 1: next; if (countitem(644) > 6 && countitem(7175) > 6 && countitem(7174) > 6) { mes "[Kris Kringle]"; mes " "; mes "Great! Here you go!"; next; delitem 644,6; //Gift Boc delitem 7175,6; //Wrapping Paper delitem 7174,6; //Wrapping Lace getitem 12354,1; //Wrapped Gift mes "[Kris Kringle]"; mes " "; mes "Have A Woonie Christmas :3"; close; } else { next; mes "[Kris Kringle]"; mes " "; mes "Hmmmm,"; mes "You dont have all the Materials@"; close; case 2: next; mes "[Kris Kringle]"; mes " "; mes "Well...all stores are out of stock because some nasty monsters disguised as Daddy Nick's helpers have been raiding Lutie. They attack the town every hour. If you defeat them and take them down, you can take those items from them."; close; } } }} Im not really sure what did i do wrong? I keep trying to find the fix for it, But everything i try is not working for some reason. Thanks in Advance!
-
i edited everything correctly im guessing but the walls do not delwall after barricade is dead! - script Barricade -1,{OnInit: setwall "te_aldecas3",81,228,1,0,0,"christmas_wall_a"; setwall "te_aldecas3",81,229,1,0,0,"christmas_wall_b"; setwall "te_aldecas3",81,230,1,0,0,"christmas_wall_c"; setwall "te_aldecas3",81,231,1,0,0,"crhistmas_wall_d"; setwall "te_aldecas3",81,232,1,0,0,"christmas_wall_e"; setwall "te_aldecas3",81,233,1,0,0,"christmas_wall_f"; for( .@i = 0; .@i < 4; .@i++ ){ monster "te_aldecas3",( 81 + .@i ),228, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeA"; monster "te_aldecas3",( 81 + .@i ),229, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeB"; monster "te_aldecas3",( 81 + .@i ),230, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeC"; monster "te_aldecas3",( 81 + .@i ),231, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeD"; monster "te_aldecas3",( 81 + .@i ),232, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeE"; monster "te_aldecas3",( 81 + .@i ),233, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeF"; } monster "te_aldecas3", 73, 230, "Emperium", 1288, 1, strnpcinfo(0)+"::OnEmperiumDead"; end; OnBarricadeA:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeA") ){ delwall "christmas_wall_a";}end;OnBarricadeB:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeB") ){ delwall "christmas_wall_b";}end;OnBarricadeC:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeC") ){ delwall "christmas_wall_c";}end;OnBarricadeD:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeD") ){ delwall "christmas_wall_d";}end;OnBarricadeE:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeE") ){ delwall "christmas_wall_e";}end;OnBarricadeF:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeF") ){ delwall "christmas_wall_f";}end;OnEmperiumDead:monster "te_aldecas3", 73, 230, "SUPER MONSTER", 1002, 1, strnpcinfo(0)+"::OnSuperDead";end;OnSuperDead:dispbottom "Congrats on Defeating Antonio, Daddy Nick greatly appreciate's the help.";end;} Barricade_A Barricade_B arent delwall, Cant continue on even after you killed it
- 8 replies
-
- Barricade
- barricases
- (and 4 more)
-
oh got it thanks man
- 8 replies
-
- Barricade
- barricases
- (and 4 more)
-
i just tried testing, but theres a problem with the walls ive made. upon break the barricade, the wall doesnt delete. Its stays there & your basically stuck and cannot proceed.
- 8 replies
-
- Barricade
- barricases
- (and 4 more)
-
so to try to test ive done this - script Barricade -1,{OnInit: setwall "te_aldecas3",81,228,1,0,0,"christmas_wall_a"; monster te_aldecas3, 81, 228, "Barricade", 1905, 1, strnpcinfo(0)+"::OnBarricadeDead1" end; OnBarricadeDead1:if (mobcount(mapname, strnpcinfo(0)+"::OnBarricadeDead1") < 1) { delwall "christmas_wall_a";}end;} now how do i add what you said above, just for testing?
- 8 replies
-
- Barricade
- barricases
- (and 4 more)
-
-
Hello guys, I was wonder how can i set up walls with the barricade monster? just like the BG ones but for something else i wanna create! example: I found out in the BG Conquest script, the format of the Barricade is similar to what im trying to create with my script. ill block Passageways with the barricades and the player needs to knock each wall down to progress. Is it possible to have the barricade counted? Ex: dispbottom "There are (x) amount of barricades left"; Also is it possible to add a Emperium & when that Emperium is broken, A monster spawns? I know its possible i just dont know how to do it. But i can get this part on my own i think - But im more seeking help on the barricades~ Cause i tried doing it myself manipulating the ( SetWall & bg_monster) but i havent had any luck yet! Thanks in advanced guys ~
- 8 replies
-
- Barricade
- barricases
- (and 4 more)
-
Like the title says, How can I make clones in to mobs. I wanna make then a Ingame monster but Using cloned players and staff. - there own drops - own stats - own skills Like a normal mob.. Does anyone know how To do this && is it possible to do so?
-
It is better to post it in Buck Tracker section so that our developers can easily take a look at it.. please post accordingly. I will now then thanks Mhalicot
-
~ I did not really know if i should post this here or the Database section, But i assumed that fixing the skills require some src edits that are far beyond my knowledge. If anyone can help me out with any of these, Its really much appreciated <3 Job Skills Homunculus Skills
-
Hello All, I didnt know where to post this on the forums, So i decided to post it on database. Correct me if im wrong ~ Alright well im having a problem with Custom Pet Eggs at the moment! Every Time i use a pet egg with the incubator. The pet does not spawn & the Custom Pet Egg breaks. Not sure how to fix this, Idk why it started happening all of sudden. Does anyone has the solution for me, Its very much appreciated