Chess, Yat and others


Moderator: Contrib Moderators

User avatar

Veteran

Posts: 174

Joined: Mon Jan 19, 2009 10:39 am

Location: Istanbul, TURKIYE

Post Thu Sep 24, 2009 1:19 am

Chess, Yat and others

I have done some fixes for Chess project to build it on 0.8.0.0

But did not found enough time to finish fixes. But i handled most of the errors.
i added it as a ticket a few months ago, I fixed it to avrg. #10 errors from avrg. #200 errors...

ticket (includes the patch) here :
http://sourceforge.net/apps/trac/axiomengine/ticket/67
Too far from imagination, too far from reality...
User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Thu Sep 24, 2009 2:38 am

Re: Chess, Yat and others

Sandman: Ok. I used your patch and then corrected few more errors.

Now I get it to compile now but get

  Code:
System.MissingMethodException: Method not found: 'Axiom.Core.SceneManagerEnumerator Axiom.Core.Root.get_SceneManagers()'.
   at CeGui.Renderers.Axiom.Renderer..ctor(RenderWindow window, RenderQueueGroupID queueID, Boolean postQueue)
   at Chess.Application.CreateCeGui() in F:\csharp\axiom_svn\axiomcontrib\Chess\trunk\Chess\Source\Main\Application.cs:line 240
   at Chess.Application.Initialize() in F:\csharp\axiom_svn\axiomcontrib\Chess\trunk\Chess\Source\Main\Application.cs:line 230
   at Chess.Main.ChessApplication.Initialize() in F:\csharp\axiom_svn\axiomcontrib\Chess\trunk\Chess\Source\Main\ChessApplication.cs:line 162
   at Chess.Application.Run() in F:\csharp\axiom_svn\axiomcontrib\Chess\trunk\Chess\Source\Main\Application.cs:line 357
*-*-* Axiom Shutdown Initiated.


I think that CeGui.Renderers.Axiom.dll must compiled again but I cant find its source codes.

Veteran

Posts: 58

Joined: Wed Apr 22, 2009 2:18 am

Post Thu Sep 24, 2009 2:55 am

Re: Chess, Yat and others

migel wrote:I think that CeGui.Renderers.Axiom.dll must compiled again but I cant find its source codes.


Hi migel,

somewhere in my computer i have an updated Cegui binary. I will look where it is and send it to you.


//bostich
User avatar

Site Admin

Posts: 1041

Joined: Thu Mar 02, 2006 11:29 pm

Location: Boston, MA, USA

Post Thu Sep 24, 2009 5:06 am

Re: Chess, Yat and others

migel wrote:I think that CeGui.Renderers.Axiom.dll must compiled again but I cant find its source codes.


It's in the CEGUI# SVN repository
Borrillis
The Steward of Axiom
User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Thu Sep 24, 2009 5:22 am

Re: Chess, Yat and others

Thanks, I'll check it out.

Get YAT compiled and some graphics too :)
It crashes after first block is on the screen,
  Code:
