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?
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
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 ~
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
Share this post
Link to post
Share on other sites