Home » MODDING HQ 1.13 » v1.13 Multiplayer Development & Bug Reports » Improved UI Patch
Improved UI Patch[message #204814] Wed, 24 December 2008 15:15 Go to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Hi Guys,

Ive sort of lurked here for a while and havent really posted much. I just love JA2MP and i've been getting my mates into it a bit. Really just AWESOME work guys, heaps of fun. Big thanks to Haydent, RoWa21 and everyone else whos contributed!

I'd like to contribute something back, Ive been plugging away on an User Interface for JA2MP for the last month or so, and while its not perfect, I think its ready to share with you guys. Please take a look and let me know what you think.

About the UI patch
------------------
The UI patch is designed to improve the process of creating and joining games in JA2MP.
Instead of each player needing to manipulate thier .ini file, these options can now be set
from in-game hosting and joining screens. In Addition the process of finishing a game and restarting
has been streamlined.

I tried not to break any of the existing functionality of MP. The existing join and disconnect commands can still be used, and settings can still be set, and are stored in the .ini file.

Changelog
---------
Build 20081224
- Fixed players disconnecting mid-game
- Added Host Options screen to allow in-game editing of the ini file options
- Added Join screen for in-game entry of the server details
- Added player list / server settings and ready / start button to the map screen
- Added ability to change starting sector, starting edge and team once connected to the server, but before the laptop is unlocked.
- Added ability to randomise starting edge and/or mercs of all players
- Fix : Allow the game to "start" if less than the max number of players connected
- Added Scoreboard at the end of a match to tidy up end of game and restarting.

There is a little bit more info in the readme file.

In the future I'd like to add:

- In-Game server browser and world server
- Improved scoreboard stats
- Auto - Save / Load so that games can be restarted more easily



The package can be downloaded here:
http://www.megaupload.com/?d=3INWB488


I havent jumped into IRC for a game yet but I will sometime early jan, after new years. You guys will probably wipe the floor with me Razz

Until then, Merry Christmas Smile

Cheers,

Zathras


PS. Ive based the patch on the SVN repo from mid november 08, there might be some merging to do but I dont think I would have broken anything. If you guys want me to check in my changes give me a yell. I havent tried yet so I dont know if I need permissions first. In any case I might tidy up my code a bit first Wink

PPS. Sorry for the wall of Text!


Re: Improved UI Patch[message #204818] Wed, 24 December 2008 15:52 Go to previous messageGo to next message
Majek

 
Messages:441
Registered:January 2003
Location: Slovenia
Sounds good. You can break stuff though, if you think you could improve it, don't worry about that.
Re: Improved UI Patch[message #204957] Sat, 27 December 2008 00:12 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
nice. extremly nice, thx

edit: very cool.
looks nice, makes the thing easier to set up for new players Smile there were two issues however:
1) teams didn't work
2) game froze when i accessed my mercs inventory

thx a lot

[Updated on: Sat, 27 December 2008 00:44] by Moderator

Re: Improved UI Patch[message #204959] Sat, 27 December 2008 01:17 Go to previous messageGo to next message
vonluger

 
Messages:16
Registered:November 2008
great job but seem that team deathmatch dont work we can see all player in maps. Thanks anyway it's a very good improvment!
In new version you can add also chat ingame to play ja2 in fullscreen. I like it more than window mode.

[Updated on: Sat, 27 December 2008 12:56] by Moderator

Re: Improved UI Patch[message #205007] Sat, 27 December 2008 16:35 Go to previous messageGo to next message
Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

First, let me say: Real great work! It greatly enhances the comfort of the preparation of a game. I'm really impressed, how many things you have implemented so far.

- Fix : Allow the game to "start" if less than the max number of players connected
-> Thats nice, made problems in some games that the server had to start the game manually.

One question: On which version your EXE is based? I think, now it is important again, that every player has the same version! I will add this in the guide on http://world-of-jagged-alliance.tk/ later then.

Last but not least, i experienced a few bugs yesterday:
  • Already said - teams didn't work, changing them in the list had no effect - but this should be tested some more times
  • Clients who connected immediatly after each other (in the same moment) cause problems: I could not change my own team/edge but the settings of redgun, who connected with me I think. I do not have any idea how to solve this problem / to block the second connection. In older versions this problem appeared in most cases, when a client tries to connect and THEN the server starts, so the client connects in the same moment when the server starts.
  • My game crashed after the game was over (scoreboard?). I used the newest SVN content and your MP-package ([color:#FF0000]never happened again, scoreboard worked fine in the last games[/color])
  • When a client changes team/edge in the overview, on the other clients the letters overlap until this client changes something there too.
  • In CoOp AI should always be enabled or there should be a server-checkbox for AI. At the moment AI must be enabled manually in the INI
  • There is no scoreboard in CoOp-games ([color:#FF0000]edit: there is a scoreboard, but it showed wrong stats. There was no scoreboard in a CoOp-game, when the AI won[/color])
  • Sometimes crashes to desktop when leaving the game with Alt-X in the end, when no scoreboard appeared.
  • Clients have in the beginning a "Start Game"-button and not a "Ready"-button. After clicking the "Start Game"-button it switches to a "Ready"-button.
  • Additionally I connected my PC and notebook and tested some things for a short time. I experienced the bug, that the boxing/knifing system does not work properly. EDIT: It seems, that boxing hits are random on each client (on the one it is a hit with 8 points, on the other with 5 points or maybe NO hit). The new health is synced after each hit from the server I think, not sure.
    -> This is NO important bug at the moment, I think.
That's everything, I think.

Another question: How does your scoreboard work? Does it use the old JA2-score-system (Laptop->mercs->statistics or so)? If yes, maybe it would be possible to implement Shots/Hits/Percentage of Hits/Wounds/etc. into the scoreboard, would be very interesting Smile.

Thank you for that great improvement! Smile

Greets

[Updated on: Mon, 29 December 2008 18:39] by Moderator

Re: Improved UI Patch[message #205021] Sat, 27 December 2008 21:00 Go to previous messageGo to next message
StainedClass

Messages:2
Registered:December 2008
Location: Tulsa, OK

Excellent work on the UI my friend. Not only does it look impressive, it works. Keep it up.
Re: Improved UI Patch[message #205129] Mon, 29 December 2008 16:01 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
@Zathras: After you have fixed the known bugs (Campingkocher mentioned), I would like to include your great work in the official 1.13 source code.

Keep on coding ...



Re: Improved UI Patch[message #205333] Thu, 01 January 2009 14:08 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Thanks guys, some real great feedback, especially on the bugs Smile

@CampingKocher: it is based on the SVN head for JA 1.13, so presumably the latest version of JA2MP and also whatever 1.13 changes since then.

@RoWa21: Sweet, I'll get right on it!

Hope you all had a good new year's celebration, my head still hurts Smile



Re: Improved UI Patch[message #205351] Thu, 01 January 2009 19:44 Go to previous messageGo to next message
Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

Hey guys, happy new year! Smile

============================

A question to RoWa21: Will there be a new release-package replacing the current 2085? 2 or 3 new players in IRC had only 2085 which would not work with this new EXE (new AP-system and the modified XML-files are the biggest problems I think). On the other hand players with new SVN-content cannot use an older EXE to play with older clients.
And it's a bit complicated for both sides to explain SVN and to use it, especially when they downloaded the package already and have to download 300 MB again Wink.

Greets
Re: Improved UI Patch[message #205383] Fri, 02 January 2009 12:39 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
@camping: I could make a package that contains all the changes since the offical release 2085.


Re: Improved UI Patch[message #205471] Sat, 03 January 2009 19:23 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
Campingkocher
Hey guys, happy new year! Smile

============================

A question to RoWa21: Will there be a new release-package replacing the current 2085? 2 or 3 new players in IRC had only 2085 which would not work with this new EXE (new AP-system and the modified XML-files are the biggest problems I think). On the other hand players with new SVN-content cannot use an older EXE to play with older clients.
And it's a bit complicated for both sides to explain SVN and to use it, especially when they downloaded the package already and have to download 300 MB again Wink.

Greets


I have uploaded an Update which contains all the files since official Release 2085.

1.) Install offical Release 2085
2.) Download the ZIP-Package (~14MB) from http://ja2.h758491.serverkompetenz.net/Wanne/113_update_since_2085.zip and extract the package in your JA2 installation folder. Overwrite any existing files.
3.) Start the game with the proper ja2.exe language Executable.

EDIT: I also added language specific ja2.exe (ja2_DE.exe, ja2_EN.exe, ja2_RU.exe, ja2_PO.exe) to the ZIP-Package

[Updated on: Sat, 03 January 2009 19:37] by Moderator



Re: Improved UI Patch[message #205490] Sun, 04 January 2009 00:40 Go to previous messageGo to next message
Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

Thank you very much RoWa21 Smile
Re: Improved UI Patch[message #206183] Mon, 12 January 2009 18:27 Go to previous messageGo to next message
casper1987vd

 
Messages:12
Registered:October 2008
Location: The Netherlands
Very nice job zath!
zath, volunger and me had some nice matches last days Smile

couple bugs i experienced during gameplay:
- no enemies outside the cities / important sectors;
- sometimes i feel moments of out-of-synch (i can hear the footsteps from the other player, untill
he moves the unit that makes that noise);
- when unlocking, hiring units / buying items from br, then lock and unlock again, player gain his
starting funds (cheating ^^);
- random mercs isn't random, but hardcoded?.

suggestions:
- chat asap (alttabbing or 16-bit annoys me, no dualscreen on laptop atm);
- ability for an 24hour server, for gamelobby;

@all: cmon, please come to irc for some action! Very Happy
Re: Improved UI Patch[message #206821] Wed, 21 January 2009 01:58 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
Any news on UI update??


Re: Improved UI Patch[message #207124] Sun, 25 January 2009 01:39 Go to previous messageGo to next message
casper1987vd

 
Messages:12
Registered:October 2008
Location: The Netherlands
I'm curious too, I haven't seen you fellows for a couple of days on irc.
Re: Improved UI Patch[message #207125] Sun, 25 January 2009 01:54 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
i visit the chan at least twice daily. @ what time are u online?
Re: Improved UI Patch[message #207430] Wed, 28 January 2009 20:20 Go to previous messageGo to next message
casper1987vd

 
Messages:12
Registered:October 2008
Location: The Netherlands
various times, sometimes 14:00, sometimes 02:00 am GMT +1.
Yours?
Re: Improved UI Patch[message #207439] Wed, 28 January 2009 21:53 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
always sometimes between 15:00 and 01:00
Re: Improved UI Patch[message #207951] Tue, 03 February 2009 21:01 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
@all: Has anyone of your guys contact with Zathras? Is the UI-Patch he developed quite as stable as the "normal" multiplayer or has it "more" bugs in game?

I contacted Zathras but he does not reply. So if any of your guys have contact with him let me know. I need his UI source code to apply it in the offical 1.13 source.
Thanks!


Re: Improved UI Patch[message #207963] Tue, 03 February 2009 22:41 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
RoWa21
@all: Has anyone of your guys contact with Zathras? Is the UI-Patch he developed quite as stable as the "normal" multiplayer or has it "more" bugs in game?


we've been using the UI patch for gaming now and there are no issues so far. everything seems to work quite neatly. Occasionally there are some sync-jumps (1 or 2 tiles only though) but thats about it, I'd say.

unluckily no way to contact him Sad

edit:
Is it possible to enable enemies automatically when coop is selected?

edit2: while coop
got two errors in a row now: jankula had a fatal error
I got a runtime error stating: assertion error line 101 pop-up-box.....
strange

[Updated on: Tue, 03 February 2009 23:44] by Moderator

Re: Improved UI Patch[message #207985] Wed, 04 February 2009 06:58 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Hey RoWa, sorry I havent been in contact. I had a really bad crunchtime at work the last few weeks and havent had time to do much else. Also I just found out where the private messages are on the forum Smile

Ive fixed a couple of the bugs mentioned. I'll fix a few more then make another patch, hopefully by the end of next week. If that looks good then we can merge it Smile


Re: Improved UI Patch[message #208001] Wed, 04 February 2009 12:37 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
Nice. Keep up the good work.


Re: Improved UI Patch[message #208501] Tue, 10 February 2009 14:41 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Hey guys, im making progress, so far ive fixed:

- 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 and the scores on the Co-op scoreboard have been fixed.
- Start Game button now only appears for server
- Fixed cleaning up game resources on disconnection
- Disabled the 1,2,3,4 buttons for connecting / disconnecting

I also added in-game chat so we can all play in fullscreen now Smile

I still have a couple issues to go:

- One is the debug assertion in popup at line 101 that sometimes happens when players access the inventory. Try as I might have only been able to produce this once, at a time when i was not debugging :/

If you guys that have experienced it could tell me the things you clicked on just before it happened that would be great.


Also, as as Casper said, the random merc's arent really random. To try and make it a bit more balanced, at the moment there are four premade teams, and the players get those randomly. These teams are atm:


Team 1: Gus , Shadow, Spider , Raven , Vicki , Red , Meltdown
Team 2: Magic , Scope, Danny , Lynx , Hitman , Steroid , Malice
Team 3: Reaper , Trevor, Cliff , Buzz , Cougar , Nails , Buns
Team 4: Scully , Ivan , Dr Q , Thor , Len , Wolf , Blood

Would you guys prefer truly random mercs?

Anyway, its looking good. I'll release as soon as I fix that inventory bug.


Re: Improved UI Patch[message #208502] Tue, 10 February 2009 14:56 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
Sounds great!!!

I have some questions about the ingame-chat:

1. Can I choose to which client (or team-mates) I want to send the message? Or do all clients get the message?

2. Is the chat functions always active (in laptop screen, strategy, tactical)

3. Do I have to press a specific button or key-command for activating chat

4. Is there a new GUI for chat or do they appear where current log messages appear (in strategy in the lower left corner, and in tactical above the interface)?

PS: If you release, I want the source to include it in 1.13 Very Happy

[Updated on: Tue, 10 February 2009 14:57] by Moderator



Re: Improved UI Patch[message #208504] Tue, 10 February 2009 15:21 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
You press the y key to open the chat window, its a simple text input with options to send to allies only or to send to all (default). The messages go where they normally would, to the log in the mapscreen and to where text notifications go in the tactical screen, like when a merc hears a noise.

Chat always works in mapscreen and in tactical, but not laptop screen. You can send messages when its not your turn (also when it is Smile.

[Updated on: Tue, 10 February 2009 16:59] by Moderator



Re: Improved UI Patch[message #208512] Tue, 10 February 2009 16:51 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
Very nice.

[Updated on: Tue, 10 February 2009 16:52] by Moderator



Re: Improved UI Patch[message #208516] Tue, 10 February 2009 17:45 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
very nice indeed
Re: Improved UI Patch[message #208722] Thu, 12 February 2009 23:53 Go to previous messageGo to next message
Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

Sounds really impressing, thank you Smile

Greets
Re: Improved UI Patch[message #208792] Sat, 14 February 2009 01:20 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Hey guys, decided to postpone release another week to hammer out some more bugs that cropped up in testing.


Re: Improved UI Patch[message #208806] Sat, 14 February 2009 12:27 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
@Zathras: Take your time. We all will be happy if you fix some known bugs.


Re: Improved UI Patch[message #209024] Wed, 18 February 2009 16:52 Go to previous messageGo to next message
casper1987vd

 
Messages:12
Registered:October 2008
Location: The Netherlands
Nice work Zathras, very nice work!
I've barely got time lately, only in weekends.

Is it a possibility to make some global servers, so they will get listed in a lobby (future feature)?
This would be awesome, cause there aren't many people lately on IRC, max 2 in 2 hours last day, but this is redundant when all mp-players know the channel.

Keep up the nice work buddy!
Re: Improved UI Patch[message #209026] Wed, 18 February 2009 18:34 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
somehow you must have missed us.
the swedes, mati and me have been playing pretty regularly lately.
yesterday we spent a couple of hours Smile
Re: Improved UI Patch[message #209365] Wed, 25 February 2009 17:37 Go to previous messageGo to next message
RoWa21

 
Messages:2003
Registered:October 2005
Location: Austria
@zathras: Any news on your UI update?


Re: Improved UI Patch[message #209460] Fri, 27 February 2009 11:41 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Its pretty close, Ive just been too busy to work on it this week.


Re: Improved UI Patch[message #209535] Sun, 01 March 2009 02:46 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
i can happily promise that i will have more time for gaming this week. work has been more than enough last week
Re: Improved UI Patch[message #209834] Fri, 06 March 2009 18:57 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
suggestion for future release:

block all menus (laptop, options, chat, etc, inventory, etc) when the player pressed 'ready' but the game hasn't started yet.
otherwise it crashes when the game starts while one is in one of the menus
Re: Improved UI Patch[message #209929] Mon, 09 March 2009 06:55 Go to previous messageGo to next message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Yeah, caught that one mate. I should release this weekend.


Re: Improved UI Patch[message #210032] Wed, 11 March 2009 02:11 Go to previous messageGo to next message
redgun

 
Messages:190
Registered:March 2007
Location: Austria
hmmm, i hope i have time to test. walp infected me with the QL fever, so all i do is quakin, trying to get my Arena Skills back. :/ :/

[Updated on: Fri, 13 March 2009 01:27] by Moderator

Re: Improved UI Patch[message #210044] Wed, 11 March 2009 12:51 Go to previous messageGo to next message
Campingkocher

 
Messages:45
Registered:June 2007
Location: Germany

Till April I have much time for testing, but there are too less people in IRC most of the time Sad.

Yesterday with walp (server) I had some strange disconnects. Wo do not know exactly the reason. I tried to chat, the message did not arrive and some seconds later I got the message that I was disconnected.
Did not happen in a game with redgun (server) and walp two days ago, maybe the connection was not very stable yesterday?! Very strange.

All in all, it works very well now, thank you for that great work.

Greets
Re: Improved UI Patch[message #210336] Mon, 16 March 2009 11:31 Go to previous messageGo to previous message
Zathras

 
Messages:44
Registered:December 2008
Location: Sydney, Australia
Hey guys, whats that old saying, two steps forward, one step back!? Smile

I'm pretty close to releasing but I broke the victory conditions when i was *fixing* them. As soon as I fix that i'll do up a release.

In the meantime, i re-wrote the chat on the weekend to include a history while in-game as it was disappearing off the screen after a few seconds. heres some teaser shots:

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

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

Sorry for ze long wait


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


Current Time: Fri Jun 05 15:12:49 EEST 2020

Total time taken to generate the page: 0.02225 seconds