kwmx / ZomboidRCON

GUI tool for Project Zomboid RCON server
MIT License
32 stars 2 forks source link

Add item list for adding easily #5

Open EnduringGuerila opened 2 years ago

EnduringGuerila commented 2 years ago

It would be mighty convenient if there was a menu to easily add items to a players inventory. Using rcon commands isn't that difficult, and the main annoyance is looking up IDs. Use: /additem "username" "module.item" count. Example: /additem "Enduring" Base.PetrolCan 6

All items can fairly easily be found here https://pzwiki.net/wiki/Items or http://undeniable.info/pz/wiki/itemlist.php (includes Hydrocraft)

Our situation: We're running a dedicated server and have had a couple issues which resulted in me setting up admin, looking up rcon, and finding this. In our example, we had to reload a previous server save which isn't perfect. Each time we've loaded the files from backup.zip, something is wrong. This last time, we were driving in a new area with tons of zombies. I, the driver, lagged out for somereason. The car kind of glitched so my friend logged off. We both logged back on and I spawned back in the driver seat. The van was getting attacked so I started driving. My friend spawned in, not in the passenger seat, but in the middle of the road. We have sprinters turned on and... he didn't make it. Upon reloading the save, not only had we lost 10 min of progress, we had 6 full gas cans completely despawned from our world. These hadn't been touched in the last 10 min since the backup was performed, but we have had similar happenings with other stuff each time we reload a backup.

If you know a better way to backup and restore a dedicated server, I'm all ears. I also made a couple batch scripts to copy our server to servertest and visa versa. Just for testing convenience with some things. Might make a 'restore most recent backup' script to extract the zip files automatically.