Guides
The most common problems, solved step by step.
Abrir portas no router (port forwarding)
Para os amigos entrarem pela Internet, o router de casa tem de deixar passar o tráfego do servidor até ao teu PC. O Project Zomboid usa UDP 16261 e 16262 (os valores por defeito; na app, Amigos › Rede mostra os do teu servidor).
- Na app, abre Amigos › Rede e copia o IP local deste PC (algo como
192.168.1.20). - Ainda aí, carrega em Criar regra…. O Windows pede autorização uma vez: é a regra da firewall, só para estas portas e só em redes privadas.
- Abre a página do router no browser (normalmente
192.168.1.1ou192.168.0.1; está numa etiqueta no router) e entra com a password do router. - Procura Port forwarding, NAT ou Servidores virtuais.
- Cria uma regra para UDP 16261 e outra para UDP 16262, as duas a apontar para o IP local do passo 1.
- Guarda. Os amigos entram com o teu IP público (em Amigos › Rede, «Ver o meu IP público») e a porta 16261.
Não consegues abrir portas?
Alguns operadores usam CGNAT (o IP público do router não é só teu) e aí o port forwarding não funciona. Alternativa: uma VPN de rede virtual (por exemplo Radmin VPN ou Hamachi). Tu e os amigos entram na mesma rede virtual e ligam-se ao IP da VPN. A app não instala nada disto por ti.
Nunca abras a porta do RCON no router. A app deixa o RCON sempre desligado e escreve UPnP=false, para o servidor não abrir portas sozinho.
Os amigos não conseguem entrar
Vê os pontos por esta ordem; a maior parte dos problemas resolve-se nos três primeiros.
- O servidor está mesmo no ar? Na app, o estado tem de ser «No ar» (verde), não «A arrancar». Na primeira vez pode demorar alguns minutos.
- A mesma versão do jogo. Se o servidor está na Build 42 (ramo
public), os amigos também; o ramo vê-se no Início da app. - Os mesmos mods. Normalmente o jogo descarrega os mods do servidor quando eles entram. Se faltar algum, copia o código do modpack (Amigos › Rede) e manda-o; quem tiver a app cola-o em Definições › Ajuda › Verificar o meu jogo e vê o que falta.
- A password. Entra quem souber a password do servidor (o convite pode incluí-la, com aviso). Se ligaste a whitelist, só entram os jogadores que adicionaste em Servidor › Adicionar jogador….
- Firewall do Windows. Em Amigos › Rede, o passo da firewall diz «Criada»? Se não, carrega em «Criar regra…». Se o Windows marcou a tua rede como Pública, escolhe «Mudar redes…».
- Router. Segue o guia acima. Amigos na mesma casa usam o IP local; de fora usam o IP público.
- Vê o ficheiro de registo. Em Servidor › Ficheiro de registo vês o que o servidor disse quando o amigo tentou entrar.
Juntar mods do Workshop
- Em Mods, cola o link de um mod do Workshop (ou só o número) e carrega em Adicionar. Uma coleção inteira entra pelo separador Workshop, com Importar coleção.
- A app encontra os Mod IDs de cada item e junta também os mods de que ele precisa, pela ordem certa (os que ainda não estão no PC são descarregados). Se um item tiver vários mods, escolhes quais.
- Se ainda faltar algum, carrega em Mais ações › Descarregar os que faltam.
- Carrega em Verificar tudo: aponta IDs errados, mods em falta e mods feitos para outra Build. Verificar não muda nada.
- A ordem muda-se a arrastar (ou com Alt+↑/↓). Se algo ficar antes de uma dependência, a linha fica com aviso; Ordenar por dependências mostra o «antes → depois».
- A lista vai sozinha para o servidor no próximo arranque. Para a mandar já, carrega em Aplicar ao servidor e reinicia o servidor.
Correu mal? No separador Histórico (em Mods) repões a última lista que funcionou.
Opening ports on the router (port forwarding)
For friends to join over the Internet, your home router must let the server's traffic through to your PC. Project Zomboid uses UDP 16261 and 16262 (the defaults; in the app, Friends › Network shows your server's ports).
- In the app, open Friends › Network and copy this PC's local IP (something like
192.168.1.20). - Still there, press Create rule…. Windows asks once: it is the firewall rule, only for these ports and only on private networks.
- Open your router's page in the browser (usually
192.168.1.1or192.168.0.1; it is on a label on the router) and sign in with the router's password. - Look for Port forwarding, NAT or Virtual servers.
- Create a rule for UDP 16261 and another for UDP 16262, both pointing to the local IP from step 1.
- Save. Friends join with your public IP (in Friends › Network, "Show my public IP") and port 16261.
Can't open ports?
Some providers use CGNAT (your router's public IP is shared) and port forwarding cannot work. Alternative: a virtual network VPN (for example Radmin VPN or Hamachi). You and your friends join the same virtual network and connect to the VPN IP. The app does not install any of this for you.
Never open the RCON port on the router. The app keeps RCON off and writes UPnP=false, so the server never opens ports by itself.
Friends can't get in
Check in this order; most problems are solved in the first three.
- Is the server really on the air? In the app the state must be "On the air" (green), not "Starting". The first start can take a few minutes.
- Same game version. If the server is on Build 42 (
publicbranch), your friends must be too; the branch is shown on the app's Home. - Same mods. Usually the game downloads the server's mods when they join. If one is missing, copy the modpack code (Friends › Network) and send it; anyone with the app pastes it into Settings › Help › Check my game and sees what is missing.
- The password. Anyone who knows the server password gets in (the invite can include it, with a warning). If you turned on the whitelist, only the players you added in Server › Add player… get in.
- Windows Firewall. In Friends › Network, does the firewall step say "Created"? If not, press "Create rule…". If Windows marked your network as Public, choose "Change networks…".
- Router. Follow the guide above. Friends in the same home use the local IP; from outside, the public IP.
- Look at the log file. Server › Log file shows what the server said when your friend tried to join.
Adding Workshop mods
- In Mods, paste a Workshop mod link (or just its number) and press Add. A whole collection goes in through the Workshop tab, with Import collection.
- The app finds each item's Mod IDs and also adds the mods it needs, in the right order (the ones not on the PC yet are downloaded). If an item has several mods, you choose which.
- If one is still missing, press More actions › Download missing.
- Press Check everything: it points out wrong IDs, missing mods and mods made for another Build. Checking changes nothing.
- Drag to change the order (or Alt+↑/↓). If something loads before a dependency, the row gets a warning; Sort by dependencies shows the "before → after".
- The list reaches the server by itself on the next start. To send it now, press Apply to the server and restart the server.
Something broke? The History tab (in Mods) puts back the last list that worked.