HBGG | HBGames.org: The Game

HBGG | HBGames.org: The Game (alpha)
Official Title Pending | Official Title Art Pending


SERVER IS CURRENTLY OFFLINE
as of 13/12/2015. I am happy to re-open it if desired.




HBGG is an online multiplayer interactive experience, where you can chat to other members and visit custom made rooms.
Rooms are created in RPG Maker XP and uploaded using the game client.





Screenshots
Content Hidden Spoiler
ImageImage
ImageImage
Image



Features

  • Multiplayer Interaction: Talk with friends!
  • Visit friends' rooms!
  • Feature complete RPG Maker XP emulation: If you can make it in stock RPG Maker XP, you can make it for everyone to enjoy!
  • Universal Lobby area
  • Scripting support*
  • Custom player graphics!

*Only from within call script. See Room Limitations below.


How to use
Content Hidden Spoiler
Creating a room
  1. Open the included MyRoom project with your RPG Maker XP installation. If it fails to open, copy and replace the included Game.rxproj file with one of your own.
  2. Build your room until you are ready to deploy it.
  3. Compress Game Data (File > Compress Game Data). Make sure to check the "Create Encrypted Archive" checkbox!
  4. Save the file to the same folder as HBGG's Game.exe.
  5. Rename the "MyRoom.exe" to "MyRoom Encrypted.exe"
  6. Extract it into the same folder it is in.
  7. Open HBGG and select "Upload Room"
  8. Wait for the room to upload.
Please note that the room upload will take a little while to process even after your upload has completed. Please be patient and try again later if it does not load straight away.

Creating a custom player graphic
  1. Place your desired graphic in the same folder as the Game.exe
  2. Name it "me.png"
  3. Run the game.



Room Features
Content Hidden Spoiler
There are multiple changes made to the stock RPG Maker XP scripts that are supported across all rooms, and are available for everyone to use in their rooms.
  • Starting an event name with [N] will make the event name appear above the event's head.
  • Starting an event name with [F] will make it draw below all objects (opposite to always on top)
  • Using return_to_hall in a script call will return the player to the hall exterior



Room Limitations
Content Hidden Spoiler
For one reason or another, be it for security or end-user experience, there are limitations put in place for user rooms.
  1. Maximum filesize is 20MB
  2. Menu has been disabled
  3. You cannot access IO, File, Dir, Thread, Win32API, $scene or $DEBUG from within a script call
  4. You cannot define new classes, functions or aliases from within a script call



Download
Please Note: For the latest release of HBGG, the RPG Maker XP RTP is required.
Download version v0.2.0 (25/07/2015) - Alpha
View Changelog (Up to date with unreleased builds)

If the game hangs on startup, don't worry - I'm probably fiddling with the server or asleep. Please try again later.
If you experience any crashes, please post them in this thread.
This will be an interesting experiment.

Can we use custom tile-sets and graphics?

EDIT: I get this after downloading your room; http://i.imgur.com/PaUjyH6.png

Ran as administrator and in various compatibility modes with the same result. Tried deleting cache and userdata.dat file.

Also I uploaded my room, it says successful and all but it doesn't appear in the search for my name.

Additionally, you need to make Graphics, Audio and Data folders for your Room to upload properly, otherwise it cannot find the folders.

It would also be handy if you bundle the RGSS102E dll with the download, I have 104E so had to root around for 102E.
Xilef wrote:
Can we use custom tile-sets and graphics?
Sure can, it can do everything but scripts.

Xilef wrote:
EDIT: I get this after downloading your room; http://i.imgur.com/PaUjyH6.png
Looks like it kicks up a fuss when trying to clear the folder. I'll have a look.

Xilef wrote:
Also I uploaded my room, it says successful and all but it doesn't appear in the search for my name.
It never finished on this end. Hmm. I'll need to set up some more accurate debugging output.

Xilef wrote:
Additionally, you need to make Graphics, Audio and Data folders for your Room to upload properly, otherwise it cannot find the folders.
Was it a game crash, or just a message in the debug console? If it's just a message, that's alright, I can separate the different compression styles later.
I'll include RGSS102E as well, thanks for reminding me.

Cheers for giving it a shot, its a massive help.
ZenVirZan wrote:
Was it a game crash, or just a message in the debug console? If it's just a message, that's alright, I can separate the different compression styles later.

Sorry for not being specific, it was in the console log. When it occurred the upload would cancel rather than crash.
Xilef wrote:
ZenVirZan wrote:
Was it a game crash, or just a message in the debug console? If it's just a message, that's alright, I can separate the different compression styles later.

Sorry for not being specific, it was in the console log. When it occurred the upload would cancel rather than crash.
No problem. Out of curiosity, when you click OK to start packaging, try tapping the OK button once really quickly with your enter key, rather than at normal press duration.
ZenVirZan wrote:
Out of curiosity, when you click OK to start packaging, try tapping the OK button once really quickly with your enter key, rather than at normal press duration.

Lightly tapping enter seems to have worked.

I get the same bad file descriptor error. I also got another error, but I failed to take a screenshot of it (natural reaction was to click Ok...). It was a failed instruction I think.

