Jump to content

Capture Animals


DArkHekRoMaNT

Recommended Posts

  • 1 month later...
4 hours ago, Bastian Schöls said:

There is NO COMPATIBILITY with "Farm Life". You can build cages but can't set a bait to it. Haven't tested it due its functionality without bait.

make sure you have this mod in your list Compatibility Lib

it works fine with Farm Life as long as you have that, and alot of other mods work better as well

  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

v2.0.0-a:
Warning! 2.0.0+ is not compatible with older versions, you will lose all your cages.

- Updated to 1.15 and net461
- Changed the cage-with-bait recipe system to the GUI
- Baits is now loaded from config/baits.json
- New cage parameters
- New cage model with animation
- Changed cage item codes, removed non-typically materials, added a creative variant
- Rewriten a lot of other code
- Added SharedUtils submodule

Edited by DArkHekRoMaNT
  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
13 hours ago, Super3 said:

I can't get this to work. I tried shift + RMB with the gui open but nothing happens. I'm sure I'm doing something wrong.

Put cage and one food item in quickbar. SHIFT (duck/cower) an select the cage, then press Right mouse button and a special menue opens. There put the food item and close window with "X". Voilà, specialized cage.

I also edited baits.json (config folder) and cage.json (itemtypes folder) for lower breaking chance.

Link to comment
Share on other sites

  • 2 weeks later...

original post:
Can you assign a food for two different animals (one vanilla and one from mod)?
Alternative: code for "drygrass" leads to crash ( {  "type": "item", "code": "game:drygrass", "entities": [  {  "code": "game:aurochs-*", "capturechance": 0.8  })

Edit: Ok, with "game: resource-drygrass" at least it doesn't crash anymore. Search continues with ingame message "no suitable animal"
 

 

Edited by BavarianViking
Link to comment
Share on other sites

5 hours ago, BavarianViking said:

"game: resource-drygrass"

It won't work, it needs an item code and there is no such item. Do you do this via a patch / manual file change? How does it look completely?

You can also add any number of entities to one item, wildcards are supported and the entities field itself is an array. You can use something like this:

"entities": [
	{ "code": "game:hare-*", "capturechance": 1 },
	{ "code": "othermodid:rabbit-*", "capturechance": 0.9 },
	{ "code": "othermodid:bigrabbit-red", "capturechance": 0.2 }
]

 

Link to comment
Share on other sites

  • 3 months later...
  • 5 months later...

I crash if I don't do the sequence correctly.
Correctly: Start on an empty clot on the hotbar. Crouch then scroll to cage slot on hotbar and then right click. It will open the GUI to put in bait (vegetable, whatever). 
Incorrectly: Start on cage slot in hotbar, then crouch and right click. Result is crash. 

Running on 64 bit Windows with 16 GB RAM 
Game Version: v1.16.5 (Stable)
Loaded Mods: acorns@0.5.1, chiseltools@1.5.0, civbooks@1.3.4, collabclasses@3.0.4, expandedfoods@1.5.3-pre.10, fancydoors@1.1.1, primitivesurvival@2.9.2, shinglesandthethings@1.0.1, spyglass@0.4.5, thecritterpack@0.7.6, tradeomat@1.6.1, game@1.16.5, captureanimals@2.1.1, carrycapacity@0.6.5, dsdebarkedlogs@1.0.4, gasapi@1.0.2, petai@1.4.4, playercorpse@1.3.1, tprunes@1.0.5, usefulstuff@2.3.2, creative@1.16.5, survival@1.16.5, workbenchexpansion@1.4.1, xlib@0.6.8, xrowboat@0.0.3, bricklayers@0.9.1, cobexclusives@1.2.8, wildcraft@1.2.3, xskillspatched@0.6.9-dev.8
2022-05-23 2:15:39 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.GameContent.BlockMultiblock.OnBlockInteractCancel(Single secondsUsed, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel, EnumItemUseCancelReason cancelReason)
   at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnGameTick(Single dt)
   at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world)
   at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt)
   at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime)
   at _esGsESICkihAc8ShXuIoQwZFwP4._lPY9uZeagiMGC6tvSE11dF7naaz(Single )
   at _8UC8FAMhwKY89IbtSRDjsNSApPJ._KbwUAfxjCHyIG0aK445AAA9FHl5(Single )
   at _8UC8FAMhwKY89IbtSRDjsNSApPJ._R0wAt2N0TpONMxGD0HJG3bDrRcI(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 476
   at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 452
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
   at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._vvUTh6X5xLRNnjtX2xSE7z8yMeh(_SUsdg1ytavxaRcNNkhfDrODGhGP , String[] )
   at _yA4PJazdKq1OMm8H6js6v5AhQB._vvUTh6X5xLRNnjtX2xSE7z8yMeh(ThreadStart )
-------------------------------

Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 2022-05-19 10:36:35 PM, Site = , Source = Application Hang, Message = The program Vintagestory.exe version 1.16.5.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.

Process ID: da8

Start Time: 01d86bad965b4731

Termination Time: 3

Application Path: C:\Users\Dawning\AppData\Roaming\Vintagestory\Vintagestory.exe

Report Id: 554f86a3-4f94-4aea-b164-d8a33ac40ccc

Faulting package full name: 

Faulting package-relative application ID: 

Hang type: Unknown
 }
