bugLordsAWar! - Bugs: bug #26899, Are maps (hero items) supposed to...

 
 

bug #26899: Are maps (hero items) supposed to do something?

Submitted by:  Jon Eicher <nazdar>
Submitted on:  Sat 27 Jun 2009 06:18:12 AM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: 0.1.5Status: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 25 Oct 2009 08:47:39 AM UTC, comment #8:

Closing bug because there's not enough information to fix it.

Ben Asselstine <benasselstine>
Project Administrator
Sun 11 Oct 2009 01:40:45 PM UTC, comment #7:

This bug is getting old. Can you reproduce it on a newer version of the game?

Ben Asselstine <benasselstine>
Project Administrator
Sun 28 Jun 2009 06:29:28 AM UTC, comment #6:

Hi Ben,

Yes, I'm on a 64-bit system.

Linux jaunty 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009 x86_64 GNU/Linux

Thanks!
Jon

Anonymous
Sat 27 Jun 2009 07:27:48 PM UTC, comment #5:

I still can't reproduce the error. Are you on a 64-bit system?

Ben Asselstine <benasselstine>
Project Administrator
Sat 27 Jun 2009 07:25:15 PM UTC, comment #4:

I've fixed the generation of map rewards in 0.1.6. The setting up of rewards has moved from the CreateScenario object, to the initialize method of the GameScenario object.

CreateScenario gets executed at map generation time, and GameScenario::initialize get executed at the start of the game.

CreateScenario didn't know if the map was going to be hidden map or not, and it wouldn't create any map rewards at all. This is because the map generation happens before the user decides if it's a hidden map or not.

Ben Asselstine <benasselstine>
Project Administrator
Sat 27 Jun 2009 07:04:41 PM UTC, comment #3:

And on a related note, maps aren't even being generated in version 0.1.6.

Ben Asselstine <benasselstine>
Project Administrator
Sat 27 Jun 2009 06:40:29 PM UTC, comment #2:

Are you on a 64-bit system?

Ben Asselstine <benasselstine>
Project Administrator
Sat 27 Jun 2009 06:25:41 PM UTC, comment #1:

Yeah they're suppose to do something!

If you look inside the file, you can see that the d_y value is out of whack:

<reward>
<d_type>Reward::MAP</d_type>
<d_name>Southwestern map</d_name>
<sightmap>
<d_name>Southwestern map</d_name>
<d_x>104</d_x>
<d_y>32539</d_y>
<d_width>52</d_width>
<d_height>37</d_height>
</sightmap>
</reward>

So there's definitely a bug in there somewhere.

Ben Asselstine <benasselstine>
Project Administrator
Sat 27 Jun 2009 06:18:12 AM UTC, original submission:

Hi Ben,

I was playing against all computers on the "I am the Lord of War!" settings. My hero found a map of the North East, but nothing happened. Is the darkness supposed to be removed from a section of the map when a hero finds a map? I've attached a game with the hero standing on top of a ruin. This ruin has a map inside it. When the hero obtains the map, nothing happens.

I'm playing on Ubuntu 9.04 with LordsAWar 0.5.1-1.

Thanks!
Jon

Jon Eicher <nazdar>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18332:  NorthEasternMap.sav.tar.gz added by nazdar (42KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by benasselstine (Posted a comment)
  • -unavailable- added by nazdar (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Oct 2009 08:47:39 AM UTCbenasselstineOpen/ClosedOpen=>Closed
    Sun 28 Jun 2009 10:33:35 AM UTCbenasselstineItem GroupNone=>0.1.5
    Sat 27 Jun 2009 06:18:12 AM UTCnazdarAttached File-=>Added NorthEasternMap.sav.tar.gz, #18332

    Back to the top


    Powered by Savane 3.1-cleanup1