Issue247

Title level 28: bots not spawned on map labels but on non-rand WPs
Priority important Status resolved
Assigned To matthiaskrgr Keywords
Linked issues validator: check for label name duplications
View: 431
Watchers matthiaskrgr

Submitted on 2011-07-24 19h07 by tracker_migration, last changed by ahuillet.

Files
File name Uploaded Type Edit Remove
MapEd.screenshot-17.jpg matthiaskrgr, 2011-07-29.11:54:47 image/jpeg
WP.patch matthiaskrgr, 2011-07-29.12:14:58 text/x-patch
Messages
Author: tracker_migration Date: 2011-07-21   07h20
Submitted by matthiaskrgr
On level 24, the bots are not spawned on their map labels but on non random-spawn waypoints.

did some binary search:

bug: 4851 4800 4600, 4500, 4450, 4425, 4420, 4417, 4416

no bug: 4200 4350, 4400, 4415


but I don't trust the result a lot.


rev 4852
Author: matthiaskrgr Date: 2011-07-29   10h23
The level I meant is 28, not 24.
Happens on 24 as well, but on level 28 it's much more noticeable.
Author: matthiaskrgr Date: 2011-07-29   11h54
To get some more information on this bug, I covered the area near the bots with
waypoints.

The places where they can be seen should be the places the game actually spawns
them one.
Author: matthiaskrgr Date: 2011-07-29   12h13
I made a (very small) table of actual spawn position and map label for three bots.
Does anyone see a pattern?

bot maplabel(x|y)	spawnpos(x|y)
123	    09|07		54|41
999	    59|59		61|45
302	    73|05		57|35
Author: matthiaskrgr Date: 2011-07-29   12h14
Attached the patch which adds the waypoints to the map.

Attached WP.patch.
Author: matthiaskrgr Date: 2011-08-01   13h52
When I respawn the level manually. Bots are respawnd on
Author: matthiaskrgr Date: 2011-08-01   13h52
... the very positions the were on before / they died.
Author: matthiaskrgr Date: 2011-08-01   13h52
... the very positions the were on before / they died.
Author: ahuillet Date: 2011-08-03   19h33
Map labels are world-unique, not level-unique.

arthur@Chani:~/src/freedroid/map$ grep name=\" levels.dat | awk '{print $3}' |
sort | uniq -c | sort -n | grep -v "1 name"
      2 name="139"
      2 name="247"
      2 name="249"
      2 name="296"
      2 name="302"
      2 name="329"
      2 name="420"
      2 name="476"
      2 name="493"
      2 name="516"
      2 name="543"
      2 name="571"
      2 name="598"
      2 name="614"
      2 name="615"
      2 name="629"
      2 name="742"
      2 name="751"
      2 name="821"
      2 name="883"
      2 name="999"
      3 name="123"
      3 name="711"
      3 name="834"
Author: matthiaskrgr Date: 2011-08-04   08h42
Fixed in r4902 by making sure map labels are world unique.
History
Date User Action Args
2011-08-04 08:55:08ahuilletsetlinked: + validator: check for label name duplications
2011-08-04 08:55:04ahuilletlinkissue431 linked
2011-08-04 08:42:02matthiaskrgrsetstatus: open -> resolved
messages: + msg1467
2011-08-03 19:33:34ahuilletsetpriority: critical -> important
assignedto: matthiaskrgr
messages: + msg1457
nosy: + matthiaskrgr
2011-08-01 13:52:44matthiaskrgrsetmessages: + msg1446
2011-08-01 13:52:43matthiaskrgrsetmessages: + msg1445
2011-08-01 13:52:23matthiaskrgrsetmessages: + msg1444
2011-07-30 22:00:28matthiaskrgrsetpriority: important -> critical
2011-07-29 12:14:58matthiaskrgrsetfiles: + WP.patch
messages: + msg1377
2011-07-29 12:13:23matthiaskrgrsetmessages: + msg1376
2011-07-29 11:54:47matthiaskrgrsetfiles: + MapEd.screenshot-17.jpg
messages: + msg1375
2011-07-29 10:23:28matthiaskrgrsetmessages: + msg1374
title: level 24: bots not spawned on map labels but on non-rand WPs -> level 28: bots not spawned on map labels but on non-rand WPs
2011-07-28 06:24:27ahuilletsetpriority: bug -> important
title: level 24: bots not spawned on map labels but on non-and WPs -> level 24: bots not spawned on map labels but on non-rand WPs
2011-07-24 19:07:44tracker_migrationcreate