Jump to content

wow-masters

Members
  • Posts

    41
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by wow-masters

  1. Hello,

    I recently found lua for mangos. i thaught it would be a good idea to update it a bit more, this will never go into the repo but a good addon for everyone, since lua is a well used thing amongst private servers etc.

    Todo:

    Fix Script Reloading command,

    Add more functions for latest lua scripts that are out there.

    Fix Stability of the LUA Engine.

    SVN: http://svn2.assembla.com/svn/magos-lua/

    I give full credit to derex

  2. -- Generate a new guid

    ALTER TABLE item_instance ADD COLUMN guid_new INT(11) UNSIGNED AUTO_INCREMENT UNIQUE AFTER guid/*, AUTO_INCREMENT = 1000*/;

    -- Item data field

    UPDATE item_instance SET DATA = CONCAT(guid_new, ' ', RIGHT(DATA, LENGTH(DATA)-LENGTH(SUBSTRING_INDEX(DATA, ' ', 1))-1));

    -- auctionhouse

    UPDATE auctionhouse AS ah, item_instance AS it SET ah.itemguid = it.guid_new WHERE ah.itemguid = it.guid;

    -- character_gifts

    UPDATE character_gifts AS cg, item_instance AS it SET cg.item_guid = it.guid_new WHERE cg.item_guid = it.guid;

    -- character_inventory

    UPDATE character_inventory AS ci, item_instance AS it SET ci.bag = it.guid_new WHERE ci.bag = it.guid;

    UPDATE character_inventory AS ci, item_instance AS it SET ci.item = it.guid_new WHERE ci.item = it.guid;

    -- guild_bank_item

    UPDATE guild_bank_item AS gb, item_instance AS it SET gb.item_guid = it.guid_new WHERE gb.item_guid = it.guid;

    -- mail_items

    UPDATE mail_items AS mi, item_instance AS it SET mi.item_guid = it.guid_new WHERE mi.item_guid = it.guid;

    -- petition

    UPDATE petition AS p, item_instance AS it SET p.petitionguid = it.guid_new WHERE p.petitionguid = it.guid;

    -- petition_sign

    UPDATE petition_sign AS ps, item_instance AS it SET ps.petitionguid = it.guid_new WHERE ps.petitionguid = it.guid;

    -- Put the new guid in place

    UPDATE item_instance SET guid = guid_new;

    Who wrote this,

    not me someone else did but would be a good idea to use it in extras.

  3. mangos>SESSION: received unexpected opcode CMSG_GUILD_ROSTER (0x0089) the player has not logged in yet

    SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    SESSION: received not allowed opcode CMSG_LFD_PARTY_LOCK_INFO_REQUEST (0x0371)

    Rev: 9599

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use