[ArcEmu] Upgrade item? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [ArcEmu] Upgrade item?

    Hey, guys I have been pondering this one for a bit, I would like to know based on concept how you could make an item like the Eternion's "Upgrade Gems" based solely on LuaBridge, i myself know how to code in LuaBridge so i got that part covered what i need help on is the concept itself. Like from what you can see on Eternion does it seem like it queries a DB to get "Which item is this" and "What will it become". I just want some input on this one thanks guys.

    [ArcEmu] Upgrade item?
  2. #2
    Nirual's Avatar Member
    Reputation
    13
    Join Date
    Apr 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You want that there's a table in the database which includes the base item and the next rank item?
    A good structure for that table would be
    CREATE TABLE `item_upgrades` (
    `item_base` INT(10) NULL COMMENT 'Item which should be upgraded',
    `item_upgrade` INT(10) NULL COMMENT 'The item youll get instead of',
    PRIMARY KEY (`item_base`)
    )
    Then you just have to make an if check, based on lua or c++, like

    if(Query != 0)
    {
    Player->removeitem(Query->firstvalue);
    Player->Additem(Query->secondvalue);
    }
    It's just an example don't try to use that code

    And sry for my english

Similar Threads

  1. [ArcEmu] [Developing]PHP ARCEMU Search Items Script
    By bsod-staff14 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-14-2010, 06:38 PM
  2. [ArcEmu] Upgrade to 3.3.3?
    By davidknag in forum WoW EMU Questions & Requests
    Replies: 15
    Last Post: 03-27-2010, 05:49 PM
  3. [ArcEmu]adding items and no heroic
    By jlidden in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 03-16-2010, 09:49 PM
  4. [arcemu] Creating items?
    By kabiichan in forum WoW EMU Questions & Requests
    Replies: 9
    Last Post: 10-13-2008, 08:26 AM
All times are GMT -5. The time now is 12:57 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search