Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading HealBot : bad argument to setfenv #12

Closed
cblastman opened this issue Nov 12, 2016 · 9 comments
Closed

Error when loading HealBot : bad argument to setfenv #12

cblastman opened this issue Nov 12, 2016 · 9 comments

Comments

@cblastman
Copy link

Hi,

I'm new to using HealBot. So maybe I did install HealBot incorrectly.
I did get the HealBot and libs/lor files in Windower\addons (in directories named HealBot and libs/lor)

When using the command //lua load healbot
I get this message :
lua runtime error
in lor_settings.lua at line 105 :
bad argument #1 to setfenv (number expected, got nil)

Any idea on what's the matter ?

NB : FFXI had a recent update, may it broke something ?

Thanks in advance
cBlastMan

@cblastman
Copy link
Author

NB : Follow seems to work fine

@lorand-ffxi
Copy link
Owner

Ah, sorry I missed this earlier. Are you still experiencing issues?

@cblastman
Copy link
Author

Yeah, I'm still having this error.
I'm thinking that I may have a lib missing, but I don't know which one that may be :-(

@lorand-ffxi
Copy link
Owner

I recently wrote a tutorial for installing my addons via Git:
https://lorand-ffxi.github.io/tutorials/
It includes a copy of an old version of a similar tutorial for installing them manually (without installing/using Git via terminal) that I had hosted via google drive, but that hosting method was deprecated.

If nothing else, the screenshots show the exact folders that you should be putting things in.

@radectheblm
Copy link

radectheblm commented Dec 14, 2016

I'm running into the same here - when I print the loadstring line being passed to setfenv, it's:
nil [string "return {..."]:44: '}' expected (to close '{' at line 1) near '='
this appears to be coming from the /HealBot/data/settings.lua, but all the {}'s are paired correctly - error still comes through if I remove the settings.lua file and allow the addon to recreate the default.

Throwing debug lines into HealBot.lua, something is causing this error when calling "load_configs()" - windower.send_command('echo debug') will show when inserted between lines 98/99, but not 99/100. Trying a debug statement between 676/677 in HealBot_utils.lua - right after function load_configs() - doesn't print either. Hopefully helps find something here

@lorand-ffxi
Copy link
Owner

I'll take a look next time I am able. The past few weeks have been busy due to holidays.

@linkage87
Copy link

Does this work with ashita v3 I put in addons and can't get it to load no clue what I'm doing wrong I am new to bots like this but would love to try it just need help getting started :) ty for making it and your hard work

@lorand-ffxi
Copy link
Owner

I have only ever used Windower, not Ashita.

@budstar
Copy link

budstar commented Jan 26, 2017

i need some help aswell. when i use //lua load healbot i get the message: Error loading healbot: file does not exist.
i saved the folder under addons as its written. what could it be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants