Newbie Spellweaver
- Joined
- Jul 18, 2014
- Messages
- 85
- Reaction score
- 39
The most common issue with FastFood on small retros is that they most likely don't have enough users to play it. On big hotels this may not be that common of an issue. I'm here to try and fix that by hosting a free FastFood server that supports multiple hotels connecting to it with ability to have their own settings, texts and user data without giving access to their emulator, databases or anything.
Arcturus
For Arcturus, you can download my plugin
Arcturus setup
The most easiest way to setup it is by running the fastfood.sql. Move the FastfoodGamePlugin-1.0-jar-with-dependencies.jar to your Arcturus plugins folder and then move the fastfood.ini file to Arcturus root. In the fastfood.ini file you can find hotel.name, where you need to put your hotel's name. The name needs to be between 1 and 64 characters on length. You need to change the hotel.sign to random letters and numbers that is a least 32 characters long, capping at 258. If you would like to make the FastFood powerups cost money you can change the hotel.unlimited.powerups to 0. You can edit the prices & amounts from fastfood_settings table. If you want to change texts they are located in emulator_texts starting with basejump.
Arcturus, game controller icon
Get the latest SWF from Arcturus BitBucket page,
C# Emulators
If you are running C# emulator and you are a developer who knows what they are doing you may download my C# API
Others
If you are running any other emulator, take a look at the C# API and Acturus one to get help porting it over. You may also contact me for help with how the protocol works.
Others, game controller icon
Find class called BottomBarLeft from client, search for "GAMES", change the bool from false to true
Technical stuff for nerds
Starting up the emulator:
(Optional) Emulator -> Request for server version
(Optional) FastFood Server -> Version & Build number
Emulator -> Request for "Private API"
FastFood Server -> Access (no't) granted
(Optional) Emulator -> Update my settings
(Optional) FastFood Server -> No response. If still connected, everything is fine.
(Optional) Emulator -> What settings do you recommend for game load packet?
(Optional) FastFood Server -> SWF URL, quality, scale, fps, flash major version min, flash minor version min, params containing asset url, game server host, game server port and game policy port
Requesting SSO for user to login;
Emulator -> Request for authenication with user details
FastFood Server -> Success/Failed. If success also contains the SSO
On purchase powerup;
FastFood Server -> User bought powerup with package name, handle it
(Optional) Emulator -> Update user powerups
(Optional) Emulator -> Update user credits
On game ends;
FastFood Server -> Game ended, won/lost, used powerups count
Arcturus
For Arcturus, you can download my plugin
You must be registered to see links
. It has two SWF files in case you wish to host them on your server. fastfood.ini contains the config and fastfood.sql has the extra sql tables and rows. Also the source code is included with precompiled files in the target folder that are required.Arcturus setup
The most easiest way to setup it is by running the fastfood.sql. Move the FastfoodGamePlugin-1.0-jar-with-dependencies.jar to your Arcturus plugins folder and then move the fastfood.ini file to Arcturus root. In the fastfood.ini file you can find hotel.name, where you need to put your hotel's name. The name needs to be between 1 and 64 characters on length. You need to change the hotel.sign to random letters and numbers that is a least 32 characters long, capping at 258. If you would like to make the FastFood powerups cost money you can change the hotel.unlimited.powerups to 0. You can edit the prices & amounts from fastfood_settings table. If you want to change texts they are located in emulator_texts starting with basejump.
Arcturus, game controller icon
Get the latest SWF from Arcturus BitBucket page,
You must be registered to see links
C# Emulators
If you are running C# emulator and you are a developer who knows what they are doing you may download my C# API
You must be registered to see links
and implement it to your emulator. It's documented.Others
If you are running any other emulator, take a look at the C# API and Acturus one to get help porting it over. You may also contact me for help with how the protocol works.
Others, game controller icon
Find class called BottomBarLeft from client, search for "GAMES", change the bool from false to true
Technical stuff for nerds
Starting up the emulator:
(Optional) Emulator -> Request for server version
(Optional) FastFood Server -> Version & Build number
Emulator -> Request for "Private API"
FastFood Server -> Access (no't) granted
(Optional) Emulator -> Update my settings
(Optional) FastFood Server -> No response. If still connected, everything is fine.
(Optional) Emulator -> What settings do you recommend for game load packet?
(Optional) FastFood Server -> SWF URL, quality, scale, fps, flash major version min, flash minor version min, params containing asset url, game server host, game server port and game policy port
Requesting SSO for user to login;
Emulator -> Request for authenication with user details
FastFood Server -> Success/Failed. If success also contains the SSO
On purchase powerup;
FastFood Server -> User bought powerup with package name, handle it
(Optional) Emulator -> Update user powerups
(Optional) Emulator -> Update user credits
On game ends;
FastFood Server -> Game ended, won/lost, used powerups count
Last edited: