Room Server v0.7+ - MangaD - 07-10-2015
Room Server v0.7+
Download
Last update: 2021-12-25
This is an improved version of the original Room Server.
Important note: For opening a Room Server to public, you need to port forward your router. There are many guides on how to do it, but each case is slightly different. Here is a guide you can try. If you still have problems with this step, you can join us on IRC or Discord, and there might be someone there who can help you better.
- UPnP.
- Ban by IP.
- Admin login.
- Add soldier heroes in the "addcom" command (sorcerer, wrestler, axeman, swordsman) and all other troops (so we don't need commander).
- Detect Mod versions and restrict entrance.
- Optimizations.
2021-12-25: - Fix a bug with checking the latest RS version. (by MangaD)
2021-01-21: - Include JAR version in ZIP for Linux and Mac users.
- Removed "Mod v1.0a by MangaD" from name. Added 0.7+ instead. (by MangaD and Tommy)
- Changed versioning to a Calendar Versioning. (by MangaD)
- Update to Java 8, which required some code changes. (by MangaD)
- Exporting / importing log feature is remade. The user can now choose the encryption password. (by MangaD)
- Room log now adds new lines at the bottom, instead of at the top. (by MangaD)
- More backgrounds available in VS mode. (by MangaD)
- Removed minimum latency limits for the /lat command. (by MangaD)
- Banned players get a "banned" alert on HF v0.7+ when trying to join a room where they are banned. (by MangaD)
- New command: /me - Similar to IRC command. (by MangaD)
- New command: /qq - Shows the QR code of the invitation for the HF QQ group. (by MangaD)
- New commands: /dragon, /phoenix, /moore, /marti - just fun images. (by MangaD)
- New command: /rl - List rooms with players inside. (by Tommy)
- Print the winning team and players after a fight. Works only with HF v0.7+ 2021 update. (by Tommy)
1.0a: - Add a submit button in the settings tab. (by MangaD)
- Fix changing client limit not updating the in-game player list limit. (by MangaD)
- Fix settings tab not having the user picked values by default after creating the room. (by MangaD)
- Music #11 wasn't selectable in random. (by MangaD)
- Livermore, S.Eason and Vivian weren't selectable in random. (by MangaD)
- The word "says:" was stuck with the player's name in the Room Server log. (by MangaD)
E.g.: "Playersays: (message)".
- In the Room Server log, "PlayerX change the..." was fixed to "PlayerX changes the...". (by MangaD)
- The Room Server log showed some unicode symbols as squares. Now supports more symbols. (by MangaD)
(I changed the font.)
- Room Server allowed passwords bigger than 12 chars, while HF v0.7 only allows passwords with 12 chars. (by MangaD)
- In Story Mode and Battle Mode, when someone clicked on the button "Start Fight!", the text appeared at the in-game chat as: "Player X: Click on 'Next'". Now it appears as "Player X: Click on 'Start Fight'", just like in VS Mode. (by MangaD)
- In chinese language, the text "help" appeared as "help" after creating the room, not translated. (by MangaD)
- In chinese language, the text "back" appeared as "back" at the CAPTCHA screen, not translated. (by MangaD)
- The "Next stage" button went back to the very same stage from Stage 3 onwards. (eg. At the end of stage 3, clicking 'Next stage' would take you back to stage 3) (by MangaD)
- "Cancel" button didn't work when someone clicked on "Start Fight!" in VS Mode. (by MangaD)
- "Restart Game" didn't work in Battle Mode when players were waiting at the Waiting Room. (by MangaD)
- VS Mode backgrounds were set to random after someone clicked on "VS Mode". Now they are remembered. (by MangaD)
- The character slot which a player used was set to random if the player removed it and added it again. (by MangaD)
Now the character which a player uses is remembered.
- It was possible to add troops to the character after the next count starts. Now it is not possible, to avoid spammers. (by MangaD)
- When a player was kicked out, he didn't receive the Connection Lost message until he tried to do something. (by MangaD)
Now, whenever a player leaves the room, he instantly receives the Connection Lost message.
- Room froze when players were fighting and someone pressed OK in the Keyboard Settings. (by MangaD)
- In Battle Mode, clicking a Battle Preset and then clicking a Battle Type of the same preset didn't work. But in Single Mode it did. Now it works. (by MangaD)
- Troops levels weren't refreshed when changing to a character with level 1, or after a character's level up. (by MangaD)
- Latency could be forced to 3 by clicking "Reset your latency" and then clicking Keyboard settings and then clicking "OK". Now it is fixed. (by MangaD)
These bugs are related to HF v0.7 itself and therefore they could not be fixed. - When someone clicks on [Random] for background, the background is randomized 2 or 3 times.
- Synchronization error when someone uses Player 2 in Battle Mode.
- Normalize Level is default. (by MangaD)
- Crazy difficulty is default. (by MangaD)
- Rides 0 and Objects 0 by default. Dinos off by default. (by MangaD)
- Small Hut is default. (by MangaD)
- AI and Players added to the team with less members. (by MangaD)
- Minimum latency limit is 6. (by MangaD)
- Interface prompts user when closing a running server. (by MangaD)
- Interface prompts user when clearing the log. (by MangaD)
- Shows in the log when a player pauses the game. (by MangaD)
- Room Server log shows the specific changes a player made when picking a stage, normalize level, dinos, rides, objects, difficulty, background, battle type. (by MangaD)
- The latency which the player joined the room with is shown on the Room Server log. (by MangaD)
- Shows on the log when a player changes latency. (by MangaD)
- Password is available in Public Rooms. (by MangaD)
- Private Rooms don't need to have name. (by MangaD)
- When a player joins the room, he will receive a message telling what Mode other players are playing. (by MangaD)
And if it is Story, it will also show which Stage.
- Room log now adds new lines at the bottom, instead of at the top. (by MangaD)
- Button to export the log to an encrypted file and button to import encrypted logs. (by MangaD)
(Useful for reporting logs)
- Text field to chat with players from the server. (by MangaD)
- Story Maps added to VS Mode, accessed by random backgrounds or chat codes (see /help). (by MangaD)
- Big 3 theme and Romance song are available, accessed by random music or chat codes. (by MangaD)
- Special troops (note: wrestler, axeman, swordsman and wizard are not interpreted by the game as soldiers, therefore I did not add them) (by MangaD)
- Lucas, Drew and Shawn
- 30% chance of getting villager (infantry)
- 30% chance of getting woman (archer)
- Vivian
- Villager (infantry)
- Woman (archer)
- Jenny, Sinan
- Jason
- Bandit (infantry)
- Daggerman (archer)
- Sickleman (cavalry)
- Giggs, Titto
- Bandit (infantry)
- Daggerman (archer)
- Iczzy
- Heater
- Bans - Players can be banned. Temporarily (until server is closed) or permanently (names are saved in a file and loaded when the server starts) (by MangaD)
- Admins - Players can become admins in-game, and have the authority to kick and ban other players, among other features that are not available to normal players to avoid them being abused. Temporarily (until server is closed) or Permanently (names are saved in a file and loaded when the server starts). (by MangaD)
- Settings (by MangaD)
- Change room name after room is opened;
- Change description after room is opened;
- Change clients limit after room is opened;
- Change latency limit after room is opened;
- Change password after room is opened;
- Change the in-game countdown;
- Afk-timeout, for kicking inactive players after they have been idle for the given amount of time;
- Added in-game chat commands. (by MangaD)
- Banned players get a "banned" alert on HFv0.7+ when trying to join a room where they are banned. (by MangaD)
- Print the winning team and players after a fight. Works only with HF v0.7+ first 2021 update.(by Tommy)
- /help - Shows the available commands to the player. Using '?' after a command lets you learn more about it. (by MangaD)
- /mus - Changes the music. (by MangaD)
- /bg - Changes the background in VS Mode. (by MangaD)
- /quit - Player quits the room. (by MangaD)
- /clear - Clears the chat for that player. (by MangaD)
- /char - Changes the character. Only the characters that the player unlocked are available. (by MangaD)
- /delchar - Deletes the character. (by MangaD)
- /deltroops - Deletes all the troops in the game. To avoid troop spammers. (by MangaD)
- /addcom - Adds AI (coms) to the game, you can select the quantity, character and team of the AI. (by MangaD)
- /delcom - Deletes all the AI (coms) in the game. To avoid com spammers. (by MangaD)
- /obj - Changes the number of objects. (by MangaD)
- /ride - Changes the number of rides. (by MangaD)
- /norlev - Changes the normalize level setting (on/off). (by MangaD)
- /dino - Changes the dinosaurs setting (on/off). (by MangaD)
- /diff - Changes the difficulty. (by MangaD)
- /team - Changes the team of the player. (by MangaD)
- /lat - Changes the latency (minimum limits established and depend on the client's initial latency). (by MangaD)
- /me - Similar to IRC command. (by MangaD)
- /qq - Shows the QR code of the invitation for the HF QQ group. (by MangaD)
- /rl - List rooms with players inside. (by Tommy)
- /kick - Kicks out a player. (by MangaD)
- /ban - Bans a player. (by MangaD)
- /unban - Unbans a player (use "/ban list"). (by MangaD)
- /admin - Gives admin permissions to another player. (by MangaD)
- /swap - Changes the clients order. Useful for setting the commander in Battle Mode. (by MangaD)
- /countdown - Changes the time of the countdown. (by MangaD)
- /afk - Changes the time-out for kicking inactive players. (by MangaD)
- /latlimit - Changes the latency limit for joining the room. (by MangaD)
- /clilimit - Changes the limit of clients that can join the room. (by MangaD)
This Room Server uses version control, so it needs internet connection in order to work. This way it is also possible to stop outdated versions from working in case they have a serious bug or undesired feature(s).
Special thanks to So Louis, Choco Sundae and Ben Wang for translating the new interface to Chinese. And very very special thanks to Marti Wong for making this awesome game!
Note: This project is currently stopped due to HF's current circumstances. However, bug reports and suggestions are still appreciated and patches might be made if necessary.
RE: Room Server v0.7 - Mod v1.0a by MangaD - BlazingGale - 02-02-2018
I have a few requests for new commands for the room server.
1) Kickvote command.
Reasons:
A. Sometimes players are being annoying and they keep pressing shift + q after they lose in a 1v1v1, or they try to play story mode when there are 2 other players trying to play pvp. This is extremely annoying and there is no way to get rid of them now, so a vote-kick command would come in real handy.
B. Sometimes if you're waiting for a player, a different player will show up and take up the last empty spot. So it would be nice if we could kick him so the friend can join.
2) PvP Pre setting command.
What it is:
A command that sets the game up quickly for pvp matches. As in it removes the rides and objects, it sets the map to small hut, sets normalized level on and changes difficulty to either crazy or easy (you can make the command like pvp0 for easy mode and pvp1 for crazy mode)
Reasons:
A. Convenience.
3) Troops command.
What it is:
If it is possible it would be nice to be able to just add troops without the need for a host player/com. For example the command can be "/troops lucas ghost*3" to add to lucas 3 fire ghost troop units [if it's a player than the player's name]. OR it can be "/troop ghost*3 2" to add 3 units of fire ghost troops to team 2, without a host.
I think it will be really cool to build custom armies that way and have a big pvp with your custom army. Also if it is possible it would be nice if you could also make it so it is possible to add the hero troops [wrestler, swordsman, etc.] that way.
4) FPS changer command.
What it is:
A command to change the amount of frames per second the game will play at.
Reason:
It would be nice to be able to change the FPS the game is at because it might make playing with latency a little easier, or make stage mode easier. It would also make it easier on newer players to play since they will have more time to react, and that way they will get used to the HF lag.
5) ban by IP command.
What it is:
A command to ban a player from a room by his IP.
Reason:
Sometimes players who have been kicked will insist to come back again and again and keep annoying the other players.
Thanks in advance for your time.
RE: Room Server v0.7 - Mod v1.0a by MangaD - MangaD - 02-02-2018
Thank you for your contribution. I will add the new features when I get some free time.
Self-reminder:
RE: Room Server v0.7+ - MangaD - 21-01-2021
Oh my, 2 years without activity here.
I'm making this post to announce that a new version of the HF Room Server v0.7+ (previously "Mod by MangaD") has just been released. In reality, this project hasn't been inactive for 2 years, because a C++ version of the Room Server was created a few years ago (for running in servers) and has been maintained since then. This version is the Java version, and hasn't been maintained for a while, until now.
So, here is what is new:
- There is a new developer creating new features for the Room Server - @Tommy.
- Tommy has created a new chat command (
/rl ) for showing the public rooms with players inside. He has also created a new feature in which HF v0.7+ (2021 update) will inform the Room Server of the winning team, and the Room Server will log the winning team of a match, including the details of the match.
- I have taken this opportunity to update a few things as well. It no longer makes sense to name this project "Mod by MangaD" for two reasons:
- Tommy is now contributing to this project;
- This Room Server should become the standard for everyone to use, just like HF v0.7+. If anyone is skilled enough to make their own version of the Room Server, then it is better that they join this project instead of having multiple Room Servers out there.
The remaining changes / new features are specified in the change log of the main thread.
Have fun!
|