Nuage | 1 Aug 2006 23:24

Re: Random map generator

Bradley Arsenault wrote:
> I'm investigating a long line of incomplete code having to do with
> random map generation. Apparrently, when you generate a random map,
> large amounts of code are wrapped arround re-generating it every time
> you use the map. While in theory this is nice, in reality it would be
> slow and not really usefull except to save a couple hundred k of
> harddrive space. Anyway, all of this code is incomplete, and I'm going
> to remove as much of it as I can find. It makes changing a randomly
> generated map broken, I have to manually (and very hackishly) remove
> the random-generator tag when the map editor saves the map.
> 
> If anyone is activly working on this code, reply now. Else, I'll be
> removing this functionality within a day.

Once upon a time, this was a really cool feature... and was the only way to play
network games actually! It was not planed to destroy this feature completely,
just to be removed until we can enable it back again.

Now, if you think removing this feature will help you, for you to rework the
structure, sure, go ahead. But if you could manage to structure it in a way we
could add it later, this would even be better!

Thank you!
Leo Wandersleb | 2 Aug 2006 00:02
Picon
Picon

Re: Alpha 20 Preperations


Bradley Arsenault wrote:
> Let me know if you find any more bugs,

In windowed mode other than in game, scrolling is permanent in the direction the cursor left the window.
that may be useful but i guess it's a bug. is it?

I'd love to see MMB-scrolling like in game as it is the way i mostly navigate in globulation.

oops :) you are marking the selected color by changing it?? that's confusing but i guess it's a hack you know
has to be fixed to some "box the selected color".

scrolling in the minimap works only if the cursor stays in the minimap. in game you are allowed to go around
the world several times with only one drag.

checkerboard water looks funny ;)

the teams menu: you can add teams but when there are 12 teams you can neither add nore remove any team.

the crash when removing one team i don't know where that came from but it was already a bug in the old editor.

minimap doesn't get refreshed. now it got refreshed but i don't know what triggered it as again i can paint
water and it doesnt show up in the map. flags get painted to the map.

somehow it is not possible to scroll and paint water/vegetable at the same time. that was possible with the
old one. actually the continous painting does only work sometimes or i don't know when or how.

right mouse button doesn't switch through the menues like in game.

i don't see how i could delete flags. also my only way to remove buildings/units is to place some water/grass.
(Continue reading)

Bradley Arsenault | 2 Aug 2006 04:06
Picon

Re: Random map generator

On 8/1/06, Nuage <nuage <at> ysagoon.com> wrote:
> Bradley Arsenault wrote:
> Once upon a time, this was a really cool feature... and was the only way to play
> network games actually! It was not planed to destroy this feature completely,
> just to be removed until we can enable it back again.
>
> Now, if you think removing this feature will help you, for you to rework the
> structure, sure, go ahead. But if you could manage to structure it in a way we
> could add it later, this would even be better!
>
> Thank you!
>
>
> _______________________________________________
> glob2-devel mailing list
> glob2-devel <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
>

I'm not sure its a desirable feature either way. Live map generation,
great! But regenerating a map that was clearly premade and saved
(which is whats going on) is just going to bog the game down,
especially when generating map thumbnails in the map selector (which
is where i discovered this).

Live map generation should be done a different way, in my opponion.
Instead we should use (the more complicated) preset / randomized
generator value files. they would be in a seperate, but similair
window to the map picker. Just a button at the bottom "random maps" or
something like that. I'll try to build something like this when I get
(Continue reading)

Bradley Arsenault | 2 Aug 2006 04:16
Picon

Re: Alpha 20 Preperations

On 8/1/06, Leo Wandersleb <Leo.Wandersleb <at> gmx.de> wrote:
> In windowed mode other than in game, scrolling is permanent in the direction the cursor left the window.
that may be useful but i guess it's a bug. is it?
I'll have to find something in SDL that tells me when the mouse leaves
the window, since it only gives me events for when the mouse is in the
window. Will fix!

>
> I'd love to see MMB-scrolling like in game as it is the way i mostly navigate in globulation.
Ok, I'll try to do that.

>
> oops :) you are marking the selected color by changing it?? that's confusing but i guess it's a hack you know
has to be fixed to some "box the selected color".
Do you mean the team color selector? I'm not sure what you mean by
"marking the selected color by changing it".

> scrolling in the minimap works only if the cursor stays in the minimap. in game you are allowed to go around
the world several times with only one drag.
Desired behaviour. Infact it took me a while to do to, I couldn't just
copy and paste from the game gui code.

> checkerboard water looks funny ;)
Huh?

> the teams menu: you can add teams but when there are 12 teams you can neither add nore remove any team.
Nor remove eh? I'll look into it.

