Fix for Autospell

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
brokenbokeh
Plain Yogurt
Plain Yogurt
Posts: 50
Joined: 08 Aug 2014, 03:02
Noob?: No

Fix for Autospell

#1 Post by brokenbokeh »

This is a simple fix for the Autospell bug.

In src/Network/Receive/ServerType0.pm from

Code: Select all

		'01CD' => ['sage_autospell', 'x2 a*', [qw(autospell_list)]],
to

Code: Select all

		'01CD' => ['sage_autospell', 'x4 a*', [qw(autospell_list)]],
Here is a sample of the packet of the autospell_list:

Code: Select all

cd 01 00 00 00 00 0e 00 00 00 13 00 00 00 14 00 00 00 00 00 00 00 00 00 00 00 0f 00 00 00