Jump to content
  • 0

Increase Exp/Drops by % of Users Online Count


Jezu

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

Yo guys!

 

Is it possible? For example

 

x100 Base Exp/Job, 50 Users Online then a total of x150 Exp/Job. It will increase/drop if users login/logout.

 

For the drops rate example, same with the exp.. configurable also for card drops if possible.

 

TIA /no1

Edited by Jezu
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

*Bump* /heh

Don't bump without providing additional information.

Also here you just need to tweak mine it does based off players already https://github.com/Stolao/Npc_Release/blob/master/Floating_Rates/floating_rates.txt

This answer my queries! But for some reason, I didn't get the formulas in this line. How the 5.25x is the total?

	// Multiplier Per Player and .Random
	// Each point is .01x Increase in exp rates
	// [0] = Base Exp
	// [1] = Job Exp
	//    eg: rand = 75 , getuser = 100, Multi = 3
	//    rates will be increase by 5.25x
	setarray .ExpMulti ,1,1;

(75 + 100) * 3 = 525 or 5.25x

For you it should be .Random to 0,0 and your .ExpMulti to 100,100

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

It's possible.

 

It has something to do with getusers(1) and OnPCLoginEvent? Maybe? I don't know but I feel like it's possible.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

bonus2 bExpAddRace,RC_All,getusers(1)*1;

bonus2 bDropAddRace,RC_All,getusers(1)*1;

 

Put it on some item? Is it good enough? haha.

Edited by TARTs
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

*Bump* /heh

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

*Bump* /heh

Don't bump without providing additional information.

Also here you just need to tweak mine it does based off players already https://github.com/Stolao/Npc_Release/blob/master/Floating_Rates/floating_rates.txt

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

 

*Bump* /heh

Don't bump without providing additional information.

Also here you just need to tweak mine it does based off players already https://github.com/Stolao/Npc_Release/blob/master/Floating_Rates/floating_rates.txt

 

 

This answer my queries! But for some reason, I didn't get the formulas in this line. How the 5.25x is the total?

	// Multiplier Per Player and .Random
	// Each point is .01x Increase in exp rates
	// [0] = Base Exp
	// [1] = Job Exp
	//    eg: rand = 75 , getuser = 100, Multi = 3
	//    rates will be increase by 5.25x
	setarray .ExpMulti ,1,1;
Edited by Jezu
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...