Jump to content

Utility: Goddess Blessing


pajodex

Recommended Posts


  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  431
  • Reputation:   164
  • Joined:  12/12/17
  • Last Seen:  

Goddess Blessing


Quote
//===== rAthena Script =======================================
//= Goddess Offering
//=====  by: =============================
//= pajodex
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project (pajodex)
//===== Description: =========================================
/*
Goddess Offering
 
 Goddess Patron collects a certain item from players which
will serve as an offering. Once the goal is reached, Goddess
Blessing will activate for a certain time which gives off buff
to every players who clicks the Goddess Patron.
 This script is mainly for fun or quest. All Players will farm
for this certain item for offering to enable the goddess's blessing.
 
 Enjoy!
*/
//=====******** Note ********=================================
//= if you find bugs or problem, please do tell DM me at
//= Discord (pajodex#1328) or rAthena (pajodex)
//= open for suggestions
//===== Additional Comments: =================================
/* 1.0 - Initial release
*/
//=============================================================

Config Table:

function	goddessblessing	{
	// ----- Add your desired SCs below! -----
		sc_start SC_FOOD_STR_CASH,8640000,10;
		sc_start SC_FOOD_AGI_CASH,8640000,10;
		sc_start SC_FOOD_DEX_CASH,8640000,10;
		sc_start SC_FOOD_LUK_CASH,8640000,10;
		sc_start SC_FOOD_INT_CASH,8640000,10;
		sc_start SC_FOOD_VIT_CASH,8640000,10;
		sc_start SC_ITEMBOOST,8640000,50;
		sc_start SC_EXPBOOST,8640000,50;
	// -------- end of adding SC ---------
	return;
}
	
OnInit:
	// ---- Configuration starts ------
	.goal = 100000;					// Goal to reach
	.delay_tick = 60 * 60 * 4; 		// Blessing time active : 4hrs (seconds * mins * hours)
	.item_offering = 501; 			// Item to offer
	//----- Configuration ends-----

Special Credits for the Pseudocode by @Secrets

By downloading this file, you agree with my Terms of Service:

• You are not allowed remove my signature from any of the included files.
• You are not allowed sell, resell or in any form for money or rewards using my work.
• You are not allowed claim my work as yours.

• I have the rights to change all the terms above without prior notice. 

 


  • Submitter
  • Submitted
    02/20/2018
  • Category
  • Video
  • Content Author
    pajodex

 

  • Upvote 3
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  234
  • Reputation:   113
  • Joined:  02/24/15
  • Last Seen:  

Hi! :D

At the end of the 4 hours, I compiled, turned on and off the emulator and it stayed that way. 

screenrAthena013.jpg.eaa54c6d6632de68a1462b6cb15336d5.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  431
  • Reputation:   164
  • Joined:  12/12/17
  • Last Seen:  

On ‎2‎/‎23‎/‎2018 at 4:34 AM, maken06 said:

Hi! :D

At the end of the 4 hours, I compiled, turned on and off the emulator and it stayed that way. 

screenrAthena013.jpg.eaa54c6d6632de68a1462b6cb15336d5.jpg

i will check it later, i think i missed something at OnInit part. Thanks for reporting!

edit: im not at home right now

UPDATE! : Link is available below while waiting for approval from moderator

  • Here is a new version and fix for the said bug by @maken06
  • Added Limit players to get buffed only once per activation

Goddess_Blessing_v1.1 : https://pastebin.com/7435vtNB

Updated to v1.2

  • Added @goddessreset command for hot-fix like the bug above.
  • Avoid changing ".delay_tick" once goddess blessing is activated.  

Goddess_Blessing_v1.2 : https://pastebin.com/Q2ARQBb5

Disregard the previous links and use this : https://pastebin.com/RCCCaL5X

  • 1st link (no hotfix)
  • 2nd link (all players can use @goddessreset command)
Edited by pajodex
updated to version 1.3
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  431
  • Reputation:   164
  • Joined:  12/12/17
  • Last Seen:  

Update (Bug fix):

  • Fix getting negative value when spamming at command (bug report by: @Cyro

Goddess_Blessing_v1_3: https://pastebin.com/qVzKDDF4

Added to my GitHub: https://github.com/pajodex/ScriptCollections/

Edited by pajodex
Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  148
  • Reputation:   10
  • Joined:  12/03/18
  • Last Seen:  

Dear Pajodex,

I want to know how can it manually reset itself after activated for 4 hours? 

 

Link to comment
Share on other sites

  • 4 years later...

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

can you modify into zeny donation instead of item donation

nevermind, already create my own script using zeny donaton.

Edited by hendra814
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
Reply to this topic...

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