Hey,

I am trying to get https://forums.tibiawindbot.com/show...r-a-horn-taker this script to work. The script logs in chars perfectly well, opens the bp, picks up the mouthpiece, puts it into the backpack, and when it's time to log out, it just sits there writing "l" (lowercase L) on chat. I am running Ubuntu 14.04, and logging out manually works perfectly, but it appears that either the client or bot don't register the ctrl press.

Debugging console read:
Code:
23:11:22.940 Event 7 issued. Type: Logout, 
23:11:22.941 Event 7 started.
23:11:22.942 Event step changed to 2.
23:11:22.942 Pressed 162 1 1
23:11:23.182 Event step changed to 3.
23:11:23.182 Event 7 finished successfully.
23:11:23.183 Pressed 76 1 1
23:11:23.296 Released 162 1 1
23:11:23.306 Released 76 1 1
23:11:24.322 Event 8 issued. Type: Logout, 
23:11:24.323 Event 8 started.
23:11:24.324 Event step changed to 2.
23:11:24.324 Pressed 162 1 1
23:11:24.555 Event step changed to 3.
23:11:24.557 Event 8 finished successfully.
23:11:24.557 Pressed 76 1 1
23:11:24.677 Released 162 1 1
23:11:24.687 Released 76 1 1
and so on...

The only visible result is 'l' apperaing in game chat.

Moreso, when I press 'control' manually, the character actually logs off when the "l" is inputted.

As a solution, could putting a line of code simulating "ctrl + L" press, in place of the "logout()" work? As I don't know the source of the problem, only the events happening.

Also, I am sure that the ctrl key is bound to ctrl, and have redone the bind, to exclude that from being the problem.