| Sep 27, 2026, 12:56 PM | |
|
Objects don't get deleted in a pit if they hit the ground first
Objects like bullet ammo or carrots should normally dissapear if they reach the bottom of a level that has a pit. Sometimes the object gets stuck in the pit and remains there. This seemingly sometimes happens when moving an object again from the ground with TNT, bouncers, toaster or RF. Tested with several ammo/carrots on ezindigo.j2l.
__________________
|
| Nov 25, 2026, 01:52 PM | |
|
Thanks for the new discovery! I looked over the code and did some experimenting, and I think this is because the server decides which pickups are in pits. If a client and the server disagree about whether a pickup has fallen to the bottom of the level, only the server's opinion matters.
One easy way to test this is to have the server shoot a pickup down so that it falls onto a solid tile, then have a client join after the server shot the pickup. If the client shoots the pickup down in another direction, so it lands in the pit, the client will see it in the pit, but the server will not, because the server thinks the pickup is still atop that solid tile. More generally, I could imagine TNT being vague enough to produce motions that aren't 100% perfectly synced? Not sure how bouncers/toaster/RF would come into play here. Potential options to address this include a) having the server tell every client every time any pickup gets knocked down, or b) letting clients locally decide that pickups have fallen into pits. The second option feels dicey because it would involve the server thinking that the clients had collected those pickups, getting any appropriate benefits from them, including any scripted onObjectHit calls. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -8. The time now is 12:54 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.




