Hello I'm trying to adapt cam module into my otcv8 client it seems to be working
buttons loads, but nothing happens when i click in game record button. cam manager opens with no problem.
also in order to load cam_play module had to remove these lines
also in terminal i can see this:
changed g_cam for g_game and now i get this
changed if g_game.isPlaying() then for if g_game.playRecord() then still
how are they called in otcv8? i know it has a cam function because of this Simple cam recorder and player (https://github.com/OTCv8/otclientv8/wiki/Simple-cam-recorder-and-player)
can somebody help me with this?
buttons loads, but nothing happens when i click in game record button. cam manager opens with no problem.
also in order to load cam_play module had to remove these lines
Lua:
camLabel:setText("[CAM Player] is active")
camLabel:hide()
Lua:
ERROR: protected lua call failed: /modules/cam_play/cam.lua:87: attempt to index global 'g_cam' (a nil value)
stack traceback:
[C]: in function '__index'
/modules/cam_play/cam.lua:87: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
WARNING: HTTP error for http://************/api/status.php: timeout
ERROR: protected lua call failed: /modules/cam_play/cam.lua:66: attempt to index global 'g_cam' (a nil value)
stack traceback:
[C]: in function '__index'
/modules/cam_play/cam.lua:66: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
changed g_cam for g_game and now i get this
Code:
ERROR: protected lua call failed: /modules/cam_play/cam.lua:66: attempt to call field 'isRecording' (a nil value)
stack traceback:
[C]: in function 'isRecording'
/modules/cam_play/cam.lua:66: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
WARNING: HTTP error for http://************/api/status.php: timeout
Connecting to: 127.0.0.1:7171
Login to 152.172.134.131:7172
ERROR: Unable to send extended opcode 201, extended opcodes are not enabled on this server.
ERROR: protected lua call failed: /modules/cam_play/cam.lua:66: attempt to call field 'isRecording' (a nil value)
stack traceback:
[C]: in function 'isRecording'
/modules/cam_play/cam.lua:66: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
ERROR: protected lua call failed: /modules/cam_play/cam.lua:87: attempt to call field 'isPlaying' (a nil value)
stack traceback:
[C]: in function 'isPlaying'
/modules/cam_play/cam.lua:87: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
changed if g_game.isPlaying() then for if g_game.playRecord() then still
Code:
ERROR: protected lua call failed: C++ call failed: Must set a valid game protocol version before logging.
stack traceback:
[builtin#146]: at 0x00be3df0
[C]: in function 'playRecord'
/modules/cam_play/cam.lua:88: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
WARNING: HTTP error for http://************/api/status.php: timeout
ERROR: protected lua call failed: /modules/cam_play/cam.lua:66: attempt to call field 'isRecording' (a nil value)
stack traceback:
[C]: in function 'isRecording'
/modules/cam_play/cam.lua:66: in function 'callback'
/modules/client_topmenu/topmenu.lua:33: in function </modules/client_topmenu/topmenu.lua:31>
how are they called in otcv8? i know it has a cam function because of this Simple cam recorder and player (https://github.com/OTCv8/otclientv8/wiki/Simple-cam-recorder-and-player)
can somebody help me with this?
Last edited: