spsquared / BattleBoxes_Multiplayer

BattleBoxes, but it's multiplayer! Large maps and free-for-all playing! Be sure to read README.md!
https://www.youtube.com/channel/UChK4S12w_jjJs_c-jQh8WMQ/
GNU General Public License v3.0
3 stars 4 forks source link
multiplayer nodejs platformer

BattleBoxes_Multiplayer

BattleBoxes, but it's multiplayer! Large maps and free-for-all playing!

This repository has been archived!


How to Play

Installation

I cannot distribute node.js as I do not own any rights to it, but visiting their website you can download the latest (not LTS) and install it, checking the box "Automatically install necessary tools". Wait for the installation to finish, then download the code and unzip it into any folder. Run Config.bat or Config.sh (depending on system). Then simply double-click on Start.bat or Start.sh and the server is running!

To stop the server, type "stop" into the server console.

Joining the Game

Once the server is started, you can find your computer's name (available in Windows>System>About as "Device name"), or simply search what's my ip or click the link. The server console will tell you what port to visit and you can type either the ip address or computer name on the client side connected to the same network as the host and then followed by a ":" and then the port number. Example: 111.22.33.444:2000 or hostcomputer:1100

Gameplay

Visit the wiki for more information.


Troubleshooting

My Server Crashed

In the case that your server crashes, stop all other instances of the game and locate PORTS.txt in "/server/PORTS.txt", and set it to zero. Then go to the GitHub repository and submit a bug report with a screenshot of the console if applicable.

I can't Connect to the Server (ERROR_Connection_Refused)

If you can't connect to the server, verify that:

If you can't resolve your problem after trying these solutions or your problem is not on this page, go to the Issues page and submit a bug report.


Changelog

Version Changes
0.1.0
  • Added menu with Start, Settings, Achievements, and Exit buttons
  • Added basic code for server to get the ID of a player
  • Implemented a login form, no accounts yet
0.1.1
  • Implemented a pixel font
  • Added exit button when entering Settings/Achievements menu
  • Moved menu script to menu.js
  • Moved styling to style.css
0.2.0
  • Added multiplayer aspect to game
  • Added player input and movement
  • Added multiplayer display functionality
  • Added entity.js for player functions
0.2.1
  • Added start files
  • Replaced the old port setting system with automatic port setting system
  • Updated SECURITY.md with the correct link
0.3.0
  • Added bullets
  • Merged server and client code
  • Added background music files
  • Added map and collision map files
  • Updated README.md
  • Fixed PORTS.txt
  • Other small tweaks
0.3.1
  • Fixed bug that prevented the server from sending information to clients
  • Fixed Favicon.ico
  • Added colors to Players and Bullets
  • Limited player count to 16
0.3.2
  • Fixed README.md and SECURITY.md
  • Fixed server version reporting
  • Fixed PORTS.txt
0.4.0
  • Added map collisions to player
  • Made camera scroll to keep player on screen
  • Added maps
  • Fixed a lot of version labels
  • Added Config.bat and Config.sh to help setup
  • Added debug screen
  • Added framework for ingame menu
  • Cleaned up code
  • Many other tiny tweaks
0.4.1
  • Fixed bullet collisions and added player damage
  • Fixed most player color dupes(leaving would cause new players to have duplicated colors)
  • Updated maps
  • Added community submission forms
  • Fixed README.md
  • Some changes to code formatting
0.4.2
  • Fixed player color dupe bug
  • Patched major security vulnerability that allowed clients to see all other client socket ids
  • Partially fixed collision glitching (Issue #14)
  • Added friction to walls
  • Added announcements
  • Increased bullet visibility
  • Updated maps again
  • Updated debug screen
  • Updated JavaScriptDisabled text
  • Optimized some code (collisions were left unoptimized)
  • Fixed some other bugs
0.5.0
  • Added a fade effect
  • Created a round system
  • Added a lobby
  • Updated maps (fixed SUBSCRIBE floating bug)
  • Added a lot of spawnpoints
  • Added ingame music
  • Added arrowkey support (and fixed CAPSLOCK bug) (Issue #21)
  • Added volume sliders (kind of)
  • Created index.js for general functions/handlers
  • Added a LOT of semicolons
0.5.1
0.5.2
  • Gave player ability to leave game
  • Sort of added game endings when a player reached 10 points
  • Clamped camera to edges of map
  • Formatted settings
  • Replaced the earpain start sound with a much less painful one
  • Fixed announcements double-posting (Issue #20)
  • Fixed spawnpoints
  • Removed a bunch of useless semicolons
0.5.3
0.5.4
0.6.0
  • Added account system
  • Fixed script double-loading
  • Fixed aim offset
  • Added collision debug
  • Fixed player infinite death bug
0.6.1
0.6.2
  • Added more settings
  • Migrated to PostGreSQL database for login
  • Added "change password" option
  • Fixed some map blurring (Issue #26)
  • Fixed some spelling mistakes
  • Made server close when an error occurs
0.6.3
0.7.0
0.7.1
0.7.2
  • Added UI for achievements
  • Fixed typo that allowed players to sign up with the same username as another and soft-lock their account
  • Fixed TPS counter being multiplied by the number of players
  • Other small fixes and polishing tweaks
0.8.0
0.8.1
  • Compressed map images for better loading with lower bandwidth
  • Added another achievement
  • Added transition between login and menu
  • Fixed lobby deaths
  • Fixed game soft-locking when one player is in game and they die
  • Fixed ingame achievements menu
  • Fixed win screen glitching
  • Improved win screen with winner's name
  • Fixed signup with illegal characters
  • Lowered maximum username character limit to 20
  • Added debug console
0.8.2
  • Added more maps
  • Randomized spawn points
  • Improved corner collisions (Issue #52)
  • Added support for Heroku deploy
  • Fixed typo disabling map loading when not run on localhost:
  • Styled achievement banners
  • Cleaned up code
1.0.0 RELEASE 1.0.0 - The game is now no longer incomplete and is ready to play with the full experience.
1.0.1
  • Fixed achievements not saving
  • Fixed no fading between rounds
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
  • Added map name display at round start
  • Randomly spawned lootboxes
  • Added textures to lootbox
  • Added "slowness" effect to lootbox rng
  • Added achievements for loot boxes
  • Changed banner outline from dark grey to black
  • Fixed win screen flashing when zooming in and out (Issue #102)
  • Improved page loading
  • Increased spam cooldown
1.2.2
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
  • Security Update (Old versions are now broken)
1.4.5
  • Added logfile

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Full license can be found in the LICENSE file.


Credits

Contributors:
Resources:

Want to Contribute?

If you would like to contribute to this game, visit the Github where you can send a pull request with an application request stating your reason to create a pull request in the "comments" section along with it. If you would like to submit a suggestion then submit it via this form. Please refrain from modifying any code that is related to the database, global data structure, or encryption. Modifying such code may and can result in: Account and/or database corruption; data loss; violation of the security policy.


Games by Radioactive64 and Maitian: