nzp-team / nzportable

Call of Duty: Zombies demake, powered by various Quake sourceports. https://docs.nzp.gay/
475 stars 47 forks source link

Restart Function Issues #59

Open Revnova opened 2 years ago

Revnova commented 2 years ago

Pressing Restart doesn't fully restart a map. there's always something still left behind. like a power up or wall buys

just play like normal. when there's a powerup out. Pause and Restart. and the power up will still be there.

everything should be reset don't know how to get proper footage/screenies yet only seen it on PSP

MotoLegacy commented 1 year ago

This is an intentional feature that's really been left to rot. The situation is due to the slow IO speeds on most of our non-FTE platforms, instead of going through a whole "restart" procedure (kill the server, clean the hunk, reload the BSP, start new server), we execute a "cleanup" QuakeC function.

Let's keep this issue open, and pin it, so that we can compile all of it's quirks and view progress with it. Please leave issues regarding it as a comment below, and I'll update this note showing progress on all of these problems.

(pro-tip: I've added a new command in FTE called qc_soft_restart to make debugging this a lot faster!)

DerpedCrusader commented 1 year ago

https://user-images.githubusercontent.com/13917665/223278918-282695d4-a251-4b2c-b749-7d2e3fbbc290.mp4

strange, but very minor, if you're moving diagnally when you pause then restart you're view is rolled a substantial amount

it can be fixed by ADS-ing at a zombie however, so its really minor, i don't seem to see it on FTE however...

DerpedCrusader commented 1 year ago

Traps stay "turned on",but not actually shocking

It goes until it turns off, and then it can be activated again without power needing to be turned on

the power thing is just a feature i was unaware of

LMAO wrong again, it doesn't work, and i will be making a separate issue for it

Screenshot_20230307-045451_2f85358b2198d26f8aca533d68bee793.jpg

DerpedCrusader commented 1 year ago

perk machine lights stay on after a reset

LukoCiphre commented 1 year ago

this causes a freeze/crash psp 3001 this time i got hit with "ED_Alloc: no free edicts"

MotoLegacy commented 1 year ago

this time i got hit with "ED_Alloc: no free edicts" Could you try this again when the new nightly drops tonight after some solid playtime now that I've made this change?

https://github.com/nzp-team/quakec/commit/7694538f0021cdf6c6919e0e39c03353253deb92

TBOINDSI commented 1 year ago

machines reset now, zombie spawns attatched to door buys dont reset though. after 3-7 restarts it crashes and gives this error; " ED_Alloc: no free edicts" - i am one version behind as of oct 12 23, will be updating again this afternoon -- i forgot im on my tboi acc instead of lukociphre

MotoLegacy commented 1 year ago

machines reset now, zombie spawns attatched to door buys dont reset though[...]

I need more information with the no free edicts system error. Please tell me the map it occurs on.

TBOINDSI commented 1 year ago

fegufer, f4ll, temple, and dungeon (those are the ones i play a lot, so i only know those so far, i dont believe its map specific, just restart a bunch and it comes up

MotoLegacy commented 11 months ago

fegufer, f4ll, temple, and dungeon (those are the ones i play a lot, so i only know those so far, i dont believe its map specific, just restart a bunch and it comes up

Fixed this for real.

tyleryoung88 commented 11 months ago

Targeted brushes not being restored

2023-12-18-181717

Ellis243454 commented 11 months ago

So I have noticed the issue as well and this is what the console looks like after hitting restart and it just not loading the map 2023-12-23_16-03-41.244_top.jpg

Trickiy commented 11 months ago

I think the restart function is mostly working now on 3ds at least, as I spammed restart on my 2dsxl on the latest build, and it dosn't crash but zombies will spawn behind closed doors.

Trickiy commented 10 months ago

https://m.youtube.com/watch?v=RINi-iCFmkU&feature=youtu.be This is triggered the same way as the zombies spawning behind closed off areas.

tyleryoung88 commented 3 months ago

Exploded barrels are not reset upon restart.