Home » MODDING HQ 1.13 » v1.13 Multiplayer Development & Bug Reports » Improved UI Patch
Re: Improved UI Patch[message #210340] Mon, 16 March 2009 12:09 Go to previous messageGo to next message
walp is currently offline walp

 
Messages:10
Registered:February 2009
Location: Sweden
All hail the mighty king! :thumbsup:

The new bug fixes are awesome! Very Happy

Report message to a moderator

Private
Re: Improved UI Patch[message #210341] Mon, 16 March 2009 12:16 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@zathras: Nice work. Waiting for the source to include in 1.13 Smile

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210349] Mon, 16 March 2009 14:19 Go to previous messageGo to next message
Campingkocher is currently offline Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

I think I may say: Holy Shit! Wink

Great work, exciting.

Greets

Report message to a moderator

Corporal
Re: Improved UI Patch[message #210531] Thu, 19 March 2009 07:06 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
@RowA21: sent you the code man Wink

Report message to a moderator

Corporal

Re: Improved UI Patch[message #210547] Thu, 19 March 2009 12:02 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
I am proud to present you 'Zathras' improved Multiplayer UI Smile
Please download the RAR-Package from
http://ja2.h758491.serverkompetenz.net/Wanne/MP/ja2mp_ui_090319.rar
and extract it in your JA2 folder. Overwrite any existing files. Then test the new multiplayer.

Please give me and Zathras feedback. If it works nice I am going to include it in the official 1.13 source code ASAP.

Here is the changelog from Zathras:

New Features
- Added hits, misses, accuracy to scoreboard
- Added in-game chat with history
- Added more options from the ini to the host screen, Use NIV and Enable
civillians
bugfixes
- Clients connecting at the same time controlling the wrong client
- Team Deathmatch working again
- Refreshing the player list after a player changes team / edge
- AI is always on for Co-op now
- There is now always a scoreboard in Co-op even when you lose.
- scores on the Co-op scoreboard have been fixed for all deaths including
bleeding
- Start Game button now only appears for server
- Fixed cleaning up game resources on disconnection
- Disabled the 1,2,3,4 keys for connecting / disconnecting
- Fixed victory conditions for all game modes
- Fixed players names getting copied into TeamTurnString each game resulting
in multiple names
- Fixed Assertion bug caused by the game sometimes calling
SetCurrentWorldSector more than once before placement of mercs
- Fixed a bug that was possible when merging items such as M14 and EBR stock
on mapscreen.
- Fixed bug with game starting while a player was in chat, closes chat
window when game is starting
- Fixed bug with game starting while a player was in the options screen, if
the player leaves the mapscreen while ready, they are set to unready
- Team and Spawn direction popups changed to use buttons to open/close them
- Disabled players joining after the laptop has been unlocked, as they would
be out of state with any hires

Thanks again Zathras for doing this great work!


EDIT: Is "irc://quakenet/ja2-multiplayer" still valid for meeting other players?
I would like to test it out today. So I hope we meet each other there for great games.

[Updated on: Thu, 19 March 2009 12:34] by Moderator

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210555] Thu, 19 March 2009 14:02 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
awesome. Hi5 - great work. downloading now.

#ja2-multiplayer is correct
edit: btw I'm online and ready for some testing now Smile

[Updated on: Thu, 19 March 2009 14:04] by Moderator

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210573] Thu, 19 March 2009 15:49 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
I uploaded the RAR-Package again. It now contains ALL the JA2 1.13 MP UI files.

@redgun: I have time in the afternoon in about 3-4 hours.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210574] Thu, 19 March 2009 15:51 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
Just played a couple of games with zath. works great. ill be away from 16:00 - 18:00. from then on i have loads of time.

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210578] Thu, 19 March 2009 16:21 Go to previous messageGo to next message
Campingkocher is currently offline Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

Till 19:00 I have time for testing too.

Thanks for these many new updates, great Smile

Report message to a moderator