> the crash when removing one team i don't know where that came from but it was already a bug in the old editor.
Removing one team from what? The editor doesn't allow you to remove a
(Continue reading)

Kai Antweiler | 2 Aug 2006 13:47
Picon
Favicon

Re: Alpha 20 Preperations

> the crash when removing one team i don't know where that came from
> but it was already a bug in the old editor.

The old bug is:
http://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=16096

To produce the new bug you have to increase the number of teams, add a
building or a unit for the new team and then decrease the number of
teams.
Last time the bug was caused by one of the gradients of the removed
team which has not been deleted properly.
By the way: is there a way to control which team will be removed when
you reduce the number of players?

Bradley you commented a few asserts in  Map::removeTeam  (Map.cpp).
I guess the thing that caused you to comment them, is the source for this
bug.

--

-- 
Kai Antweiler
Bradley Arsenault | 2 Aug 2006 16:00
Picon

Re: Alpha 20 Preperations

On 8/2/06, Kai Antweiler <kai.antweiler <at> netcologne.de> wrote:
> > the crash when removing one team i don't know where that came from
> > but it was already a bug in the old editor.
>
> The old bug is:
> http://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=16096
>
> To produce the new bug you have to increase the number of teams, add a
> building or a unit for the new team and then decrease the number of
> teams.
> Last time the bug was caused by one of the gradients of the removed
> team which has not been deleted properly.
> By the way: is there a way to control which team will be removed when
> you reduce the number of players?

Not yet. I'll try and implement that soon.

> Bradley you commented a few asserts in  Map::removeTeam  (Map.cpp).
> I guess the thing that caused you to comment them, is the source for this
> bug.

Interesting you discovered that. Yes, I commented out a few asserts in
Map::removeTeam. I saw no reason for them to be in place, they where
just expecting the gradients to be already computed, and I could not
trace any call to any compute gradients function. There is no need
untill the game is in play. I replaced them with some null pointer
checks that will keep the game from deleting 0.

>
>
(Continue reading)

Bradley Arsenault | 3 Aug 2006 01:30
Picon

Re: Alpha 20 Preperations

On 8/1/06, Leo Wandersleb <Leo.Wandersleb <at> gmx.de> wrote:
> In windowed mode other than in game, scrolling is permanent in the direction the cursor left the window.
that may be useful but i guess it's a bug. is it?

Can't seem to fix.

> I'd love to see MMB-scrolling like in game as it is the way i mostly navigate in globulation.

Fixed.

> oops :) you are marking the selected color by changing it?? that's confusing but i guess it's a hack you know
has to be fixed to some "box the selected color".

Need more info.

> scrolling in the minimap works only if the cursor stays in the minimap. in game you are allowed to go around
the world several times with only one drag.

Need more opponion.

> checkerboard water looks funny ;)

Need more info.

> the teams menu: you can add teams but when there are 12 teams you can neither add nore remove any team.

Fixed.

> the crash when removing one team i don't know where that came from but it was already a bug in the old editor.

(Continue reading)

Bradley Arsenault | 3 Aug 2006 01:34
Picon

Revival of the market, COMPLETE!

This might come as a surprise, I just completed the revival of the
market (first portion). Thats right. We had discussed this on another
thread quite a while back, back before I grasped the general flow of
the code good enough to make these changes.

Anyway, the market now taps into a team ressource resevoir. This
option is set in data/buildings.txt, its called "useTeamRessources".
It can be disabled if commonly agreed against.

The idea is that you place one market near fruit and one near Inns,
and the fruit is efficiently carried between the two. Right now, this
makes the market to powerfull for its low cost, and, after some
discussion, we should agree to increase the cost of a market like we
did the swarm.

I've done as much testing as I could, everything seems to work, but if
you note anything new bugs, report them immeddiettly.

--

-- 
Start and finish, Bradley Arsenault
Leo Wandersleb | 3 Aug 2006 01:42
Picon
Picon

turrets too powerfull against eagles

hi list

the new feature that explorers get attacked by turrets is good. but now turrets are too strong against birds.
Bradley Arsenault | 3 Aug 2006 01:45
Picon

Re: turrets too powerfull against eagles

On 8/2/06, Leo Wandersleb <Leo.Wandersleb <at> gmx.de> wrote:
> hi list
>
> the new feature that explorers get attacked by turrets is good. but now turrets are too strong against birds.
>
>
> _______________________________________________
> glob2-devel mailing list
> glob2-devel <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
>

So I heard from Eli. Two hits kills an explorer. Where gonna up the hp on them.

--

-- 
Start and finish, Bradley Arsenault

Gmane