• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

New Hook for Custom DB

Status
Not open for further replies.

ProfVice

Enthusiast
Need help by a problem.
I got a DB with Entrys: AccountID and VIP
and i have a script that asks if player is in area xy and is vip...
so now i need a function that can request datas from custom DBs.

Maybe someone can help me? Is it possible to script such a function? And how?
 

Rochet2

Moderator / Eluna Dev
There is no such possibility atm. I'm unsure if Lua can query db, which would be awesome and worth looking into
I was about to create a possibility to connect to new databases, but some problem with how to handle things and army stopped me.
This will likely be added. But as we are working on mangos atm, its likely going to be added there first.
 

Foereaper

Founder
As a workaround you can either copy the said tables over to the world or account databases, or you can set up a virtual table, taking the values from the original table and pointing to the new tables in the world or account databases.
 
Status
Not open for further replies.
Top