Project Zomboid

Project Zomboid

Combat Mastering Skill
62 Comments
Fylas 4 Sep @ 11:20am 
yeah. no if I attack in close combat with a firearm it generates over a thousand xp gain error messages. and I can't even tell what mod its conflicting with X_X
Its Over 9000!!! 24 Aug @ 2:13am 
firearms*
Its Over 9000!!! 24 Aug @ 2:12am 
why does this work on weapons????
somehow it's ridiculous that I spend 15 rounds to kill one zombie (if you take a negative perk and there will be 0 level of battle astress)
TheKoris68 21 Aug @ 10:03am 
shooting a gun shouldn't give exp unless it would also work on guns
TheLastHeroAlive 15 Aug @ 8:39pm 
mod sucks took me 8 days to figure out

ERROR: General , 1755305080335> 12,992,050,331> java.lang.NullPointerException: Cannot invoke "zombie.characters.skills.PerkFactory$Perk.getType()" because "<local6>" is null
ERROR: General , 1755305080335> 12,992,050,331> at zombie.characters.IsoGameCharacter$XP.AddXP(IsoGameCharacter.java:14848)
ERROR: General , 1755305080335> 12,992,050,331> at zombie.network.packets.AddXp.process(AddXp.java:52)
ERROR: General , 1755305080335> 12,992,050,331> at zombie.network.GameServer.receiveAddXp(GameServer.java:1276)
ERROR: General , 1755305080335> 12,992,050,331> at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1022)
ERROR: General , 1755305080335> 12,992,050,331> at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1532)
ERROR: General , 1755305080335> 12,992,050,331> at zombie.network.GameServer.main(GameServer.java:800)

was coming from this mod.
Gojita 15 Aug @ 1:45am 
It’s already a beautiful and well-made mod, so I’m definitely not nit-picking — just sharing a couple of small suggestions that might make it even better:

It could be nice to give it a simple, single-word name like “Prowess”, “Brawl”, or “Handling” or "Agile", "Lethal"... a short name would look cleaner in the menu and also feel more in line with the vanilla naming style.

It might also make sense for it to be placed under the Combat category, since that would match its theme and make it easier to find among other related skills.
CFW Magic 5 Aug @ 11:33am 
@GersonRess > You're welcome brother! Thanks to YOU for the mod and for fixing it up!
GersonRess  [author] 5 Aug @ 11:21am 
@CFW Magic Thanks a lot for your contribution. I hadn't noticed it myself. I'll update the mod as soon as I can.
CFW Magic 28 Jul @ 7:30pm 
Okay, after testing, I've found the fix. In CombatMasteringSkill.lua, add this code block to the beginning of combatMasteringModify function:

if not handWeapon then
return false
end


