Shaiya[US] - Shaiya Bot ZS
Re: Shaiya - ZS Shaiya Bot - v0.03b
Guess I should have asked this first. Does this work fine on vista?
Mon Nov 17 19:17:47 2008 : MicroMacro v0.99
Mon Nov 17 19:17:47 2008 : Processor Type: 2X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Mon Nov 17 19:17:47 2008 : Lua initialized successfully.
Mon Nov 17 19:17:47 2008 : Lua libs opened successfully.
Mon Nov 17 19:17:47 2008 : LuaCoco is available.
Mon Nov 17 19:17:47 2008 : Lua glues exported.
Mon Nov 17 19:17:47 2008 : Keyboard layout: US English
Mon Nov 17 19:17:47 2008 : Configurations run.
Mon Nov 17 19:18:59 2008 : Executing script "main.lua".
==================================================
Mon Nov 17 19:18:59 2008 : ...op/micromacro/scripts/zs_shaiya/classes/xml_data.lua:215: attempt to call global 'is_number' (a nil value)
Mon Nov 17 19:18:59 2008 : Execution of main.lua complete.
Mon Nov 17 19:18:59 2008 : Execution error: Runtime error
Mon Nov 17 19:18:59 2008 : Collecting garbage...
Mon Nov 17 19:18:59 2008 : 84KB freed.
Mon Nov 17 19:17:47 2008 : MicroMacro v0.99
Mon Nov 17 19:17:47 2008 : Processor Type: 2X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Mon Nov 17 19:17:47 2008 : Lua initialized successfully.
Mon Nov 17 19:17:47 2008 : Lua libs opened successfully.
Mon Nov 17 19:17:47 2008 : LuaCoco is available.
Mon Nov 17 19:17:47 2008 : Lua glues exported.
Mon Nov 17 19:17:47 2008 : Keyboard layout: US English
Mon Nov 17 19:17:47 2008 : Configurations run.
Mon Nov 17 19:18:59 2008 : Executing script "main.lua".
==================================================
Mon Nov 17 19:18:59 2008 : ...op/micromacro/scripts/zs_shaiya/classes/xml_data.lua:215: attempt to call global 'is_number' (a nil value)
Mon Nov 17 19:18:59 2008 : Execution of main.lua complete.
Mon Nov 17 19:18:59 2008 : Execution error: Runtime error
Mon Nov 17 19:18:59 2008 : Collecting garbage...
Mon Nov 17 19:18:59 2008 : 84KB freed.
Re: Shaiya - ZS Shaiya Bot - v0.03b
@shakey
It looks like it hasn't included "./lib/utils.lua" which is why you received the debug_message error, and the is_number error.
In main.lua what are the lines 19 & 20?
Should be changed too:
main.lua, line 22 make sure this is present and un-changed.
It looks like it hasn't included "./lib/utils.lua" which is why you received the debug_message error, and the is_number error.
In main.lua what are the lines 19 & 20?
Code: Select all
g_script_dir = "./scripts/zs_shaiya/"
--g_script_dir = getExecutionPath() .. "/"
Code: Select all
--g_script_dir = "./scripts/zs_shaiya/"
g_script_dir = getExecutionPath() .. "/"
Code: Select all
include(g_script_dir .. "lib/utils.lua")
Re: Shaiya - ZS Shaiya Bot - v0.03b
Yeah, those changes were correct.
I didn't seem to have a line with lib/utils, so I added it. Now I'm getting.
Tue Nov 18 10:11:46 2008 : Executing script "main.lua".
==================================================
Tue Nov 18 10:11:47 2008 : macro_init()
Tue Nov 18 10:11:47 2008 : ...y/Desktop/micromacro/scripts/zs_shaiya/lib/utils.lua:190: bad argument #1 to 'find' (string expected, got boolean)
Tue Nov 18 10:11:47 2008 : Execution of main.lua complete.
Tue Nov 18 10:11:47 2008 : Execution error: Runtime error
Tue Nov 18 10:11:47 2008 : Collecting garbage...
Tue Nov 18 10:11:47 2008 : 74KB freed.
Sorry for all the troubles and I appreciate the help.
I didn't seem to have a line with lib/utils, so I added it. Now I'm getting.
Tue Nov 18 10:11:46 2008 : Executing script "main.lua".
==================================================
Tue Nov 18 10:11:47 2008 : macro_init()
Tue Nov 18 10:11:47 2008 : ...y/Desktop/micromacro/scripts/zs_shaiya/lib/utils.lua:190: bad argument #1 to 'find' (string expected, got boolean)
Tue Nov 18 10:11:47 2008 : Execution of main.lua complete.
Tue Nov 18 10:11:47 2008 : Execution error: Runtime error
Tue Nov 18 10:11:47 2008 : Collecting garbage...
Tue Nov 18 10:11:47 2008 : 74KB freed.
Sorry for all the troubles and I appreciate the help.
Re: Shaiya - ZS Shaiya Bot - v0.03b
Sounds like the old script is more trouble than it's worth.
I have uploaded a new version 0.31b which should not have the issues you have described. I've only briefly tested it for about 10mins or so, so I can't be certain everything works (obvious errors usually crash it after killing a couple of mobs), so good luck with it and see First Post.
I will be not making any new features for this release, as I'm in the midst of coding a new branch version which has FSM elements in it.
In english, the new script that I will be releasing in the future should be allot more responsive to various states, such as fleeing etc.
I have uploaded a new version 0.31b which should not have the issues you have described. I've only briefly tested it for about 10mins or so, so I can't be certain everything works (obvious errors usually crash it after killing a couple of mobs), so good luck with it and see First Post.
I will be not making any new features for this release, as I'm in the midst of coding a new branch version which has FSM elements in it.
In english, the new script that I will be releasing in the future should be allot more responsive to various states, such as fleeing etc.
Re: Shaiya - ZS Shaiya Bot - v0.03b
I like the update but....
Tue Nov 18 14:02:48 2008 : ...shakey\Desktop\micromacro\scripts\zs_shaiya/main.lua:22: cannot open C:/Users/shakey/Desktop/micromacro/scripts/zs_shaiya/scripts/zs_shaiya/lib/utils.lua: No such file or directory
it's adding an extra folder into the path somehow. Saying there is another "Scripts" folder after zs_shaiya. Which as you know, there isn't ^^.
Tue Nov 18 14:02:48 2008 : ...shakey\Desktop\micromacro\scripts\zs_shaiya/main.lua:22: cannot open C:/Users/shakey/Desktop/micromacro/scripts/zs_shaiya/scripts/zs_shaiya/lib/utils.lua: No such file or directory
it's adding an extra folder into the path somehow. Saying there is another "Scripts" folder after zs_shaiya. Which as you know, there isn't ^^.
Re: Shaiya - ZS Shaiya Bot - v0.03b
Tue Nov 18 14:18:44 2008 : Executing script "main.lua".
==================================================
Tue Nov 18 14:18:44 2008 : macro_init()
Tue Nov 18 14:18:44 2008 : interface=INTERFACE_1280X1024
Tue Nov 18 14:18:44 2008 : Shaiya Window process ID: 459696
Tue Nov 18 14:18:44 2008 : win_width: 0, win_height: 0
Tue Nov 18 14:18:44 2008 : ...ktop/micromacro/scripts/scripts/classes/xml_data.lua:148: attempt to index local 'l_xml' (a nil value)
Tue Nov 18 14:18:44 2008 : Execution of main.lua complete.
Tue Nov 18 14:18:44 2008 : Execution error: Runtime error
Tue Nov 18 14:18:44 2008 : Collecting garbage...
Tue Nov 18 14:18:44 2008 : GC closed process handle 0xEC.
Tue Nov 18 14:18:44 2008 : GC closed process handle 0xF4.
Tue Nov 18 14:18:44 2008 : GC closed device context handle 0x21BD098.
Tue Nov 18 14:18:44 2008 : 110KB freed.
I made some changes, added the folders, moved the stuff and deleted some commented lines that were giving errors and now this ^^. Hopefully I'm about done finding bugs/errors.
==================================================
Tue Nov 18 14:18:44 2008 : macro_init()
Tue Nov 18 14:18:44 2008 : interface=INTERFACE_1280X1024
Tue Nov 18 14:18:44 2008 : Shaiya Window process ID: 459696
Tue Nov 18 14:18:44 2008 : win_width: 0, win_height: 0
Tue Nov 18 14:18:44 2008 : ...ktop/micromacro/scripts/scripts/classes/xml_data.lua:148: attempt to index local 'l_xml' (a nil value)
Tue Nov 18 14:18:44 2008 : Execution of main.lua complete.
Tue Nov 18 14:18:44 2008 : Execution error: Runtime error
Tue Nov 18 14:18:44 2008 : Collecting garbage...
Tue Nov 18 14:18:44 2008 : GC closed process handle 0xEC.
Tue Nov 18 14:18:44 2008 : GC closed process handle 0xF4.
Tue Nov 18 14:18:44 2008 : GC closed device context handle 0x21BD098.
Tue Nov 18 14:18:44 2008 : 110KB freed.
I made some changes, added the folders, moved the stuff and deleted some commented lines that were giving errors and now this ^^. Hopefully I'm about done finding bugs/errors.
Last edited by shakey on Sun Feb 01, 2009 12:11 am, edited 1 time in total.
Re: Shaiya - ZS Shaiya Bot - v0.03b
Provided you have downloaded and are using the latest version of MicroMacro, and the ZS Shaiya 0.31b, it should work fine.shakey wrote:I like the update but....
Tue Nov 18 14:02:48 2008 : ...shakey\Desktop\micromacro\scripts\zs_shaiya/main.lua:22: cannot open C:/Users/shakey/Desktop/micromacro/scripts/zs_shaiya/scripts/zs_shaiya/lib/utils.lua: No such file or directory
it's adding an extra folder into the path somehow. Saying there is another "Scripts" folder after zs_shaiya. Which as you know, there isn't ^^.
If I were you I'd delete the entire micromacro folder, and re-download the latest copy, then re-download, and extract zs_shaiya 0.31b to it.
MicroMacro
ZS Shaiya script
Re: Shaiya - ZS Shaiya Bot - v0.03b
I'm positive I do. But I'll download it anyway. I'm not above checking the simple things.
*EDIT* Fresh install of both.
Wed Nov 19 09:44:06 2008 : macro_init()
Wed Nov 19 09:44:06 2008 : interface=INTERFACE_1280X1024
Wed Nov 19 09:44:06 2008 : Shaiya Window process ID: 4195528
Wed Nov 19 09:44:06 2008 : win_width: 1280, win_height: 1024
Wed Nov 19 09:44:06 2008 :
Wed Nov 19 09:44:06 2008 :
Wed Nov 19 09:44:06 2008 : skill: Heavy Swat 2
Wed Nov 19 09:44:06 2008 : skill: Rising Crash 3
Wed Nov 19 09:44:06 2008 : skill: Double Damage 2
Wed Nov 19 09:44:06 2008 : skill: Wind Spin 2
Wed Nov 19 09:44:06 2008 : ...omacro/scripts/zs_shaiya/classes/shortcuts/skill.lua:38: attempt to index field '?' (a nil value)
Wed Nov 19 09:44:06 2008 : Execution of main.lua complete.
Wed Nov 19 09:44:06 2008 : Execution error: Runtime error
Wed Nov 19 09:44:06 2008 : Collecting garbage...
Wed Nov 19 09:44:06 2008 : GC closed process handle 0xEC.
Wed Nov 19 09:44:06 2008 : 59KB freed.
Did I need to edit my skill.lua?
*EDIT*
I added Wind Spin level 2 into the skills.lua If you want it let me know because the script works now!
*EDIT* Fresh install of both.
Wed Nov 19 09:44:06 2008 : macro_init()
Wed Nov 19 09:44:06 2008 : interface=INTERFACE_1280X1024
Wed Nov 19 09:44:06 2008 : Shaiya Window process ID: 4195528
Wed Nov 19 09:44:06 2008 : win_width: 1280, win_height: 1024
Wed Nov 19 09:44:06 2008 :
Wed Nov 19 09:44:06 2008 :
Wed Nov 19 09:44:06 2008 : skill: Heavy Swat 2
Wed Nov 19 09:44:06 2008 : skill: Rising Crash 3
Wed Nov 19 09:44:06 2008 : skill: Double Damage 2
Wed Nov 19 09:44:06 2008 : skill: Wind Spin 2
Wed Nov 19 09:44:06 2008 : ...omacro/scripts/zs_shaiya/classes/shortcuts/skill.lua:38: attempt to index field '?' (a nil value)
Wed Nov 19 09:44:06 2008 : Execution of main.lua complete.
Wed Nov 19 09:44:06 2008 : Execution error: Runtime error
Wed Nov 19 09:44:06 2008 : Collecting garbage...
Wed Nov 19 09:44:06 2008 : GC closed process handle 0xEC.
Wed Nov 19 09:44:06 2008 : 59KB freed.
Did I need to edit my skill.lua?
*EDIT*
I added Wind Spin level 2 into the skills.lua If you want it let me know because the script works now!
Re: Shaiya - ZS Shaiya Bot - v0.03b
Good to know, I was just about to say the Wind Spin hasn't been added to skills.xml yet.
Though it should have come up with a error mentioning that, I'll have to fix that part up.
Just copy this file to "./classes/shortcuts/skill.lua", it will display a better error when the Skill has not been stored. Edit:
Of course. Please do include any additional skills you create here in Code tags, and I will include them to the skills.xml file, for the next release.
Though it should have come up with a error mentioning that, I'll have to fix that part up.
Just copy this file to "./classes/shortcuts/skill.lua", it will display a better error when the Skill has not been stored. Edit:
Of course. Please do include any additional skills you create here in Code tags, and I will include them to the skills.xml file, for the next release.
-
- Posts: 8
- Joined: Wed Nov 26, 2008 1:21 am
Re: Shaiya - ZS Shaiya Bot - v0.03b
excellent script! i have played with a few of your past works found on the web. I have error with this ver. " \zs_shaiya/main.lua: 120 Error Non-numerical type passed to register timer() where a time value is expected "
i read it as being this line -registerTimer("main_interval", g_cfg.main_interval, main_interval)
please advise. I would definitely like to play with this script and adapt it to a team. if only i could run it in multiples on side by side monitors< any chance of that??
thanks great work!
i read it as being this line -registerTimer("main_interval", g_cfg.main_interval, main_interval)
please advise. I would definitely like to play with this script and adapt it to a team. if only i could run it in multiples on side by side monitors< any chance of that??
thanks great work!
Re: Shaiya - ZS Shaiya Bot - v0.03b
Sounds like your using the old lib/mod/xml.lua of MicroMacro, download the latest version of MicroMacro and the issue should be fixed. The latest xml.lua file has automatic data-type conversion where before it didn't.
Micromacro cannot send keyboard, and mouse signals just to the Shaiya process through attach so normally this is not possible, However using Virtual Machines, it's possible with the latest version of VMWare Workstation, but it runs Shaiya at a crawl with more than one instance.
Micromacro cannot send keyboard, and mouse signals just to the Shaiya process through attach so normally this is not possible, However using Virtual Machines, it's possible with the latest version of VMWare Workstation, but it runs Shaiya at a crawl with more than one instance.
-
- Posts: 8
- Joined: Wed Nov 26, 2008 1:21 am
Re: Shaiya - ZS Shaiya Bot - v0.03b
ok so i thought i had the newest micromacro but that fixed that. now i get "/classes/gui.lua:291: attempt to index field '?' (a nil value)
considering that it may not see my bars or the target bar i closed and reopened several times to make sure config was rewritten, but no dice
and it does display the correct resolution on micromacro.
thx
edit* ok tried it again move the target bar to top left like an old one i had, open close, open close whalah it starts but no attack. now its a memory read error- failure reading memory from 0xaf0138 at 0x81cbec in memoryReadFloatPtr(). Error code 5 (access is denied)
thx
considering that it may not see my bars or the target bar i closed and reopened several times to make sure config was rewritten, but no dice
and it does display the correct resolution on micromacro.
thx
edit* ok tried it again move the target bar to top left like an old one i had, open close, open close whalah it starts but no attack. now its a memory read error- failure reading memory from 0xaf0138 at 0x81cbec in memoryReadFloatPtr(). Error code 5 (access is denied)
thx
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Shaiya - ZS Shaiya Bot - v0.03b
reverseengines: Are you sure you overwrote Shaiya's game.exe (C:\AeriaGames\Shaiya\game.exe) with the cracked version? It should have changed the icon to a pink doughnut looking thing. Without the new game.exe, MicroMacro will not be able to read the memory from Shaiya.
-
- Posts: 8
- Joined: Wed Nov 26, 2008 1:21 am
Re: Shaiya - ZS Shaiya Bot - v0.03b
yes i can successfully (try to) use CE so its definitely the updated client. maybe ill replace it again in case i damaged something important with hexeditor
on another note when i followed the readme i did edit 2 lines for the install_path since both are in E: and niether in C:\programs\
both lines read-
<config name="install_path">E:\AeriaGames\Shaiya\</config>
<config name="install_path_vm">E:\AeriaGames\Shaiya\</config>
i think that is right tho
*ok so the game.exe is half updated somehow if i load with the shortcut itbypasses gg and everything but if i go straight thruogh the game.exe it updates and everything so ill replace it for sure
thx
oh and what is "displace_enabled"?
**ok i replaced the game.exe tried everything again and same gui :291 error again no memory error
on another note when i followed the readme i did edit 2 lines for the install_path since both are in E: and niether in C:\programs\
both lines read-
<config name="install_path">E:\AeriaGames\Shaiya\</config>
<config name="install_path_vm">E:\AeriaGames\Shaiya\</config>
i think that is right tho
*ok so the game.exe is half updated somehow if i load with the shortcut itbypasses gg and everything but if i go straight thruogh the game.exe it updates and everything so ill replace it for sure
thx
oh and what is "displace_enabled"?
**ok i replaced the game.exe tried everything again and same gui :291 error again no memory error
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Shaiya - ZS Shaiya Bot - v0.03b
Post your log.txt. Also, what OS are you using? Are you bypassing the launcher, or what?
-
- Posts: 8
- Joined: Wed Nov 26, 2008 1:21 am
Re: Shaiya - ZS Shaiya Bot - v0.03b
- Wed Nov 26 14:36:38 2008 : MicroMacro v0.99
Wed Nov 26 14:36:38 2008 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Wed Nov 26 14:36:38 2008 : Lua initialized successfully.
Wed Nov 26 14:36:38 2008 : Lua libs opened successfully.
Wed Nov 26 14:36:38 2008 : LuaCoco is available.
Wed Nov 26 14:36:38 2008 : Lua glues exported.
Wed Nov 26 14:36:38 2008 : Keyboard layout: US English
Wed Nov 26 14:36:38 2008 : Configurations run.
Wed Nov 26 14:37:01 2008 : Executing script "main.lua".
==================================================
Wed Nov 26 14:37:01 2008 : macro_init()
Wed Nov 26 14:37:01 2008 : interface=INTERFACE_1680X1050
Wed Nov 26 14:37:01 2008 : Shaiya Window process ID: 591678
Wed Nov 26 14:37:01 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:37:01 2008 : name: (edit)
Wed Nov 26 14:37:01 2008 : avatar_name: (edit)
Wed Nov 26 14:37:01 2008 : skill: Heavy Swat 1
Wed Nov 26 14:37:01 2008 : skill: Curse Raid 2
Wed Nov 26 14:37:01 2008 : skill: Panic 1
Wed Nov 26 14:37:01 2008 : skill: Hard Skin 2
Wed Nov 26 14:37:01 2008 : skill: Bash 2
Wed Nov 26 14:37:01 2008 : skill: Concentration 2
Wed Nov 26 14:37:01 2008 : skill: Tactical Formation 1
Wed Nov 26 14:37:12 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:37:12 2008 : check_use_buffs()
Wed Nov 26 14:37:19 2008 : cycle_target()
Wed Nov 26 14:37:20 2008 : potion - use()
Wed Nov 26 14:37:20 2008 : potion type 3 used.
stack traceback:
...tings\User\Desktop\micromacro\micromacro\lib\lib.lua:476: in function 'startMacro'
...top\micromacro\micromacro\scripts\zs_shaiya/main.lua:144: in main chunk
----------TRACEBACK END----------
Wed Nov 26 14:37:21 2008 : ...romacro/micromacro/scripts/zs_shaiya/classes/gui.lua:291: attempt to index field '?' (a nil value)
Wed Nov 26 14:37:21 2008 : Execution of main.lua complete.
Wed Nov 26 14:37:21 2008 : Execution error: Runtime error
Wed Nov 26 14:37:21 2008 : Collecting garbage...
Wed Nov 26 14:37:21 2008 : GC closed device context handle 0xAB1ED0.
Wed Nov 26 14:37:21 2008 : GC closed process handle 0x8C.
Wed Nov 26 14:37:21 2008 : 83KB freed.
Wed Nov 26 14:38:57 2008 : Executing script "main.lua".
==================================================
Wed Nov 26 14:38:57 2008 : macro_init()
Wed Nov 26 14:38:57 2008 : interface=INTERFACE_1680X1050
Wed Nov 26 14:38:57 2008 : Shaiya Window process ID: 591678
Wed Nov 26 14:38:57 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:38:57 2008 : name: (edit)
Wed Nov 26 14:38:57 2008 : avatar_name: (edit)
Wed Nov 26 14:38:57 2008 : skill: Heavy Swat 1
Wed Nov 26 14:38:57 2008 : skill: Curse Raid 2
Wed Nov 26 14:38:57 2008 : skill: Panic 1
Wed Nov 26 14:38:57 2008 : skill: Hard Skin 2
Wed Nov 26 14:38:57 2008 : skill: Bash 2
Wed Nov 26 14:38:57 2008 : skill: Concentration 2
Wed Nov 26 14:38:57 2008 : skill: Tactical Formation 1
Wed Nov 26 14:39:02 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:39:02 2008 : check_use_buffs()
Wed Nov 26 14:39:06 2008 : GC closed process handle 0x90.
Wed Nov 26 14:39:06 2008 : GC closed process handle 0x88.
Wed Nov 26 14:39:12 2008 : cycle_target()
stack traceback:
...tings\User\Desktop\micromacro\micromacro\lib\lib.lua:476: in function 'startMacro'
...top\micromacro\micromacro\scripts\zs_shaiya/main.lua:144: in main chunk
----------TRACEBACK END----------
Wed Nov 26 14:39:14 2008 : ...romacro/micromacro/scripts/zs_shaiya/classes/gui.lua:291: attempt to index field '?' (a nil value)
Wed Nov 26 14:39:14 2008 : Execution of main.lua complete.
Wed Nov 26 14:39:14 2008 : Execution error: Runtime error
Wed Nov 26 14:39:14 2008 : Collecting garbage...
Wed Nov 26 14:39:14 2008 : GC closed device context handle 0xB3E908.
Wed Nov 26 14:39:14 2008 : GC closed device context handle 0xAAE4B8.
Wed Nov 26 14:39:14 2008 : 137KB freed.
Wed Nov 26 14:39:39 2008 : Executing script "main.lua".
==================================================
Wed Nov 26 14:39:39 2008 : macro_init()
Wed Nov 26 14:39:39 2008 : interface=INTERFACE_1680X1050
Wed Nov 26 14:39:39 2008 : Shaiya Window process ID: 591678
Wed Nov 26 14:39:39 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:39:39 2008 : name: (edit)
Wed Nov 26 14:39:39 2008 : avatar_name: (edit)
Wed Nov 26 14:39:39 2008 : skill: Heavy Swat 1
Wed Nov 26 14:39:39 2008 : skill: Curse Raid 2
Wed Nov 26 14:39:39 2008 : skill: Panic 1
Wed Nov 26 14:39:39 2008 : skill: Hard Skin 2
Wed Nov 26 14:39:39 2008 : skill: Bash 2
Wed Nov 26 14:39:39 2008 : skill: Concentration 2
Wed Nov 26 14:39:39 2008 : skill: Tactical Formation 1
Wed Nov 26 14:39:43 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:39:43 2008 : check_use_buffs()
Wed Nov 26 14:39:49 2008 : cycle_target()
Wed Nov 26 14:39:50 2008 : potion - use()
Wed Nov 26 14:39:50 2008 : potion type 3 used.
stack traceback:
...tings\User\Desktop\micromacro\micromacro\lib\lib.lua:476: in function 'startMacro'
...top\micromacro\micromacro\scripts\zs_shaiya/main.lua:144: in main chunk
----------TRACEBACK END----------
Wed Nov 26 14:39:51 2008 : ...romacro/micromacro/scripts/zs_shaiya/classes/gui.lua:291: attempt to index field '?' (a nil value)
Wed Nov 26 14:39:51 2008 : Execution of main.lua complete.
Wed Nov 26 14:39:51 2008 : Execution error: Runtime error
Wed Nov 26 14:39:51 2008 : Collecting garbage...
Wed Nov 26 14:39:51 2008 : GC closed process handle 0x90.
Wed Nov 26 14:39:51 2008 : GC closed process handle 0x8C.
Wed Nov 26 14:39:51 2008 : GC closed device context handle 0xB7FFF8.
Wed Nov 26 14:39:51 2008 : GC closed device context handle 0xB3B568.
Wed Nov 26 14:39:51 2008 : 341KB freed.
Wed Nov 26 14:47:45 2008 : Executing script "main.lua".
==================================================
Wed Nov 26 14:47:45 2008 : macro_init()
Wed Nov 26 14:47:45 2008 : interface=INTERFACE_1680X1050
Wed Nov 26 14:47:45 2008 : Shaiya Window process ID: 1706224
Wed Nov 26 14:47:45 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:47:45 2008 : name: (edit)
Wed Nov 26 14:47:45 2008 : avatar_name: (edit)
Wed Nov 26 14:47:45 2008 : skill: Heavy Swat 1
Wed Nov 26 14:47:45 2008 : skill: Curse Raid 2
Wed Nov 26 14:47:45 2008 : skill: Panic 1
Wed Nov 26 14:47:45 2008 : skill: Hard Skin 2
Wed Nov 26 14:47:45 2008 : skill: Bash 2
Wed Nov 26 14:47:45 2008 : skill: Concentration 2
Wed Nov 26 14:47:45 2008 : skill: Tactical Formation 1
Wed Nov 26 14:47:53 2008 : win_width: 1680, win_height: 1050
Wed Nov 26 14:47:53 2008 : check_use_buffs()
Wed Nov 26 14:48:02 2008 : cycle_target()
stack traceback:
...tings\User\Desktop\micromacro\micromacro\lib\lib.lua:476: in function 'startMacro'
...top\micromacro\micromacro\scripts\zs_shaiya/main.lua:144: in main chunk
----------TRACEBACK END----------
Wed Nov 26 14:48:03 2008 : ...romacro/micromacro/scripts/zs_shaiya/classes/gui.lua:291: attempt to index field '?' (a nil value)
Wed Nov 26 14:48:03 2008 : Execution of main.lua complete.
Wed Nov 26 14:48:03 2008 : Execution error: Runtime error
Wed Nov 26 14:48:03 2008 : Collecting garbage...
Wed Nov 26 14:48:03 2008 : GC closed device context handle 0xAAE7A0.
Wed Nov 26 14:48:03 2008 : GC closed process handle 0x90.
Wed Nov 26 14:48:03 2008 : GC closed process handle 0x88.
Wed Nov 26 14:48:03 2008 : GC closed device context handle 0xB9AE80.
Wed Nov 26 14:48:03 2008 : 275KB freed.
game.exe as published by jewbacca and shortcut from desktop target="E:\AeriaGames\Shaiya\game.exe start game"
nothing crazy, right??
whats missing?
Zerosignal- i was thinking about the "To do" - for the damage received from magic while sitting being recognized as that, instead of phytsical damage. The text always starts with "received" and it is purple so that should be a good identifier. Would just have to use the color recognition with the log reader for the program to differentiate. <I can't or I would> Maybe I'm wrong but I wanted to at least try to add instead of just leaching.
thx
Re: Shaiya - ZS Shaiya Bot - v0.03b
I'm pretty sure it's because you are running Shaiya in 1680x1050.
Even when you edit the CONFIG.INI and add the [INTERFACE_1680X1050], Shaiya will not write to the values to it. Instead it modifies the [INTERFACE_800X600] values which is causing the error. Shaiya is crap like that.
Try running it in 1024x768 or 1280x1024 windowed mode.
I have updated the main.lua to throw an error if non-native resolutions are used so you know to switch it. Here is the ./main.lua update: And thanks for the TODO info, I'll look into it when I next do a modification.
Even when you edit the CONFIG.INI and add the [INTERFACE_1680X1050], Shaiya will not write to the values to it. Instead it modifies the [INTERFACE_800X600] values which is causing the error. Shaiya is crap like that.
Try running it in 1024x768 or 1280x1024 windowed mode.
I have updated the main.lua to throw an error if non-native resolutions are used so you know to switch it. Here is the ./main.lua update: And thanks for the TODO info, I'll look into it when I next do a modification.
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Shaiya - ZS Shaiya Bot - v0.03b
Nice thinking, zero. I never would have thought of checking that. Is it safe to assume that unrecognized resolutions use the 800*600 config? Maybe you can fall back on reading those values if it is not a supported resolution.I'm pretty sure it's because you are running Shaiya in 1680x1050.
Even when you edit the CONFIG.INI and add the [INTERFACE_1680X1050], Shaiya will not write to the values to it.
-
- Posts: 8
- Joined: Wed Nov 26, 2008 1:21 am
Re: Shaiya - ZS Shaiya Bot - v0.03b
i have not tried yet but could you not just edit the config so that the custom res is the only res and force it to write to the correct one?
its workin well now. i had to put cooldowns on a few skills to fix a looping problem but thats gravy. It does need a reset occasionaly but only seems to happen when sp or mp is low and skills timeout.
thanks
its workin well now. i had to put cooldowns on a few skills to fix a looping problem but thats gravy. It does need a reset occasionaly but only seems to happen when sp or mp is low and skills timeout.
thanks
Re: Shaiya - ZS Shaiya Bot - v0.03b
I need Help with my ZS Shaiya configuration Bot please i keep gettin a error when i started Running Micromacro the i type zs_shaiya/main.lua this what i get
Who is online
Users browsing this forum: No registered users and 0 guests