Multi Item not working menu

User Tag List

Results 1 to 8 of 8
  1. #1
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multi Item not working

    I built a script for a multi item on my server. But when I right click the item its linked to nothing happens, not even in console. I had the item cast 33208 on use, but that didnt help. I havn't added the teleport coords to the script yet, but i dont think that should affect the main menu. could someone please look it over and see if there are any errors? thanks in advance if you do

    Lua | local itemid = 70008 functi - Multi Item - VejzL6YU - Pastebin.com

    Multi Item not working
  2. #2
    darkwiz787's Avatar Member
    Reputation
    35
    Join Date
    Mar 2009
    Posts
    250
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lua is case sensitive, so when you name the argument Player, you can't use player:IsDead(), because player is still nil.

    In other words,
    function Item_Trigger(Unit, Item, Event, Player) -- You define it with a capital P
    if (player:IsDead() == true) then -- you use a lowercase p

    Also, if your using a repack, it could have a badly built core. Are you sure your using ArcEmu or Sandshroud? Is Lua enabled? does the Lua Engine load in your console?

    If your using a repack, those could be some key errors. If you compiled the core, make sure no errors were found when compiling LuaScripting.
    Last edited by darkwiz787; 06-22-2010 at 08:26 PM.

  3. #3
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is my own server. Arcemu compiled. Lua works And i already know that. I have lots of lua scripts working. But thank you for pointing that out, I thought i got rid of all the case alternates but i guess not.

    Alright. Any errors now? http://pastebin.com/Yis8P2aY
    Last edited by singoe; 06-22-2010 at 09:05 PM.

  4. #4
    darkwiz787's Avatar Member
    Reputation
    35
    Join Date
    Mar 2009
    Posts
    250
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No errors pop up when I run it in world.exe, so give it a go in-game, it should run smoothly!

  5. #5
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not a go. An item. and I do and nothing happens when i click it. And yes it is the same id (7000

    SQL of my item
    Code:
    INSERT INTO `items` VALUES (70008, 0, 8, -1, 'Mystical Herb Grinder', 55236, 5, 0, 0, 0, 0, 0, -1, -1, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33208, 0, 0, 1000, 1141, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Stay Above The Influence', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    Last edited by singoe; 06-23-2010 at 10:33 AM.

  6. #6
    diviee3's Avatar Sergeant Major
    Reputation
    16
    Join Date
    Jan 2010
    Posts
    176
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    he meant its working fine for him so give it a try, not give it a go as in game object

  7. #7
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am giving it a try an always have been before I made this post. And the item still does not respond when I right click it.

  8. #8
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright made some changes to the script, but now It crashes my server (Checked the console and it doesn't say anything before the crash). Can anyone see the reason? local itemid = 70008 function - Anonymous - yDL2bwkG - Pastebin.com +rep to the person who figures it out
    Last edited by singoe; 06-24-2010 at 09:39 PM.

Similar Threads

  1. WoW-V Items not working!
    By Donandi in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 04-07-2009, 03:11 AM
  2. Stats from items not working
    By Shalitas in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-03-2009, 04:08 PM
  3. Custom Items not working!
    By cello1993 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 02-17-2009, 11:51 AM
  4. Replies: 1
    Last Post: 01-04-2009, 10:55 AM
  5. Items not working
    By Hewit in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 12-28-2008, 10:33 PM
All times are GMT -5. The time now is 11:34 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search