Attention! This is a legacy build of the Mega Man RPG from 2016 and is no longer being maintained. Reported bugs will not be fixed and any progress made here will not be saved. Return to the archive index for more legacy content or play the current version of the game for all the new stuff.

Mega Man RPG World Community

Community  »  Bug Reports  »  Temporary Downtime, Hosting Provider Being Jerks January 8th, 2014 at 12:20pm

 
Developer
Adrian Marceau
Adrian Marceau
50,544,133 BP
194 TP | 476 PP
I just got an email from my hosting provider that one of my scripts was taking up too many resources so they just disabled it completely without first checking with me.

This made it so that not only does the script not work anymore, but I also cannot download it or even view it to see what the problem was.

I'm super duper frustrated and trying to get into contact with them to fix it so I can get the game working again. In the mean time, please be aware that the game may function incorrectly and it might not even function at all. I'm so sorry everyone and I'll update this thread when I find out more.

Thank you for your patience.
Temporary Downtime, Hosting Provider Being Jerks
Posted by Adrian Marceau on January 8th, 2014 at 12:20pm
Viewed 796 Times

28 Comments

Page : 1 2
 
Administrator
MegaBossMan
880,181,037,303 BP
43 TP | 1425 PP
Posted on January 8th, 2014 at 5:36pm #1
Sorry, hope things get better
^ Top
- deleted -
 
ElecMan
981,407,151 BP
1 TP | 11 PP
Posted on January 8th, 2014 at 9:37pm #3 ( Edited : 2014/01/08 at 9:42pm )
Darn, not only the game crashed occasionally during a battle for me beforehand but now I can't access it at all. :,< Hoping that this issue gets sorted out somehow and can't wait for the solution to this, hopefully very soon.
^ Top
 
Administrator
MegaBossMan
880,181,037,303 BP
43 TP | 1425 PP
Posted on January 8th, 2014 at 9:44pm #4
I hope so. This issue needs to be sorted out somehow. I wonder what the problem was in the first place, though?
^ Top
 
Searinox
492,903,238 BP
3 TP | 18 PP
Posted on January 8th, 2014 at 11:41pm #5 ( Edited : 2014/01/09 at 6:21am )
Just played in Demo Mode. While music was not working and game was overall sloppy (it could be my browser, though), it worked. Maybe the problem is saving/something post-game related?

EDIT: Apparently my browser. Anyway, the only problem is the endless switching to the 'demo' tab.
^ Top
 
Contributor
Spinstrike
661,728,607 BP
6 TP | 262 PP
Posted on January 9th, 2014 at 8:43am #6 ( Edited : 2014/01/09 at 8:53am )
When I go to select a player, the game refuses to go to the mission select screen. All the other tabs work, though.

Anyway, your hosting provider?

^ Top
- deleted -
 
Developer
Adrian Marceau
50,544,133 BP
194 TP | 476 PP
Posted on January 9th, 2014 at 1:57pm #8
I'd just like to update everyone on the status of this issue.

The script that was blocked is the one responsible for generating missions and all the robots/abilities/rewards associated with them. Because the missions are so dynamic / constantly changing and because there are so many of them, it takes up an incredibly high amount of memory and CPU cycles. This is partially by design, partially because I decided to write the game in PHP (not recommended), and partially because I'm still a fairly novice programmer (in my opinion).

The hosting provider will not unlock the script until I have revised it to use significantly less memory, so that's what I'm going to be doing for the next few days. I spent my entire night yesterday shaving off a mere 1.5MB from the script (of about 25MB at its peak). I still have a long way to go.

As you might imagine, the game is pretty much unplayable until I get this fixed. The demo mode still works because it (luckily) uses a different and much smaller script and the missions are not dynamic. Until I get this fixed/optimized, players will be unable to access the mission select menu at all and can only really use their account for posting on the community.

I'm really sorry and I promise to try and have the game back up ASAP. :'(
^ Top
- deleted -
 
Administrator
MegaBossMan
880,181,037,303 BP
43 TP | 1425 PP
Posted on January 9th, 2014 at 9:37pm #10
If your decreasing the amount of data, would that take anyway some stars? I wouldn't really mind, but there are some people who really like the new mechanic. I would protest somehow like I did with the wiki page, but I don't know how these things work, if there's like some sort of talk page, I would try, but I don't know what website or how it works. Also how would you put pictures in these comment sections? Like SpinStrike did? I've tried before but it exceeds the word limit.
^ Top
 
Developer
Adrian Marceau
50,544,133 BP
194 TP | 476 PP
Posted on January 10th, 2014 at 12:50pm #11 ( Edited : 2014/01/10 at 1:12pm )
I can assure the Star Force mechanic will not be taken away or modified. It's more about the number of calculations and functions that take place when generating missions than any one mechanic or object.

As an example, whenever you select your player it sends a request for all that player's missions. Because the missions are dynamic, every single one of them will change slightly when a new request is sent and need to be regenerated from scratch. At its highest point (when a player has completed the main campaign) as many as 25 different missions may need to be generated on the spot and all within a few seconds of runtime.

To give you an idea of how much processing this actually requires, this is what needs to be calculated for each mission:

- Mission name, description, battle points, goal turns, and level
- Missions records about how many times completed, failed, max points, etc.
- Field multipliers, field type(s), which foreground/background image to use, and which music
- Background and foreground mechas need to be decided and placed with randomized animations
- The number of kind of robot masters and robot mechas need to be decided
- The levels and stats of those robots/mechas need to be calculated (even more so for player battles)
- Each robot needs to have their current abilities generated, which is actually a complex process based on how many times they have been defeated, which level they are, their core type, etc.
- Which fusion or field star should appear and its typing (probably the least intensive part of the script)

After all that is decided, the actual HTML for the mission buttons need to be generated. The physical size of the images is not important to the script as the browser takes care of that, but the markup requires to display those images can be pretty complex and verbose which is the final kick-in-the-balls as far as memory is concerns.

So, my goal is not to remove anything but to try to streamline the way those things are generated. Stuff like making sure unnecessary data isn't loaded into memory too early, finding ways to not regenerate stuff that doesn't need regenerating, reorganizing my code to be more efficient, etc. When the game comes back it should be almost identical from your end, albeit (hopefully) a little faster.

Hopefully that helps to outline the issue. I am still painstakingly working on optimizing the script at home and I'll let you guys know the moment it's back up and working. Thank you again for your patience!

OH! And for your image question, just use the following format:
[Image Tooltip] (http://domain.com/image.jpg)
but without the space in between. :)
^ Top
- deleted -
- deleted -
 
Administrator
MegaBossMan
880,181,037,303 BP
43 TP | 1425 PP
Posted on January 10th, 2014 at 7:09pm #14 ( Edited : 2014/01/10 at 7:11pm )
Can we save? I changed my robot's abilities so I want to save so I don't have to put Fire Chaser on Pharoah Man, Etc again?



EDIT: It seems we can since I played it again and it was there.
^ Top
 
Contributor
Brorman
909,797,716 BP
15 TP | 138 PP
Posted on January 10th, 2014 at 7:30pm #15
Boo for unplayability, but hooray for optimization!
^ Top
Page : 1 2

- comments disabled -

Mega Man and all related names and characters are © Capcom 1986 - 2024.
This game is fan-made by Adrian Marceau, not affiliated or endorsed by Capcom at all, and is in no way official. Any and all feedback is appreciated. :)