Project Zomboid

Project Zomboid

63 个评价
Spear fishing | Рыбалка копьём
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
451.824 KB
7 月 31 日 下午 3:22
8 月 6 日 上午 11:58
8 项改动说明 ( 查看 )

订阅以下载
Spear fishing | Рыбалка копьём

描述
Spear Fishing Overhaul
Bring primitive fishing to life in Project Zomboid!
Key Features:
Use crafted spears to hunt fish in rivers and lakes
Spears can break during use
Fully compatible with the 42Build.

Supports vanilla spears only.
Based on the test results, the mod is safe to add to saves

I also want to add that this is my first mod and I am extremely inexperienced in development, so the mod may give errors or be bad. Please forgive me for this :(

===========================================================================

Ловля рыбы с помощью копья
Вдохните жизнь в первобытную рыбалку в Project Zomboid!
Ключевые особенности:
Используйте изготовленные вручную копья для охоты на рыбу в реках и озёрах.
Копья могут ломаться во время использования.
Полностью совместимо с 42Build.

Поддерживает только ванильные копья.
По результатам теста мод можно безопасно добавлять в сохранения.

Хочу также добавить, что это мой первый мод, и у меня крайне мало опыта в разработке, поэтому мод может выдавать ошибки или быть плохим. Пожалуйста, простите меня за это :(

Workshop ID: 3539114542
Mod ID: SpearFishing
热门讨论 查看全部(2)
2
8 月 25 日 下午 5:42
置顶: Know Issues | Известные проблемы
Forcy
0
8 月 21 日 上午 5:55
Error when Spear Fishing
Iopy
32 条留言
Tank5168 10 月 19 日 下午 1:14 
After entering the game, the module cannot be enabled.
SmokeAnDrink 10 月 6 日 上午 1:48 
@Baancho You can change 'xpTrash' to a fixed value (Perks.Fishing, 10) and then restart the game. In my case, I set it to 10... I also haven’t checked if 'xpsmallfish/xpbigfish' actually gives you experience, but the same thing could be done
Baancho 8 月 24 日 上午 10:37 
I was also getting a lot of errors. Console.txt pointed to line 362 of Actions.lua. I went in and just commented out the AddXP call and now I don't get any errors. It seems something with adding XP for failed catch is what is causing the error to throw.

You can do the modification yourself by opening the following file:

C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3539114542\mods\SpearFishing\42\media\lua\client\SpearFishing\Action.lua

Then on line 362 replace self.character:getXp():AddXP(Perks.Fishing, xpTrash) with --[[self.character:getXp():AddXP(Perks.Fishing, xpTrash)--]] .

You won't get XP for failed catches but it also stops throwing errors. I was still getting XP for actual catches.
Forcy  [作者] 8 月 12 日 上午 11:56 
Dear players, unfortunately now I do not have the time and energy to fix the mod's errors, please forgive me. When I have free time I will try to fix everything... Throw your errors, logs, etc. into the discussion please. Thank you for understanding.


Уважаемые игроки, к сожалению, сейчас у меня нет ни времени, ни сил исправлять ошибки мода, прошу прощения. Когда появится свободное время, постараюсь всё исправить... Пожалуйста, кидайте в обсуждение ваши ошибки, логи и т.д. Спасибо за понимание.
[KUN]喜欢吃皮蛋拌粉 8 月 12 日 上午 10:39 
Хм... Я не знаю, почему, когда у меня в рюкзаке 10 самодельных копий, при ловле рыбы, как только одна сломается — все остальные тоже ломаются, и больше нельзя продолжать рыбалку. Приходится перезаходить.
ChengZi 8 月 10 日 上午 11:40 
`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@e62b40e1
function: perform -- file: Action.lua line # 362 | MOD: SpearFishing
function: perform -- file: TimedActionXP.lua line # 21 | MOD: Efficiency Skill Mod B42
`
可能与“Efficiency Skill”产生冲突,可以兼容一下吗
因为我不会代码,推荐您或许可以参考一下此模组
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3536897944
Forcy  [作者] 8 月 6 日 上午 11:59 
Sorry for the trouble...I released a fix and now everything should work fine.

Извините за доставленные проблемы...Выпустил фикс и сейчас всё должно работать нормально.
Van Gogh 8 月 6 日 上午 3:29 
Bro, your mod doesn't work anymore — it crashes when I fish.
傻逼就是我 8 月 6 日 上午 1:09 
回来了,都回来了😭
星彩 8 月 6 日 上午 12:56 
一些沙盒设置无法正常显示,我在调试中发现可能是因为“sandbox-options”文件中的一些“--”符号干扰了游戏的判断(不幸之类的负面特特质的设置选项前),导致之后的沙盒设置选项均未能正常显示,删除后可以正常使用,但在捕鱼中如果一无所获会导致一次报错,并不影响游戏运行。
Some sandbox settings can not be displayed properly, I found in debugging that it may be because some “--” symbols in the “sandbox-options” file interfere with the game's judgment (before the setting options for negative traits such as unfortunate), causing all subsequent sandbox setting options to fail to display properly. The sandbox-options are not displayed correctly after that, but after removing them, they work fine, but if you catch nothing in fishing, it will cause an error once, and it does not affect the game.