@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
Websocket (Not even running)
-
-
@Master said in Websocket (Not even running):
Hey, seem to be having a problem with WebSocket. I searched all relating threads and guides before asking. Having trouble using websocket in BAS. Here is a screenshot of the example code & log & that I have imported the module and enabled nodejs:
Have you watched this topic?
https://community.bablosoft.com/topic/4450/websocket-на-node-js/6
