Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

Locked ships gang plank problem #1089

Closed DavideRei closed 1 year ago

DavideRei commented 1 year ago

.add i_deed_small_ship_n place the ship on water

The ship side items have type t_ship_side_locked If you dclick a side the type become t_ship_plank

First "problem": t_ship_plank doesn't have a timer anymore. I remember that once, after a while, the plank close itself automatically. Now it remains open indefinitely.

Second problem: dclick both sides and leave the planks open. Now turn right or left the ship (turn right or turn left). The planks are now closed, but the type is not t_ship_side_locked anymore, as it should be. It's t_ship_plank, as if the planks were open. Now a player without the key and outside the ship, can dclick a ship side and he's teleported on the boat. So a player can go in the ship, even if the ship is closed, and he's trapped, because inside the ship the sides are locked.

drk84 commented 1 year ago

Fix sent

DavideRei commented 1 year ago

thank you, the problem is solved but now if you open the plank and close it with dclick, the timer is not stopped and the plank is removed :P

drk84 commented 1 year ago

Fix sent

DavideRei commented 1 year ago

thanks