Corporal
Re: Improved UI Patch[message #210587] Thu, 19 March 2009 17:01 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@all: I just merged Zathras code with the 1.13 source code. I will upload a new EXE for testing soon.

EDIT: Merge is done and I uploaded a new ZIP-Package. Please test with this version, because it also contains the latest 1.13 fixes:

http://ja2.h758491.serverkompetenz.net/Wanne/MP/ja2mp_ui_090319_rev2628.zip

[Updated on: Thu, 19 March 2009 17:32] by Moderator

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210621] Thu, 19 March 2009 20:53 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@all: I am currently online in irc://quakenet/ja2-multiplayer and still waiting for someone to play...

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210635] Thu, 19 March 2009 22:16 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
check for typos pls, cause we are in irc://quakenet/ja2-multiplayer too.

copied the url from the chat, so thats the one :/

btw: the max_merc limit doesnt seem to be working anymore. apart from that everything is awesome

[Updated on: Thu, 19 March 2009 22:18] by Moderator

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210638] Thu, 19 March 2009 22:46 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Weird, I am sure I entered "irc://quakenet/ja2-multiplayer" in my browser...
Now I cannot connect anymore....

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210639] Thu, 19 March 2009 22:53 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
http://ggcor.gg.funpic.de/Page/links.html
or come online in icq

[Updated on: Thu, 19 March 2009 22:54] by Moderator

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210644] Thu, 19 March 2009 23:08 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
nvm.

[Updated on: Fri, 20 March 2009 14:36] by Moderator

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210719] Fri, 20 March 2009 18:49 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Waiting in IRC to play some games ...

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210723] Fri, 20 March 2009 20:33 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
redgun
check for typos pls, cause we are in irc://quakenet/ja2-multiplayer too.

copied the url from the chat, so thats the one :/

btw: the max_merc limit doesnt seem to be working anymore. apart from that everything is awesome


FIXED in svn source code. It seems that it got lost by some merging operations.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210896] Mon, 23 March 2009 14:50 Go to previous messageGo to next message
walp is currently offline walp

 
Messages:10
Registered:February 2009
Location: Sweden
Hi Zath, RoWa and everyone else!

Me Campingcocher and Redgun just crashed the game with a strange bug :/

Runtime Error

Assertion Failure [Line 736 in function StartInterrupt in file .\TeamTurns.cpp]

(ubFirstInterrupter) > (MAX_NUM_SOLDIERS) but should be less than or equal


We were playing 3 ppl with 6 mercs each, and Redgun noticed that there were civilian activity on a non-civilian map! And then the interrupts starting to go FUBAR and finally the game crashed. Sad


Just to let you know!

\walp

Report message to a moderator

Private
Re: Improved UI Patch[message #210903] Mon, 23 March 2009 15:45 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
It could be that the Assertion which is valid for single player is not valid for multiplayer. We have to take a closer look at this.

I never played a multiplayer game with more than 4 merc each. So maybe the game has problems when having more merc for each player.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210905] Mon, 23 March 2009 16:05 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
actually we did play with 6 mercs each sometimes. But that was just a couple of times, so we might have not experienced all the things that could cause a bug

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210906] Mon, 23 March 2009 16:40 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@redgun: OK, maybe you can find out what causing this bug. That would be very helpful for fixing.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210909] Mon, 23 March 2009 18:32 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
Yeah, I'll try to reproduce that

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #210924] Mon, 23 March 2009 20:56 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
A few suggestions/improvements to the MP UI patch that would be nice:

CHAT:
- Change chat text to a unique color (e.g: blue) instead of green. So chat messages can easily be seen in tactical. Also in strategy log the chat messages are seen more easily.
- Allow to move fast through the chat messages when you move the scrollbar slider. It would also be nice to move to the first or last chat message by pressing "POS1" / "END" on the keyboard and to move through pages by pressing "PageUp" / "PageDown"

SERVER SETTING SCREEN:
- There should be an option to place MAXIMUM enemies (32 enemies) on the selected map. Because COOP is too easy with only the enemies that are placed on the map.

CONTINUE AFTER BATTLE STATISTICS:
- When the server clicks on continue everything is fine and you are back in the strategy screen for another game.
But when you are the client the connetion is lost to the server and after a few seconds in the strategy screen you automatically are redirected to the main menu screen.

[Updated on: Mon, 23 March 2009 22:01] by Moderator

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210954] Tue, 24 March 2009 02:25 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Good Idea about the new co-op setting! It can be quite boring on some maps even on insane.

