Updated to OTCv8 3.1 rev 150

This commit is contained in:
OTCv8 2022-03-15 10:48:00 +00:00
parent af00528e49
commit 1f0939e5ec
8 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,8 @@ MouseMidButton = 3
MouseTouch = 4
MouseTouch2 = 5 -- multitouch, 2nd finger
MouseTouch3 = 6 -- multitouch, 3th finger
MouseButton4 = 7 -- side mouse button 1
MouseButton5 = 8 -- side mouse button 2
MouseNoWheel = 0
MouseWheelUp = 1

View File

@ -17,10 +17,11 @@ autoFinishNextServerWalk = 0
turnKeys = {}
function init()
connect(g_game, { onTeleport = onTeleport })
connect(LocalPlayer, {
onPositionChange = onPositionChange,
onWalk = onWalk,
onTeleport = onTeleport,
onWalkFinish = onWalkFinish,
onCancelWalk = onCancelWalk
})
@ -30,10 +31,11 @@ function init()
end
function terminate()
disconnect(g_game, { onTeleport = onTeleport })
disconnect(LocalPlayer, {
onPositionChange = onPositionChange,
onWalk = onWalk,
onTeleport = onTeleport,
onWalkFinish = onWalkFinish
})
removeEvent(autoWalkEvent)

View File

@ -210,6 +210,7 @@ GameNewCreatureStacking = 121 -- Ignore MAX_THINGS limit while adding to tile
GameCreaturesMana = 122 -- get mana from server for creatures other than Player
GameQuickLootFlags = 123 -- enables quick loot feature for all protocols
GameDontMergeAnimatedText = 124
GameCreatureTitle = 125
LastGameFeature = 130

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.