A first chance exception of type 'System.NullReferenceException' occurred in Axiom.dll
System.NullReferenceException: Object reference not set to an instance of an object.
   at Axiom.Core.SubEntity.get_Lights() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SubEntity.cs:line 637
   at Axiom.Core.SceneManager.RenderSingleObject(IRenderable renderable, Pass pass, Boolean doLightIteration, LightList manualLightList) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 5255
   at Axiom.Core.SceneManager.RenderSolidObjects(SortedList list, Boolean doLightIteration, LightList manualLightList) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 5432
   at Axiom.Core.SceneManager.RenderSolidObjects(SortedList list, Boolean doLightIteration) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 5440
   at Axiom.Core.SceneManager.RenderBasicQueueGroupObjects(RenderQueueGroup group) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 6071
   at Axiom.Core.SceneManager.RenderQueueGroupObjects(RenderQueueGroup group) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 6049
   at Axiom.Core.SceneManager.RenderVisibleObjects() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 6139
   at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\SceneManager.cs:line 4599
   at Axiom.Core.Camera.RenderScene(Viewport viewport, Boolean showOverlays) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\Camera.cs:line 1648
   at Axiom.Core.Viewport.Update() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\Viewport.cs:line 692
   at Axiom.Graphics.RenderTarget.Update() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Graphics\RenderTarget.cs:line 875
   at Axiom.Graphics.RenderWindow.Update(Boolean swapBuffers) in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Graphics\RenderWindow.cs:line 293
   at Axiom.Graphics.RenderWindow.Update() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Graphics\RenderWindow.cs:line 269
   at Axiom.RenderSystems.OpenGL.OpenTKWindow.Update() in F:\csharp\axiom_svn\trunk\Projects\Axiom\RenderSystems\OpenGL\OpenTK\OpenTKWindow.cs:line 204
   at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Graphics\RenderSystem.cs:line 739
   at Axiom.Core.Root.UpdateAllRenderTargets() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\Root.cs:line 1060
   at Axiom.Core.Root.RenderOneFrame() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\Root.cs:line 938
   at Axiom.Core.Root.StartRendering() in F:\csharp\axiom_svn\trunk\Projects\Axiom\Engine\Core\Root.cs:line 991
   at YAT.Application.Start() in F:\csharp\axiom_svn\axiomcontrib\YAT\trunk\YAT\Source\YAT\Application.cs:line 282
*-*-* Axiom Shutdown Initiated.


debugged that awhile, there that lightlist is null some reason (when the block is going down).
Last edited by migel on Sun Nov 08, 2009 3:09 am, edited 1 time in total.
User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Thu Sep 24, 2009 6:01 am

Re: Chess, Yat and others

Bostich wrote:somewhere in my computer i have an updated Cegui binary. I will look where it is and send it to you.


No need anymore, I updated cegui svn version.

Chess -patch can be found on my site. There is cegui-patch too, and compiled DLLs, and Media/Gui cegui-files (comes to bin/Debug/Media/Gui).

It still has few problems:
* axiomcontrib\Chess\trunk\Chess\bin\Debug\Media\Overlays\menu.overlay doesnt work. If I
delete it, then I see chessboard and hands but no menu so I cant play it.
Tried read that menu.overlay but I just dont understand it.
[edit]: added border_material to BorderPanels in menu.overlay. It doesnt crash anymore, but I cant see menus.
[edit]: patch rewritten. now menus are visible. unfortunately, you cannot move chessman..picking doesnt work?
User avatar

Veteran

Posts: 174

Joined: Mon Jan 19, 2009 10:39 am

Location: Istanbul, TURKIYE

Post Fri Sep 25, 2009 7:35 am

Re: Chess, Yat and others

Sandman: Ok. I used your patch and then corrected few more errors.


i'm glad if that had helped...

And Borrillis, maybe we must move this conversation to Contributions Forum Folder.
(i mean it is more logical to discuss about fixes on there if these projects moved to Contributions SVN folder...)

Migel and I would share the YAT and Chess projects Contrib maintances, while you focus on Axiom Engine... But i cant handle other projects (DotScene etc...)
Still i have two developing projects that uses Axiom (3DGIS and RPG projects) and they take much time from me :|
Too far from imagination, too far from reality...
User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Tue Nov 03, 2009 9:21 am

Re: Chess, Yat and others

Im back :)

Should I upload patches to axiomengine trac or axiomcontrib trac (dont know how to do that one), instead of keeping these patches on my site?

(using trac and removed patches)
Last edited by migel on Sun Nov 08, 2009 3:11 am, edited 1 time in total.
User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Sun Nov 08, 2009 3:08 am

Re: Chess, Yat and others

Ok, updated Chess, YAT and DotScene loader are in axiomcontrib (uses crickhollow rev 1866).
(to download contribs: svn co https://axiomengine.svn.sourceforge.net ... iomcontrib)

Still some problems,

YAT (tetris):
* menu isnt visible (made with Overlays, but cant get debug overlays visible either)

Chess:
* cant move chessmen (mouse buttons not working, havent time check it yet)
* crashes when: maximizes window, minimizes and open it again, if closes window by pressing X

Return to Project Talk

Who is online

Registered users: MSN [Bot], Yahoo [Bot]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.