PlusEMU Vault / ROTW Addon

Wolverine

Member
Aug 1, 2014
90
3
I downloaded the Vault + ROTW addon for RevCMS and over looking the files, I found this:
PHP:
                                                                switch($emulator){
                                                                    case "bcstorm":
                                                                    case "buterfly":
                                                                    case "butterstorm":
                                                                    case "swift":
So I'm guessing the Vault doesn't work for PlusEMU? If not, could someone fix it up for me?

Here's the full code:
 

JayC

Always Learning
Aug 8, 2013
5,504
1,401
The emulator switch statement is for inserting into items and updating the users. Add a new switch or just remove that entire case and just insert into your own table structure.
 

Joe

Well-Known Member
Jun 10, 2012
4,159
1,944
I recently changed/fixed this.
Just change this query and make sure it's matching with your database.
Code:
mysql_query("INSERT INTO items ('item_id', 'base_id', 'user_id', 'rareid', 'group_data') VALUES ('".$itemid."', '".$prizedata['base_item']."', '".USER_ID."', 0, NULL)");
 

Users who are viewing this thread

Top