Jump to content
  • 0

Requesting for reward giver if stay on map in 15 minutes


Nero

Question


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   2
  • Joined:  12/18/11
  • Last Seen:  

Is this possible? Example you stayed in prontera and completed 15 minutes of staying there. You will get a 1 cash point.

More example. I go to prontera in 5 minutes then go other map. The 5 minutes will be counted until it completed the 15 minutes and will give cash points. Thank you if its possible.

up

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   2
  • Joined:  12/18/11
  • Last Seen:  

Please help me thank you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  08/16/14
  • Last Seen:  

Im also interested to this script...

 

help master scripters..

 

thanks

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


- script dummy -1,{

OnPCLoadMapEvent:

if ( strcharinfo(3) == "prontera" && @on_prontera == 0 ) {

addtimer 10000, strnpcinfo(3) + "::OnLoop";

@on_prontera = 1;

}

end;

OnLoop:

if ( strcharinfo(3) != "prontera" )

@on_prontera = 0;

else {

@timer_ += 10;

if ( @timer_ % (15*60) )// reward after 15*60 secs

#CASHPOINTS += 1;

addtimer 10000, strnpcinfo(3) + "::OnLoop";

}

end;

}

prontera mapflag loadevent

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   2
  • Joined:  12/18/11
  • Last Seen:  

Thank you sir capuche. Ill try it now :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   2
  • Joined:  12/18/11
  • Last Seen:  

-	script	dummy	-1,{
OnPCLoadMapEvent:
	if ( strcharinfo(3) == "prontera" && @on_prontera == 0 ) {
		addtimer 10000, strnpcinfo(3) + "::OnLoop";
		@on_prontera = 1;
	}
	end;
OnLoop:
	if ( strcharinfo(3) != "prontera" )
		@on_prontera = 0;
	else {
		@timer_ += 10;
		if ( @timer_ % (15*60) )// reward after 15*60 secs
			#CASHPOINTS += 1;
		addtimer 10000, strnpcinfo(3) + "::OnLoop";
	}
	end;
}

prontera	mapflag	loadevent

how can i make it the reward is goldcoins? thank you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

change

#CASHPOINTS += 1;

to

getitem <itemid>,<amount>;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   0
  • Joined:  06/07/14
  • Last Seen:  

How to make it for WOE maps? Multiple locations?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   2
  • Joined:  12/18/11
  • Last Seen:  

How to make it for WOE maps? Multiple locations?

just change the map name "prontera"

i dunno how to make it multiple locations but i think you can add it manually. 

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