Jump to content
  • 0

Simple Quest NPC with Gepard Function


LewL

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

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

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

@Azhul no need to message me. @Haruka Mayumi help you already. ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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...