Commit Graph
94 Commits
Author SHA1 Message Date
Charles Lohr 842a973831 Added active player list to make ScreenNetEvaluation easier to deal with. 2004-08-29 23:36:16 +00:00
Charles Lohr be7eccbae3 Worked around the PlayerNames to decrease game-time scoreboard updates. 2004-08-29 17:15:10 +00:00
Charles Lohr 98f93121ab OOPS! didn't mean to put it on the menu. 2004-08-29 06:44:36 +00:00
Charles Lohr 6f0f39028a Added DifficultyMeter to ScreenNetSelectMusic. 2004-08-29 06:35:01 +00:00
Charles Lohr a72ac09f46 Added LUA query (did I do it right)... and added metrics to nice up the chatting. 2004-08-28 22:53:12 +00:00
Charles Lohr 9d19537ecf Added LUA query 2004-08-28 22:50:43 +00:00
Charles Lohr d24ce00ac2 Note user about connecting to himself. 2004-08-28 22:50:19 +00:00
Charles Lohr ffc99a4648 Added server options to ScreenNetworkOptions 2004-08-28 22:12:56 +00:00
Charles Lohr 08915de430 Performance increase: Send size and actual packet at once. This causes about 40% less total packets to be sent. 2004-08-28 21:33:22 +00:00
Charles Lohr 810c039181 Fix: if you unsign a negetive number, it becomes positive, and chat breaks. 2004-08-28 15:29:31 +00:00
Charles Lohr d0c5585cfb Oops - fixed dumb errors. 2004-08-28 04:43:29 +00:00
Charles Lohr 3903354786 Added server-automated song selection. 2004-08-28 03:37:52 +00:00
Charles Lohr 16013b0723 Fixed chatting issue. 2004-08-27 14:18:42 +00:00
Charles Lohr 75b77ad650 Added a command to get the vector of the lines of text. 2004-08-27 13:38:39 +00:00
Charles Lohr ecb4df80a0 Allow for forced new lines when wrapping. Did I do this right? 2004-08-27 12:49:25 +00:00
Charles Lohr f1f808ee2c BGAnimations requierd by ScreenNetSelectMusic 2004-08-26 20:17:09 +00:00
Charles Lohr 99ea3b5ced Font used for ScreenNetSelectMusic 2004-08-26 20:11:08 +00:00
Charles Lohr 1d688ea36e Updated metrics for ScreenNetSelectMusic 2004-08-26 20:01:27 +00:00
Charles Lohr 79f706f252 Added sound redirs for ScreenNetSelectMusic 2004-08-26 20:00:23 +00:00
Charles Lohr d9da39b28c Chat works, and now ScreenNetSelectMusic actaully works like it should. 2004-08-26 19:43:25 +00:00
Charles Lohr b3e23e2201 Reverted change to control ScreenSelectMusic 2004-08-26 08:52:26 +00:00
Charles Lohr 6f8b89d855 Fixed searching for last played song. 2004-08-26 08:47:56 +00:00
Charles Lohr 4fc0495423 Addition of ScreenNetSelectMusic. 2004-08-26 08:06:22 +00:00
Charles Lohr e73f3a606b Metrics for new ScreenNetSelectMusic. 2004-08-26 07:52:10 +00:00
Charles Lohr 7f5644fc8d Added Sending Options info to server on start. 2004-08-22 08:03:19 +00:00
Charles Lohr 7f93ed3efe Added behind-the scenes metrics for Network Options, they do not appear on any options lists. 2004-08-22 07:42:04 +00:00
Charles Lohr 6c34abf843 Fixed "Fix" and undid that SM_NET message thing, as per glenn's request. 2004-08-18 05:16:45 +00:00
Charles Lohr 0decd5c7eb ScreenMessaged' some stuff, and now shows "Initilizing Network" when attempting to connect to server on start. 2004-08-18 01:02:06 +00:00
Charles Lohr c547fa8ebd FIX: Core dump on failed name lookup. 2004-08-18 00:44:56 +00:00
Charles Lohr d6574944bf This will be necessiary for ScreenNetworkOptions 2004-08-16 21:23:48 +00:00
Charles Lohr d8320fedb4 FOREACH_PlayerNumber() should be FOREACH_GameController() 2004-08-16 18:21:34 +00:00
Charles Lohr 472f2752fa BUGFIX: Make sure all data exits sendbuffer before proceeding to blocking wait. 2004-08-16 07:40:22 +00:00
Charles Lohr e431570722 Changed around player info stuff so it actually makes sense now.
Also... Made it so it reports who'se playing.
2004-08-16 06:55:21 +00:00
Charles Lohr 1fe0f5b783 Don't trust Swap32BE/LE functions. They only work most of the time. 2004-08-14 16:57:00 +00:00
Charles Lohr 14bd8ff132 Fixed metrics warning regarding ScreenProfileOptions 2004-08-14 07:57:25 +00:00
Charles Lohr 09ddbed884 Made some fixes, and changed protocol for Scoreboard (Josh pointed out some optimizations)
Umm... I have never had to deal with conflicts before. I don't know if I did this right.  If I made a mistake on committing, please tell me.
2004-08-14 07:14:43 +00:00
Charles Lohr 15c6723c10 Only proceed when proper handshake is received 2004-08-13 21:03:22 +00:00
Charles Lohr 7ffbfe402b Made profiles actually be checked. 2004-08-13 20:57:04 +00:00
Charles Lohr 983c7c8736 Oops.. Scoreboard updates will jumpstart game. 2004-08-13 20:20:10 +00:00
Charles Lohr a1b3e3b193 Added message for if a user is dropped from a server. 2004-08-13 09:20:55 +00:00
Charles Lohr 95f896e68e Oops... Fixed 100% all the time crash I made. 2004-08-13 08:40:53 +00:00
Charles Lohr fef23248ea Fixed player 1's positions 2004-08-13 08:26:07 +00:00
Charles Lohr c260cb775a Code to be used for in-game scoreboard 2004-08-13 08:24:11 +00:00
Charles Lohr 7b26760770 Font for In-Game scoreboard 2004-08-13 08:19:36 +00:00
Charles Lohr 82ee549660 Added metrics for in-game scoreboard updates.
NOTE: These will not even be read unless NSMAN is active and connected.
2004-08-13 08:18:38 +00:00
Charles Lohr 5929cf4e49 Added hit offset, for better statistics for SMLAN/SMOnline. 2004-08-10 06:39:25 +00:00
Charles Lohr 8bdc2d1ffb Tween out title and artist. 2004-07-24 03:29:45 +00:00
Charles Lohr 0d4dde7dcd Fixed part of the XBOX problem.
XTL needs to be included somewhre, but I don't know the details.
Renaud, if you could just include that in whever it is necessiary.
2004-07-20 04:07:06 +00:00
Charles Lohr 7715553d35 Made BPM display and Current max combo display use their on/off commands. 2004-07-18 17:16:57 +00:00
Charles Lohr 5e17b292eb Fixed crash if waiting for data and disconnected. 2004-07-18 17:16:02 +00:00
Charles Lohr cd181d5d1d Fixed page 2 explanation and more on page 1. 2004-07-18 07:23:43 +00:00
Charles Lohr 43c687b611 Check Lights-type by default. 2004-07-16 15:55:33 +00:00
Charles Lohr cf5577455a Differentiated between starts. Added course support. Fixed course Crashing bug. 2004-07-15 16:17:41 +00:00
Charles Lohr 4d6409ebaf Fixed connect. 2004-07-12 16:06:33 +00:00
Charles Lohr 2eb9be6f19 Added Para Versus Gametype. 2004-07-10 18:22:26 +00:00
Charles Lohr b08377016e Font metric used by every EZ2 Select Music Screen based gametype. 2004-07-06 18:07:58 +00:00
Charles Lohr f12a8ea8e6 Fixed two little bugs regarding server connecting client. 2004-07-04 06:30:16 +00:00
Charles Lohr ab7f6de1e3 Cleanup (removing useless comments) 2004-07-04 06:29:39 +00:00
Charles Lohr 22e0c9d674 Added rudamentry testing code for in-game networking 2004-07-04 05:06:55 +00:00
Charles Lohr 34075a1162 Fixed some bugs dealing with non-blocking sockets 2004-07-04 05:03:44 +00:00
Charles Lohr cac98a3d12 Made the sink metric cached. (for speed) 2004-07-02 19:06:11 +00:00
Charles Lohr 66b1763049 Added ReceptorNoSinkScoreCutoff =
to prevent arrows from sinking on certain notes.
2004-07-02 01:24:11 +00:00
Charles Lohr 8c1012533c Fixed some bugs. 2004-07-01 18:41:04 +00:00
Charles Lohr b5114721c1 Removed Send Songs to Server 2004-06-30 07:24:35 +00:00
Charles Lohr 0edb51a840 New Protocol, but still buggy.
Removed SendSongsToServer.
2004-06-30 07:16:44 +00:00
Charles Lohr 4428ede624 Fixed net-order stuff, and readpack function. 2004-06-30 07:16:08 +00:00
Charles Lohr 8a265cf7cc Modified to add ScreenNetworkOptions 2004-06-02 22:45:19 +00:00
Charles Lohr 308872ddc6 Screen with two extra networking options (this will expand as networking increases) 2004-06-02 22:39:45 +00:00
Charles Lohr 7729bf48b7 New version of ezsockets for future network features. 2004-05-24 13:59:05 +00:00
Charles Lohr 2dc648220c Added fallback for Jukebox screen. 2004-05-20 08:21:05 +00:00
Charles Lohr 9bf8ca2362 Added functionality to gameplay cabinet lighting code. 2004-05-20 07:44:57 +00:00
Charles Lohr 93cfad5125 Moved current grade to half of health int. 2004-05-05 05:41:51 +00:00
Charles Lohr 0dba590547 Report additional information to server (Meter and Grade) 2004-05-05 03:46:28 +00:00
Charles Lohr fc5c3ad589 Placed command lines in. And put in support to make a in-game connect
or disconnect for connect to SM Server.  (If it ever comes up)
2004-04-30 04:34:39 +00:00
Charles Lohr fc45e2d051 Fixed command-line arguement for --course=[coursename] 2004-04-29 01:26:47 +00:00
Charles Lohr 858b3fa587 Networking now tells user if connection was successful or unsuccessful. 2004-04-29 01:03:28 +00:00
Charles Lohr e536980db8 Network no longer attempts to sync Demonstration mode. 2004-04-28 01:25:44 +00:00
Charles Lohr 456e3ba47d Removed extra LOG->Info that was useless. 2004-04-20 02:36:39 +00:00
Charles Lohr 87b5df67a6 Removed extra LOG->Info that wasn't needed. 2004-04-18 00:32:03 +00:00
Charles Lohr 3f63f6c60e Added --Course command, and a command to send all songs to server
so the server can index them for gameplay for SMOnline.

I am not sure if I did the Course setup properly.  If I did not, feel free to fix
it or... if you don't feel like it, I'm sure I'll figure it out after a while.

I left a lot of notes in... I am not sure what style of code you want,
at what point you want me to submit, if I am doing any of this wrong
please just tell me, and I'll try to be more useful.
2004-04-17 22:26:37 +00:00
Charles Lohr 16e5e7bb68 I have added some command-line processing. Look at the bottom of
StepMania.cpp for it.  I have also moved the connect stuff out of the
NetworkSyncManager constructor, so it doens't do ANYTHING unless
it's in the command-line args.  Also, now NSMAN works by the '--NETIP='
flag.
2004-04-15 15:31:59 +00:00
Charles Lohr 4b7c6521ad I changed the way StepMania connects to an IP or listens to something that
makes way more sense.  StepMania.exe -NETIP:[IP]  and added support
for reading profile names (for LAN).  The LAN looks very stable at this point.
2004-04-14 20:39:58 +00:00
Charles Lohr be6a396bab I added a second checkpoint for starting to prevent DeadOnStart issue. 2004-04-06 02:05:34 +00:00
Charles Lohr 12e48f9ce2 Sorry, I figured out what they were doing and why it didn't work
I made it work. in VC++
2004-04-05 21:15:54 +00:00
Charles Lohr 5580bac586 Network Sync manager updated to fix extra 0 on start bug. 2004-04-05 15:44:30 +00:00
Charles Lohr 6b8f53f4cb ezsockets resynced to match our current version we're using for the server. 2004-04-05 15:43:33 +00:00
Charles Lohr 648dd0eeb9 Someone used the FOREACH_EnabledPlayer( pn ) on my setting of the life for Network play.
This is the improper way to do it, and caused a compile error.  I set it back and left a note.
2004-04-05 15:37:03 +00:00
Charles Lohr e37a71d7a7 Josh and I decided that it was not worth it to keep the Flash stuff in here.
We got rid of it to keep the class running much faster.
2004-04-01 16:25:36 +00:00
Charles Lohr b31fd636ff Fixed linux compile error.
Modified for Macromedia Flash Support.
2004-03-31 04:18:44 +00:00
Charles Lohr a96e8ba5dd I added some support to make the client act as a pseudo-server.
I'm doing this so it might be possible to have SMOnline written entirelly in Flash.
2004-03-30 20:13:22 +00:00
Charles Lohr 4cd8d6b6f3 I added life and Macromedia Flash XMLSocket Support. 2004-03-30 05:50:36 +00:00
Charles Lohr c98579d478 I had to modify the protocol, so that the client knew what version the server is.
This way I can begin to develop more complex protocols.
2004-03-25 15:08:07 +00:00
Charles Lohr 4af6c609f9 These are the files necessiary for making the network work. 2004-03-16 22:34:48 +00:00
Charles Lohr a25514777a I have modified SM files to add network support.
I tested this under linux AND windows.
There should be no issues, if there is, feel free
to use AIM to IM me at CNLohr, or email me,
[email protected].

I modified the .dsp and Makefile.am only to add
networksyncmanager and ezsockets.

I added some startup code to stepmania.cpp,
so that if the user does not desire network support
none will be enabled.

Scorekeeper and screengameplay are modified
so that information can be sent to the server as
well as allowing the game sync to work.

Thanks.
2004-03-16 22:10:45 +00:00