Project Zomboid

Project Zomboid

Respawn in Car [MP/SP]
257 kommentarer
WarDaddy 10. feb. kl. 3:27 
Okay ca marche c'est pour MP, merci de ta réponse =)
AuD  [ophavsmand] 7. feb. kl. 0:30 
Salut, essayes sans voir, mais normalement il est opti, il boufe pas plus que rv interior, mais les deux cumulé peut être ... c'est MP ou SP ?
WarDaddy 6. feb. kl. 14:55 
Salut Aud, super mod! (comme toujours) est ce que tu sais cependant si ce mod peut créer des lags ou des desynch car j'ai l'impression que c'est le cas?
AuD  [ophavsmand] 31. dec. 2024 kl. 0:53 
ok, you can add my mod to your mod pack, but only if it is for a server and not a mod that groups mods to share them again... And something else important, rename the mod id (name of the mod/folder containing the mod) with another name, do not leave my id name, it can create problems..
AuD  [ophavsmand] 31. dec. 2024 kl. 0:52 
hi mister
Deathhead 30. dec. 2024 kl. 7:50 
Would it be alright if I add your mod to a modpack for a server I'm making?
AuD  [ophavsmand] 10. nov. 2024 kl. 0:03 
lol
V2git026 27. sep. 2024 kl. 18:10 
I love you
AuD  [ophavsmand] 22. juni 2024 kl. 10:20 
your pb is SP or MP ?
AuD  [ophavsmand] 22. juni 2024 kl. 10:19 
@Annatar_BR

hi, "Respawn in Car" mod is only activated (teleportation to) during the spawn of your character on the map, during your entry into the game (if you have not moved position = no teleportation).
If "Respawn in car" mod should create a problem for you, it is not during a game, but only at the very beginning of a game (spawn on map).

Respawn in Car mod est compatible avec tout les mods je pense ..
Annatar_BR 22. juni 2024 kl. 8:00 
Hello Aud! Great work on this mod. Does it work with RV Interiors? I've installed it and every time I enter a bus' interior and leave I get a high ping and the vehicles around me stay invisible. I'm not sure if it's related to the mod but sure was a coincidence.
AuD  [ophavsmand] 16. juni 2024 kl. 6:02 
INFO

Avatar Offiline Mod is Updated : Now is compatible in SP !!

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2915808671&tscn=1718265282
AuD  [ophavsmand] 1. juni 2024 kl. 23:29 
if you don't see the point of this mod, I can't do anything for you
AuD  [ophavsmand] 1. juni 2024 kl. 23:28 
everyone has their own point of view ^^ but yes everyone can kick the passenger
Darth Dakkers 1. juni 2024 kl. 17:37 
Quick question regarding the context menu for kicking a disconnected passenger from occupying a seat, can anyone do this or is it only admins or mods that can do it? Just wondering what the point of the mod is if anyone can remove you when disconnected if the whole point of the mod is to enable you to spawn with the vehicle each time you login?
Dabbydoodaar 14. apr. 2024 kl. 2:21 
@AuD ty and i will
AuD  [ophavsmand] 13. apr. 2024 kl. 8:02 
Hi, yes,but please, change the id name.
Dabbydoodaar 13. apr. 2024 kl. 2:32 
@Aud can i put this into a mod pack please??
AuD  [ophavsmand] 12. feb. 2024 kl. 7:47 
avatar mod soon ....
Urban 12. feb. 2024 kl. 3:31 
This has revolutionised how i play SP zomboid! amazing work
Milinoso 26. jan. 2024 kl. 9:15 
excelente mod, gracias!
AuD  [ophavsmand] 26. jan. 2024 kl. 8:08 
Chrisn 26. jan. 2024 kl. 7:16 
Very good mod. Thanks for this bro
AuD  [ophavsmand] 26. jan. 2024 kl. 6:59 
UPDATE : c'est une grosse mise à jour pour Respawn in car mod, le script a été entièrement retravaillé, plus d'explications arriveront prochainement, le script du mod Avatar a été adapté, si vous avez le moindre problème, un bug, une erreur, faites le moi savoir , je vous répondrai le plus rapidement possible. je croise les doigts ^^

autre, Respawn in car fonctionne en SP (pas le mod avatar pour le moment)
AuD  [ophavsmand] 26. jan. 2024 kl. 6:59 
UPDATE: this is a big update for Respawn in car mod, the script has been completely reworked, more explanation will arrive shortly, the Avatar mod script has been adapted, if you have the slightest problem, a bug , an error, let me know, I will respond as quickly as possible. fingers crossed ^^

other, Respawn in car work in SP (not avatar mod for the moment)
AuD  [ophavsmand] 22. jan. 2024 kl. 22:27 
impossible, this mod dont touch at the vehicule, just moddata inside ^^

this mod touch at the players positions, and that's all.
C. CALAMITY 22. jan. 2024 kl. 12:47 
I think this mod removes vehicle spawn in my server
AuD  [ophavsmand] 18. jan. 2024 kl. 4:40 
Trailer before next update : https://youtu.be/TwBqq4WLF5k
AuD  [ophavsmand] 14. jan. 2024 kl. 11:32 
AuD  [ophavsmand] 11. jan. 2024 kl. 3:30 
solo version soon ....
JimLambda 11. jan. 2024 kl. 1:28 
Thank you for the continued updates and support for this mod. Just installed this yesterday, after my friend learned the hard way when his client crashed in the middle of a hoard...
AuD  [ophavsmand] 23. dec. 2023 kl. 3:16 
--------------------

UPDATE:

fixes a possible errors on the server side, sometimes for some reason the vehicle no longer exists or cannot be found by the server by her ID, this caused an error.

addition of a context in the RIC admins tools menu in order to print the list of players saved in modData (server side print)