--------------
{ TimeGenerated = 2022-05-16 5:08:45 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1567672504782107482, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.16.5.0
P3: 625674b5
P4: atio6axx.dll
P5: 6.14.10.13417
P6: 56d0b234
P7: c0000005
P8: 0000000000407640
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4B38.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FDD.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FED.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FFB.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER502B.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_e5cc38edaf7a7551d95d67fe47deb449ead176_1f70e3ae_4949ba12-7ddb-4efe-be01-8cdafbf77669

Analysis symbol: 
Rechecking for solution: 0
Report Id: 6ee82e6a-8f4b-4e56-8278-8a827de60e52
Report Status: 268435456
Hashed bucket: 0e92fd1dc178d1b745c17dd653af335a
Cab Guid: 0 }
--------------
{ TimeGenerated = 2022-05-16 5:08:44 PM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.16.5.0, time stamp: 0x625674b5
Faulting module name: atio6axx.dll, version: 6.14.10.13417, time stamp: 0x56d0b234
Exception code: 0xc0000005
Fault offset: 0x0000000000407640
Faulting process id: 0x1c74
Faulting application start time: 0x01d86968c46e3b4d
Faulting application path: C:\Users\Dawning\AppData\Roaming\Vintagestory\Vintagestory.exe
Faulting module path: C:\WINDOWS\SYSTEM32\atio6axx.dll
Report Id: 6ee82e6a-8f4b-4e56-8278-8a827de60e52
Faulting package full name: 
Faulting package-relative application ID:  }

Link to comment
Share on other sites

On 5/23/2022 at 9:39 PM, Dawning said:

I crash if I don't do the sequence correctly.
Correctly: Start on an empty clot on the hotbar. Crouch then scroll to cage slot on hotbar and then right click. It will open the GUI to put in bait (vegetable, whatever). 
Incorrectly: Start on cage slot in hotbar, then crouch and right click. Result is crash. 

Running on 64 bit Windows with 16 GB RAM 
Game Version: v1.16.5 (Stable)
Loaded Mods: acorns@0.5.1, chiseltools@1.5.0, civbooks@1.3.4, collabclasses@3.0.4, expandedfoods@1.5.3-pre.10, fancydoors@1.1.1, primitivesurvival@2.9.2, shinglesandthethings@1.0.1, spyglass@0.4.5, thecritterpack@0.7.6, tradeomat@1.6.1, game@1.16.5, captureanimals@2.1.1, carrycapacity@0.6.5, dsdebarkedlogs@1.0.4, gasapi@1.0.2, petai@1.4.4, playercorpse@1.3.1, tprunes@1.0.5, usefulstuff@2.3.2, creative@1.16.5, survival@1.16.5, workbenchexpansion@1.4.1, xlib@0.6.8, xrowboat@0.0.3, bricklayers@0.9.1, cobexclusives@1.2.8, wildcraft@1.2.3, xskillspatched@0.6.9-dev.8
2022-05-23 2:15:39 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.GameContent.BlockMultiblock.OnBlockInteractCancel(Single secondsUsed, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel, EnumItemUseCancelReason cancelReason)
   at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnGameTick(Single dt)
   at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world)
   at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt)
   at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime)
   at _esGsESICkihAc8ShXuIoQwZFwP4._lPY9uZeagiMGC6tvSE11dF7naaz(Single )
   at _8UC8FAMhwKY89IbtSRDjsNSApPJ._KbwUAfxjCHyIG0aK445AAA9FHl5(Single )
   at _8UC8FAMhwKY89IbtSRDjsNSApPJ._R0wAt2N0TpONMxGD0HJG3bDrRcI(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 476
   at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 452
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
   at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._vvUTh6X5xLRNnjtX2xSE7z8yMeh(_SUsdg1ytavxaRcNNkhfDrODGhGP , String[] )
   at _yA4PJazdKq1OMm8H6js6v5AhQB._vvUTh6X5xLRNnjtX2xSE7z8yMeh(ThreadStart )
-------------------------------

Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 2022-05-19 10:36:35 PM, Site = , Source = Application Hang, Message = The program Vintagestory.exe version 1.16.5.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.

Process ID: da8

Start Time: 01d86bad965b4731

Termination Time: 3

Application Path: C:\Users\Dawning\AppData\Roaming\Vintagestory\Vintagestory.exe

Report Id: 554f86a3-4f94-4aea-b164-d8a33ac40ccc

Faulting package full name: 

Faulting package-relative application ID: 

Hang type: Unknown
 }
--------------
{ TimeGenerated = 2022-05-16 5:08:45 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1567672504782107482, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.16.5.0
P3: 625674b5
P4: atio6axx.dll
P5: 6.14.10.13417
P6: 56d0b234
P7: c0000005
P8: 0000000000407640
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4B38.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FDD.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FED.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4FFB.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER502B.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_e5cc38edaf7a7551d95d67fe47deb449ead176_1f70e3ae_4949ba12-7ddb-4efe-be01-8cdafbf77669

Analysis symbol: 
Rechecking for solution: 0
Report Id: 6ee82e6a-8f4b-4e56-8278-8a827de60e52
Report Status: 268435456
Hashed bucket: 0e92fd1dc178d1b745c17dd653af335a
Cab Guid: 0 }
--------------
{ TimeGenerated = 2022-05-16 5:08:44 PM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.16.5.0, time stamp: 0x625674b5
Faulting module name: atio6axx.dll, version: 6.14.10.13417, time stamp: 0x56d0b234
Exception code: 0xc0000005
Fault offset: 0x0000000000407640
Faulting process id: 0x1c74
Faulting application start time: 0x01d86968c46e3b4d
Faulting application path: C:\Users\Dawning\AppData\Roaming\Vintagestory\Vintagestory.exe
Faulting module path: C:\WINDOWS\SYSTEM32\atio6axx.dll
Report Id: 6ee82e6a-8f4b-4e56-8278-8a827de60e52
Faulting package full name: 
Faulting package-relative application ID:  }

What block did you aim at before? Crash says you're looking at some multiblock and clicking (with shift) on it, which causes a crash.

Link to comment
Share on other sites

  • 2 weeks later...
  • 7 months later...
  • 3 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.