Project Zomboid

Project Zomboid

Respawn in Car [MP/SP]
Mostrando 11-20 de 35 aportaciones
< 1  2  3  4 >
Actualización: 20 NOV 2022 a las 5:11

attempt fix error line #11

Actualización: 20 NOV 2022 a las 2:35

fix: boat expulse players and respawn inside

Actualización: 20 NOV 2022 a las 1:08

the modData stored in the getGameTime concerning the position data of vehicles was deleted. and it's a good news for big server !

Now, the only ModData stored in the getGameTime is the players names with the position data, if you have 20 players on your server, only 20 modData will be stored in the getGameTime. it is infinitely less than before, this is tiny !!

autoRemove of the old data storage tables.

some bugs is fixed

modification concerning the expulsion of player, it is necessary to open the door in order to be able to expel a player not present in the car.

if there is any problem, or an error, share me the error code if you can. thank's !

Actualización: 15 NOV 2022 a las 8:41

auto reset the old table of getGameTime modData
and fix error line 76#

Actualización: 15 NOV 2022 a las 3:57

xx

Actualización: 15 NOV 2022 a las 0:08

-----------------------------------------------------------

major update

I redid the code and optimized the script to be usable on large MP servers
the code is very optimized - on the server side, the OnTick to save the position of the vehicle has been removed - (better system on the client side)
a new option is added for the administrator (kicks all players from the vehicle)
a new option is added for players: it is possible to expel players one by one from the vehicle seat (the option is accessible outside the vehicle)
new sounds are added for actions

-----------------------------------------------------------

I'm not far from having completely optimized my mod, I just have to review the storage of data on the getTime, the only data saved in the getTime are the player number, and the number of the cars with their positions.

I will learn storage with modData.add() to solve this.

-----------------------------------------------------------

Actualización: 18 SEP 2022 a las 1:04

little forget for a "player say" in debug mode, sorry!

Actualización: 18 SEP 2022 a las 0:20

-More security is added if respawn in car fail
-Added more informations for the debug mode

Actualización: 15 SEP 2022 a las 4:39

The transition black screen is removed because if you have a black screen bug, this is a possible confusion with my mod

Actualización: 11 AGO 2022 a las 3:13

- re black screen to transition is added.
- fix when character is deleted by admin: force nil position to player
- fix when vehicle is deleted by admin or destroye or nil: force nil position to player
- various fix related to spawn position
- "check how many player" option is removed
- add more tool for admin debug