• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 3 4 5 6 7 ... 116 Next »

Create Custom Check Box in NetPlay Window
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Create Custom Check Box in NetPlay Window
08-22-2021, 10:37 AM
#1
LittleCoaks Offline
Junior Member
**
Posts: 22
Threads: 16
Joined: Dec 2020
So i'm working on a dolphin side project and i want to have a check box appear in the NetPlay Window before starting a game. I want it so that when this check box is checked or unchecked, it becomes checked/unchecked for all players in the lobby. I made some progress so far, but it is admittedly pretty messy (it doesn't help that i barely know any C++ to begin with).

The box would need to be synced between all players in the lobby, be unable to be changed when a game is in progress, send a message to the chat when the box is checked/unchecked, the box is always unchecked when starting a lobby, and only the host can check the box.

Here are two of my commits for the work i've managed to complete so far as a reference
https://github.com/CNace13/dolphin/commit/f36396d0d3094a1ad57c04df31dd357be596c180
https://github.com/CNace13/dolphin/commit/89e11ad9b9f63f60d3d17bcf360ddf75f562ece7

Right now, the box is not being synced between the players in the lobby. Additionally, if someone leaves a lobby when the box is checked then rejoins when the box is unchecked, dolphin will crash. Any info to guide me on how to fix this and complete the box would be very appreciated.


Attached Files Thumbnail(s)
   
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode