Jump to content

Noctis

Members
  • Posts

    226
  • Joined

  • Last visited

Posts posted by Noctis

  1. It keeps getting the error asking for the colors in µµ¶÷Á· and not only in ¸Ó¸® wf... but the max in the default folder is ¸Ó¸®1_¿©_8 if I change to @hcolor 9 he say the error asking for µµ¶÷Á/ ¸Ó¸®1_¿©_9 wf

  2. 22 minutes ago, sader1992 said:

     

    you need custom not the official

     

    I have that, but it dont have that file, and I keep getting that error [EDIT] saw now that that file is in the original data.grf... but still the same error

  3. 1 minute ago, Keitenai said:

    No need to make additional function for item check, plus you will also free a small portion of your server resources by removing the function script. :)

    Thanks for the help, so now instead of calling the function, I use 

    if(!countitem(47007)){?
  4. 7 minutes ago, Keitenai said:

    are you using it for other script?

    if so then you can just change the:

    
    if (!callfunc("D_huntermark")) {

    in to this:

    
    if(!countitem(47007)){

     

    Ye Im using for other script, then I dont need to call the function anymore?

  5. 7 minutes ago, Keitenai said:

    @Noctis Try this ( based on your script )

     

    
    if (!callfunc("D_huntermark")) {
    		mes "You need to have a";
    		mes "^4d4dff'Hunter License'^000000";
    		mes "to receive this mission.";
    		close;
    	}
    if (checkquest(70255) != -1) {
    		if (checkquest(70255,HUNTING) != 2 ) {
    			mes "[Leorio Veteran Hunter]";
    			mes "Are you done with those Ferus? Quit slacking?";
    			next;
    			switch(select("Yes:No:I want to withdraw from this mission")) {
    			case 1:
    				mes "[Leorio Veteran Hunter]";
    				mes "Other Hunters would be honoured to receive such an assignment.";
    				mes "Don't ever think of coming back until the task is done, got it?";
    				close;
    			case 2:
    				mes "[Leorio Veteran Hunter]";
    				mes "You STILL haven't suceed? Time is short, make it quick!";
    				close;
    			case 3:
    				mes "[Leorio Veteran Hunter]";
    				mes "Not everyone's up for a challenge. You need to train harder.";
    				mes "Are you 100% sure you want to withdraw?";
    				next;
    				switch(select("Yes:No")) {
    				case 1:
    					mes "[Leorio Veteran Hunter]";
    					mes "Until we meet again, Hunter.";
    					erasequest 70255;
    					close;
    				case 2:
    					mes "[Leorio Veteran Hunter]";
    					mes "That's the spirit! No quitters! Give 'em hell!";
    					close;
    				}
    			}
    		}
    		mes "[Leorio Veteran Hunter]";
    		mes "You proved yourself worthy and willing. Congratulations, you've been rewarded.";
    		specialeffect2 EF_MAGICALATTHIT;
    		specialeffect2 EF_POTION2;
    		specialeffect2 EF_ANGEL2;
    		getexp 18818,7527;
    		erasequest 70255;
    		close;
    	}
    	if ((BaseLevel > 141) && (BaseLevel < 150)) {
    		mes "[Leorio Veteran Hunter]";
    		mes "Name's Leorio. Im a Veteran Hunter for the Rune Midgard Hunting Elite, we have plenty of tasks that need a hand, and will receive some loot in return.";
    		mes "What do you say? Willing to work for us?";
    		next;
    		switch(select("Sure:No")) {
    		case 1:
    			mes "Are you absolutely sure about this?";
    			next;
    			switch(select("Of course:Just kidding")) {
    			case 1:
    				if(BaseLevel > 151){
    					mes "[Leorio Veteran Hunter]";
    					mes "Let the low ones get these leftovers, go talk to someone else within the Rune Midgard Hunting Elite.";
    					close;
    				}
    				if(character_delay>gettimetick(2)){
    					mes "[Leorio Veteran Hunter]";
    					mes "You need to wait";
    					set .@h,(((character_delay-gettimetick(2))/24)/60)/60;
    					set .@m,((character_delay-gettimetick(2))/24)/60;
    					if( .@m > 0 ){
    						if( .@h > 0 )
    							mes "^4d4dff"+.@h+"^000000:^4d4dff"+.@m+"^000000 hour(s)";
    						else
    							mes "^4d4dff"+.@m+"^000000 minutes";
    					}
    					mes "to get new mission.";
    					close;
    				}
    				mes "[Leorio Veteran Hunter]";
    				mes "Seems like you can be worthy. Let's see if you can handle my task. I doubt it, but we'll see.";
    				setquest 70255;
    				set character_delay,gettimetick(2)+86400;
    				close;
    			case 2:
    				mes "[Leorio Veteran Hunter]";
    				mes "On second thought, I guess there's no harm in joining.";
    				close;
    			}
    		case 2:
    			mes "[Leorio Veteran Hunter]";
    			mes "We only want the best with us either way.";
    			close;
    		}
    	}
    	mes "[Leorio Veteran Hunter]";
    	mes "This is way ahead of your league, newbie. Go back to the safety of Prontera.";
    	close;
    }

     

    I haven't tested but i think it will work :) 

    It worked thx <3

  6. if (!callfunc("D_huntermark")) {
    		mes "You need to have a";
    		mes "^4d4dff'Hunter License'^000000";
    		mes "to receive this mission.";
    		close;
    	}
    if (checkquest(70255) != -1) {
    		if (checkquest(70255,HUNTING) != 2 ) {
    			mes "[Leorio Veteran Hunter]";
    			mes "Are you done with those Ferus? Quit slacking?";
    			next;
    			switch(select("Yes:No:I want to withdraw from this mission")) {
    			case 1:
    				mes "[Leorio Veteran Hunter]";
    				mes "Other Hunters would be honoured to receive such an assignment.";
    				mes "Don't ever think of coming back until the task is done, got it?";
    				close;
    			case 2:
    				mes "[Leorio Veteran Hunter]";
    				mes "You STILL haven't suceed? Time is short, make it quick!";
    				close;
    			case 3:
    				mes "[Leorio Veteran Hunter]";
    				mes "Not everyone's up for a challenge. You need to train harder.";
    				mes "Are you 100% sure you want to withdraw?";
    				next;
    				switch(select("Yes:No")) {
    				case 1:
    					mes "[Leorio Veteran Hunter]";
    					mes "Until we meet again, Hunter.";
    					erasequest 70255;
    					close;
    				case 2:
    					mes "[Leorio Veteran Hunter]";
    					mes "That's the spirit! No quitters! Give 'em hell!";
    					close;
    				}
    			}
    		}
    		mes "[Leorio Veteran Hunter]";
    		mes "You proved yourself worthy and willing. Congratulations, you've been rewarded.";
    		specialeffect2 EF_MAGICALATTHIT;
    		specialeffect2 EF_POTION2;
    		specialeffect2 EF_ANGEL2;
    		getexp 18818,7527;
    		erasequest 70255;
    		close;
    	}
    	if ((BaseLevel > 141) && (BaseLevel < 150)) {
    		mes "[Leorio Veteran Hunter]";
    		mes "Name's Leorio. Im a Veteran Hunter for the Rune Midgard Hunting Elite, we have plenty of tasks that need a hand, and will receive some loot in return.";
    		mes "What do you say? Willing to work for us?";
    		next;
    		switch(select("Sure:No")) {
    		case 1:
    			mes "Are you absolutely sure about this?";
    			next;
    			switch(select("Of course:Just kidding")) {
    			case 1:
    				if(BaseLevel > 151){
    					mes "[Leorio Veteran Hunter]";
    					mes "Let the low ones get these leftovers, go talk to someone else within the Rune Midgard Hunting Elite.";
    					close;
    				}
    				mes "[Leorio Veteran Hunter]";
    				mes "Seems like you can be worthy. Let's see if you can handle my task. I doubt it, but we'll see.";
    				setquest 70255;
    				close;
    			case 2:
    				mes "[Leorio Veteran Hunter]";
    				mes "On second thought, I guess there's no harm in joining.";
    				close;
    			}
    		case 2:
    			mes "[Leorio Veteran Hunter]";
    			mes "We only want the best with us either way.";
    			close;
    		}
    	}
    	mes "[Leorio Veteran Hunter]";
    	mes "This is way ahead of your league, newbie. Go back to the safety of Prontera.";
    	close;
    }

     

  7. 9 hours ago, Kaze said:
    
    prontera.gat, 155, 182, 4	script	Guild Information	4_F_KAFRA1,{
    	.@n$ = "[ Guild Information ]";
    	.@id = getcharid(2);
    
    	if( .@id == 0 ) {
    		mes .@n$;
    		mes "Sorry, you are not in a guild.";
    		close;
    	}
    	if( strcharinfo(0) != getguildmaster(.@id) ) {
    		mes .@n$;
    		mes "Sorry, you don't own the guild you are in.";
    		close;
    	}
    	mes .@n$;
    	mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000";
    	close;
    }

     

    It says "Your the guild member of NULL" instead of my guild name

    [EDIT] nvm is solved

  8. 8 hours ago, Kaze said:
    
    prontera.gat, 155, 182, 4	script	Guild Information	4_F_KAFRA1,{
    	.@n$ = "[ Guild Information ]";
    	.@id = getcharid(2);
    
    	if( .@id == 0 ) {
    		mes .@n$;
    		mes "Sorry, you are not in a guild.";
    		close;
    	}
    	if( strcharinfo(0) != getguildmaster(.@id) ) {
    		mes .@n$;
    		mes "Sorry, you don't own the guild you are in.";
    		close;
    	}
    	mes .@n$;
    	mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000";
    	close;
    }

     

    thx!

×
×
  • Create New...