mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-04-29 10:49:21 +02:00
Updated to OTCv8 3.1 rev 150
This commit is contained in:
parent
af00528e49
commit
1f0939e5ec
@ -39,6 +39,8 @@ MouseMidButton = 3
|
|||||||
MouseTouch = 4
|
MouseTouch = 4
|
||||||
MouseTouch2 = 5 -- multitouch, 2nd finger
|
MouseTouch2 = 5 -- multitouch, 2nd finger
|
||||||
MouseTouch3 = 6 -- multitouch, 3th finger
|
MouseTouch3 = 6 -- multitouch, 3th finger
|
||||||
|
MouseButton4 = 7 -- side mouse button 1
|
||||||
|
MouseButton5 = 8 -- side mouse button 2
|
||||||
|
|
||||||
MouseNoWheel = 0
|
MouseNoWheel = 0
|
||||||
MouseWheelUp = 1
|
MouseWheelUp = 1
|
||||||
|
@ -17,10 +17,11 @@ autoFinishNextServerWalk = 0
|
|||||||
turnKeys = {}
|
turnKeys = {}
|
||||||
|
|
||||||
function init()
|
function init()
|
||||||
|
connect(g_game, { onTeleport = onTeleport })
|
||||||
|
|
||||||
connect(LocalPlayer, {
|
connect(LocalPlayer, {
|
||||||
onPositionChange = onPositionChange,
|
onPositionChange = onPositionChange,
|
||||||
onWalk = onWalk,
|
onWalk = onWalk,
|
||||||
onTeleport = onTeleport,
|
|
||||||
onWalkFinish = onWalkFinish,
|
onWalkFinish = onWalkFinish,
|
||||||
onCancelWalk = onCancelWalk
|
onCancelWalk = onCancelWalk
|
||||||
})
|
})
|
||||||
@ -30,10 +31,11 @@ function init()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function terminate()
|
function terminate()
|
||||||
|
disconnect(g_game, { onTeleport = onTeleport })
|
||||||
|
|
||||||
disconnect(LocalPlayer, {
|
disconnect(LocalPlayer, {
|
||||||
onPositionChange = onPositionChange,
|
onPositionChange = onPositionChange,
|
||||||
onWalk = onWalk,
|
onWalk = onWalk,
|
||||||
onTeleport = onTeleport,
|
|
||||||
onWalkFinish = onWalkFinish
|
onWalkFinish = onWalkFinish
|
||||||
})
|
})
|
||||||
removeEvent(autoWalkEvent)
|
removeEvent(autoWalkEvent)
|
||||||
|
@ -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
|
GameCreaturesMana = 122 -- get mana from server for creatures other than Player
|
||||||
GameQuickLootFlags = 123 -- enables quick loot feature for all protocols
|
GameQuickLootFlags = 123 -- enables quick loot feature for all protocols
|
||||||
GameDontMergeAnimatedText = 124
|
GameDontMergeAnimatedText = 124
|
||||||
|
GameCreatureTitle = 125
|
||||||
|
|
||||||
LastGameFeature = 130
|
LastGameFeature = 130
|
||||||
|
|
||||||
|
BIN
otclient_dx.exe
BIN
otclient_dx.exe
Binary file not shown.
BIN
otclient_gl.exe
BIN
otclient_gl.exe
Binary file not shown.
BIN
otclient_linux
BIN
otclient_linux
Binary file not shown.
BIN
otclient_mac
BIN
otclient_mac
Binary file not shown.
BIN
otclientv8.apk
BIN
otclientv8.apk
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user