EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Problem with the ^ in front of all Bot commands (https://www.eqemulator.org/forums/showthread.php?t=42372)

Unseelie 03-27-2019 12:11 PM

Problem with the ^ in front of all Bot commands
 
I recently installed bots on my private server. Unfortunately I cannot use any of the Bot commands because on a Germany keyboard the ^ is located above the TAB key and pressing it does nothing in the client eqgame.exe. The #bot command works because it starts with a #. I looked in the bot_command_settings table but the starting ^ is not editable there.

So my question is, where in the source code (approximately) is the "^" hidden, so I can change it to "_" or ">" and recompile?

Is there an easier way to fix the problem on the server side?

Thanks!

Unseelie 03-27-2019 01:19 PM

Found it
 
/Server/zone/bot_command.h changed line 530
#define BOT_COMMAND_CHAR '^'
to
#define BOT_COMMAND_CHAR '_'
then rebuilt.

Just tested:
#bot
lists all commands with a leading _

_botcreate Fili 2 8 0
Successfully created 'Fili' (id: 1)

Uleat 03-27-2019 06:23 PM

Yes, that is the correct definition to change for altering the command token.

I thought that I had instructions for that somewhere..but, apparently not...


Thanks Unseelie!


All times are GMT -4. The time now is 04:55 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.