Project Zomboid

Project Zomboid

Spear fishing | Рыбалка копьём
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.
Iopy 8 月 5 日 下午 5:06 
@im so crafty, I've been getting fishing xp when doing spear fishing, so it may be a mod conflict on your end causing you not to get xp.
Iopy 8 月 5 日 下午 5:05 
@Neon_Ghost, I believe it will be making a return in base game. I believe they're trying to find a way to implement a mini-game for it, like the fishing mini-game, but hadn't come up with something fun for the spear fishing aspect of it.
stalksetcup 8 月 5 日 上午 11:19 
Кстати, было бы славно если можно выставить приоритет на поимку мусора из водоёма
Neon_Ghost 8 月 5 日 上午 10:42 
thank fuck someone added this back in idk why the devs took it out!
Forcy  [作者] 8 月 3 日 上午 11:22 
@im so crafty
Thanks for the nice words! I can't even imagine what the problem is with giving xp... The mod should give fishing skill with each successful fishing (Trash or fish) So I can't even imagine what it conflicts with.
im so crafty 8 月 3 日 上午 11:20 
@Forcy
I didn't get any error message and I'm still not getting xp, I'll strip down my mod list to pinpoint what's causing this in the future. Still love the mod thanks!
Forcy  [作者] 8 月 3 日 上午 6:32 
@im so crafty
Okay, I'll wait!
Vilmix 8 月 3 日 上午 5:15 
Nice work!
im so crafty 8 月 3 日 上午 4:37 
@Forcy
I have those mods but I'm also running a ton of mods so there might be something conflicting with the xp i'll give it another go and see if I get an error message
Forcy  [作者] 8 月 2 日 上午 10:53 
@im so crafty
Are you sure you don't get fishing experience? I wrote it in the code and checked with mods that display xp gain in real time and it seems like the experience was given out... (The mods I used are "OSRS XP Drop" and "Simple Show XP")
im so crafty 8 月 2 日 上午 10:45 
great mod, sucks you dont get fishing xp but i''ll take this over the new fishing mechanic any day!
GamerNab4ever 8 月 2 日 上午 8:34 
Thanks for checking. I'll try it out
Forcy  [作者] 8 月 2 日 上午 8:26 
@GamerNab4ever
I checked and can say that the mod functions normally and does not give any errors. But at the same time it does not interact with Caster Plus
Forcy  [作者] 8 月 2 日 上午 8:21 
@GamerNab4ever
I haven't tested it, but in general it should work, but it won't synergize.
Give me a couple of minutes and I'll check if everything works fine with this mod.
GamerNab4ever 8 月 2 日 上午 8:19 
This mod works with Caster Plus or changes something of it?
Forcy  [作者] 8 月 1 日 上午 7:39 
@Blood
I also compared my chance with vanilla 41B and I want to say that I have a lower chance of catching fish in the mod. But I am still actively working on the mod and will balance it based on vanilla spear fishing in 41B
Blood 8 月 1 日 上午 7:28 
Similar to the old rates?
Forcy  [作者] 8 月 1 日 上午 7:26 
@Blood
The chance to catch at least something is 30%, after which the game chooses what exactly was caught (Fish or trash or nothing) 15% small fish, 10% large fish, 60% trash, 15% nothing. At the same time, the chances of successful fishing increase taking into account the level of fishing, as well as the presence of rain (there are plans to add a "lucky" time for fishing, as it is in vanilla)
Blood 8 月 1 日 上午 7:19 
Odds of catching a fish?
Forcy  [作者] 8 月 1 日 上午 6:57 
@ibewdave
Yes, it works, I've done several tests. If something goes wrong, be sure to let me know!
ibewdave 8 月 1 日 上午 6:33 
does it work..i want to fish,,,me hungry
ppernsteingolem 8 月 1 日 上午 2:55 
Cool idea. I will try it. THX.:steamthumbsup: