Error: Undefined subroutine &Misc

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
Message
Author
marcc981
Noob
Noob
Posts: 1
Joined: 22 May 2013, 06:14
Noob?: Yes

Error: Undefined subroutine &Misc

#1 Post by marcc981 »

Please help.



OpenKore version what-will-become-2.1
@ai_seq = follow
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 8591
Loaded plugins:
plugins/macro/macro.pl (macro; description: allows usage of macros)

Error message:
Undefined subroutine &Misc::validate called at src/Network/Send.pm line 584.

Stack trace:
Undefined subroutine &Misc::validate called at src/Network/Send.pm line 584.
at src/Network/Send.pm line 584
Network::Send::sendPrivateMsg('Network::Send::pRO=HASH(0x4f36694)', 'asdad', 's') called at src/Misc.pm line 2243
Misc::sendMessage_send('Network::Send::pRO=HASH(0x4f36694)', 'pm', 's', 'asdad') called at src/Misc.pm line 2219
Misc::sendMessage('Network::Send::pRO=HASH(0x4f36694)', 'pm', 's', 'asdad') called at src/Commands.pm line 3910
Commands::cmdPrivateMessage('pm', 'asdad s') called at src/Commands.pm line 295
Commands::run('pm asdad s') called at src/functions.pl line 986
main::parseInput('pm asdad s') called at src/functions.pl line 63
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x1b40144)') called at openkore.pl line 97
main::__start() called at start.pl line 136

Died at this line:
my ($self, $user, $message) = @_;
* Misc::validate($user)?$self->sendToServer($self->reconstruct({ switch => 'private_message', privMsg => $message, privMsgUser => $user, })):return;
}