So... you want your AddOns for 2.0.0? menu

These ads disappear when you log in.

User Tag List

Results 1 to 1 of 1
  1. #1
    gravisoft's Avatar Member
    Reputation
    14
    Join Date
    Jun 2006
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make your AddOns work for 2.0.0 (The New Patch!)

    After some tweaking and trying stuff out, I noticed that many of the 3rd party AddOns (*SIMPLE ONES, NOT LARGE COMPLEX ONES*) still work with the new patch.
    The main reason blizzard disabled them is because of many massive Frame and API updates (if you dont write AddOns, you wouldnt understand).
    Basically, all you need to do is trick WoW into believing that the AddOn is compatible with the new patch...

    How to do this:
    1. Make a backup of your /AddOns folder! THIS IS CRUCIAL!
    2. Find the folder of the AddOn you wish to patch
    3. Open [AddOnName].toc
    4. Edit the line that says "## Interface: [NUMBER]".
    5. Change "[NUMBER]" to "20000".
    6. Save the file.
    7. Restart WoW.


    Should you have any problems, restore your old backup you made.

    Thats about it. Now if you'd like a quick method to do it (and you have PHP 5 installed) you can use the following script I wrote:
    Code:
    <?php
    ini_set("MAX_EXECUTION_TIME", "0");
    $WoW_Dir = 'C:\\Program Files\\World of Warcraft';
    $AddOn_Dir = '\\Interface\\AddOns';
    $Path = $WoW_Dir . $AddOn_Dir;
    
    if (!$AddOn = scandir($Path, 1))
    { die("Error opening AddOn Directory!"); }
    
    foreach ($AddOn as $Folder)
    {
    	if (is_dir($Path .'\\'. $Folder) && strstr($Folder, "Blizzard_") === FALSE && strstr($Folder, ".") === FALSE)
    	{
    		echo "Fixing ". $Folder ."...";
    		$TOC = $Path .'\\'. $Folder .'\\'. $Folder .'.toc';
    		$header = @file($TOC);
    		$fixed_addon = @fopen($TOC, "w");
    		foreach($header as $line)
    		{
    			if (stristr($line, "Interface:"))
    			{
    				@fwrite($fixed_addon, "## Interface: 20000\n");
    			} else {
    				@fwrite($fixed_addon, $line);
    			}
    		}
    		@fclose($fixed_addon);
    		echo "DONE\n";
    	}
    }
    echo "All patching completed!";
    ?>
    BE WARNED:
    Many AddOns that have UIs WILL NOT WORK. BE SURE TO BACKUP YOUR /AddOn FOLDER!

    List of AddOns that do work:
    BattleBot (check my sig), MailLoot

    Not working:
    Earth, Sea, Auctioneer, Stubby, Enchantrix
    (Check back for updates)
    Last edited by gravisoft; 12-08-2006 at 06:51 PM.
    Now Available: BattleBot and NoAFK
    You may call me Gravix.

    These ads disappear when you log in.

Similar Threads

  1. Do you want 1 month free for your wow account? Yes you do!
    By bullens in forum World of Warcraft General
    Replies: 6
    Last Post: 04-20-2010, 11:21 PM
All times are GMT -5. The time now is 10:29 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search