Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Closed TopicStart new topic
> Law's Party Limits Breaker, A simple but handy script
The Law G14
post Nov 20 2009, 06:19 PM
Post #1


Scripter FTW
Group Icon

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 smile.gif


Features

-Increases max amount of gold to 1 billion

-increases max amount of gold to 1 billion


Script

Attached File  Party_Limits_Breaker.txt ( 1.58K ) Number of downloads: 100

Version 1.2
Author: The Law G14
Edited by Bigace
Version 1.2
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


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 smile.gif

This post has been edited by Holder: Nov 2 2010, 05:14 AM


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
The Law G14
post Nov 26 2009, 11:58 AM
Post #2


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Bump.

Any thoughts or ideas for new features in this script? Or any comments or concerns you have with the script?


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Holder
post Nov 26 2009, 01:16 PM
Post #3


Spoilers.
Group Icon

Group: Revolutionary
Posts: 4,203
Type: Developer
RM Skill: Advanced
Rev Points: 250




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:
[Show/Hide] Limitations of RMXP

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

Hero Maximum Values:
Max. level: 99
Max. HP: 9999
Max. SP: 9999
Max. Strength: 999
Max. dexterity: 999
Max. agility: 999
Max. intelligence: 999
Max. experience: 9,999,999

Monsters Maximum Values:

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.

Go to the top of the page
 
+Quote Post
   
Chibichan
post Nov 26 2009, 01:29 PM
Post #4


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




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


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Nov 26 2009, 04:35 PM
Post #5


Scripter FTW
Group Icon

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.


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Bigace
post Nov 1 2010, 08:30 PM
Post #6


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




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."
Go to the top of the page
 
+Quote Post
   
Holder
post Nov 2 2010, 05:15 AM
Post #7


Spoilers.
Group Icon

Group: Revolutionary
Posts: 4,203
Type: Developer
RM Skill: Advanced
Rev Points: 250




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.

Go to the top of the page
 
+Quote Post
   
Legacy
post Nov 2 2010, 06:02 AM
Post #8


B★RS Coding Ninja
Group Icon

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. happy.gif


__________________________
Freelance Programmer (C#, C++, Ruby)
#onegameamonth


Have you seen the new Unity3D sections?..
Unity 3D Discussion
Unity Script Development
Unity Projects
Go to the top of the page
 
+Quote Post
   
Bigace
post Nov 2 2010, 09:23 AM
Post #9


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




QUOTE (Holder @ Nov 2 2010, 09:15 AM) *
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. sweat.gif

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. happy.gif


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."
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 10:26 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker