Project Zomboid

Project Zomboid

PZFateMagicTraits 圣杯魔术
110 Comments
jbdiablo 4 Oct @ 5:00pm 
@iforest - I got this comment on my max capacity override mod for idk why. It looks like you just need to update line 186 to:

weapon:setCriticalDamageMultiplier(weapon:getCriticalDamageMultiplier() * 2)
iforest  [author] 4 Oct @ 12:12am 
@魔法 所有B42测试版的问题我会等到正式版再处理,我现在没有精力去研究B42每次更新变动的导致的问题
魔法 3 Oct @ 11:30pm 
(MovingObjectUpdateSchedulerUpdateBucket.java:71)
zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:155)
zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3056)
zombie.iso.IsoCell.updateInternal(IsoCell.java:5964)
zombie.iso.IsoCell.update(IsoCell.java:5897)
zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4203)
zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4323)
zombie.iso.IsoWorld.update(IsoWorld.java:4237)
zombie.gameStates.IngameState.updateInternal(IngameState.java:1700)
zombie.gameStates.IngameState.update(IngameState.java:1465)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
zombie.GameWindow.logic(GameWindow.java:386)
zombie.GameWindow.frameStep(GameWindow.java:923)
zombie.GameWindow.mainThreadStep(GameWindow.java:647)
zombie.MainThread.mainLoop(MainThread.java:76)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:680, t:1759559186091> -----------------------------------------
魔法 3 Oct @ 11:30pm 
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1623)
se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
zombie.characters.CharacterTimedActions.LuaTimedActionNew.complete(LuaTimedActionNew.java:153)
zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:11044)
zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10675)
zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1952)
zombie.characters.IsoPlayer.update(IsoPlayer.java:1935)
zombie.MovingObjectUpdateSchedulerUpdateBucket.update
魔法 3 Oct @ 11:29pm 
zombie.characters.IsoGameCharacter.setPrimaryHandItem(IsoGameCharacter.java:3735)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.base/java.lang.reflect.Method.invoke(Unknown Source)
se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:210)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:200)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:851)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
魔法 3 Oct @ 11:29pm 
ERROR: General f:680, t:1759559186090> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in PZFateMagicExtraShooter at KahluaUtil.fail(KahluaUtil.java:101).
Stack trace:
se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:101)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:817)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:364)
魔法 3 Oct @ 11:26pm 
要从身上取下枪在装备伤害才正常
魔法 3 Oct @ 11:25pm 
现在就是开枪会导致伤害倍增,而且数值越来越大,我多开几枪伤害跑10万了
魔法 3 Oct @ 11:23pm 
function: PZFateMagicExtraShooter -- file: PZFateMagic.lua line # 186 | MOD: PZFateMagicTraits 圣杯魔术
Callframe at: setPrimaryHandItem
function: complete -- file: ISEquipWeaponAction.lua line # 211 | Vanilla
function: complete -- file: JB_MaxCapacityOverride.lua line # 298 | MOD: JB Max Capacity Override

LOG : Lua f:240, t:1759558775127> 100
LOG : Lua f:240, t:1759558775128> 100
LOG : Lua f:240, t:1759558775128> 100
LOG : Lua f:240, t:1759558775128> 100
LOG : Lua f:240, t:1759558775128> 100
LOG : Lua f:240, t:1759558775128> 100
LOG : Lua f:240, t:1759558775128> 100
4b09leslie 28 Sep @ 5:52am 
现在无限子弹的情况下,开几下枪就闪退
怕上火抱王伟帆 28 Sep @ 1:24am 
该更新了,真的失效了,以前还能将就用
咲恋 10 Sep @ 9:11am 
清洁礼装似乎不起作用,衣服仍会染血
renndumi 3 Sep @ 7:15am 
@iforest and @padiyar.varun90 the chinese characters on the folder name is the bug on linux, if you remove them the mod works
iforest  [author] 15 Jun @ 4:57am 
@咲恋 没有
咲恋 15 Jun @ 3:52am 
阿瓦隆有冷却时间吗?
iforest  [author] 31 May @ 7:13pm 
@Nicolarhan 身上带着打火机时不会触发自动灌满水容器和汽油容器
Nicolarhan 31 May @ 11:12am 
解包空间里面的自动灌满水容器之类的特质能否给个开关。比如空锡罐会被灌满水,导致某些mod没法用
iforest  [author] 30 Apr @ 10:13pm 
@Zenbobwe 在负面特性列表选择圣杯诅咒即可获得65536点特性值,这个特性就是专门用来提供足够的作弊点数的
Zenbobwe 30 Apr @ 10:07pm 
在哪里可以更改特质花费?我购买了特质,想获得这些特质。谢谢
iforest  [author] 29 Mar @ 7:36pm 
@影空 不建议一起用,虽然不会冲突,但功能重复会产生双倍性能占用
影空 29 Mar @ 12:30am 
集成了功能的mod还能跟这个一起用么?(前提是我不点圣杯的特征但是用被继承了的mod功能)
白棉花 25 Mar @ 6:47am 
好吧 還是感謝作者做模組:steamthumbsup:
iforest  [author] 24 Mar @ 5:45am 
@padiyar.varun90 I have no experience of Linux version, if you have run other mods successfully, you can compare the "mod.info" file of this mod and other mods, and modify it
padiyar.varun90 24 Mar @ 3:51am 
It is loaded. I am currently running on Linux Mint. The mod is properly running on Windows but inside Linux, it is not loading no matter what I do. I have unsubscribed and subscribed the mod countless times.
iforest  [author] 23 Mar @ 8:02pm 
@白棉花 是不是因为你的游戏语言设置的繁体中文?我没有给这个mod添加繁体中文的翻译,实在抱歉
iforest  [author] 23 Mar @ 7:58pm 
@padiyar.varun90 Open steam folder like:
D:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3369211813
check if your computer downloaded this mod, maybe network error
padiyar.varun90 23 Mar @ 10:32am 
@iforest: I am unable to see the mod in the mod loader. I can see it is subscribed (and I have subscribed/unsubscribed multiple times). But no matter what I do, it is not visible on the mod page inside the game. Any help?
白棉花 23 Mar @ 7:26am 
還要裝哪個mod才能讓選特質的時候聖杯魔術是顯示中文啊
Yekip 22 Mar @ 12:22am 
how can i make it so these traits dont appear in character creation? (if this is allowed ofc)
怕上火抱王伟帆 20 Mar @ 8:29am 
求更新
123 16 Feb @ 4:23am 
@iforest [作者]
在增加修复所有玻璃消耗材料或者体力疲劳
iforest  [author] 14 Feb @ 7:41am 
@****** 这个点子不错,不过我最近没时间玩僵毁,等有空了更新
虚数空间:【魔力高于三级阈值触发】清除半径16格内所有丧尸(不留下尸体,无法拾取战利品),按下绑定按键(默认为-)开启或关闭
123 13 Feb @ 7:44pm 
以玩家为中心做一个mod可以按键删除 或者 定时自动执行删除僵尸的命令
@iforest [作者]
T|-|CxSkyFire 15 Jan @ 11:59am 
Im a dope and forgot to load my modid in the config, I was able to edit the files and disable the GivePoint Trait
iforest  [author] 15 Jan @ 7:12am 
@T|-|CxSkyFire Oh, you are playing with server, you need to modify both server and client, or reupload a modified version with different Mod ID to workshop and resubscribe for server and client. This mod contains both b41 and b42, it's cumbersome for me to switch to B42 and reupload a new version, you can upload a b41 version by yourself, I'm not care about copyright.
T|-|CxSkyFire 15 Jan @ 5:37am 
Yes, I did that to both files to be sure in the dedicated server, clients can still pick the grail
iforest  [author] 15 Jan @ 5:28am 
@T|-|CxSkyFire if you are playing B41, make sure you modified
'media\lua\shared\NPCs\PZFateMagicTraits.lua' instead of the file with same name in folder ‘42’
it's not ‘42\media\lua\shared\NPCs\PZFateMagicTraits.lua’
or you can remove code lines of two files meanwhile
T|-|CxSkyFire 15 Jan @ 4:07am 
So Im assuming people's local mod is whats allowing them to still see the perk if debug is on. How about a version of this mod reuploaded WITHOUT the holy grail?
T|-|CxSkyFire 15 Jan @ 3:49am 
PZFateMagicTraits = {}

PZFateMagicTraits.DoTrait = function()
local KeepClean = TraitFactory.addTrait("PZFateMagicTraitsKeepClean",
Local Nohole =
local keepcondition=

-Snipped for Ease of Example-

Events.OnGameBoot.Add(PZFateMagicTraits.DoTrait)
T|-|CxSkyFire 15 Jan @ 3:47am 
I actually tried that, and upon loging in It was still available.
iforest  [author] 15 Jan @ 3:23am 
@T|-|CxSkyFire Due to the traits is run OnGameBoot, they can't be customized at sandbox setting, If you want to hide traits, you can modify file 'PZFateMagicTraits 圣杯魔术\media\lua\shared\NPCs\PZFateMagicTraits.lua', remove associated lines of code:

if SandboxVars.PZFateMagicTraits.EnableGivePoint then
local GivePoint = TraitFactory.addTrait("PZFateMagicTraitsGivePoint", getText("UI_trait_PZFateMagicTraitsGivePoint"), -65536, getText("UI_trait_PZFateMagicTraitsGivePointDesc"), false)
end
ottertactical 14 Jan @ 8:43pm 
Im trying to use this mod with traits purchase mod and the costs are so high i have to edit the file to lower it to 30 and i forgot which folder contains the right lua .
T|-|CxSkyFire 14 Jan @ 4:00pm 
I have PZFateMagicTraits.EnableGivePoint=false and on character creation the grail is still chooseable, i want this disabled.
iforest  [author] 14 Jan @ 9:55am 
T|-|CxSkyFire Did you mean you don't want "The price of the curse is the loss of the chance to grow into a strong man ..."? this description is just a joke to instroduce this cheat mod, the trait “The Grail curse” just provides 65536 trait points, it's no negative effects.
T|-|CxSkyFire 14 Jan @ 7:03am 
How to disable holy grail from dedicated b41
iforest  [author] 13 Jan @ 1:15am 
@Aego 对,就是背包栏第一个纸箱子图标
Aego 12 Jan @ 2:40pm 
解包空间是啥阿?是解包到身上的东西吗?
GravGunner 7 Jan @ 12:31pm 
@paradoxical
Bags in B42 Vanilla are limited to 50 weight now. No getting past that unless you modify game files.
我嘞个豆 5 Jan @ 4:08am 
这b42不会一直测试吧,正式版难道是假的
Paradoxical 31 Dec, 2024 @ 7:21pm 
@iforest I played in vanilla game with only this mod.

You may have to use the "-debug" launch argument to open the console in game. It doesn't throw an error, and only gives a warning, so it is only visible there.

Steps to reproduce are as follows:
1. Select "the grail curse" and "treasury of the king" traits and begin the game.
2. acquire any container, like a backpack or duffel bag.
3. Equip in right hand

The capacity of the bag will increase, but not past 50.