I have downloaded and installed the latest version of Manialive 1, on which the is notified "fix Bill plugin problem". But I still have the same error when I try to use /pay or /give :
/pay 10 return this :
Code: Select all
-> ManiaLive\DedicatedApi\InvalidArgumentException with code 0
amount = 10
- in
/usr/games/ManiaLive/libraries/ManiaLive/DedicatedApi/Connection.php on
line 1493
- Stack: #0
/usr/games/ManiaLive/libraries/ManiaLivePlugins/Standard/Bill/Plugin.php(
87): ManiaLive\DedicatedApi\Connection->sendBill('jen-roger', '10',
'jen-rogerToServ...')
#1 [internal function]:
ManiaLivePlugins\Standard\Bill\Plugin->toServer('jen-roger', '10')
#2
/usr/games/ManiaLive/libraries/ManiaLive/Features/ChatCommand/Interpreter
.php(252): call_user_func_array(Array, Array)
#3
/usr/games/ManiaLive/libraries/ManiaLive/Features/ChatCommand/Interpreter
.php(201):
ManiaLive\Features\ChatCommand\Interpreter->callCommand('jen-roger',
'/pay 10', 'pay', Array)
#4 [internal function]:
ManiaLive\Features\ChatCommand\Interpreter->onPlayerChat(250,
'jen-roger', '/pay 10', true)
#5
/usr/games/ManiaLive/libraries/ManiaLive/DedicatedApi/Callback/Event.php(
28): call_user_func_array(Array, Array)
#6
/usr/games/ManiaLive/libraries/ManiaLive/Event/Dispatcher.php(52):
ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLive\Features\C
hatCommand\Interpreter))
#7
/usr/games/ManiaLive/libraries/ManiaLive/DedicatedApi/Connection.php(108)
:
ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callba
ck\Event))
#8
/usr/games/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.
php(146): ManiaLive\DedicatedApi\Connection->executeCallbacks()
#9 /usr/games/ManiaLive/bootstrapper.php(82):
ManiaLive\Application\AbstractApplication->run()
#10 {main}