Yeah that silderbar on the chatbox is supposed to work as well as the one on the mapscreen, yet there is some conflict in the mouse regions thats stopping it getting called when the mouse is dragged. I spent a bit of time looking at this but i'll try and sort it out. In the meantime, it works if you left-click lots on the slider, in the direction you want to go.

The continue after the battle statistics does work, but only if the server presses it first, otherwise when the client reconnects, it is connecting to the old game which already started. I guess I could make it so that it just resets everything that needs to be without disconnecting and reconnecting.

Never noticed civies on a non-civie map before. I'll have a look at this first. We dont usually play with so many mercs, but as redgun said we've done it a couple times with no probs. Which sector was this, do you remember?

Finally got my svn access today Smile

I'm pretty busy this week, wont have much time to do anything until the weekend.

Some good feedback guys, keep it coming! Smile

Report message to a moderator

Corporal

Re: Improved UI Patch[message #210966] Tue, 24 March 2009 10:06 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Zathras

The continue after the battle statistics does work, but only if the server presses it first, otherwise when the client reconnects, it is connecting to the old game which already started. I guess I could make it so that it just resets everything that needs to be without disconnecting and reconnecting.


What about disabling the "Continue" button until the server has pressed continue. Then it should be enabled on all the clients. Maybe this is easier to implement.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #210988] Tue, 24 March 2009 15:16 Go to previous messageGo to next message
Campingkocher is currently offline Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

walp
Hi Zath, RoWa and everyone else!

Me Campingcocher and Redgun just crashed the game with a strange bug :/

Really? I left the game after some turns, maybe that killed the game?

Report message to a moderator

Corporal
Re: Improved UI Patch[message #211060] Wed, 25 March 2009 07:22 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
RoWa21
What about disabling the "Continue" button until the server has pressed continue. Then it should be enabled on all the clients. Maybe this is easier to implement.


Good Idea, That would be much easier!

Report message to a moderator

Corporal

Re: Improved UI Patch[message #211136] Wed, 25 March 2009 23:26 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
I have just written a small test application to transfer files from server to clients. It works fine.

The next step is to include it in 1.13 multiplayer. If this works, we can sync INI and XML files from the server to all clients.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #211167] Thu, 26 March 2009 12:40 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
I'm not sure if this is too complicated, but maybe its a good idea to run a checksum test first, to see if the files are modified.

Is it possible to compare (and download) the files to (from) the SVN server?

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #211171] Thu, 26 March 2009 12:54 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Lol Redgun, you just beat me to the punch while I was typing in the other thread. Checking the files against the SVN wouldnt make much of a difference, but makes it much more complicated. Might as well do it against the host, that way its possible to some level of mods. We should ensure all players have the same version.

Report message to a moderator

Corporal

Re: Improved UI Patch[message #211180] Thu, 26 March 2009 16:01 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
yes, and we should also ensure, that the host can't mod the xmls. otherwise there's the theoretical case of the host modding a bad weapon to be awesome and only he knows about it....

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #211183] Thu, 26 March 2009 16:35 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Well if all clients send thier checksums to the server for checking, all the clients will appear to be out of sync with the server, and hence the players will know the server has the modified files.

We could either block the game from starting, or use RoWa's new method to download files that the client dosent have the same version of the server to a "session" xml directory or something.

Definitely I want to add .exe version checking soon, I have an idea to tie this into game server browsing though.

Report message to a moderator

Corporal

Re: Improved UI Patch[message #211189] Thu, 26 March 2009 18:29 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
I think we make a new folder called "TableData_MP" inside the Data-1.13 folder. After a client clicks on the "Join" button, the server sends all files from the "TableData_MP" to the client.
The client automatically saves the received files in its "TableData_MP" folder.

After that is done we initialize the game with the files from "TableData_MP". If there are files that do not need to be synced and so they are not in the "TableData_MP" folder we simple take the file from the "TableData" folder.

Any suggestions/improvements on my theory?


Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #211194] Thu, 26 March 2009 20:14 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
there should be some kind of display if the hosts files are modified, so if it is possible some checksum with the official SVN build

[Updated on: Thu, 26 March 2009 20:15] by Moderator

Report message to a moderator

Staff Sergeant
Re: Improved UI Patch[message #211201] Thu, 26 March 2009 21:59 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
An improved idea from scorpion and me on the file transfer stuff:

Maybe the server has a text file (ini, xml), in which we can define all the files (or complete folders) that need to be transfered to all the clients. On the client side all the files get a "_MP" suffix and go directly into the correct folder (e.g. Tabledata, Maps, ...).

Ingame, first we try to look for a "*_MP" file. If that file is not found we take the orginal one.

No need for the server to have the "_MP" suffix. It uses the "original" filesnames. So on the server side we do not need to copy/paste and rename the files with a "_MP" suffix. Instead we just read from the text file which holds all the files that needs to be transfered.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #211239] Fri, 27 March 2009 02:30 Go to previous messageGo to next message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
We should only download files which are different from ours, easy to MD5 hash check them. There is nearly 5 meg of data in Tabledata uncompressed. We dont want to slow down the process of starting a game too much, especially if we have to grab a map too.

I think same-directory is good method. But we need to split the files into two categories:

_MP extension:
- base MP files for rebalancing mp seperate from singleplayer
- can be modified by an individual server if they wish, they could install a "mod"
- overrides normal XML data or Map
- server hosts game with this data

_MPTMP extension:
- temporary files downloaded by a client from a server if the server has modified files
- overrides an _MP file

We have two options for MPTMP files, we either delete them every time we connect to a new host..(maybe not maps as these hardly change)

- or -

We keep them, only overwrite them when we download a file which is different on the server, but they only override an _MP file if it needs to because it is different. Because there may still be some MPTMP files from a previous host, which modified more settings than the current host.

The advantage of this is that if there is less downloading in future if we reconnect to a host which has modified a lot of files.

[Updated on: Fri, 27 March 2009 02:31] by Moderator

Report message to a moderator

Corporal

Re: Improved UI Patch[message #211461] Sun, 29 March 2009 22:33 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@all: We can now send files from server to all clients Smile

I just made a simple test to transfer 2 hard-coded files from the server to the cliens. Works fine.

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #211494] Mon, 30 March 2009 09:07 Go to previous messageGo to next message
walp is currently offline walp

 
Messages:10
Registered:February 2009
Location: Sweden
Awesome Rowa! Very Happy

Im looking trough the interrupt-thingy now.

Also, is it possible to run two instances of Ja2 on one computer? Or do I need my laptop or so? :/
(for testing that is..)

Report message to a moderator

Private
Re: Improved UI Patch[message #211503] Mon, 30 March 2009 11:12 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
walp
Awesome Rowa! Very Happy

Im looking trough the interrupt-thingy now.

Also, is it possible to run two instances of Ja2 on one computer? Or do I need my laptop or so? :/
(for testing that is..)


You can run 2 or more instances on a single PC. You just have to make a JA2 1.13 installation for each client on your harddisk. Then you can start the EXE in each of your client installations.
This is awesome for debugging 4 clients on a single PC Smile

EDIT: It is also possible to debug all instances. Just copy the source code for each client on your PC and point the executable from the source code to the correct client JA2 root folder. Set breakpoints on the interesting line in the source code projects. Then start each JA2 source code project in debug. Happy debugging Smile

PS: You should switch your Desktop to 16 BIT and you should enable windowed mode.

[Updated on: Mon, 30 March 2009 11:16] by Moderator

Report message to a moderator

Sergeant Major

Re: Improved UI Patch[message #211816] Wed, 01 April 2009 18:04 Go to previous messageGo to previous message
Zathras is currently offline Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
This is brilliant! I set up four projects / solutions using the same source files and if I change code in one vstudio window it updates in all the others. Will make debugging much easier as previously it has been a pain when you stop to debug something and you get disconnected from the game. I did run debug on my laptop and my pc but always had to copy files and rebuild.

*EDIT* screenie

http://users.tpg.com.au/owigg/debugging_ja2mp_smaller.jpg

Bugs, I'm coming to get you!

[Updated on: Fri, 03 April 2009 04:22] by Moderator

Report message to a moderator

Corporal

Previous Topic: Weapons / Item balance improvement
Next Topic: multiplayer bug reports
Goto Forum:
  


Current Time: Fri Mar 29 07:33:01 GMT+2 2024

Total time taken to generate the page: 0.03798 seconds