Jump to content

XoXoX

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by XoXoX

  1. 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	src4instance
    te_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

  2. prontera,155,180,5	script	dksfsdfkb	100,{
    	mes "select which skill you want to be copy, your existing one will be overwrite";
    	next;
    	set .@menu, select(.menu$) -1;
    	if ( getskilllv(.skill$[.@menu * 3 +1]) ) {
    		mes "you already copied that skill";
    		close;
    	}
    	mes "are you sure you want to copy "+ .skill$[.@menu * 3] +"?";
    	mes "you'll need to relogin again";
    	next;
    	if ( select ( "Yes", "No" ) == 2 ) close;
    	.@text$ = atoi( .skill$[.@menu * 3 +2] ) > 1 ? "-" + .skill$[.@menu * 3 +2] : "" ;
    	mes "choose a level (1" + .@text$ + ")";
    	if ( input( .@input, 1, ( atoi( .skill$[.@menu * 3 +2] ) > 1 ? atoi( .skill$[.@menu * 3 +2] ) : 1 )) != 0 ) {
    		mes "wrong level";
    		close;
    	}
    	set CLONE_SKILL, atoi( .skill$[.@menu * 3 +1] );
    	set CLONE_SKILL_LV, .@input;
    	atcommand "@kick "+ strcharinfo(0);
    	end;
    OnInit:
    	setarray .skill$, 
    		// "< Remove >", 0, 0,
    		"Fire Bolt", 19, 10,
    		"Cold Bolt", 14, 10,
    		"Lightning Bolt", 20, 10;
    	set .@skillsize, getarraysize(.skill$);
    	for ( set .@i,0; .@i < .@skillsize; set .@i, .@i +3 )
    		set .menu$, .menu$ + .skill$[.@i] +":";
    	end;
    }
    

     

    Possible to add last skill menu, Last skill the player has copied?

  3. if( Job == Job_Whitesmith )  // only whitesmith
    
    if( BaseClass == Job_Merchant ) // all merchant classes, include blacksmith/whitesmith/creator
    

     

     

    Firgured it out just incase anyone had the same trouble

    (Class == Job_Whitesmith) // Only White Smith
    
    (BaseClass == Job_Merchant) // Family Tree Classes
    
  4.  

    certain class = Class

    if( Class == JobWhiteSmith ){ bonus }
    

     

     

     

    Neither does this and its basic not sure if its a database problem

    { bonus bAllStat,3; bonus bSpeedRate,5; },{},{}
    

    Didnt work that way neither

    { bonus2 bSubRace,RC_DemiHuman,5; bonus2 bAddRace,RC_DemiHuman,2; if( BaseClass == JobWhitesmith ) { bonus bBaseAtk,5; } else dispbottom "Sorry +5 Atk only Works for WhiteSmith Class"; },{},{}
    

    i guess its cause of the job itself cause it worked for mage

    { bonus2 bSubRace,RC_DemiHuman,5; bonus2 bAddRace,RC_DemiHuman,2; if(BaseClass == Job_Mage) { bonus bCastrate,-5; bonus bDelayRate,-5; bonus2 bMagicAddRace,RC_DemiHuman,15; } else dispbottom "Sorry Bonus Reduce Casting Time only Works for Mage Classes"; },{},{}
    
  5.  

    try use BaseClass instead of BaseJob

    BaseClass   - The character's 1-1 'normal' job, regardless of Upper value.
                  For example, this will return Job_Acolyte for Acolyte, 
                  Priest/Monk, High Priest/Champion, and Arch Bishop/Sura. 
                  If the character has not reached a 1-1 class, it will return 
                  Job_Novice.
    

    This actually ended up working

    { if(BaseClass == Job_Archer) { bonus bHit,5; bonus bDex,4; bonus bLuk,4; bonus bVit,3; bonus bAspdRate,12; } else dispbottom "Not Stats Because of your Job"; },{},{}
    

    Thanks for fixing my headache been at it for a hour already trying to figure out why wouldnt it link

     

    try use BaseClass instead of BaseJob

    BaseClass   - The character's 1-1 'normal' job, regardless of Upper value.
                  For example, this will return Job_Acolyte for Acolyte, 
                  Priest/Monk, High Priest/Champion, and Arch Bishop/Sura. 
                  If the character has not reached a 1-1 class, it will return 
                  Job_Novice.
    

     

    Now im having this problem idk why everything else works perfectly fine but with the WhiteSmith Job it just doesnt gets it atk bonus

    { bonus2 bSubRace,RC_DemiHuman,5; bonus2 bAddRace,RC_DemiHuman,2; if(BaseClass == Job_Whitesmith) { bonus bBaseAtk,5; } else dispbottom "Sorry +5 Atk only Works for WhiteSmith Class"; },{},{}
    
  6. if( condition ){ <--- curley missing   },{},{}
    

    another curley missing.

     

     

    The top script has the other curley on there and still didnt work

    i also tried (Class == Job_Archer_High) but it only works just for the class its self

    i want it to work for all the classes that fall under like (Example: Knight ---->Lord Knight & Crusader)

  7. I was trying to do scripted sets per class but nothing shows when i put them on.

    Tried everything in my Knowledge to get it working, but i cant seem to find the reason why it doesnt work.

     

    Did i write anything wrong?

    { if(BaseJob == EAJ_SWORDMAN) { bonus bBaseAtk,5; bonus bStr,4; bonus bDex,4; bonus bLuk,3; bonus bVit,2; bonus bAspdRate,8;} },{},{}
    
    { if(BaseJob == EAJ_ARCHER) bonus bHit,5; bonus bDex,4; bonus bLuk,4; bonus bVit,3; bonus bAspdRate,12; else dispbotton "stats not applied";} },{},{}
    
    { if(BaseJob == EAJ_THIEF) bonus bHit,5; bonus bBaseAtk,3; bonus bStr,4; bonus bLuk,4; bonus bDex,3; bonus bVit,1; bonus bAspdRate,8; else dispbotton "stats not applied";} },{},{}
    
    { if(BaseJob == EAJ_MAGE) bonus bMatk,5; bonus bVit,5; bonus bInt,5; bonus bAllStat,2; else dispbotton "stats not applied";} },{},{}
    
    { bonus2 bSubRace,RC_DemiHuman,5; bonus2 bAddRace,RC_DemiHuman,2; if(BaseJob == EAJ_MAGE) bonus bCastrate,-5; bonus bDelayRate,-5; bonus2 bMagicAddRace,RC_DemiHuman,15; else dispbotton "stats not applied";} },{},{}
    
    { if(BaseJob == EAJ_ALCHEMIST) bonus bMatk,5; bonus bVit,5; bonus bInt,5; bonus bStr,3; else dispbotton "stats not applied";} },{},{}
    
    {bSubRace,RC_DemiHuman,5; bonus2 bAddRace,RC_DemiHuman,2; if(BaseJob == EAJ_WHITESMITH) bonus bBaseAtk,5; else dispbotton "stats not applied";} },{},{}
    
    

    Any Clue guys?

  8. Im kinda confused on how to implement new pets to my server.

    Does anyone know how to add pets to a server? A tutorial or something.

    Cause this is being a pain right now.

  9. Own map? Do you have the map?

    Was just planning to use a castle that no one ever uses for WoE, was Hoping you guys new any.

    Really dont have a map that can be put as a woe castle_ Dont really wanna make one/or add one

  10. Hi im trying to request a script about WoE but a custom way!

    I want it to be a never ending woe with its own map.

    Any guild can break defend etc.. Like normal woe but just never ends just for entertainment!

    I would like it to have its own flags, Like the ones infront of the castle where the emperium is and 1 in prontera.

    with the working guild emblem picture.

    I kinda would like if the flag from prontera, What ever guild conqured it they can warp from that prontera

    map to the pre-emp of that castle. Same like normal woe but the flags that can warp u are the one infront of the

    castle. ill would like all the flags of this (never ending WoE) To be a warper for the remaining guild members

    who have the castle.

    if you need more detail upon my request just ask. But im pretty sure you guys know where im going with this.

    Btw i use eAthena, idk if thats gonna be a problem.

    But i thought i should put it out there!

    Thanks in advanced- Happy new year

    PS: sorry for the bad english.. tried my best <3

×
×
  • Create New...