Jump to content
  • 0
LewL

Simple Quest NPC with Gepard Function

Question

Hello everyone, Can i request for a simple Quest NPC with Gepard function.

Example Quest npc will ask for x10 apple, x10 banana and 1m zeny in exchange of 1 headgear.

Then the quest is ip based or mac based like gepard function. once the player finished the quest he/she wouldn't be able to quest it again.

In short IP/Mac bound quest. Thanks if advance. Godbless 🙂

Edited by Azhul
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
prontera,155,173,5	script	Give	94,{

	if(getd("$Quest_"+get_unique_id())){
		message strcharinfo(0),"Quest already done for this mac.";
		end;
	}
	if(countitem(512) >= 10 && countitem(513) >= 10){
		delitem 512,10;
		delitem 513,10;
		getitem 501,1;
		setd "$Quest_"+get_unique_id(),getcharid(0);
	} else
		message strcharinfo(0),"Not enough items.";
end;
}

 

  • Love 1
Link to comment
Share on other sites

  • 0

Since not everyone uses Gepard, how are we supposed to provide you with a scrip if we don't know how Gepard functions? You're probably better off just finding a normal quest script and adding the checks that Gepard provides to the script yourself.

Link to comment
Share on other sites

  • 0
2 hours ago, Akkarin said:

Since not everyone uses Gepard, how are we supposed to provide you with a scrip if we don't know how Gepard functions? You're probably better off just finding a normal quest script and adding the checks that Gepard provides to the script yourself.

ohh sorry for that @Akkarin maybe you can help me with the IP bound or Mac/uniqid bound quest npc? it doesn't have to be gepard function all i want is the player could only make the quest once with his/her IP or per computer (pc).

Link to comment
Share on other sites

  • 0
On 3/27/2021 at 9:02 PM, Haruka Mayumi said:
prontera,155,173,5	script	Give	94,{

	if(getd("$Quest_"+get_unique_id())){
		message strcharinfo(0),"Quest already done for this mac.";
		end;
	}
	if(countitem(512) >= 10 && countitem(513) >= 10){
		delitem 512,10;
		delitem 513,10;
		getitem 501,1;
		setd "$Quest_"+get_unique_id(),getcharid(0);
	} else
		message strcharinfo(0),"Not enough items.";
end;
}

 

Thanks bro.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.