EDIT: Got this just now immediately after entering the map; http://i.imgur.com/OoAQdoj.png (fall-backs required?)
Xilef wrote:
EDIT: Got this just now immediately after entering the map; http://i.imgur.com/OoAQdoj.png (fall-backs required?)
Does that file exist in that path? It should only attempt to load that file when it exists.

EDIT: I've fixed the accidental cancelling thing on my end, and I managed to get into your room, so uploading should be okay for now.
Content Hidden Spoiler
Image
ZenVirZan wrote:
Does that file exist in that path? It should only attempt to load that file when it exists.

It doesn't exist, I have "0.png" and it looks corrupted; Image
Try it again and check your cache.
Oh god why
Image
Alright so I figured out the 0.png and some of the crashes with trying to load my character png. I forgot about the hidden 10kb me.png file rule, so it was messing up within the server. I patched that, and made it only load your graphic as others would see it - relies on an echo'd copy back from the server.
Can I get you to re-download and try again when you can?
ZenVirZan wrote:
Alright so I figured out the 0.png and some of the crashes with trying to load my character png. I forgot about the hidden 10kb me.png file rule, so it was messing up within the server. I patched that, and made it only load your graphic as others would see it - relies on an echo'd copy back from the server.
Can I get you to re-download and try again when you can?

I've only just been able to re-download and test.

I get RGSS Player has stopped working immediately on launch.
Downloaded. Edit the room a bit. Ran the Game.exe...Lovely music!

But, went to non-responding, and then popped a Script Error: Script Hanging message.

Didn't see anything in the console.
Sorry about that guys - I went away for a short holiday with family.
Everything is back up and running.
Logged into IE. Uploaded my room. Logged in, good to go in community hall, tried to go to my room, sent back to community hall. tried to enter the door again, said I was running a no no script and then threw a couldn't find actor console message before crashing.
Injury wrote:
Logged into IE. Uploaded my room. Logged in, good to go in community hall, tried to go to my room, sent back to community hall. tried to enter the door again, said I was running a no no script and then threw a couldn't find actor console message before crashing.
I see. How did it send you back from your room the first time? Did it say the room crashed?

I think the script error was thrown due to latency somehow, because I use scripts in events on the hall map that you can't use in rooms and it got confused. I've fixed that on my end, and I'll upload a new version once I know why you got booted from your room.
When I walked in, I searched my name, then I hit enter room, and it did its thing and just sent me back to the community hall...

I'll look into it more in a bit, I just got off work.

EDIT: Screen shots

1 Spoiler
Image

2 Spoiler
Image
Made some changes to v0.1.0. Give it a shot when you can and let me know how it goes :thumb:
I also added some extra debugging features so I can see more of what's going on.

EDIT: The server will be down for the next few days, change of plan. I'll update the thread when it's back. This should be the last time for a while that it needs to go down like this.
I'll give this a try when I'm home next. It totally slipped my mind this last week.
And we're back. Hopefully there's fewer interruptions from here on out.
Got the same error again. Uploaded Room, went to community hall, choose my room, it downloads, sends me back to community hall, go back and try to enter and get the same error.
So it turns out that the RGSS function load_data has inconsistent behaviour. It will read from a file using the working directory as long as the game isn't being run using an encrypted archive.
I'm not sure why it lets you get away with it provided the project is uncompressed, but I know the source of the issue now.

EDIT: I've uploaded a fixed version, please re-download.
Your issue Injury would have only occurred in uncompressed rooms, which are probably bad practice to use anyway, but in any case it's fixed.
Worked! I would suggest killing the BGS once a user enters the house to visit another place.

Other than that, working fine
I am invisible D:
I still need to work out the graphic problems - sending binary stuff over my socket is pretty hacked together, but it's the best I've got at the moment.
Try placing a me.png file next to the Game.exe and see what happens. The file must be under 15kB.
This sounds great but are there enough users online to play this?
People uploading their own rooms makes it interesting to play even when there is no one else online. There are 3 rooms so far, but two of them are tests, so it's pretty much unplayable at the moment unless you're interested in creating content for it.

If that's the case, make a room / game with the project provided and upload it in-game. Because it's still very new, the room database is still pretty empty, and only other people can fill that for me.

I just uploaded version 0.1.1, which hopefully fixes some custom graphic issues. I'll add a changelog when I get around to it.
ZenVirZan wrote:
I still need to work out the graphic problems - sending binary stuff over my socket is pretty hacked together, but it's the best I've got at the moment.
Try placing a me.png file next to the Game.exe and see what happens. The file must be under 15kB.

I did try both with and without a me.png (12kB file), I was certainly invisible with both scenarios.
Xilef wrote:
ZenVirZan wrote:
I still need to work out the graphic problems - sending binary stuff over my socket is pretty hacked together, but it's the best I've got at the moment.
Try placing a me.png file next to the Game.exe and see what happens. The file must be under 15kB.

I did try both with and without a me.png (12kB file), I was certainly invisible with both scenarios.
Fortunately, I can see your graphic right here so my janky uploading actually works correctly. I guess I must be missing something with the downloading then.

At least that narrows it down a bit.
Something tells me that these rooms would make a good mapping contest for the forums. Much easier, more integrated and better than having it all piled on as separate downloads.

Perhaps you could even have a "featured room" link and everyone can go see the best rooms made.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=78667