addition of a context in the RIC admins tools menu (in DEBUG MODE) in order to reset the RIC mod (reset the moddata: delete the players list)

--------------------
AuD  [ophavsmand] 8. sep. 2023 kl. 2:27 
If you have any problems with this new update, let me know ;)
AuD  [ophavsmand] 8. sep. 2023 kl. 2:26 
- ajout de quelques lignes de code prévu pour le mod avatar

- Désormais, si vous êtes dans un véhicule, votre place est enregistrée dans vos Données de Personnage, lorsque vous vous reconnectez, et que vous êtes téléporté vers votre véhicule, (s'il change de place), vous récupérerez votre place en priorité, et si le siège est occupé ou indisponible (etc...), le siège conducteur sera prioritaire, puis le siège numéro 2, 3 etc...

- erreur côté serveur résolue

- Avant la fin de l'année, je refais le code avec mes nouvelles connaissances, cela ne modifiera pas le principe du code, il sera juste plus beau, et plus digeste à la lecture, et surtout, Je vais le rendre compatible pour le jeu solo, comme ça, en SP, en déplacement avec vos amis (vos autres personnages de votre jeu), le mod avatar viendra ensuite.
AuD  [ophavsmand] 8. sep. 2023 kl. 2:24 
** UPDATE :

slight modification of the code:

- addition of a few lines of code planned for the avatar mod

- From now on, if you are in a vehicle, your place is saved in your Character Data, when you reconnect, and you are teleported to your vehicle, (if it changes place), you will recover your place in priority, and if the seat is occupied or unavailable (etc...), the driver's seat will have priority, then seat number 2, 3 etc...

- server side error solved, just if vehicle doesn't exist then "return end" of function, I believe it's Rv inner conflict (maybe), but don't worry, because it's not a real problem.

- For the next time, before the end of the year, I will redo the code with my new knowledge, this will not modify the principle of the code, it will just be more beautiful, and more digestible when reading, and above all, I will make it compatible for solo play, like this, in SP, on the road with your friends (your other characters in your game), the avatar mod will come next.
AuD  [ophavsmand] 8. sep. 2023 kl. 2:04 
** UPDATE more description soon
KodeMan 7. sep. 2023 kl. 10:51 
Sorry for late reply. Yes, we're also using RV interiors
AuD  [ophavsmand] 31. aug. 2023 kl. 22:44 
@KodeMan do you have RV interior maybe ?
AuD  [ophavsmand] 31. aug. 2023 kl. 22:31 
It seems that the client is sending the vehicle id, but once the server gets the vehicle by that id, it no longer exists. easy to solve it, but i search why
AuD  [ophavsmand] 31. aug. 2023 kl. 22:29 
how often do you get this error?
KodeMan 31. aug. 2023 kl. 8:04 
Doesn't affect players as far as I know. Shows up in server logs.

Aug 29 21:32:51 STACK TRACE
Aug 29 21:32:51 -----------------------------------------
Aug 29 21:32:51 function: preSavePlayersByNameFromCar -- file: respawnCarServer.lua line # 49 | MOD: addForceRespawnToCar
Aug 29 21:32:51 function: ForceRespawnInVehicle_OnClientCommand -- file: respawnCarServer.lua line # 316 | MOD: addForceRespawnToCar.
Aug 29 21:32:51 [30-08-23 02:32:51.907] ERROR: General , 1693362771907> 7,274,180,061> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..
Aug 29 21:32:51 [30-08-23 02:32:51.907] ERROR: General , 1693362771907> 7,274,180,061> DebugLogStream.printException> Stack trace:.
Aug 29 21:32:52 [30-08-23 02:32:51.909] LOG : General , 1693362771909> 7,274,180,063>
Primedew 28. aug. 2023 kl. 6:23 
@AuD great....thanx for the hard work
Rabbit 27. aug. 2023 kl. 14:26 
The avatar mod is a really neat idea, too. I hope things go well for you!
AuD  [ophavsmand] 27. aug. 2023 kl. 13:55 
I'm thinking a lot about doing it, but I'm working on Avatar mod right now, and then I have to review a couple of things about Respawn in car mod, and then I'll do the SP versions, first, respawn in car, then avatar.
Rabbit 27. aug. 2023 kl. 13:33 
I can't wait for the SP functional versions of your mods. I'm trying to do a playthrough with a small group of characters (one specifically for fighting, one general engineer/craftsman, eventually planning on making a cooking specialized character, etc) - and not being able to move as a group in a vehicle is killin' me.

Does anyone know how to make this mod actually function in SP?
AuD  [ophavsmand] 27. aug. 2023 kl. 5:14 
@Primedew

it's good, I solved the problem, in the next update, soon, if you are forced to reappear in your last vehicle, you recover your initial place, the one where you have DC, and if someone is already occupying this seat, you will reappear on the driver's seat in priority, in this order: driver or front passenger right or rear passenger left or rear passenger right etc.... 0 or 1 or 2 etc....
AuD  [ophavsmand] 27. aug. 2023 kl. 3:35 
@Willow in the vanilla PZ code, you can't force entry into a seat of vehicle, if the seat has no door, or if the seat has a door but is locked, so no worries
Willow 26. aug. 2023 kl. 11:41 
so if you respawn in a police car, you get locked out of the driver seat? because police cars have a barrier between the driver and back seats
Primedew 26. aug. 2023 kl. 5:09 
i thought of a basic approach to the idea.... spawn where logged off...if seat is taken spawn in another seat...dont know if players gonna like it or not...but it seams realistic to me...
AuD  [ophavsmand] 26. aug. 2023 kl. 5:01 
yes yes, I'll think about it, I take your comment into account of course, and thank you for the return.