Runboard.com
Слава Україні!

runboard.com       Sign up (learn about it) | Sign in (lost password?)

Page:  1  2  3 

 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released!


I'm currently working on the documentation of this game so new players to this game can play it. I will release it in Version 1.0.0.4
3/7/2009, 6:59 pm Link to this post Send Email to beat2k   Send PM to beat2k
 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released!


Just released V1.0.0.4 with HTML Help included! I also have fixed some more bugs with multiplayer..
3/8/2009, 1:11 pm Link to this post Send Email to beat2k   Send PM to beat2k
 
GlitchSCG Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator

Registered: 01-2005
Posts: 347
Karma: 6 (+7/-1)
Reply | Quote
Re: Army Battlefront BETA Released!


It does work on my XP machine, but no luck yet on the Vista computer!
3/9/2009, 1:15 pm Link to this post Send Email to GlitchSCG   Send PM to GlitchSCG
 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released! (Possible Cause of the Cross-Thread Lockup)


Hey, I think I found out why my game locks up almost by random. It think it locks up because of the introduction of the data received message threads by prismserverconnection component.

I think what is happeneing is that the datamessagereceived thread executes during when the drawing is taking place and therefore causes the game to lock up because something got crossed up between the threads.

I used to have this problem while playing a sound from a live stream and could not find the problem until I noticed that it happens when the sound is activated..

When I think I have completely eliminated the possibility that cross threading locks up the game, I will release 1.0.0.5.

Last edited by beat2k, 3/9/2009, 2:04 pm
3/9/2009, 2:03 pm Link to this post Send Email to beat2k   Send PM to beat2k
 
GlitchSCG Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator

Registered: 01-2005
Posts: 347
Karma: 6 (+7/-1)
Reply | Quote
Re: Army Battlefront BETA Released! (Possible Cause of the Cross-Thread Lockup)


Yes, Prism is multi threaded. If you need to do any screen updates within a Prism event handler you should use the Invoke method to make sure the call is made within the main UI thread.

Example:

Invoke(new VoidCallback(ImpulseProcessed));

where VoidCallback is defined as ...

private delegate void VoidCallback();

and ImpulseProcess is a method that you want to call that updates the UI. You can define other delegate types that pass parameters if needed.

Last edited by GlitchSCG, 3/9/2009, 3:04 pm
3/9/2009, 3:03 pm Link to this post Send Email to GlitchSCG   Send PM to GlitchSCG
 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released!


Hey glitch, great news! I found out what was locking up the game!

It is the LatencyUpdate code I'm using to show the latency of all the players!

I hope this find fixes that random lockup once and for all!! I never even thought about the latency code causing this!

Update:
Ok, the problem was the way I was acquiring the latency which is something I can't fix so I remove the whole thing entirely. Now the game doesn't lock up anymore! (at least for now!)

V1.0.0.5 is released now!

Last edited by beat2k, 3/10/2009, 4:18 pm
3/10/2009, 3:14 pm Link to this post Send Email to beat2k   Send PM to beat2k
 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released!


I have released v1.0.0.6.

I have fixed the chat problem and patched up the MoveAirUnits method to reduce the possibility of an error. Also added the ability to chat during the game.

The latency fix I made earlier seemed to have fixed that lockup problem during the first 3 player match, however, an error stopped the match so I hope that doesn't happen again!

Updated to V1.0.0.7 now.

I have added a new map window that you can open to display a "full" wiew of the map. It won't display units, but it shows the Line Of Sight. Also you can navigate aropund the map with this window too.

Improved the chat display so you can see the messages that you sent to the other players.

Fixed a potential error while in Map Editor mode and fixed a scrolling update problem with the Map Viewer

Last edited by beat2k, 3/11/2009, 9:11 pm
3/11/2009, 1:21 pm Link to this post Send Email to beat2k   Send PM to beat2k
 
Viltris Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Location: San Jose
Posts: 196
Karma: 4 (+6/-2)
Reply | Quote
Re: Army Battlefront BETA Released! (Latest release V1.0.0.7)


I got an error on startup:

Error in the application.
-2005529767 (D3DXERR_INVALIDDATA)
  at Microsoft.DirectX.Direct3D.TextureLoader.FromFile(Device device, String srcFile)
  at Components.DX9Turbo2D.AddTextureDX9(String FilePath)
  at Army_Battlefront.Form1.LoadTexturesToDX9Engine()
  at Army_Battlefront.Form1.Form1_Load(Object sender, EventArgs e)


---
\/
3/11/2009, 10:18 pm Link to this post Send Email to Viltris   Send PM to Viltris AIM
 
UglyGreenThings Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Location: The Nexus of Sominus
Posts: 164
Karma: 1 (+1/-0)
Reply | Quote
Re: Army Battlefront BETA Released! (Latest release V1.0.0.7)


That looks similar to the error I was getting on my older machine that is not DirectX9 compatible.
3/12/2009, 5:10 am Link to this post Send Email to UglyGreenThings   Send PM to UglyGreenThings AIM Yahoo
 
beat2k Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user

Registered: 01-2005
Posts: 500
Karma: 5 (+12/-7)
Reply | Quote
Re: Army Battlefront BETA Released! (Latest release V1.0.0.7)


Oh great, I think I forgot an Image on the zip file. I will upload the ZIP that doesn't have missing images..

I have refreshed the zip file with new files so I think there are no more missing files this time..

Last edited by beat2k, 3/12/2009, 7:07 am
3/12/2009, 7:00 am Link to this post Send Email to beat2k   Send PM to beat2k
 


Add a reply

Page:  1  2  3 





You are not logged in (login)