PocketMine / SimpleAuth

Plugin for PocketMine-MP that prevents people from impersonating accounts, requiring registration and login when connecting.
GNU Lesser General Public License v3.0
34 stars 101 forks source link

Error on Pocketmine 1.6 #88

Open ghost opened 9 years ago

ghost commented 9 years ago

Server thread/WARNING RuntimeException: "Illegal offset type" (E_WARNING) in "/SimpleAuth_v1.7.1.phar/src/SimpleAuth/task/ShowMessageTask" at line 42

and

Server thread/CRITICAL "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'SimpleAuth v1.7.1': Illegal offset type on SimpleAuth\EventListener

Patra3 commented 9 years ago

Use SimpleAuthHelper http://forums.pocketmine.net/plugins/simpleauthhelper.1112/

It should fix this error.

ghost commented 9 years ago

Still getting these errors:

Server thread/WARNING RuntimeException: "Illegal offset type in unset" (E_WARNING) in "/SimpleAuth_v1.7.1.phar/src/SimpleAuth/task/ShowMessageTask" at line 46

Server thread/CRITICAL "Could not pass event 'pocketmine\event\player\PlayerQuitEvent' to 'SimpleAuth v1.7.1': Illegal offset type in unset on SimpleAuth\EventListener

and

Server thread/WARNING RuntimeException: "Illegal offset type" (E_WARNING) in "/SimpleAuth_v1.7.1.phar/src/SimpleAuth/task/ShowMessageTask" at line 42

Server thread/CRITICAL "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'SimpleAuth v1.7.1': Illegal offset type on SimpleAuth\EventListener

Patra3 commented 9 years ago

Which API are you using? I used API 1.13.0 with SimpleAuthHelper plugin besides it. Helper should've been able to catch these errors.

ghost commented 9 years ago

Same 1.13.0: PocketMine-MP version 1.6dev-30 "[REDACTED]" (API 1.13.0)

Patra3 commented 9 years ago

Okay. Yeah, it's SimpleAuth's errors. SimpleAuthHelper catches another error when logging in. This error you specified happens when disconnecting? SimpleAuth hasn't yet been optimized for API 0.13+, so I would recommend you to wait until a new update arrives, this issue should be left here.

ghost commented 9 years ago

Yup, thanks.

meulie commented 8 years ago

I don't want to sound impatient, but is there an ETA for the API 0.13+ optimization of SimpleAuth? :)