Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jiggymonkey

Pages: [1] 2
1
The reason for the error is that I'm reading a value that is beyond the normalization range. To decide what color to draw, I normalize the low end and high end of the present values to be between 0.0 and 1.0. If I use a value greater than maximum I get this. I wonder, are you drawing on a completely blank savagery map? I usually use the gradients and noise first before editing, so maybe that 's why I haven't seen this bug.

Nope =/
I generated the gradients and noise every time before messing with the brush, all after I went step by step through the process you recommended in the tut; elevation map first, then rain, etc.

Edit: I'm getting the exception when I use the brush on the volcano map as well

2
I guess I forgot to fix that. I believe it happens when you brush off the map edge, am I correct? I should work on that next week maybe.

I'm not sure tbh, it seems to be random.  Ive brought the brush all the way out beyond the border of the map and it's done it. Ive also tested it by staying within the border, keeping away from the edge, but it still does it.

3
fantastic utility but I keep getting an unhandled exception whenever I use the brush on the savagery map...

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: ColorHelper.GetNormalizedValue value greater than max
   at PerfectWorldDF.ColorHelper.GetNormalizedValue(Double value, Double min, Double max)
   at PerfectWorldDF.SavageryMap.DrawTile(Int32 x, Int32 y)
   at PerfectWorldDF.SavageryMap.DrawEdit(Rectangle rect)
   at PerfectWorldDF.Form1.picBoxSavMap_MouseDown(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4206 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PerfectWorldDF
    Assembly Version: 1.2.3856.13115
    Win32 Version: 1.2.3856.13115
    CodeBase: file:///D:/PerfectWorldDF_1_2/PerfectWorldDF_1_2/PerfectWorldDF.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4205 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



4
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 07:12:03 pm »
so it seems after a good long while they've started moving barrels back onto the foodpile.  I deleted and re-made all my related stockpiles.

Wish I knew what happened so I could prevent it again.

To answer some people, yeah I've had my dorfs add empty bins and barrels to things like finished goods stockpiles or armor stockpiles, even though there was nothing in them.  Every time I messed with the stockpiles I deleted the old pile instructions and made brand new ones.  There have been multiple times where there was a foodpile that had an empty tile on it and food was just thrown on the floor while empty barrels were available.  And I never accidentally reserved any barrels, I checked.  I don't even know how to do that.  Don't know what keys (cvCV) or (erER) refer to.

Now that I think about it, there were several times where I made, for example, a "general" foodpile, then changed the settings of it to only accept brewable plants.  Maybe that was the cause...

5
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 06:49:59 am »
meh somehow my game is all hosed up.  the dorfs are now putting food barrels (barrels with food in them) in the "furniture only" pile. I'm not sure what's happening.

Edit: Just for the record I'm really @#$%ing pissed right now.  I've spent hours and hours making this fort and now it's falling apart.

6
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:58:44 am »
If memory serves, pressing q, navigating the mouse to the stockpile, and pressing "s" takes you to the settings menu for that stockpile. I could be wrong though. If I'm right then Jake also is.
yeah I tried that, all I saw that I didn't notice before was in the bottom right corner of the settings menu:
u: Sand bag

I don't know what function that serves, but it was grayed out on the stockpile.  I think I'm just going to delete all my stockpiles and redo them, maybe that will fix it.  Can't continue the way it's going now, because I've got plump helmets withering on my farm plots now.

7
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:25:38 am »
is "sandbag" what you're talking about?
if so it was grayed out

8
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:21:43 am »
I can think of a possibility people havent metioned - you can reserve barrels in the stockpile menu. Make sure you didnt accidentally turn that really high or something - it reserves barrels for workshop use, so they ARENT used in stockpiles.
:O
where would I look to see if I did that?

9
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:17:23 am »
Are the barrels in a furniture stockpile?
yes, but not sure why that would make a difference, since I've had empty barrels in a furniture pile before, and they used to grab them, put them in the "food only" pile and start filling them.

10
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:13:21 am »
lol thats just it, there are no empty barrels in the new foodpiles.  I disbanded my old pile (cuz it was too far away from my new area) and there is still food in them, but they should be starting new barrels for food shouldn't they?

Edit: Haha, a dorf just now filled an empty slot in the foodpile with a plump helmet.  Just dumped it on the floor.

11
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:10:02 am »
no can store food in barrels as well.  thats the only container you can use to store food in as a matter of fact

12
DF Gameplay Questions / Re: Dorfs not using barrels for food
« on: October 08, 2010, 05:06:38 am »
yeah there was a caravan just recently and I bought food, but they are dumping turtle, mussels, plump helmets, all stuff I've grown, haven't bought any of that stuff.

And no, I made the food stockpiles accept food only at first, but then I just added empty barrels to the list of stuff the food piles allow, even though I've witnessed first hand the dorfs putting barrels in "Food Only" piles before.

13
DF Gameplay Questions / Dorfs not using barrels for food
« on: October 08, 2010, 04:46:48 am »
Ok I know something is not working right because this was not an issue before, but my dorfs are just tossing food on the floor instead of using the (counting...) 26 empty barrels I have in the room not 20 tiles away from the pile of food.  Anyone have any ideas why?

14
DF Gameplay Questions / Re: View units menu Gen skill list too long
« on: October 07, 2010, 07:35:26 am »
nyeh that works sort of, but the arrow is still there and i think there may be more skills on the list than can fit.  anyway, it's not that big a deal I thought maybe someone might know what the deal was.  Thanks for the responses

15
DF Gameplay Questions / Re: View units menu Gen skill list too long
« on: October 07, 2010, 06:04:17 am »
that doesnt work.  I think I was wrong though, I don't think the green arrow means "more skills below" or whatever


Uploaded with ImageShack.us

Pages: [1] 2