-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
controller bug bot protected #1001
Comments
it must be because gamestart is executed inside an addEvent. otclient/modules/modulelib/controller.lua Line 10 in 0620181
|
@mehah I found an error in game_inventory; it doesn't save the last saved PVP because this is missing. (reference release 3.5)
GameEnd
If I try to add it, the bot protection triggers because module written in the controller. |
@InnerCircleTFS |
+1 People can disable/remove it themselves ^ |
Priority
Low
Area
What happened?
I was testing how to create modules with a controller and noticed that there is an error if I create the exact same module with a controller or in the traditional way. Only with the controller do I get this error: ERROR: caught a lua call to a bot protected game function, the call was cancelled. In the traditional way, I don't get this error.
Example:
traditional:
Controller:
output: on onGameStart
output print traditional:
output print Controller
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: