All Activity
- Today
-
thank you sir
-
LMFAO I simply forgot to do the "false return" on vip and delete item. You're pretty right, @crazyarashi! Thank you so much. And thank you anyway, @Scanty! -- Solved.
-
prontera,193,124,6 script Global Exp Amplifier#EventFloatingRates 10308,{ mes "[Global Exp Amplifier]"; mes "Current collected items:"; mes "~ [^0000ff" + callfunc("F_InsertComma", $collected_funds) + "^000000] Items"; mes "Target global items:"; mes "~ [^0000ff" + callfunc("F_InsertComma", .target_funds) + "^000000] Items"; mes "Still need " + callfunc("F_InsertComma", $donation_missing) + " Items to reach the target."; next; switch (select("Donate Items", "Cancel")) { case 1: mes "Enter the amount you want to donate:"; next; input .@donation; // Validations if (.@donation < .min_donation_items) { mes "The minimum donation amount is " + callfunc("F_InsertComma", .min_donation_items) + " Items."; end; } if (countitem(.donation_item) < .@donation) { mes "You don't have enough items."; end; } if (.@donation > $donation_missing) { mes "The amount exceeds the remaining balance."; mes "Remaining Balance: " + callfunc("F_InsertComma", $donation_missing) + " Items"; end; } // Apply the donation delitem .donation_item, .@donation; $collected_funds += .@donation; $donation_missing -= .@donation; mes "Donation successful. Thank you for your contribution!"; // Start the event if the target is reached if ($collected_funds >= .target_funds) { $collected_funds = 0; announce "[Global Exp Amplifier]: Target reached! Activating Floating Rates Event for 1 hour.", bc_all, 0xFF6060; donpcevent strnpcinfo(3) + "::OnStart"; // Ensure the event is triggered } end; } OnStart: if (.EventActive) end; // Prevent multiple activations // Start the event for 1 hour set .EventActive, 1; announce "[Floating Rates]: The event has now officially started!", bc_all, 0x00FF00; initnpctimer; // Start the NPC timer end; OnTimer60000: // Every 60 minutes (60,000 milliseconds) if (!.EventActive) end; // Assign random rates within the specified range set .@expRate, rand(5,8); set .@dropRate, rand(10,15) / 10; // 1.0x - 1.5x setbattleflag("base_exp_rate", .@expRate * 100); setbattleflag("job_exp_rate", .@expRate * 100); setbattleflag("item_rate_common", .@dropRate * 100); announce "[Floating Rates]: New Rates -> EXP: " + .@expRate + "x, DROP: " + .@dropRate + "x", bc_all, 0xFFD700; // This function is automatically repeated due to `initnpctimer` end; OnTimer3600000: // Event ends after 1 hour // Reset rates to normal setbattleflag("base_exp_rate", 100); setbattleflag("job_exp_rate", 100); setbattleflag("item_rate_common", 100); announce "[Floating Rates]: The event has ended. Rates are now back to normal.", bc_all, 0xFF0000; set .EventActive, 0; stopnpctimer; // Stops the NPC timer system end; OnInit: set .target_funds, 500; // Target donation amount (change this based on your needs) set .min_donation_items, 5; // Minimum donation amount set .donation_item, 501; // Example Item ID (Change to the correct one) set .EventActive, 0; set $donation_missing, .target_funds - $collected_funds; end; } Zeny changed to an item donation (Replace 501 with the actual item ID you want). Event lasts only 1 hour (OnTimer3600000). Minimum donation is now in item quantity (set .min_donation_items, 5;).
-
- Id: 607 AegisName: Yggdrasilberry Name: Yggdrasil Berry Type: Healing Buy: 5000 Weight: 300 Flags: BuyingStore: true NoConsume: true Delay: Duration: 5000 Status: Reuse_Limit_F Script: | percentheal 100,100; if( !vip_status(VIP_STATUS_ACTIVE) ) { delitem 607, 1; }
-
hello regarding this script instead of zeny can i chaged it to item? also for everyone hour only ?
-
thank you for this sir! thank you so much
-
Q> regarding guild limiter script
Sallycantdance replied to Sallycantdance's question in Scripting Support
hello while trying it it does have error but still i can enter in koe map "freya_vs" even i added it in the map in the script in WOE its working in KOE its not -
Check this. You can see the part of donations.
-
I have an idea. - Id: 607 AegisName: Yggdrasilberry Name: Yggdrasil Berry Type: Healing Buy: 5000 Weight: 300 Flags: BuyingStore: true NoConsume: true Delay: Duration: 5000 Status: Reuse_Limit_F Script: | percentheal 100,100; Flags: Noconsume: true Now in script, put if(vip_status(VIP_STATUS_ACTIVE)) { percentheal 100,100; } This item only gonna work if you're vip. in other case, i don't know how to do it. GL
-
Change this. for ( .@i = 0; .@i < .@size; .@i++ ) To this for ( .@i = 0; .@i < .@len; .@i++ ) .@len = getarraysize( .@checkmap$ );
-
Q> regarding guild limiter script
Sallycantdance replied to Sallycantdance's question in Scripting Support
hello sir i try to add my KOE maps here im using this script in woe map its working but in koe maps its not -
Hey, guys! Is there anyway to do this condition? Something like.. (Ignore the code itself, just sampling) if(vip_status(VIP_STATUS_ACTIVE)) { <No Consume Item X>; } I tried to do straight in item_db_usable.yml using the Flags step and testing on Yggdrasil, but nothing done. I did it in item_db_usable.yml using the Scripts step with getitem, but I really don't wanna have the item popping up on the screen every time it's used. I really appreciate the help! Ty in advance!
-
Exactly, what's the problem? i tested that script and it works as intended.
-
good day can i request for source code of this changing cash points to proof of donation or direct message me if you dont like to comment the source thank you
- Yesterday
-
Not sure if I fully understand. Do you want GTB to block buffs like Blessing and Assumptio or do you NOT want them to be blocked?
-
Thanks for the feedback
-
[Showcase] I'm back on spriting.
davilord replied to davilord's topic in Spriting & Palette Showcase
-
I would like to know the reason for my account ban
Rynbef replied to Scriptreload's question in General Support
You can write me private message and provided more informations about your banned account and then I can take a look why you banned. But yet without knowing the name we can't do anything. Rynbef~ -
I would like to know the reason for my account ban
CurtHessel replied to Scriptreload's question in General Support
Hello Scriptreload It is possible that the account has commented on content that violates the group's principles, this can also accidentally cause misunderstandings. If possible, please provide more information so I can support you. Geometry Dash Lite - Last week
-
Oh it looks like ragnarok mobile like. Very clean and nice. Thanks for share it. Rynbef~
-
你好,这个连接失效了,请问还有可能会恢复吗?
-
Initial release of episode 19 - Walkthrough Conversion https://github.com/rathena/rathena/pull/8527/files
-
May i request auto item giver every hour !
Sallycantdance replied to Lary's question in Scripting Support
can we set it in a certain map? -
Add mo ko skype : [email protected]