Shaiya[US] - Shaiya Bot ZS

For any other game that doesn't have its own section.
Message
Author
shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#21 Post by shakey » Mon Nov 17, 2008 11:24 pm

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.

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#22 Post by zer0 » Tue Nov 18, 2008 7:44 am

@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?

Code: Select all

g_script_dir = "./scripts/zs_shaiya/"
--g_script_dir = getExecutionPath() .. "/"
Should be changed too:

Code: Select all

--g_script_dir = "./scripts/zs_shaiya/"
g_script_dir = getExecutionPath() .. "/"
main.lua, line 22 make sure this is present and un-changed.

Code: Select all

include(g_script_dir .. "lib/utils.lua")

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#23 Post by shakey » Tue Nov 18, 2008 2:18 pm

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.

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#24 Post by zer0 » Tue Nov 18, 2008 4:27 pm

Sounds like the old script is more trouble than it's worth. :D

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.

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#25 Post by shakey » Tue Nov 18, 2008 6:05 pm

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 ^^.

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#26 Post by shakey » Tue Nov 18, 2008 6:21 pm

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.
Last edited by shakey on Sun Feb 01, 2009 12:11 am, edited 1 time in total.

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#27 Post by zer0 » Wed Nov 19, 2008 6:40 am

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 ^^.
Provided you have downloaded and are using the latest version of MicroMacro, and the ZS Shaiya 0.31b, it should work fine.

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

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#28 Post by shakey » Wed Nov 19, 2008 1:36 pm

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!

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#29 Post by zer0 » Wed Nov 19, 2008 10:01 pm

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.
skill.lua
(5.24 KiB) Downloaded 207 times
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.

reverseengines
Posts: 8
Joined: Wed Nov 26, 2008 1:21 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#30 Post by reverseengines » Wed Nov 26, 2008 1:32 am

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!

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#31 Post by zer0 » Wed Nov 26, 2008 6:20 am

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.

reverseengines
Posts: 8
Joined: Wed Nov 26, 2008 1:21 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#32 Post by reverseengines » Wed Nov 26, 2008 10:04 am

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#33 Post by Administrator » Wed Nov 26, 2008 11:59 am

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.

reverseengines
Posts: 8
Joined: Wed Nov 26, 2008 1:21 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#34 Post by reverseengines » Wed Nov 26, 2008 2:05 pm

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 :evil: error again no memory error

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#35 Post by Administrator » Wed Nov 26, 2008 8:10 pm

Post your log.txt. Also, what OS are you using? Are you bypassing the launcher, or what?

reverseengines
Posts: 8
Joined: Wed Nov 26, 2008 1:21 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#36 Post by reverseengines » Wed Nov 26, 2008 11:25 pm

  • 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.


ok. OS= XP pro sp3 on my 'puter Clevo D901c
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

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#37 Post by zer0 » Thu Nov 27, 2008 8:59 am

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:
main.lua
(4.46 KiB) Downloaded 213 times
And thanks for the TODO info, I'll look into it when I next do a modification. :)

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya - ZS Shaiya Bot - v0.03b

#38 Post by Administrator » Thu Nov 27, 2008 10:49 am

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.
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.

reverseengines
Posts: 8
Joined: Wed Nov 26, 2008 1:21 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#39 Post by reverseengines » Mon Dec 01, 2008 1:29 am

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 8-)

intel123
Posts: 14
Joined: Mon Dec 01, 2008 9:11 am

Re: Shaiya - ZS Shaiya Bot - v0.03b

#40 Post by intel123 » Mon Dec 01, 2008 9:20 am

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

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests