Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Law's Party Limits Breaker
Version1.0 The law G14 11/20/09
Introduction
This simple script makes the most amount of gold you can have increase to 1 billion as well as the most amount of steps you can have increase to 1 billion. Basically, the max amount of gold/steps are now 1 billion. I hope someone finds this script useful
#============================================================================== #============================================================================== #=====================*Law's Max Limits Breaker*=============================== #========================Author: The Law G14=================================== #=========================Edited by Bigace===================================== #============================Version 1.2======================================= #============================================================================== #------------------------------------------------------------------------------ =begin ** Instructions for the module for Items and gold **
1) To add more than 99 items at a time, go to Script and type this in $game_party.gain_item(x, y) x = item id y = amount
2) To do that with gold do $game_party.gain_gold(x) x = amount of gold
** Updates ** v1.2 - 11/2/2010 -added a module and Gain_item to the Game_party
=end #============================================================================== # ** CONFIGURATION #============================================================================== module Law Max_Items = 99 Max_Golds = 9999999999 Max_Steps = 9999999999 end #============================================================================== # ** Game_Party #------------------------------------------------------------------------------ # This class handles the party. It includes information on amount of gold # and items. Refer to "$game_party" for the instance of this class. #============================================================================== class Game_Party #-------------------------------------------------------------------------- # * Gain Items (or lose) # item_id : item ID # n : quantity #-------------------------------------------------------------------------- def gain_item(item_id, n) if item_id > 0 @items[item_id] = [[item_number(item_id) + n, 0].max, Law::Max_Items].min end end #-------------------------------------------------------------------------- # * Gain Gold (or lose) # n : amount of gold #-------------------------------------------------------------------------- def gain_gold(n) @gold = [[@gold + n, 0].max, Law::Max_Golds].min end #-------------------------------------------------------------------------- # * Increase Steps #-------------------------------------------------------------------------- def increase_steps @steps = [@steps + 1, Law::Max_Steps].min end end
Compatibility
This script will probably not run into any compatibility errors, but if it does, please report it to me.
Screenshot
None for this type of script.
Installation
Plug & Play
Terms and Conditions
Please credit me where it is due
This post has been edited by Holder: Nov 2 2010, 05:14 AM
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
I was kind of thrown off a bit by the title of the script by what it actually does, though I sort of see where you're coming from with this when you say about expanding it and placing new features in it. Hopefully I've got the right end of the stick here, I've place the limitations of RMXP in the spoiler tag in-case there's something that could be broken with the use of this script:
Map Maximum Values: Max. number of events per map: 999 (It lag as hell !) Max. number of maps: 999 Max. size of a map: 500 X 500 Max. filesize for a map: 1.8 Mb (500X500+999 Events) Min. filesize for a map: 2 Kb (20X15+No events)
Events Maximum Values: Max. wait frames in event: 999 Max. show choices: 4 +1 Cancel Handler Max. number of characters in a message: 210 Max. number of lines in a message: 4 Max. digits in input numbers: 8 Max. time setting in timer: 99:59 Max. number of tiles to scroll in scroll map: 100 Max. transition time in relevant command: 200 Max. number of pictures with show pictures: 50 Max. magnify value with picture: 2000 Min. and Max. for X and Y settings: -9999 to 9999 Max. fade out time for audio command: 60 Max. number of lines in a call script: 10 Max. numbers of characters in a call script: 430
Max. number of events pages: 99
Resources Maximum Values: Max. number of attributes: 999 Max. number of heros: 999 Max. number of class: 999 Max. number of skills: 999 Max. number of items: 999 Max. number of weapons: 999 Max. number of armors: 999 Max. number of monsters: 999 Max. number of monster group: 999 Max. number of status effect: 999 Max. number of animations: 999 Max. number of TileSet: 999 Max. number of common events: 999
Max. number of Events Switches: 5000 Max. number of Events Variables: 5000 Max. number of local switches: 4 per events Max. number of frames in a animation: 200 Max. amount of money that can be held: 9,999,999 Max. number of party members: 4 Max. number of monsters in a monster group: 8 Max. number of script page (In script Editor): 1040
Max. number of characters in a name field: 40 Max. number of characters in a description field: 40
Max. HP: 999,999 Max. evasion: 100 (Other stats as the hero's)
Skills Maximum Values:
Max. and Min. effect rating: -9999 to 9999 Max. SP Consumption: 9999 Max. attack power: 200 All other stats max. are: 100
Aside from that there's only a little idea I've been thinking about, inputting your own level to level exp requirements (EXP Curve in the database) for example have 100 exp per level up, rather than using the automated calculations (No idea if this already exists or not by the way).
Anyway hope this helps in some way or another.
__________________________
I'm running the Great North Run in September in aid of NACC. A condition my wife has in it's severe form. Please sponsor me with whatever you can, thank you. If you'd like to help spread the word please share the image and link to my fundraising page.
At first I thought this was an overdrive or limit break script, so I was suprised when it was around 10 lines long. This must have taken you.... 5 minutes? lol! It's like wortana's database breaker (except it does less).
Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5
@Holder: Yeah, I couldn't really think up a good enough name for the script so maybe I should think up another one lol. Also, thanks for all the ideas Holder, much appreciated, I'll try to put them into the script for the next update.
@Chibichan: Yeah, lol, I guess the title of the script is really throwing people off. I'll try to change the title and add some more features like the ones Holder suggested.
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
I got bored while fixing my scripts in my game and updated this one while I was at it and since Law isn't here any more it's kind of hard for him to update it.
Nothing much for now but I added a module for easy changing and the max_items to it.
code
CODE
#============================================================================== #============================================================================== #=====================*Law's Max Limits Breaker*=============================== #========================Author: The Law G14=================================== #=========================Edited by Bigace===================================== #============================Version 1.2======================================= #============================================================================== #------------------------------------------------------------------------------ =begin ** Instructions for the module for Items and gold **
1) To add more than 99 items at a time, go to Script and type this in $game_party.gain_item(x, y) x = item id y = amount
2) To do that with gold do $game_party.gain_gold(x) x = amount of gold
** Updates ** v1.2 - 11/2/2010 -added a module and Gain_item to the Game_party
=end #============================================================================== # ** CONFIGURATION #============================================================================== module Law Max_Items = 99 Max_Golds = 9999999999 Max_Steps = 9999999999 end #============================================================================== # ** Game_Party #------------------------------------------------------------------------------ # This class handles the party. It includes information on amount of gold # and items. Refer to "$game_party" for the instance of this class. #============================================================================== class Game_Party #-------------------------------------------------------------------------- # * Gain Items (or lose) # item_id : item ID # n : quantity #-------------------------------------------------------------------------- def gain_item(item_id, n) if item_id > 0 @items[item_id] = [[item_number(item_id) + n, 0].max, Law::Max_Items].min end end #-------------------------------------------------------------------------- # * Gain Gold (or lose) # n : amount of gold #-------------------------------------------------------------------------- def gain_gold(n) @gold = [[@gold + n, 0].max, Law::Max_Golds].min end #-------------------------------------------------------------------------- # * Increase Steps #-------------------------------------------------------------------------- def increase_steps @steps = [@steps + 1, Law::Max_Steps].min end end
Edit: Since I'm not a mod, nor Law G14, I can't update the OP. So if any mod passing by sees this it would be nice if you can update the op. Not a big deal though.
__________________________
Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.
QUOTE ('Exiled One')
"If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
I've included it within the Original Post for you, I've still left the .txt link in there from law and placed it below within the spoiler and credited law and you before it so people are aware of the edit.
__________________________
I'm running the Great North Run in September in aid of NACC. A condition my wife has in it's severe form. Please sponsor me with whatever you can, thank you. If you'd like to help spread the word please share the image and link to my fundraising page.
Group: Global Mod
Posts: 1,414
Type: Scripter
RM Skill: Advanced
Rev Points: 15
nicely done Bigace. i've been looking into this area of RMXP for a while now, and been trying to break some of the limits, i'll see what i can do and ill post my work here for everyone.
I've included it within the Original Post for you, I've still left the .txt link in there from law and placed it below within the spoiler and credited law and you before it so people are aware of the edit.
Thank you, and oh ya under instructions can you add call after Script so people aren't scripters know where to put it. Saying script might mean to them to just put it under the actually script.
QUOTE (Legacy @ Nov 2 2010, 10:02 AM)
nicely done Bigace. i've been looking into this area of RMXP for a while now, and been trying to break some of the limits, i'll see what i can do and ill post my work here for everyone.
Thanks, I had to others like double HP & MP(SP) that I might add if I want it in my game. Was going to do skill limit break, but it seems complicated and Atoa already covered it in his ABS script.
__________________________
Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.
QUOTE ('Exiled One')
"If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."