[A11] Auto-hunt Beacon v2.3 (2015-06-18)

Started by Carry, January 03, 2015, 08:30:55 AM

Previous topic - Next topic

Orion

I'm getting exceptions from this mod (every tick). Not sure if it's because of another mod. Maybe this helps...

[attachment deleted due to age]

DarknessEyes

The mod works without errors but however even when active my units stop hunting for no reason... The meat that i want is set to 250 - 300 and the meat that i have shows 0 - 0...

Is there a delay between activations?
De Surgeries
https://ludeon.com/forums/index.php?topic=18976.0
Adds 26 new surgeries to Rimworld.

DarknessEyes

I found out why my units stop hunting.... Its because there are no animals in range (only boomrats)...

Can you add an option to toggle boomrats hunt on/off?
I only want to hunt boomrats because my colony is very big and they eat alots of meat... So i still have to do manual hunting to kill the boomrats for meat...
De Surgeries
https://ludeon.com/forums/index.php?topic=18976.0
Adds 26 new surgeries to Rimworld.

Killaim

finally i can guard my crops from that damn vermins

Igabod

#19
I'm using v0.9.1 and keep getting an error.


It also doesn't mark any animals within it's range to be hunted.

[edit to add] Just to be more informative, this error pops up immediately after finishing construction of the beacon and I'm thinking every time an animal would be marked to be hunted. Because it doesn't pop up when there are no animals within range (that I've seen so far anyway).

Calico

Same here. Latest Version installed, getting the same exception as described by Igabod every Tick.

DarknessEyes

Mine works good.
The only bad thing is that i cannot toggle "Hunt boomrats" on and off.
De Surgeries
https://ludeon.com/forums/index.php?topic=18976.0
Adds 26 new surgeries to Rimworld.

Carry

I found the cause for the exception: No corpses on the map. Temporary fix: Kill something and let it rot  :)

The fixed version will be available tomorrow. Probably with a boomrat-toggle-thing - until I have time to work on the animal selection.

Calico

Yep, i also figured it out after a while. Once i had killed a few animals manually it started working just fine. Which is great, i always heard there was a mod back a few alphas that worked somewhat like this and never really undestood why nobody has brought it back. TYVM for doing this mod.

Carry

New version is available. I fixed the bug, that caused the exceptions and added the option to hunt boomrats.

For anyone interested in code:
Apparently 'Find.ListerThings.ThingsInGroup(ThingRequestGroup)' can return null. I expected at least an empty list.

StorymasterQ

Quote from: Carry on January 12, 2015, 05:33:41 AM
New version is available. I fixed the bug, that caused the exceptions and added the option to hunt boomrats.

For anyone interested in code:
Apparently 'Find.ListerThings.ThingsInGroup(ThingRequestGroup)' can return null. I expected at least an empty list.

I thought there was one programmers' rule that goes something along the lines of "Always expect NULL."

Anyway, nice catch! (and try, I suppose. Did you have a finally?)
I like how this game can result in quotes that would be quite unnerving when said in public, out of context. - Myself

The dubious quotes list is now public. See it here

DarknessEyes

Its almost perfect now!

The only thing that is needed is the range lines (like the ones on lights)
De Surgeries
https://ludeon.com/forums/index.php?topic=18976.0
Adds 26 new surgeries to Rimworld.

Killaim

now if turrets would target marked animals that would be exelent.

DarknessEyes

Quote from: Killaim on January 13, 2015, 06:50:10 AM
now if turrets would target marked animals that would be exelent.

nah, i dont want turrets busy with animals while enemies are near :)
De Surgeries
https://ludeon.com/forums/index.php?topic=18976.0
Adds 26 new surgeries to Rimworld.

7H3LaughingMan

Is there a possibility of adding any option in regards to ignoring Human Meat? I am having issues in where I have to keep increasing the thresholds so that they can keep hunting animals since I am using the Human Meat for creating new body parts.