Commit Graph

675 Commits (11b1c534c9325144850964c862ff934221055c4b)

Author SHA1 Message Date
djoslin0 11b1c534c9 Update README.md 2020-08-31 23:50:43 -07:00
MysterD 4ccc03ee37 Synchronize cannons as soon as they are unlocked 2020-08-31 23:49:51 -07:00
MysterD cc9300f969 Force players who are held by an entity to own that entity 2020-08-31 22:36:07 -07:00
MysterD 2b70dcc255 Synchronized squished values 2020-08-31 22:22:33 -07:00
MysterD 1876e59d77 Re-added King Bobomb dialog 2020-08-31 21:38:08 -07:00
MysterD e6074281c1 Truly deal with the NPC dialog softlock problem
Reported by somario360:
After I (Luigi) gave the baby penguin to the mother, the start spawned,
but I was stuck in the looking up animation.
My friend (Mario) talked to Bowser after defeating him, Bowser turned into
a key, but he was stuck in the looking up animation after (I was able to
grab the key though, but Bowser was slightly visible) (Also don't mind 0
stars, he loves doing the lobby BLJ)

The issue is the state machine moved on without removing the reading
dialog action. There was no straight forward way to deal with this.
Custom functions were written for each call to dialog to ensure that we
should stay reading the dialog.
2020-08-31 21:10:34 -07:00
MysterD 2ff595e630 Fixed crash when changing areas within a level
Bug reported by somario360:
After I (Luigi) exited the slide in CCM, an error message appeared and ignoring would make it pop up again.

This was due to the sync ID reservation system not being flushed and
reset on area change.
2020-08-30 23:13:05 -07:00
MysterD b1d8f0e4cd Fix NPC softlock (cannon and hoot)
Bug reported by somario360:
When trying to open the cannon in a level (so far tested in BOB & WF) the cannon dialogue will repeat infinitely. Sometimes the cannon will open, but the game will crash after.

The code I had written previously to prevent softlocks ended up causing
them due to a incorrect check of activeFlags.
2020-08-30 23:12:28 -07:00
MysterD 53e5b5f89c Added text-input system for typing in-game 2020-08-30 23:25:32 -07:00
MysterD 05739c963f Removed debug enemies from castle grounds 2020-08-28 23:06:56 -07:00
MysterD dca1863392 Synchronized Bowser 1 2020-08-29 12:59:07 -07:00
MysterD 114bbfd703 Synchronized bowser bombs 2020-08-29 12:58:54 -07:00
MysterD 650dbf3c95 Made castle floor trap multiple-player-aware 2020-08-29 12:58:04 -07:00
MysterD f372e44b04 Fixed stomache slide hang, made grabs only happen on local 2020-08-29 12:57:20 -07:00
MysterD f19044cf55 Synchronized sliding platform 2 2020-08-28 20:26:17 -07:00
MysterD 5cb9dbaa61 Synchronized ferris wheel 2020-08-28 20:26:04 -07:00
MysterD fd27aaf0cb Synchronized amps 2020-08-28 20:25:46 -07:00
MysterD 0c33337d35 Synchronized square platforms as groups of two 2020-08-28 20:25:34 -07:00
MysterD f0757561e4 Resynchronized checkerboard platforms 2020-08-27 21:39:13 -07:00
MysterD 28d6a6fb07 Synchronized Big Boo's Haunt + major changes
Synchronized currentRoom per-player
Synchronized haunted bookshelf, and the bookshelf manager
Synchronized haunted chairs
Synchronized mad piano
Synchronized BBH's tilting trap, and made the physics multiple-player-aware
Synchronized scuttlebugs
Synchronized every variety of Boo
Synchronized elevators
Synchronized flamethrowers
Synchronized the various types of enemy books
Synchronized the book switches
Synchronized jumping box
Made coffins multiple-player-aware

Fixed everything that used gMarioState as an array instead of gMarioStates
Prevented some NPC-dialog softlocks
Prevented the remote player from messing up the local's camera settings
Possibly fixed the relatively rare chain chomp softlock
Possibly fixed the relatively rare chain hoot softlock
Fixed the first-person-camera softlock
Forced camera code to use the correct mario struct
2020-08-26 23:29:40 -07:00
MysterD 45e5108252 Synchronized Boo 2020-08-24 21:38:49 -07:00
MysterD c0473af271 Created system to reserve sections of SyncIDs per client
This allows clients to spawn a new sync object after the level loads and synchronize it.
Changed how un-initialized sync objects are detected
Koopa shells are the first thing to use this new system

Removed network_object_settings() command, instead explicitly setting the sync object parameters
2020-08-24 18:33:53 -07:00
MysterD b69b229ae5 Made Luigi a bit bigger 2020-08-23 23:44:11 -07:00
MysterD 1ee5626640 Fixed exclamation box synchronization bug 2020-08-18 18:47:21 -07:00
MysterD eea9c66cae Synchronized unagi 2020-08-18 18:47:06 -07:00
MysterD 8a3e21ed0e Synchronized underwater koopa shell 2020-08-18 18:46:54 -07:00
MysterD 57466a25e4 Made floating platform multiple-player aware 2020-08-18 18:46:13 -07:00
MysterD 0e1dc0e975 Made falling pillar multiple-player aware 2020-08-18 18:45:50 -07:00
MysterD 8c7dc5fa8f Synchronized clam 2020-08-18 18:45:34 -07:00
MysterD 424e3f9158 Synchronized jrb ship and box 2020-08-18 18:45:19 -07:00
MysterD caae3425f4 Synchronized treasure chests 2020-08-18 18:43:42 -07:00
MysterD 34a9437359 Changed default config values 2020-08-13 22:59:46 -07:00
MysterD 98064c6044 Added CLI options to specify ip/port 2020-08-13 19:38:15 -07:00
MysterD 66a4fc8962 Sound fixes for remote player 2020-08-13 18:53:01 -07:00
MysterD 73d8837607 Made rumble only happen for local events 2020-08-13 18:49:24 -07:00
MysterD 91b064a9cb Fixed exclamation box double item spawning when traffic is bad 2020-08-13 18:34:27 -07:00
MysterD 09dad965bb Removed vestigial painting warp code, made painting selection instant 2020-08-12 22:17:12 -07:00
MysterD 0e2dff8190 Freeze mario in place when star spawning or dialog box pops up 2020-08-12 21:47:07 -07:00
MysterD 22b6b3ff98 Kept more randomness, fixing tree leaves, fix pole segfault 2020-08-12 19:39:31 -07:00
MysterD 3a321fd8dc Fixed visual bug when both players are sliding 2020-08-12 19:14:35 -07:00
MysterD 680db50f64 Fixed tower platform spawning bug 2020-08-11 23:27:37 -07:00
MysterD 08f5a4ced7 Synchronized whomp 2020-08-11 23:03:40 -07:00
MysterD b9cbd6fd59 Synchronized thwomp 2020-08-11 23:03:30 -07:00
MysterD 16be152811 Synchronized all of the various platforms in WF 2020-08-11 23:03:13 -07:00
MysterD 417cbbb1e4 Synchronized piranha plant 2020-08-11 23:02:16 -07:00
MysterD 8b7aebcbdc Synchronized kickable board 2020-08-11 23:02:03 -07:00
MysterD a01deccf4c Synchronized bullet bill 2020-08-11 23:01:51 -07:00
MysterD c90f44953e Synchronized bomp 2020-08-11 23:01:36 -07:00
MysterD 848008aa37 Synchronized hoot 2020-08-11 23:01:13 -07:00
MysterD 0a99ac47b6 Synchronized breakable wall 2020-08-11 23:00:55 -07:00