Item Search
     
BG-Wiki Search
Page 286 of 307 FirstFirst ... 236 276 284 285 286 287 288 296 ... LastLast
Results 5701 to 5720 of 6124
  1. #5701
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    Well if i combined the codes correctly for the mount addon it didnt work.

    Got error "mountup: lua runtime error: attempt to call a string value attempt to call a string value." It doesnt give a line of the error or anything. See I dont even get the basics of coding lol.

  2. #5702
    RIDE ARMOR
    Join Date
    Jun 2016
    Posts
    12
    BG Level
    1
    FFXI Server
    Asura

    Quote Originally Posted by Trumpy View Post
    Lockstyle is amazing. i still use the blinkmenot features of Dressup though. But I also dual box and it helps with mule followin and some blinking like if i change weapon mid fight that lockstyle doesnt keep you from blinking. but the modifyin the settings file is literally not coding. you open the settings file in the data folder of that addon (via notepad or notepad++) and change falses to true and vice versa save and load the addon. its not even complex. This is the entirety of the settings file (some settings files are even less than this). just alter the parts in the blinking. Also dressup helps cause there are still assholes out there who dont use lockstyle and they will be blinkin like a christmas tree if you are ever a job that might have to target anything during battle like WHM for example.

    Code:
    <?xml version="1.1" ?>
    <settings>
        <global>
            <autoupdate>false</autoupdate>
            <blinking>
                <all>
                    <always>false</always>
                    <combat>true</combat>
                    <target>true</target>
                </all>
                <follow>
                    <always>true</always>
                    <combat>true</combat>
                    <target>true</target>
                </follow>
                <others>
                    <always>false</always>
                    <combat>true</combat>
                    <target>true</target>
                </others>
                <party>
                    <always>false</always>
                    <combat>true</combat>
                    <target>true</target>
                </party>
                <self>
                    <always>false</always>
                    <combat>true</combat>
                    <target>true</target>
                </self>
            </blinking>
            <others>
    
            </others>
            <profiles>
    
            </profiles>
            <replacements>
                <body>
    
                </body>
                <face>
    
                </face>
                <feet>
    
                </feet>
                <hands>
    
                </hands>
                <head>
    
                </head>
                <legs>
    
                </legs>
                <main>
    
                </main>
                <race>
    
                </race>
                <ranged>
    
                </ranged>
                <sub>
    
                </sub>
            </replacements>
        </global>
    </settings>
    Windows is having no part of letting me save in that file, its my laptop, i'm the registered owner of the damn thing, but I don't have permission, lol I so miss xp

    oops you give to set permissions in each file in programs 86, ok gonna test this out

    Ok did everything the opposite of what was there, and tried no joy. copied and pasted yours still blinking, I'm just gonna have to go with what works. Thanks for trying though

  3. #5703
    Sea Torques
    Join Date
    Jun 2007
    Posts
    522
    BG Level
    5
    FFXI Server
    Lakshmi

    Quote Originally Posted by dlsmd View Post
    this should kill any chance that 0 will be selected
    Code:
    function random_mount(mountarray)
        local select_mount = 0
        while select_mount < 1 do
            select_mount = math.ceil(math.random(0,#mountarray))]
        end
        return mountarray[select_mount]
    end
    >_>
    As I said just do this

    Code:
    return math.max(1, mountarray[math.ceil(math.random(0,#mountarray))])
    It's much cleaner code.

  4. #5704
    Relic Shield
    Join Date
    Oct 2006
    Posts
    1,599
    BG Level
    6
    FFXI Server
    Odin

    Quote Originally Posted by predator View Post
    Windows is having no part of letting me save in that file, its my laptop, i'm the registered owner of the damn thing, but I don't have permission, lol I so miss xp

    oops you give to set permissions in each file in programs 86, ok gonna test this out

    Ok did everything the opposite of what was there, and tried no joy. copied and pasted yours still blinking, I'm just gonna have to go with what works. Thanks for trying though
    You need to disable UAC or open the file as administrator. I don't play anymore, so I can't say if dressup works or not, but i have a good feeling this is user error.

  5. #5705
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    What did I do wrong in my mount up code i posted earlier? Can someone show me how to fix it or just post full workin code?

  6. #5706
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Trumpy View Post
    What did I do wrong in my mount up code i posted earlier? Can someone show me how to fix it or just post full workin code?
    if this is your code
    Code:
    function random_mount(mountarray)
         local select_mount = 0
         while select_mount < 1 do
             select_mount = math.ceil(math.random(0,#mountarray))]
         end
         return mountarray[select_mount]
    end
    function UseMount()
         --Build mountarray not sure how to do this because i dont know where to look for mounts you have
         windower.send_command("input /mount "..random_mount(mountarray))
     end
    it will not trigger because you have not told it to yet
    do you want it to trigger UseMount() by command or automatically??

  7. #5707
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    I just want the addon to summon a random mount when I issue a command. I didnt know how to make an addon command and looking at a couple other addons They seemed to have a command as a function. but it didnt work for me obviously. Something like "//MountUp mount" or "//mu m" or whatever witty command name people can come up with works for me. Maybe with Geno's "cleaner" code he supplied above.

  8. #5708
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Trumpy View Post
    I just want the addon to summon a random mount when I issue a command. I didnt know how to make an addon command and looking at a couple other addons They seemed to have a command as a function. but it didnt work for me obviously. Something like "//MountUp mount" or "//mu m" or whatever witty command name people can come up with works for me. Maybe with Geno's "cleaner" code he supplied above.
    like this
    Code:
    _addon.name = 'MountUp'
    _addon.version = '1.00'
    _addon.author = 'Whoever (Shiva)'
    _addon.commands = {'mu','mountup'}
    
    require 'luau'
    mountarray = T{} -- mount table
    
    function random_mount() --randomly selects mount
        local select_mount = 0
        while select_mount < 1 do
            select_mount = math.ceil(math.random(0,#mountarray))]
        end
        return mountarray[select_mount]
    end
    function build_mount_table()--builds mount list
    `   mountarray:clear()
        local key_items = windower.ffxi.get_key_items()
        if key_items:contains(3055) then
            mountarray:append("Chocobo")
        end
        if key_items:contains(3072) then
            mountarray:append("Chocobo")
        end
        if key_items:contains(3073) then
            mountarray:append("Raptor")
        end
        if key_items:contains(3074) then
            mountarray:append("Tiger")
        end
        if key_items:contains(3075) then
            mountarray:append("Crab")
        end
        if key_items:contains(3076) then
            mountarray:append("Red crab")
        end
    end
    function UseMount() --main function
        build_mount_table()
        if #mountarray >= 1 then --varifies you have at lest one mount
            windower.send_command('input /mount "'..random_mount()..'"')
        end
    end
    windower.register_event('addon command', function(command)
        if command == "mount" or command == "m" then
            UseMount()
        end
    end)
    this should work

  9. #5709
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    That looks like you have to do "//mu mount". Can't invoke with just //mu?

  10. #5710
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Raelia View Post
    That looks like you have to do "//mu mount". Can't invoke with just //mu?
    he asked for "//MountUp mount" or "//mu m"
    you never want to trigger something with just the"//<shortcut|name>" you always want a command like "//<shortcut|name> <command>" for error pickup
    its actually
    "//MountUp mount" or "//MountUp m" or "//mu mount" "//mu m" or "//mountup mount" "//mountup m"
    --i updated my previous code to reflect this

  11. #5711
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    Quote Originally Posted by dlsmd View Post
    you never want to trigger something with just the"//<shortcut|name>"
    Yes, but can it be done that way, because idgaf?

    Most of the plugins have fallbacks like that which usually report syntax. I fail to see the difference.

  12. #5712
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    OK
    Dlsnd, Im gettin the same error as when i tried my code.

    "MountUP: Lua runtime error: attempt to call a string value attempt to call a string value"

  13. #5713
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Raelia View Post
    Yes, but can it be done that way, because idgaf?

    Most of the plugins have fallbacks like that which usually report syntax. I fail to see the difference.
    thats the error pickup
    Quote Originally Posted by Trumpy View Post
    OK
    Dlsnd, Im gettin the same error as when i tried my code.

    "MountUP: Lua runtime error: attempt to call a string value attempt to call a string value"
    force windower to update by deleting the update folder

  14. #5714
    Relic Weapons
    Join Date
    Dec 2009
    Posts
    325
    BG Level
    4
    FFXI Server
    Carbuncle

    Windower seems to have started crashing when I load media heavy websites in Firefox. Any ideas what could be up with that?

  15. #5715
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    After deleting that updates folder, Gearswap started goin nuts even on mules with no gearswaps. So i just unloaded it and went to git hub and dowloaded every file and it seems to be workin alright. Funny even though the addon.xml file gets downloaded it still wont show new official addons up to the ones i already have previously. stupid XP and its issues.

    OK Now back to the issue dlsmd, after deleting updates folder and having it download the new stuffs, i still get that error. Did you try it on your game if it works (are you playing currently)?

  16. #5716
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Trumpy View Post
    After deleting that updates folder, Gearswap started goin nuts even on mules with no gearswaps. So i just unloaded it and went to git hub and dowloaded every file and it seems to be workin alright. Funny even though the addon.xml file gets downloaded it still wont show new official addons up to the ones i already have previously. stupid XP and its issues.

    OK Now back to the issue dlsmd, after deleting updates folder and having it download the new stuffs, i still get that error. Did you try it on your game if it works (are you playing currently)?
    i does not really mater right now because the key items list is missing the mounts key items(i put in an error to windower)
    how ever this code works but only for Chocobo for the above reason
    Code:
    _addon.name = 'MountUp'
    _addon.version = '1.00'
    _addon.author = 'Whoever (Shiva)'
    _addon.commands = {'mu','mountup'}
    
    require 'luau'
    mountarray = T{} -- mount table
    
    function random_mount() --randomly selects mount
        local select_mount = 0
        while select_mount < 1 do
            select_mount = math.ceil(math.random(0,#mountarray))
        end
        return mountarray[select_mount]
    end
    function build_mount_table()--builds mount list
        mountarray:clear()
        local key_items = windower.ffxi.get_key_items()
        for _, v in ipairs(key_items) do
            if v == 3072 then
                mountarray:append("Chocobo")
            elseif v == 3073 then
                mountarray:append("Raptor")
            elseif v == 3074 then
                mountarray:append("Tiger")
            elseif v == 3075 then
                mountarray:append("Crab")
            elseif v == 3076 then
                mountarray:append("Red crab")
            end
        end
    end
    function UseMount() --main function
        build_mount_table()
        if #mountarray >= 1 then --varifies you have at lest one mount
            windower.send_command('input /mount "'..random_mount()..'"')
        end
    end
    windower.register_event('addon command', function(command)
        if command == "mount" or command == "m" then
            UseMount()
        end
    end)

  17. #5717
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Anybody having small issues with Findall?

    If I'm on char1 and I do //findall it works overall pretty fine for char1 and char2, but sometimes it doesn't see some items that are rightfully into one of char2's repositories.
    Yet if I log on char2 and do a //find it sees the item just fine.

    It only happens for a bunch of items, I don't see a pattern and I've been having this issue for the past few months.
    Unless I'm wrong I think I already tried to delete and rebuild the database but no change.


    Anybody else noticing this issue with //findall?

  18. #5718
    BG Content
    Join Date
    Jul 2007
    Posts
    22,393
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    It is a change caused by the multi-loading item inventory.

    FindAll uses a packet that I think we named "Inventory Finish" to determine when your inventory is loaded. Until that packet is received, it will not update the common inventory file that it searches when you use a //findall command, and thus you won't end up updating the file with a partial inventory when rapidly logging in/out for login points. However, now that packet gets sent multiple times when your separate inventories finish, so it's no longer a good way to tell whether you've finished loading your inventory and FindAll now sometimes pushes out half inventories to the file (and thus you can't find items that are in the other half of the inventory).

    Someone just needs to make a more robust way to determine whether your inventory has loaded. If it's not done in a month or so I'll probably do it.

  19. #5719
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Alright Byrth, thanks for clarifying it.
    Not a big deal, just wanted to know if it was a fault in my local configuration or in the addon itself

  20. #5720
    BG Content
    Join Date
    Mar 2006
    Posts
    1,370
    BG Level
    6
    FFXI Server
    Sylph

    Quote Originally Posted by RalphTheDwarf View Post
    Windower seems to have started crashing when I load media heavy websites in Firefox. Any ideas what could be up with that?
    Thank god its not only me. Happening at my home PC and work PC. Both windows 10, both firefox. Same addons loaded.

Page 286 of 307 FirstFirst ... 236 276 284 285 286 287 288 296 ... LastLast

Similar Threads

  1. Service and Support
    By Ribeye in forum FFXI: Everything
    Replies: 8
    Last Post: 2009-10-17, 18:23
  2. Windows vista and FFXI problem
    By Takeno in forum FFXI: Everything
    Replies: 1
    Last Post: 2007-07-26, 13:36
  3. Windows Vista and Windower
    By divisortheory in forum FFXI: Everything
    Replies: 35
    Last Post: 2006-06-23, 04:19