[Help Request] Mod is "Incompatible" menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    Aboogabooga's Avatar Banned
    Reputation
    6
    Join Date
    Mar 2008
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help Request] Mod is "Incompatible"

    I'm currently trying to learn how to make mods. I made one (it's called "Looky"), but in-game (at the character select screen) it says that it's "Incompatible". Could somebody help me find the bug(s) in my code?

    XML:
    Code:
    <Ui xmlns="http://www.blizzard.com/wow/ui/"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..FrameXMLUI.xsd">
    
    <Script file="Looky.lua"/>
    
    <Frame name="Looky_Frame">
    <Anchors>
    <Anchor point="CENTER"/>
    </Anchors>
    <Frames>
    <Button name="Looky_Button">
    <Scripts>
    <OnClick>
    Hearth()
    </OnClick>
    </Scripts>
    <Anchors>
    <Anchor point="CENTER"/>
    </Anchors>
    </Button>
    </Frames>
    </Frame>
    
    </Ui>
    LUA:
    Code:
    function Hearth()
    UseContainerItem(0, 1[, 1);
    end
    TOC:
    Code:
    ## Interface : 20400
    ## Name : Looky
    ## Notes : An addon to use the first item in your bag (usually Hearthstone) when the button is clicked.
    ## Author : MelonRind
    Looky.xml
    Looky.lua
    Please don't tell me to look through other mods, I've done that. Other than that, all help is greatly appreciated.
    Last edited by Aboogabooga; 08-01-2008 at 08:02 PM.

    [Help Request] Mod is &quot;Incompatible&quot;
  2. #2
    Saint-Pasdoy's Avatar Banned
    Reputation
    219
    Join Date
    Dec 2006
    Posts
    1,172
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was about to told you to check in other modz lol

  3. #3
    Aboogabooga's Avatar Banned
    Reputation
    6
    Join Date
    Mar 2008
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anybody? Please help.

  4. #4
    Saiket's Avatar Contributor
    Reputation
    146
    Join Date
    Jul 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Change "## Interface : 20403" to simply "## Interface : 20400".

    Also at a glance, make sure you actually call Hearth in your OnClick handler. Change "Hearth" to "Hearth()". Essentially, anything in those script tags is treated just like the contents of your lua file.
    ____
    Edit: Also, you need a parameter list for the Hearth function in your Lua file. Change "function Hearth" to "function Hearth ()" there too.
    Last edited by Saiket; 08-01-2008 at 07:55 PM.
    AddOn developer and long time explorer.

  5. #5
    Aboogabooga's Avatar Banned
    Reputation
    6
    Join Date
    Mar 2008
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I understand the bit about the TOC file, but what about my Lua/XML files? Could you please copy+paste, correct it, and post it for me?

    EDIT: I tried, but it is still listed as "Incompatible". Please still correct it for me.
    Last edited by Aboogabooga; 08-01-2008 at 08:00 PM.

  6. #6
    Saiket's Avatar Contributor
    Reputation
    146
    Join Date
    Jul 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I just tested one of my own addons and it looks like you can't have a space in front of the colons in your TOC file. It should look like this instead:
    Code:
    ## Interface: 20400
    ## Name: Looky
    ## Notes: An addon to use the first item in your bag (usually Hearthstone) when the button is clicked.
    ## Author: MelonRind
    Looky.xml
    Looky.lua
    AddOn developer and long time explorer.

  7. #7
    Aboogabooga's Avatar Banned
    Reputation
    6
    Join Date
    Mar 2008
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much!+Rep+Rep+Rep+Rep+Rep

Similar Threads

  1. [help/request] I need trainers for 2.3 lol
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-28-2007, 12:39 PM
  2. Getting A Friend Connected (Help Request)
    By Magnusvermis in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 12-07-2007, 11:57 PM
  3. Help Request
    By sirios in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-14-2007, 12:47 PM
  4. need help with mod (mac)
    By Scorch2 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 07-24-2007, 06:14 PM
  5. Worth 11-13 Rep: Help a Mod find a addon.
    By Alkhara Majere in forum World of Warcraft General
    Replies: 3
    Last Post: 05-27-2007, 11:09 AM
All times are GMT -5. The time now is 08:10 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