Author Topic: [XP] Game Data Reloader  (Read 5156 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Game Data Reloader
« on: September 11, 2010, 10:36:45 AM »
Game Data Reloader
Authors: Blizzard
Version: 1.0
Type: Debug Tool
Key Term: Game Utility

Introduction

This Script will allow you to reload game data while playtesting the game. It can reload database game data and map data including refreshing the current map you are in so you can view the changes you have made in your game right away without restarting it. When refreshing the map, it will be reloaded as if you exited and reentered the map, resetting all events to its initial positions and resetting the map into its initial state. To be able to make actual use of this script, always run the game from the Game.exe, never from the editor.

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 you to reload all game data during the game
  • allows you to refresh the current map during the game

Screenshots

N/A for this sort of script

Demo

N/A

Script

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


Instructions

In the script in the first comment.

Compatibility

99% compatible with SDK v1.x. 98% compatible with SDK 2.x. Compatible with Blizz-ABS's Intelligent Passability. When using Custom Controls, the buttons can be mapped to any buttons on the keyboard.

Credits and Thanks

  • Blizzard

Author's Notes

When refreshing the map during event execution, the event execution will continue. This can cause bugs (especially during auto-run events that change switches and variable) so be careful if you want to refresh a map during event execution.
Changes in scripts cannot be reloaded. If you made changes to a script, you have to restart the game for the changes to apply.

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

That's it! N-Joy! =D
« Last Edit: September 16, 2010, 06:21:48 PM 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 element

  • Ethereal Devastator
  • ****
  • Posts: 457
  • LV: 2
  • Gender: Male
  • Fountain of Inspiration
    • View Profile
Re: [XP] Game Data Reloader
« Reply #1 on: September 11, 2010, 11:12:03 AM »
Nice Blizz, this will come in handy.

I know the next statement will be false, though I need to ask you.
Getting back into RMXP?  :^_^':

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Game Data Reloader
« Reply #2 on: September 11, 2010, 11:14:15 AM »
No. I put this up because I was asked to. And I've actually promised to put it up a while ago, but I forgot about it and never did. It's not like I am creating anything new in RMXP. I only took it out of my debugging tools from CP and edited it a bit here and there. That's all. It took me about half an hour to do all of this, it's not a big deal. Don't be surprised if that happens again. After all, I have quite a collection of neat stuff that I created which I never shared with anybody.
« Last Edit: September 11, 2010, 11:15:59 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 element

  • Ethereal Devastator
  • ****
  • Posts: 457
  • LV: 2
  • Gender: Male
  • Fountain of Inspiration
    • View Profile
Re: [XP] Game Data Reloader
« Reply #3 on: September 11, 2010, 11:34:28 AM »
I really like to see other things u made in the future.

Be sure to post them some day ^^

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Game Data Reloader
« Reply #4 on: September 19, 2010, 08:20:03 AM »
This is really useful, more so that at first you're not sure if it's useful or not... But when you've used it for a while, it turns out to be really useful.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Game Data Reloader
« Reply #5 on: September 20, 2010, 06:18:40 PM »
Is there a way to reload the scripts. Maybe by using the $RGSS_SCRIPTS global variable or something?
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Game Data Reloader
« Reply #6 on: September 20, 2010, 06:55:14 PM »
Not really.
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] Game Data Reloader
« Reply #7 on: December 29, 2010, 02:17:08 AM »
Wow I completely missed this :O (found it while editing)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19917
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Game Data Reloader
« Reply #8 on: December 29, 2010, 02:23:22 AM »
It's one sexy script, isn't it. ;)
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 The Niche

  • The Hair Man
  • Chaos User
  • ******
  • Posts: 1561
  • LV: -171
  • Gender: Male
  • Marvel at the hair.
    • View Profile
    • Laptops and Tea, the place to go for marketing your creativity!
Re: [XP] Game Data Reloader
« Reply #9 on: December 29, 2010, 02:28:18 AM »
No. I put this up because I was asked to. And I've actually promised to put it up a while ago, but I forgot about it and never did. It's not like I am creating anything new in RMXP. I only took it out of my debugging tools from CP and edited it a bit here and there. That's all. It took me about half an hour to do all of this, it's not a big deal. Don't be surprised if that happens again. After all, I have quite a collection of neat stuff that I created which I never shared with anybody.

Oh yeah, I asked you...*memories*
Level me down, I'm trying to become the anti-blizz!
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.

(click to show/hide)
I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!