PDA

View Full Version : Problem with the ^ in front of all Bot commands


Unseelie
03-27-2019, 12:11 PM
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
/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!