Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


polyfrag

Member Since 20 Mar 2003
Online Last Active Today, 08:23 PM

Posts I've Made

In Topic: States, Firms, & Households

03 May 2015 - 03:05 PM

Hello devs,

I'm hosting a match right now and would like you to join to test the game and give me your thoughts.

Windows: https://dl.dropboxusercontent.com/u/109630018/SFH_Win.zip
Mac: https://dl.dropboxusercontent.com/u/109630018/SFH_Mac.zip
Linux: https://dl.dropboxusercontent.com/u/109630018/SFH_Ubu.tar.bz2

Just click Join Game and then Refresh. You can change your name in the Options. The game is called "gd.net join here".


In Topic: States, Firms, & Households

03 May 2015 - 02:46 PM

Hello devs,

I'm hosting a match right now and would like you to join to test the game and give me your thoughts.

Windows: https://dl.dropboxusercontent.com/u/109630018/SFH_Win.zip
Mac: https://dl.dropboxusercontent.com/u/109630018/SFH_Mac.zip
Linux: https://dl.dropboxusercontent.com/u/109630018/SFH_Ubu.tar.bz2

Just click Join Game and then Refresh. You can change your name in the Options. The game is called "gd.net join here".


In Topic: A* scanning extra nodes?

03 May 2015 - 09:45 AM

It's only counting the distance to the goal, and not the distance traversed. What is G_score and H_score measured in?

                            Neighbor.Parent = CurrentNode;
                            Neighbor.G_Vaule = CurrentNode.G_Vaule + G_Score;
                            Neighbor.H_Value = GetHeuristicCost(Neighbor);
                            OpenList.Add(Neighbor);

        const int G_Score = 10;
        const int Diagonal_G_Score = 14;

The heuristic H_score might be 100 times bigger.

 

 

[edit] Nevermind.

 

The F_score is basically = distance to goal + distance from start, and since it's Manhattan, any cell within the square formed by the start and goal might be picked. Any path taken to get 3 squares right and 2 squares up is equally valid. 

 

There are several equally-low F_score squares in the open list, so it's just a matter of whether you choose the ones farthest to the back, or the front. Yours chooses the ones closest to the back (i.e., the ones that are the oldest). Which makes it closer to breadth first search, then depth first search.

 

This is actually pretty important. If you use a min binary heap, nodes pushed to the top that are equal or less will stay and the top and thus be the first popped.


In Topic: States, Firms, & Households

01 May 2015 - 05:23 AM

If anybody was trying to host a game in the last few days and was unable, it was because the matchmaking host was maxing out its small memory limit due to the web server. That is now fixed.


In Topic: States, Firms, & Households

19 April 2015 - 10:24 AM

I'm giving this to everyone as a demo to test the game and multiplayer. Multiplayer will stop working for the demo some time after the May 17th release and there will be no further support for the AI, map editor, tutorial, military actions, or modding unless you buy the game.

 

 

Windows: https://dl.dropboxusercontent.com/u/109630018/SFH_Win.zip

 

The game manual has been updated at http://www.desura.com/games/corporation-states-ii/news/how-to-play1


PARTNERS