After the update from rev 766 --> 767
I get the erro att.
I check the funtions.lua line and:
local function replaceUtf8( _str, _key )
local tmp = database.utf8_ascii[_key];
_str = string.gsub(_str, string.char(tmp.utf8_1, tmp.utf8_2), string.char(tmp.ascii) ); (error in this line)
return _str
end
Bot error after rev. 767 update
-
- Posts: 84
- Joined: Sun Aug 18, 2013 9:57 am
Bot error after rev. 767 update
I look at those fans with no blades and it amazes me everytime, how can they push air without using blades lol - lisa (pro sentence )
Re: Bot error after rev. 767 update
There is no reason that shouldn't work. Did you get any corrupt files when you updated? That's files with red or yellow icons next to them in explorer?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
- Posts: 84
- Joined: Sun Aug 18, 2013 9:57 am
Re: Bot error after rev. 767 update
Rocks.
After reinstallation of micromacro and rombot I got the same error, that I got after the update from 766-767, but by chance I managed to trace the problem (at least till now no more errors), the problem was in this user function addon_attackspeedzero.lua, from http://solarstrike.net/phpBB3/viewtopic ... ero#p49642, with rev. 767 prompts the error in previews post.
ty
After reinstallation of micromacro and rombot I got the same error, that I got after the update from 766-767, but by chance I managed to trace the problem (at least till now no more errors), the problem was in this user function addon_attackspeedzero.lua, from http://solarstrike.net/phpBB3/viewtopic ... ero#p49642, with rev. 767 prompts the error in previews post.
ty
I look at those fans with no blades and it amazes me everytime, how can they push air without using blades lol - lisa (pro sentence )
Re: Bot error after rev. 767 update
Sorry, I should have been able to tell you it was a userfunction by the error message.
This took me quite awhile to figure out. It's because of the GetIdName commands that are not inside a function at line 133,134. That's bad programming practice because it forces the bot to run getWIN early before everything else has loaded and causes problems like this.
That said, the reason 767 is getting this error is because of the code I added to display the character names properly when selecting the window to attach to. I did add code to handle early running of getWIN but it wasn't good enough to handle this situation.
Changing line 103 of functions.lua
to
should fix it.
This took me quite awhile to figure out. It's because of the GetIdName commands that are not inside a function at line 133,134. That's bad programming practice because it forces the bot to run getWIN early before everything else has loaded and causes problems like this.
That said, the reason 767 is getting this error is because of the code I added to display the character names properly when selecting the window to attach to. I did add code to handle early running of getWIN but it wasn't good enough to handle this situation.
Changing line 103 of functions.lua
Code: Select all
if database then
Code: Select all
if database and next(database.utf8_ascii) then
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: No registered users and 0 guests