This will check if there is a weapon in the player's hands on every execution, and if there isn't one (when weapon breaks) will immediately return out of the function. I've checked and debugged and it seems to be working. Here's the link to the fixed version of the mod so you can see/test it for yourself. It's unlisted and I will remove it when/if you implement the fix:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3537039995
CFW Magic 28 Jul @ 3:11pm 
Hello there, I'd like to report a bug. When doing multiplayer, every time a weapon breaks there's an error. As far as I can understand it, it's because there's no sanity check (check for null value) in the file client/CombatMasteringSkill.lua. As a result, when weapon breaks, game tries to apply combat mastering while there is no weapon in player's hands.
Ploopypants 15 Jul @ 9:31pm 
Hi does restarting the game reset the combat speed of this mod? I realized whenever I reload my save file after a break the hitting speed seems to be much slower.
b41?
Paebloes 5 Jun @ 3:38am 
Buen mod, le da mas dinámica al combate :spiffo:
[INTEL] vH2 4 Jun @ 2:08am 
в чем смысл мода?
Муханик 23 May @ 7:46am 
Это отличный мод, давно хотелось что-то такого, спасибо тебе великий автор:squirtyay:
Moff 22 Apr @ 7:29am 
great mod is it Evolving Traits World (ETW) compatible?
진지사피언스 11 Apr @ 3:24am 
How can I increase my attack speed?
GersonRess  [author] 10 Apr @ 11:54pm 
No, pushing won't be affected, because it only affects weapons.
Juani 4 Apr @ 3:08pm 
is it going to affect pushing?
Helioxin 23 Mar @ 11:08am 
Hey no clue if this was said already but I noticed that despite have 0 mastery, my guy is still swinging normally. Am I missing something or is this just a bit of an error?
7HighSchoolDxd7 17 Mar @ 9:05am 
hello, i don't know if is a bug but why do i need 30K xp points on level 6?
frenziedrealities 16 Mar @ 7:18pm 
my pipe-wrench is practically a chainsaw
frenziedrealities 16 Mar @ 7:17pm 
also re-balancing would be nice to have it scale with some kind of formula off both weapon's level and combat mastery skill rather than just turn every weapon even if you are level 0 into a unbelievably powerful weapon
frenziedrealities 16 Mar @ 7:16pm 
will there be options for damage modification? assuming its in b41 that is
verdugo 15 Mar @ 5:54pm 
Working well, thanks for updating 🎉
Construct 12 Mar @ 2:05pm 
@GersonRess Do you think you could make a sandbox option that disables the traits added by this mod?
KyCoK_DoBRa 12 Mar @ 12:53pm 
Do you have any sandbox settings?
The Gray Ronin 12 Mar @ 9:42am 
Brilliant concept!
Just loaded this into an ongoing hosted server and all my players started at Mastery Level 5. Is that normal? I didn't notice anything mentioning it, and was expecting to have to level up from 0. Asking in case there is a mod conflict I should try to hunt down.
GersonRess  [author] 9 Mar @ 8:21pm 
@verdugo thanks for the info, I think it should be fixed now for b42
verdugo 9 Mar @ 9:42am 
@GersonRess only issue so far is it isn't showing up for 42 other than that it worked great 😊 I have this saved to my favorites so just patiently waiting for it to reappear. Thanks for replying, keep up the good work 😊
GersonRess  [author] 9 Mar @ 3:33am 
@verdugo Thanks bro, if you find any issue feel free to let me know.
GersonRess  [author] 9 Mar @ 3:32am 
@Construct I don't think it fits the idea of this mod, but I appreciate the suggestion
verdugo 8 Mar @ 9:19pm 
Love this mod
GersonRess  [author] 8 Mar @ 12:30pm 
@maboo Yes, it adds XP whenever an attack is made, even with spacebar
maboo 8 Mar @ 2:23am 
Is it normal for experience points to increase when using a gun?
GersonRess  [author] 7 Mar @ 1:16pm 
@Anxiety @IEnemY @Lionheart That was a weird issue, but I think its fixed now, let me know if u still facing it
Anxiety 7 Mar @ 12:32pm 
There's clearly an issue with your update. I'm also getting a disk write error when Steam tries to download the update. Using SteamCMD to manually download it in a separate directory returns "ERROR! Download item 3435985650 failed (I/O Operation Failed)" with error codes of 1314 and 4392 (when run as administrator). Your other uploaded mod (workshop item 3374408921) downloads just fine. Something must be wrong with your upload.
iEnemY 7 Mar @ 9:26am 
@GersonRess can you upload your mod into github?
iEnemY 7 Mar @ 9:25am 
@Lionheart issue came back for me)
Lionheart 7 Mar @ 6:41am 
@IEnemY I am also having that same issue. What exactly did you do to fix it?
GersonRess  [author] 7 Mar @ 5:05am 
@IEnemY Glad to hear you managed to fix the issue! And no worries at all, you didn't disturb me. Thanks for your feedback!
iEnemY 7 Mar @ 4:51am 
@GersonRess sadly, no. Happens on two my devices and also happens for other server clients. Same issue for everyone. But this is CDN issue and I've solved it via VPN, sorry for disturbing you) BTW, awesome mod, nice work!
GersonRess  [author] 7 Mar @ 4:02am 
@iEnemY Hey man, it seems to be an issue with your storage. Do you have enough free space? Maybe your disk is full. Also, check if the workshop mods folder has read and write (RW) permissions.
iEnemY 7 Mar @ 3:52am 
Hello. Today I can't start server - mod update failed to download.


LOG : General , 1741347648864> 642,620,703> Workshop: download 179392/179392 ID=3435985650
src\common\symlink.cpp (34) : Assertion Failed: Unexpected Error Result 4392
LOG : General , 1741347648916> 642,620,756> Workshop: onItemNotDownloaded itemID=3435985650 result=37
LOG : General , 1741347648917> 642,620,756> Workshop: item state DownloadPending -> Fail ID=3435985650


Same problem for steam client - "Disk write error"
Anxiety 7 Mar @ 12:32am 
Nice timing. I was just about to mention that, looking at the scripts, it was possible you botched dynamic trait management. So it's cool that you caught that. I had, in fact, reached level 2+ in the skill before it happened each time. I guess I didn't notice I'd lost the Defenseless trait. Anyway, I'm glad you're fixing it (and it probably wasn't a weird mod conflict). :)
GersonRess  [author] 7 Mar @ 12:27am 
@SoftHeartedOutlaw Of course, I'm working on adding a lot of modifiers, as long as it's still balanced, and weapon weight will definitely be one of them.
GersonRess  [author] 7 Mar @ 12:24am 
@Anxiety Hey man, I think it was related to how I programmed the dynamic trait management. It should be fixed now. Let me know if you're still experiencing this issue. Thanks for your feedback
Anxiety 6 Mar @ 8:54pm 
I play with way too many mods, so maybe there's some weird incompatibility, but twice now I've hit a bug when loading a saved game. It's happened on the third or fourth session with a given character. Upon loading the game, I lose the Defenseless trait and immediately hit level 5 Combat Mastering.

I don't have the same problem with the Efficiency Skill mod, which defaults to level 2 if you don't start with the Inefficient trait. The vanilla Strength and Fitness skills also behave normally. Only Combat Mastering is bugged. Maybe something isn't initialized properly when loading a save, so it doesn't get saved properly for the third session?
SoftHeartedOutlaw 6 Mar @ 1:25pm 
Is there a way to also decrease weight of weapons as you level up? I figure if you use melee weapons continuously, you'd have better handling and your players body would be used to carrying weapons, like a real warrior.
GersonRess  [author] 3 Mar @ 10:25pm 
@Plasmasnack Thanks for your feedback mate, I'm adding sandbox options on the next update so this is fixed and will be uploaded soon