Most of these dont work, VIP Vendor dont work, VIP Mall is not working not sure whats happening. getting error :
lua_scripts/VIP_Vendor.lua:169: attempt to call method 'SendVendorWindow' (a nil value)
When doesnt things need tinkering with VIP Functions
Though your script is really nice, I had to rebuild everything, yours works off having a VIP Coin in inventory, the problem with this is you need to ether setup a way a VIP Gets that coin or give it to him.
I set it on VIP Level table on account, so really don't even need the VIP Coin.
I also didn't like how 1: The Bloody token instead of adding MG, just gave you enough points to get next level VIP.
I had to rethink your system, as MG didnt sound really even good to have.
1: Your Website should keep track of your votes not the game.
On website, if you want "I want it to work off vip level donation instead of votes", but if you want the votes to work, you should be able to buy a Upgraded level in your web store and it would set "VIP" Column +1 for each purchase.
This way you do not have to keep track of the # of MG and such. also it would remove the need for the Coins fully.
it is supposed to work off website votes but the end user needs to set that up in there website ... but come to think of it I didn't accommodate a way for it to check for changes in vote count in sql from website.
basically you will add a second line in your php where a vote will +1 to the sql just add a second sql update line for `auth.account.votes`.
The VIP Coin is in the Vendor but the vendor needs updating for latest rev of Eluna.
I could add an MG reward amount and use the players VIP level as a multiplier for each increase.
My C++ VIP Engine does have the ability to allow a minimum required VIP level to use or equip an item.
when i press this in db
ALTER TABLE `item_template`
ADD COLUMN `vip` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1' ;
get this error in server world consol when loading items ..
-
-
-
-
-
2016-10-22 13:20:13 Loading Items...
2016-10-22 13:20:14 ERROR:Error in item_template table, probably sql file format was updated (there should be 141 fields in sql).
that is weird . all that is doing is adding a new field to world.item_template table...
you can add the field manually if you know how.
And I will look into it tonite after work.
second glance realize its a loading error.
something is counting the fields and throwing an error during startup.
I never had that happen before ....
auto db update system?
what rev/core/patch are you applying this to?
i'm assuming by the linked screen shot in the prior post that the field 'vip' exists in world.item_template since the screen shot is of a loading error, not an error from adding the field via the sql editor you use.
the error you linked prior is a Core error. for some reason CoronaCore will only expect x number of fields to a db or it crashes ....
Now in theory this should work for Eluna on Cmangos which is what CoronaCore is spawned from but its been modified by [MENTION=640]Salja[/MENTION] and his team.
I have never worked with Cmangos nor have I ever worked with CoronaCore.
ArcEmu and TrinityCore are the only 2 server cores I have worked with so far.