PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
37 stars 8 forks source link

Placing boomie too close to lolly base while playing Big Balloon on Kai's Trashmap #258

Closed kai-li-wop closed 1 month ago

kai-li-wop commented 4 months ago

Reported by Ben the PadKing via Discord: While placing a boomie in the sewers near the Balloony spawn point the game reports "Too close to lolly base", but there is no lolly and no lolly base.

I could recreate the issue by standing there and trying to place a boomie. I looked into the map and I could not see any lolly spawn point or such. So this is a really strange bug.

shot0650

kai-li-wop commented 2 months ago

Seems that the code finds a red lolly at given coordinates, but there is none set in the whole map. Is this some out of boundaries issue?

Image

mgerhardy commented 2 months ago

looks like you are using %i or %d for your console output - but the positions are floats and you have to use %f

kai-li-wop commented 2 months ago

This should be correct now. It's the coordinates of the bubbleg ammo bottle, but how can that be identified as a lolly spawn point? there are now strange flags set with this entity. I will make a test compile with it deleted to see if the error still appears. grafik

kai-li-wop commented 1 month ago

61589e67578414f9d07f5e80d8bc1fae839ff2c6 should implement a workaround to avoid this issue. The true reason is still unknown to me.

3aTmE commented 1 month ago

I was not able to recreate this Issue with the recent codebase and can confirm it therefore as fixed.