Gundam Posted January 23, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 1 Joined: 11/14/13 Last Seen: February 14, 2014 Share Posted January 23, 2014 (edited) Just a request since I cant find one like it - Floating Rates NPC, one that would allow a player to pay a fee "lets say one of my vote credits (7227)" to randomize the rates up to a cap My rates are 100/100, max would be 200/200, this would last lets say 2 hours I would also like it to announce which player changed the rate and if it was a positive or negative influence Would like to have a secondary feature that allows a player to pay a fee using donation tokens (671) that would raise the rates to 300x for 1 hour Same thing announce the player which did this and thank him on behalf of the server. Don't know how extensive this would be Edited January 23, 2014 by Gundam Quote Link to comment Share on other sites More sharing options...
Gundam Posted January 25, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 1 Joined: 11/14/13 Last Seen: February 14, 2014 Author Share Posted January 25, 2014 I updated it to better reflect the changes I would like Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 27, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 27, 2014 - Floating Rates NPC, one that would allow a player to pay a fee "lets say one of my vote credits (7227)" to randomize the rates up to a cap My rates are 100/100, max would be 200/200, this would last lets say 2 hours I would also like it to announce which player changed the rate and if it was a positive or negative influence prontera,155,184,5 script kdhksjf 100,{ if ( getstatus( SC_EXPBOOST ) ) end; else if ( countitem(7227) ) { delitem 7227, 1; sc_start SC_EXPBOOST, 2 * 60*60*1000, 100; announce strcharinfo(0) +" has gain double rate exp blah blah blah", bc_all; } end; } Would like to have a secondary feature that allows a player to pay a fee using donation tokens (671) that would raise the rates to 300x for 1 hour Same thing announce the player which did this and thank him on behalf of the server. prontera,155,184,5 script kdhksjf 100,{ if ( getstatus( SC_EXPBOOST ) ) end; else if ( countitem(671) ) { delitem 671, 1; sc_start SC_EXPBOOST, 1 * 60*60*1000, 200; announce strcharinfo(0) +" has gain triple rate exp blah blah blah", bc_all; } end; } Quote Link to comment Share on other sites More sharing options...
Gundam Posted January 27, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 1 Joined: 11/14/13 Last Seen: February 14, 2014 Author Share Posted January 27, 2014 I am terrible at scripts.... How would that go into an existing floating rates script Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 27, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 27, 2014 How would that go into an existing floating rates scriptthen show your floating rate script Quote Link to comment Share on other sites More sharing options...
Gundam Posted January 27, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 1 Joined: 11/14/13 Last Seen: February 14, 2014 Author Share Posted January 27, 2014 (edited) http://pastebin.com/YmtPei0a I use that one, but also have a problem with it, it starts Wednesday for some reason Would much prefer one that was 24/7 Edited January 27, 2014 by Gundam Quote Link to comment Share on other sites More sharing options...
Gundam Posted February 5, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 1 Joined: 11/14/13 Last Seen: February 14, 2014 Author Share Posted February 5, 2014 Still looking, been searching around and have not found a good script to use as a base Quote Link to comment Share on other sites More sharing options...
Missingno Posted February 5, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 135 Reputation: 41 Joined: 02/05/14 Last Seen: December 23, 2022 Share Posted February 5, 2014 (edited) http://pastebin.com/YmtPei0a I use that one, but also have a problem with it, it starts Wednesday for some reason Would much prefer one that was 24/7 If you read the documentation (or even just look up some of the commands used in this script), you'll find it very easy to decipher. Here's a stripped version of the script with only what you need: - script floating_rates -1,{ OnClock0000: // Configuration .base_rate = rand(10000, 15000); // Base EXP rate .job_rate = rand(10000, 15000); // Job EXP rate // Adjust rates setbattleflag("base_exp_rate", .base_rate); setbattleflag("job_exp_rate", .job_rate); // Reload the database atcommand "@reloadmobdb"; end; OnMinute01: // Announce current rates on the first minute of every hour announce "Double EXP is currently in affect with 1."+ (.base_rate - 100) +"x/1."+ (.job_rate - 10000) +"x rates", bc_all, 0xFF6060; end; } I also removed the temporary global variables and just placed the announcer in the same script. I'm not sure why the original author needed separate scripts for a basic functionality. o_o Edited February 5, 2014 by Missingno Quote Link to comment Share on other sites More sharing options...
Question
Gundam
Just a request since I cant find one like it
- Floating Rates NPC, one that would allow a player to pay a fee "lets say one of my vote credits (7227)" to randomize the rates up to a cap
My rates are 100/100, max would be 200/200, this would last lets say 2 hours
I would also like it to announce which player changed the rate and if it was a positive or negative influence
Would like to have a secondary feature that allows a player to pay a fee using donation tokens (671) that would raise the rates to 300x for 1 hour
Same thing announce the player which did this and thank him on behalf of the server.
Don't know how extensive this would be
Edited by GundamLink to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.