[need help] convert pqr to lua menu

User Tag List

Results 1 to 4 of 4
  1. #1
    smartie's Avatar Member
    Reputation
    5
    Join Date
    Apr 2013
    Posts
    27
    Thanks G/R
    12/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [need help] convert pqr to lua

    Hey buddys,

    i am trying to convert some old pqr profiles to work with [VRA][illegal]Vachiusa Rotation Assistant Mod but its driving me crazy atm

    The first problem i am having is that the routines are not showing up in pqi (which is a part of the addon)...

    i added
    Code:
    elseif VRS == 269 then
    				VMOWind()
    in the VRA.lua file and added
    Code:
    Monk\windwalker.lua
    as link to the rotation in the VRA.toc file

    the rotation looks like that atm to just test if its even poping up:
    Code:
    function VMOWind()
    	if not IsAddOnLoaded("PQInterface") then
    		if not VSIWarning then
    			VAS_WriteToChat("\124cFFFF55FFWarning: only works with VSI addon!")
    			VSIWarning = true
    		end
    		return true
    	end
    
    if not WINDWALKER then 	
    		local config = {
    	name  = 'Windwalker',
    	author  = 'test',
    	abilities = {
    		{  name = "Test",
    			enable = false,
    			newSection = true,
    			tooltip	= "this is a test",	
    		},	
    	},	
    }
    WINDWALKER = PQI:AddRotation(config)
    
    	if VaSpec ~= 269 then
    		VaSpec = 269
    		PQR_RotationChanged("WINDWALKER")
    	end
    but when i log on the windwalker a lua error pops up saying VMOWind is a nil value..i dont see my fault exactly...same happens when i try to make a brewmaster rotation...can you give me an advice what i am doing wrong ?

    I know its not a routine now but i dont try to convert the routine if the routine isnt evening poping up in pqi..


    Gr33tz smartie

    [need help] convert pqr to lua
  2. #2
    smartie's Avatar Member
    Reputation
    5
    Join Date
    Apr 2013
    Posts
    27
    Thanks G/R
    12/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump 10chars

  3. #3
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,033
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function VMOWind()
    if not IsAddOnLoaded("PQInterface") then
    if not VSIWarning then
    VAS_WriteToChat("\124cFFFF55FFWarning: only works with VSI addon!")
    VSIWarning = true
    end
    return true
    end
    end --add this!

    Please if someone helped you donate rep to them.

  4. #4
    smartie's Avatar Member
    Reputation
    5
    Join Date
    Apr 2013
    Posts
    27
    Thanks G/R
    12/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    did not fix the problem

    //EDIT//

    fixed the problem...had to add an end @ the end of the "routine"

    ty very much really appreciate that
    Last edited by smartie; 04-23-2014 at 11:26 AM.

Similar Threads

  1. Need help fixing some simple lua scripts :-)
    By kaato in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 04-10-2009, 06:11 PM
  2. Needs Help with Warp Npc Lua
    By Lytle69 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-03-2008, 02:39 AM
  3. Need help converting BLP's
    By originalballa in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-23-2008, 09:26 PM
  4. Need help with my script [lua]
    By Satzen in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-18-2008, 05:19 PM
  5. Need Help converting race models.
    By Rekhyt in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 10-01-2007, 09:19 AM
All times are GMT -5. The time now is 07:26 PM. 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