Jump to content

Search the Community

Showing results for tags 'multiplayer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. So I am hosting a dedicated server on a spare linux laptop. When the server runs, I am the only one who can't connect. I have also noticed that on the favorites tab of the server page it says the server version is "???" if it doesn't say "not responding". I attached my logs down below. I tried following this post, but it didn't seem like a solution was ever found. Would love any help! logs.zip
  2. Error, black screen when creating server. When I enter my server, create a character and choose where to appear, then the screen goes black and it doesn't load (even though I wait hours). Multiplayer , No mods. 41.78.16 (steam). file logs.zip https://drive.google.com/file/d/1An0gvFVtK9y4RlGHYTrNJ858WnQh5jeY/view?usp=sharing VID_21331003_010037_922.mp4 2.mp4 3.mp4
  3. I'm very new to modding in Project Zomboid so please forgive me if I'm overlooking something. I'm trying to create a mod where if you sitting next to another play that is actively gaining xp then you'll also gain xp. The idea is kind of like an apprenticeship mod, anyways, I'm having trouble adding xp to another user. I'm most familiar with Typescript so I picked to go with the pipewrench library. The General idea is with an Event listener on `addXp` I can see which Player is currently `working` (gain xp) then search for every other player connected to the server and if the user is within the specified distance and sitting on the ground, if so, they'll also gain xp. The only problem is that the online players do not receive any xp when I feel like they should. The code doesn't throw any errors. I would appreciate any insights, Thank you! // PipeWrench API. import { getOnlinePlayers, getPlayer, getPlayerFromUsername, IsoPlayer } from '@asledgehammer/pipewrench'; import * as Events from '@asledgehammer/pipewrench-events'; // Example reference API. import { distanceBetweenPlayers, greetPlayer } from './api/ExampleAPI'; const maxDistance = 2.5; Events.onGameStart.addListener(() => { Events.addXP.addListener((character, perk, level) => { let player: IsoPlayer | null = null; const onlinePlayers = getOnlinePlayers(); // find player receiving xp by full name for (let i = 0; i < onlinePlayers.size(); i++) { const onlinePlayer: IsoPlayer = onlinePlayers.get(i); if(onlinePlayer.getFullName() === character.getFullName()) { player = onlinePlayer; break; } } if (player) { // loop over all online players to see if any are within max distance for (let i = 0; i < onlinePlayers.size(); i++) { const onlinePlayer: IsoPlayer = onlinePlayers.get(i); if (onlinePlayer.getFullName() !== player.getFullName() && onlinePlayer.isCharacter()) const distance = Math.sqrt( (player.getX() - onlinePlayer.getX()) ** 2 + (player.getY() - onlinePlayer.getY()) ** 2 ); if (distance <= maxDistance && onlinePlayer.isSitOnGround()) { const learningPlayer = getPlayerFromUsername(onlinePlayer.getDisplayName()); learningPlayer.getXp().AddXP(perk, 50); learningPlayer.Say('Learning from ' + player.getDisplayName() + '!'); player.setHaloNote('Teaching ' + onlinePlayer.getDisplayName() + '!'); } } } } }) });
  4. If anyone wants to play PZ on a server join my discord channel / Si alguien quiere jugar PZ en un servidor unanse a mi canal de discord Discord: https://discord.gg/CHvcK3Db
  5. I'm admin of my own server. The bug shows up when my character have an skill at level 0 and reads the any book of level intermediate and up using the admin power instant action. If they reads the beginners book recibes the corresponding boost. At level 2 of the skill stops reviving boost as usual but if they read the intermediate book recibes no boost at all. This is true for every level of skill book and every skill. I consistently try them all.
  6. It would be neat if you got a sadness debuff for seeing a friend as a zombie, and another for killing them. I guess the game would have to track what players have spent time near you, so you don't get the same effect seeing dead strangers. I think it would be an interesting addition.
  7. I'm trying to host a modded server, but there are some mods that whilst they're properly installed and added to the server they don't seem to be actively working, I've tried SO MANY things and searched in many places for an answer but nothing seems to work, also I've even tried creating a world and using only one of those mods at the time and still they're not there during play(e.g 'More traits' is one of them and it is a mod functional in MP). If anyone can help me with this I'd be eternally grateful and feel free to ask for any information needed
  8. Hi So my suggestion is about better in game voice chat. Basically make the enviroment around you change the way you are being heard, if you are in an open space, then of course you should be heard clearly, but if you are in a seperate room, behind a wall, inside a car, your voice should be muffled a bit.
  9. icho

    Send message in chat

    i need just to send random message in chat but my code isn't working, there are no errors or warnings in log local messages = {'message1', 'message2'} local function sendMsgInChat() local randIndex = math.random(1, #messages) local randMsg = messages[randIndex] sendServerCommand('chat', '[SERVER]: '..randMsg) end Events.EveryHours.Add(sendMsgInChat)
  10. Infinite trees engulf half of the map. The bug manifests with a straight line of trees near Riverside that never ends. It could be a corruption of the map due to some mod, but it could also be just a vanilla malfunction. Images below (link) 1. https://drive.google.com/file/d/11_6aQlyZEAJHl-1trz1Lcmf72nWFCYkv/view?usp=sharing 2. https://drive.google.com/file/d/1s8PgDtb5BJDCEvFuVvle9S01EfB52NWi/view?usp=sharing
  11. Formatting such as [col=255,255,255] or *255,255,255* doesn't work over radios, either in overhead messages or in the chat log. The cause of this is twofold. For the chat log, this appears to be because SayChat.getMessageTextWithPrefix calls ChatUtility.parseStringForChatLog, while RadioChat does not. Notably, this also affects vanilla radio broadcasts, for example ones that use music. For the overhead messages, it appears to be because RadioChat.showInSpeechBubble doesn't call ChatUtility.parseStringForChatBubble, whereas RangeBasedChat.showInSpeechBubble does. (This is because RadioChat overrides it and doesn't call super, but I'm not entirely sure why the override exists.) Frequency doesn't show up properly, as -0.1-MHz. You can test it by listening to the AEBS. This is probably because radioChannel defaults to -1, and setRadioChannel isn't called in Radio.AddDeviceText. Even worse, the override that takes a string argument doesn't create a chat message, meaning it cannot be called there, at least not without changing the surrounding code. Frequency now shows up properly, at least. Also, stationary/placed radio messages don't show up in chat, even if they're from players. Combined with the quick message fade, this makes it almost impossible to use for multiplayer communication. Finally, handheld radios will automatically turn off if not held in your hand, which makes clipping a walkie-talkie to your belt useless. This makes even handheld radios useless in multiplayer.
  12. Version: 41.78.16(Steam) Mods: None Singleplayer works fine, with mods and without. On Multiplayer, my game bugs out. I can't remove the curtains; When I kill a zombie, they lie on the ground and move around as if they're still alive and I can't loot the corpses; The map doesn't load in completely (like a 4x4km cell). after some time (1-2min) Anti cheat 21/22 or 24 kicks me out. These are by now all the issues I've found I uninstalled and restarted the game, removed everything that as to do with the game: the Files in User folder and steam folder. Yet the issue still pops up. The Bugs happens on official, Community servers and my own. My friends which are on the same servers don't encounter this issues. Video of the bugs: Bugged MP.mp4 Anticheat Type 22 was disabled in this video! I've safed up the Serverlogs, I'm not sure if there is sensible information in the logs so I'd prefer not to send it before an expert tells me so. Your help would be appreciated!
  13. Hello everyone. We are developing a server and we are looking for a PM developer who can help us. Preferably Spanish speaking. Conditions by DM.
  14. • 41.78.16 • Singleplayer/Multiplayer. • Host. • No. • Still occurs on new save • Reproduction steps: 1. Start game in Apocalypse mode. 2. Attack a zombie with downward kick (Left ALT by Default) in a fighting stance. 3. Moving during the hit, the zombie falls instantly. I think this bug is serious and it breaks the game. Fix it as soon as possible. logs.zip
  15. • Version? • Singleplayer/Multiplayer? MULTIPLAYER • Host or dedicated? HOSTED • Mods? Some mods • Old or new save? Old, but occurs on brand new hosted server with just 2 players • Reproduction steps: It's been happening a long time even before 41.78.16 I just figured I report it here. So basically, when a car alarm goes off on Player 1's end there is sound coming out from the car and lights blinking in and out while on Player 2's end there's no sound at all but when you get close enough to the car you'll see that the headlights are blinking like how it would be if the alarm got set off. We got no problem with the ping/connection.
  16. Hi devs, I'm trying to containerize the PZ server to deploy it to a k8s cluster, and noticed that your game files are huge!! Uncompressed v compressed, the media directory is 4.8G -> 860M, or 5x smaller An area we can focus on specifically are the maps. If we look at all of the `media/maps/Muldraugh,\ KY` dir, it's 3.9G! It's a large directory, but it's also doing 2 things at once, which might have been a legacy decision. Muldraugh is a named spawn point, but unlike its 3 neighbors, it also holds the entire gameworld files. This is slightly annoying as a server operator, because if I want to modify the spawnpoints in Rosewood, it's very obvious where the work needs to be done: I can't say the same for Muldraugh. That directory is full of chunk data files that get in the way. I think you should crowbar the functionality of Muldraugh being a named spawn point away from it storing the whole default world map. Doing so would be a nice quality of life improvement for server ops. additionally, having the world map stored off somewhere else would allow you to compress (zip?) the big chunk files into a nice, single binary file that can get decompressed at runtime, without closing off tweaks to the spawn area. Here's what that could look like: It's not lost on me that right now the team is going through a major rewrite of the game for 42... Maybe now's the time to tackle a bit of tech debt? If you want to talk more about this, I'm MindFlayer # 0001 on the Discord. Thanks.
  17. Version: 41.78 Multiplayer Host No Mods Server initialized in 41.78 Reproduction steps: 1. Aggro Zombies 2. Move during a certain time with zombies aggro 3. A certain number of zombies disapearing, and some times all of them like the video below Video: https://clips.twitch.tv/YawningObservantSwallowTBTacoRight-eMBkt4b5TeKLHmNA Note: It appends in the server of my friend too, with the same version of the game
  18. - Remote Controller V1, V2, V3 does not detonate planted bombs, does not activate Noise Maker. - Planted bombs disappear after the server is restarted. - In the single player version, planted bombs explode without damage. - In Build 41, bombs will deal less damage due to changes to zombie health. In build 39, 5-6 pipe bombs could blow up a whole horde. I basically play as an engineer, when all the players considered him useless, I considered him useful for myself in the end game. I was upset by the news that remote bombs stopped working in the new build, please developers fix it. Thank you for a wonderful game.
  19. As the title says, multiplayer erosion does so much less than singleplayer, as shown in the images. The grass on the ground is 10 years later mod, but that only affects sprites, doesn't touch erosion at all. My settings on both are erosion 100% on day 1 and 12 months into the apocalypse. Singleplayer above, multiplayer below.
  20. Newly launched server! Come and play with us! This is your 10 years later post-apocalyptic story in Louisville! WarZ is a PvPvE server located in USA east-coast. A 10 years later world with low population zombies, all tough, 10% joggers, and 30% smart. Too much? How about infection only when bitten, with bite cure, and +10 free skill points? • Mods collection https://steamcommunity.com/sharedfiles/filedetails/?id=2923143168 • Skill journal set at 70% EXP recovery • Residential safehouses are turned on, trespass off, and looting off. • Players and server shops. • 5% zombies drop rate earning coins or ammo. • 2hrs day length, loot respawns every 48 IRL hours. • more... Launched: last Jan 20, 2023. Wipes: TBD, gonna be long-term. Limit: currently up to 16 players max, and may upscale as needed. SERVER CONNECTION INFO IP: Port: 27645 Share link: steam://connect/ Discord: https://discord.gg/TXWQUpbhA8
  21. Version: 41.78 Multiplayer Host No Mods Server initialized in 41.78 Reproduction steps: A certain number of zombies reapparing on a certain zone, in the case of the video, they are reapparing on my tile where i'm present Video: https://clips.twitch.tv/SilkyAgileWerewolfCoolStoryBro-kAVxRNwA3r-wyJ92 I think there is a link with my previous post, if they desappear, zombies will reappear after a certain amount of time.
  22. So I was creating a new Scenario for my friends and I, to try some challenge mods out. At some point the mod list glitched and refuses to update. In the two pictures you can see that the Sandbox options for the empty list are all modded and exactly the same as the other modded one. This is the same for all of the host scenarios and refuses to update or change. I've tried restarting my game, my pc, deleting the scenarios and starting from scratch, I've even uninstalled the game and all subsequent mods but it's still stuck like this.
  23. • Version? • Singleplayer/Multiplayer? • Host or dedicated? • Mods? • Old or new save? • Reproduction steps: • 41.71 • Multiplayer. • Dedicated (private dedicated server) • No. Pure vanilla • Still occurs on new save/wipe • Reproduction steps: 1. Start a server with Discord bridge configured. 2. Let the server run for few good hours. 3. Observe the chat bridge (it will eventually stop working). In depth description: We've been noticing that the Discord bridge doesn't always work on our vanila dedicated server. Seems like it does time out (?) after a while for some reason. It started happening between last few updates (around February everything was working just fine). Only thing that works is a server restart but even with that it's not a bulletproof solution, rather a band aid... This Discord bridge functionality is an amazing addition to the game and it would be really, really nice if developers got to the bottom of it. Looking at the server files I've noticed that the library is strongly outdated (2.0.17). Maybe it's worth to try updating the binary (https://github.com/Javacord/Javacord/releases/tag/v3.4.0) to try eliminating those issues. Also, increasing/adding logging would be super helpful for diagnosing this issue. Just throwing some ideas out to help expedite fixing the issue. Here's an exceprt from a log file: Jun 08, 2022 8:16:07 AM de.btobastian.javacord.utils.JavacordLogger info INFO: Websocket closed with reason null and code 1000 by server! Jun 08, 2022 8:16:07 AM de.btobastian.javacord.utils.JavacordLogger info INFO: Could not resume session. Reconnecting now... Jun 08, 2022 8:16:58 AM de.btobastian.javacord.utils.JavacordLogger info INFO: Websocket closed with reason null and code 1000 by server! Jun 08, 2022 8:16:58 AM de.btobastian.javacord.utils.JavacordLogger info INFO: Could not resume session. Reconnecting now... (...) Jun 08, 2022 8:17:44 AM de.btobastian.javacord.utils.JavacordLogger info INFO: Websocket closed with reason null and code 1000 by server! Jun 08, 2022 8:17:44 AM de.btobastian.javacord.utils.JavacordLogger error SEVERE: Websocket connection failed more than 5 times in the last 300 seconds! Stopping reconnecting.
  24. For the past month or so I've been working on further developing the DrHyde's Vaccine mod to suit the needs of PZ roleplaying servers. There is one feature I'd really like to implement but am unable to. Vaccinating OTHER PLAYERS -- how can I code a function that will change the other player's bodyDamage()? So far I've successfully added a UI-button to the HealthPanelUI that opens up when medically checking right-clicked player, but I just can't manage to add function that will change right-clicked player's stats. The code I'm using is simple: adds UI-button and a 'confirmPress' function that runs when that button is pressed. But how do I change the local function confirmPress(button, args) to apply changes to the other player's stats and not the one that initiates the button press (me)? Any help is appreciated-- please help me solve something that I couldn't figure out in a month worth of time.. -- Functions for button of UIs local function confirmPress(button, args) local player = getPlayer(); if player:getInventory():getItemFromType('CmpSyringeWithVirus') then if player:getInventory():getItemFromType('AlcoholedCottonBalls') then player:getBodyDamage():setInfected(true); player:getInventory():Remove("CmpSyringeWithVirus"); player:getInventory():Remove("AlcoholedCottonBalls"); else player:Say("Cotton balls?"); end--if else player:Say("Nothing to inject with.."); end--if end--function -- Add HealthPanelUI Syringe Button local ISHealthPanel_createChildren = ISHealthPanel.createChildren function ISHealthPanel:createChildren() ISHealthPanel_createChildren(self); self.fitness:setWidth(self.fitness:getWidth()/1.5); self.TOCButton = ISButton:new(self.fitness:getRight(), self.healthPanel.y, 20, 20, "", self, confirmPress); self.TOCButton:setImage(getTexture("media/ui/iconForMenu.png")); self.TOCButton.anchorTop = false self.TOCButton.anchorBottom = true self.TOCButton:initialise(); self.TOCButton:instantiate(); self:addChild(self.TOCButton); if getCore():getGameMode() == "Tutorial" then self.TOCButton:setVisible(false); end end local ISHealthPanel_render = ISHealthPanel.render function ISHealthPanel:render() ISHealthPanel_render(self); self.TOCButton:setY(self.fitness:getY()); end
  25. You can build stairs near the wall on the second floor and go through the wall. In this way, you can overcome obstacles or build traps for players.
  • Create New...