poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
134 stars 44 forks source link

Virion Class Error #99

Open Amzy7 opened 1 year ago

Amzy7 commented 1 year ago

I found the PM5 branch and this is the new error which is occuring. Ive also added the PM5 DEVirion.phar file but this still occurs

Error: Call to a member function getVirionClassLoader() on null File: plugins/Orbit Prisons/src/poggit/libasynql/base/SqlSlaveThread Line: 59 Type: Error

Backtrace:

0 plugins/Orbit Prisons/src/poggit/libasynql/sqlite3/Sqlite3Thread(65): poggit\libasynql\base\SqlSlaveThread->__construct(object pocketmine\snooze\SleeperHandlerEntry#58832, object poggit\libasynql\base\QuerySendQueue#58856, object poggit\libasynql\base\QueryRecvQueue#58836)

1 plugins/Orbit Prisons/src/poggit/libasynql/sqlite3/Sqlite3Thread(59): poggit\libasynql\sqlite3\Sqlite3Thread->__construct(string[50] /home/gs-40050/plugin_data/OrbitMC/data.PlayerData, object pocketmine\snooze\SleeperHandlerEntry#58832, object poggit\libasynql\base\QuerySendQueue#58856, object poggit\libasynql\base\QueryRecvQueue#58836)

Environment OS: ???? PocketMine version: 5

JavierLeon9966 commented 1 year ago

You should inject your virions instead of running them separately. This should be fixed if it's injected and DEVirion isn't enabled.

Amzy7 commented 1 year ago

Inject my virion? Can you please explain what you mean?

SOF3 commented 1 year ago

Don't use devirion. just inject the virion directly using pharynx:

https://github.com/SOF3/pharynx