Jump to content
  • 0

Simple Quest NPC with Gepard Function


Question

Posted (edited)

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

5 answers to this question

Recommended Posts

  • 0
Posted
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
  • 0
Posted

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.

  • 0
Posted
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).

  • 0
Posted
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...