Author Topic: [XP] Unlimited Levels  (Read 18213 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Unlimited Levels
« on: February 10, 2010, 09:52:25 AM »
Unlimited Levels
Authors: Blizzard
Version: 1.0
Type: Actor Attribute Modifier
Key Term: Actor Add-on

Introduction

This script will allow actors to have levels higher than 99. It automatically calculates the required EXP and the stats using RMXP's default method of calculation.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • allows actors to have levels higher than 99
  • automatic calculation of generated stats with minimum error rate
  • easy to use

Screenshots



Demo

Unlimited Levels

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

99% compatible with SDK v1.x. 95% compatible with SDK v2.x. Can cause incompatibility issues with custom leveling systems. WILL corrupt your old savegames.

Credits and Thanks

  • Blizzard

Author's Notes

It is recommended that you also use a script that allows unlimited Max HP, Max SP, Str, Dex, Agi, Int and EXP in combination with this script.
In case a speed setting other than -10, 0 and 10 is being used, the attributes generated by this script can be higher by 1 in some cases for some levels due to a computational error in the interpolation function.

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: February 10, 2010, 10:07:35 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Unlimited Levels
« Reply #1 on: February 10, 2010, 12:27:02 PM »
Very nice blizz! :D Even I have been waiting for this script. *lv's up* *downloads* *goes back to bad for a few hours*

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Unlimited Levels
« Reply #2 on: February 11, 2010, 05:08:01 AM »
Mister Blizzard,

Genius Work!

Though why not implement the unlimited Stats into this script?
I'd use your scripts over KGC's any day if you wrote your own variation of these style scripts <3


--JeR
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #3 on: February 11, 2010, 09:25:31 AM »
Because it's an unrelated system. Just because they are all numbers in the database doesn't mean they are all the same. You wouldn't say SP cost and actor level are the same thing, would you?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Unlimited Levels
« Reply #4 on: February 11, 2010, 09:50:12 AM »
No, but I'd be happy to have more compiled numbers of scripts together than a script for every method under the sun  :^_^':

I just figured that the unlimited part and all relating to an actor part might make it easy to tie them all together in a single script. I have to say though that I still don't know the hugest amount of scripting, so I'm apparently quite wrong  :<_<:
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #5 on: February 11, 2010, 11:22:21 AM »
I actually think that most "Stat Limit Break" scripts out there work fine. So you can probably use any of them without problems.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Unlimited Levels
« Reply #6 on: February 11, 2010, 11:51:44 AM »
Your likely right.
But now that THAT is settled, back to the important matter I pressed you with before:
(click to show/hide)

How to correctly Blizofy the drop rate modifier so it works :D
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #7 on: February 11, 2010, 01:49:58 PM »
What do you mean? So it works with Blizz-ABS? Somebody else had the same problem and I said I'll make an add-on for Tons myself a bit later. Probably next week when I get some time to add the most recent changes, etc. into Tons.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Unlimited Levels
« Reply #8 on: February 11, 2010, 09:03:23 PM »
Heh, that someone was probably me, as I presented this issue to yu a week or two ago.
I suppose my lack of ability to consistently follow up with my issue/requests is the reason I didn't see anything about it being added to ToNs. I am glad to hear this though.

My earballs are happier thanks to you, Blizzard.

Oh! And kudos to you and your scripting skill. I am thoroughly impressed and in awe about 20/6.


--JeR
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline Shining Riku

  • Ethereal Devastator
  • ****
  • Posts: 266
  • LV: 7
  • Gender: Male
    • View Profile
Re: [XP] Unlimited Levels
« Reply #9 on: February 14, 2010, 06:00:20 PM »
This. Is....

INCROYABLE!

This is so awesome! Thanks Blizz! :D
EDIT: Ok, I tried changing the max EXP in the main scripts but it didn't help me reach a higher level. I tried finding a script to change max EXP but couldn't find one.

If there is a Script change I can do using what I have now to make it work, please let me know! If I need another script to change Max EXP....if you know where to find it I'd like to know. Thanks again for making the script, Blizz! (I really wanna be able to get past level 150 though, lol)
EDIT AGAIN:

OMG FAIL!!! I'm so sorry! I've found what the heck I was doing wrong. Sorry for the waste of time! O_O
(why is it I never catch my own issues until after I've told others? o_oU)

Final EDIT:

Ok, I fail very hard. Level cap is still at 139 despite setting up levels in the script. I'm still lost >_<U
« Last Edit: February 14, 2010, 07:03:24 PM by Shining Riku »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #10 on: February 15, 2010, 12:02:16 PM »
It should be in Game_Actor#exp=. There should be a line like this:

Code: [Select]
exp = [[exp, 9999999].min, 0].max
This should be where the EXP cap is. If not, press CTRL+SHIFT+F and type 9999999 and it will do a global search on that number so you can find all places where it appears. That should help you find all the necessary locations in the scripts that you need to change.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Shining Riku

  • Ethereal Devastator
  • ****
  • Posts: 266
  • LV: 7
  • Gender: Male
    • View Profile
Re: [XP] Unlimited Levels
« Reply #11 on: February 18, 2010, 06:12:16 PM »
That's really weird. I actually found that line and modified it.
I know my way around the default scripts enough that finding that line was easy. Very easy.

But it didn't pay any attention to my edit. Is there a chance that one of the other scripts i'm using is overwriting that line? I dunno how often people would try over-writing it. Maybe I should go dig around the scripts I added in and see if I can find anything.

Thanks Blizzard. Hopefully I can get this sorted out! If I do, well, that's one more problem I know how to handle when the time comes. I appreciate your help

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Unlimited Levels
« Reply #12 on: February 22, 2010, 05:02:32 AM »
CTRL + SHIFT + F

Who needs to dig when you can search every bit of script for specific bits at once? :D
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

ezrarishona

  • Guest
Re: [XP] Unlimited Levels
« Reply #13 on: March 22, 2010, 07:35:46 PM »
Blizz,

YOU ARE AWESOME!!!

you helped me ALOT!Thanks!

Offline Lobstrosity

  • Awkward Lobster
  • Transcended Spirit
  • ***
  • Posts: 204
  • LV: 2
  • Lobstro-city. What ever happened to that place?
    • View Profile
Re: [XP] Unlimited Levels
« Reply #14 on: June 08, 2010, 09:46:33 AM »
For this script, is there an actual maximum level it can get to? If so, can you edit what the maximum is?
Don't come any closer. I'm armed... with SCIENCE!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #15 on: June 08, 2010, 11:42:30 AM »
Code: (Script) [Select]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Level Database
#
#   Use following template to give your actors a custom maximum level:
#
#     when ID then LEVEL
#
#   ID    - ID of the actor in the database
#   LEVEL - initial level / final level of that actor
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
« Last Edit: June 08, 2010, 11:46:20 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Lobstrosity

  • Awkward Lobster
  • Transcended Spirit
  • ***
  • Posts: 204
  • LV: 2
  • Lobstro-city. What ever happened to that place?
    • View Profile
Re: [XP] Unlimited Levels
« Reply #16 on: June 08, 2010, 12:59:01 PM »
Awesome, thanks Blizzard!
Don't come any closer. I'm armed... with SCIENCE!

Offline Lobstrosity

  • Awkward Lobster
  • Transcended Spirit
  • ***
  • Posts: 204
  • LV: 2
  • Lobstro-city. What ever happened to that place?
    • View Profile
Re: [XP] Unlimited Levels
« Reply #17 on: June 10, 2010, 09:16:50 AM »
When using the script you just posted, where do I go to to change the maximum? Do I type it into the script?
Don't come any closer. I'm armed... with SCIENCE!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Unlimited Levels
« Reply #18 on: June 10, 2010, 10:01:53 AM »
Code: (Script) [Select]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Level Database
#
#   Use following template to give your actors a custom maximum level:
#
#     when ID then LEVEL
#
#   ID    - ID of the actor in the database
#   LEVEL - initial level / final level of that actor
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Lobstrosity

  • Awkward Lobster
  • Transcended Spirit
  • ***
  • Posts: 204
  • LV: 2
  • Lobstro-city. What ever happened to that place?
    • View Profile
Re: [XP] Unlimited Levels
« Reply #19 on: June 10, 2010, 10:12:49 AM »
Yes, but how do I use this script. Where do I put the maximum level?
Don't come any closer. I'm armed... with SCIENCE!