Shockwave Ctrl+Click Pickup & Shift+Click Rotate

Paswrd

Casper.fun
Messages
74
Reaction score
78
index.php

Find Room Interface Class in hh_room and add the following code to the bottom of eventProcActiveObj.

Code:
if (the controlDown and tIsController) then

    if pSelectedType = "active" then
      ttype = "stuff"
    else if pSelectedType = "item" then
      ttype = "item"
    end if

    me.hideInterface(#hide)
    return me.getComponent().getRoomConnection().send("ADDSTRIPITEM", "new" && ttype && pSelectedObj)


  end if

  if (the shiftDown and tIsController) then
    me.getComponent().getActiveObject(pSelectedObj).rotate()
  end if

You will need to comment out this line:
Code:
if the shiftDown then
    --return me.outputObjectInfo(tSprID, "active", the rollover)
  end if
Comment out the return statement otherwise, it hits this part of the code first, causing it to capture the shift event. You can comment it out or simply remove that piece.

This will allow you to use CTRL+Click to pickup items and Shift+Click to rotate furniture.

Special thanks to Webbanditten for this guide and addition from his v14 client.
@webbanditten
 
Last edited:
Does this fix work on v31? My friends are trying but without success.
 
Back
Top Bottom