Shaiya Fighter Bot
Re: Shaiya Fighter Bot
One thing I have noticed when attacking and more specifically when an NPC is killed.
Once an NPC dies sometimes it doesn't seem to register that it died and moves on to the next NPC. So basically it skips the pickup and moves. All in itself not really too big of a deal. However, when it kills and instantly moves to the next NPC the timeout will kick in and says obstacle in the way. Now it moves over to another NPC with at least one other in tow.
Once an NPC dies sometimes it doesn't seem to register that it died and moves on to the next NPC. So basically it skips the pickup and moves. All in itself not really too big of a deal. However, when it kills and instantly moves to the next NPC the timeout will kick in and says obstacle in the way. Now it moves over to another NPC with at least one other in tow.
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
Yes you can create the 2nd hot key to buff or the 3rd 4th which ever you like.centik wrote:oh ok nvm i get it now..soz :
i just notice my only my 3rd key ( attack skill) only works but not my 4th and 5th..
-- Set to 0 if you don't want to use a skill
skill1_time = secondsToTimer(10);
skill2_time = secondsToTimer(15);
skill3_time = secondsToTimer(20);
i love the idea that we stack up on pots now using the 2nd hotkeys and my character moves more normal than a bot ( i love the way he step back after a kill) ..just wondering is it possible to insert my 3rd buff on the 2nd hot keys?how do i do that thank u very much
another questions.i notice the bot picks the 2nd farthest monster to kill but both monster is orange and i put 6 on both,how can i fix that and if a UM died using this bot..would he use res rune automatically?
I recreated another way to buff.
do this for 5th hot key.
Code: Select all
Skill5_reuse_time = 4; -- measured by minutes
If you want 4 minutes enter 4, if you want 5 minutes enter 5.
Example: If your buff expires in 5 minutes then put 5.
Code: Select all
Skill5 = skill5_reuse_time *60
skill5_beginTime = os.time();
this will do the very simple math to convert minutes into seconds.
skill5_beginTime will take your current OS time and place the information into the variable we created which is skill5_beginTime
Code: Select all
function skill5()
local startTime = os.time();
if(os.difftime(startTime, skill5_beginTime)>skill5) then
skill5_beginTime = os.time();
keyboardPress(key_skill3);
yrest(2000);
end
end
You can study the last code if you want. Now you can call skill5() whenever you want.
For example if you want to use key_skill3, which is hot key 5 (if you examine the code),to buff then put the code skill5(); below reAttack = 0; in the function main()
just play with it where ever you want to place skill5();
yea i fixed the problem where it targets the farthest mob. You'll have to put keyboardPress(key.VK_F1); after a kill. Be carefull where to place it lol. Play with that. I actually posted the old fighter bot, lolol I have the new one but i wanted to see what is everyones feedback first.
If you are playing UM and you wanted to res using res rune , you can. I havn't got to UM since the GM deleted my char for good. Until I get there, i can't create it. Unless you step up and share ideas it would help the community.
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
yeas that bug is fixed but its fixed in archer bot. I'll take some time next week to post in the actual fighter bot that i was holding back. At the moment i'm currently working on a different anti ks. Through memory and not HDC(right now it is detecting mob through HDC)Dnic wrote:One thing I have noticed when attacking and more specifically when an NPC is killed.
Once an NPC dies sometimes it doesn't seem to register that it died and moves on to the next NPC. So basically it skips the pickup and moves. All in itself not really too big of a deal. However, when it kills and instantly moves to the next NPC the timeout will kick in and says obstacle in the way. Now it moves over to another NPC with at least one other in tow.
Re: Shaiya Fighter Bot
ok..let me edit my post..i thought he only attack the farthest but i just notice he dont wanna attack a certain mob..im in a area with goblin hunter and seakel warrior ( both are orange to me ) but it seems he only likes to attack the goblins and let go of the seakel even im being attack or chased by the seakel he still dont wanna fight back..
@ sir deaznracer
i tried using those code but im afraid i only messed up my scripts i just want my 2nd hotkey 1st key to be a 5 minute buff but after messing with it im getting error soz ..im really no0b when it comes to scripts..
and regarding for UMs to auto use rez runes i dont even know how and where to start if u can supply me the scripts i can try it for u but rez rune should be activate instantly or 10-15 seconds later so that if it didnt work i can activate the rez rune manually.thats all i can really contribute ( a few rez rune ) for the trial test if it does work
@ sir deaznracer
i tried using those code but im afraid i only messed up my scripts i just want my 2nd hotkey 1st key to be a 5 minute buff but after messing with it im getting error soz ..im really no0b when it comes to scripts..
and regarding for UMs to auto use rez runes i dont even know how and where to start if u can supply me the scripts i can try it for u but rez rune should be activate instantly or 10-15 seconds later so that if it didnt work i can activate the rez rune manually.thats all i can really contribute ( a few rez rune ) for the trial test if it does work
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
give me the pr pg pb readings when you target the seakel.centik wrote:ok..let me edit my post..i thought he only attack the farthest but i just notice he dont wanna attack a certain mob..im in a area with goblin hunter and seakel warrior ( both are orange to me ) but it seems he only likes to attack the goblins and let go of the seakel even im being attack or chased by the seakel he still dont wanna fight back..
@ sir deaznracer
i tried using those code but im afraid i only messed up my scripts i just want my 2nd hotkey 1st key to be a 5 minute buff but after messing with it im getting error soz ..im really no0b when it comes to scripts..
and regarding for UMs to auto use rez runes i dont even know how and where to start if u can supply me the scripts i can try it for u but rez rune should be activate instantly or 10-15 seconds later so that if it didnt work i can activate the rez rune manually.thats all i can really contribute ( a few rez rune ) for the trial test if it does work
Re: Shaiya Fighter Bot
thats a fresh log file..he attacked the goblin then started scanning,he scanned the seakel but ignored to attack and started scanning the area again..i had to pause the bot then manually killed the seakel ( the area is in temple of flame in map3 )..but i tried going to the next area,now full of seakel hunter and summoner and now he attacks only the summoner and not the hunters,same lvl mob as the ones he ignored from the area with seakel mixed goblins ( all orange ) then in roange and red mob area i set the script to min= (6) orange and max= (7) red and he only attacks the red..dunno if its a slight bot bug or just my script configeration..i uploaded my script just to make sure..if u guys see anything wrong with my scripts or can make it better feel free to make changes..im really new at thisSun Jun 22 13:37:50 2008 : target_status=1
Sun Jun 22 13:37:50 2008 : target_status=0
Sun Jun 22 13:37:50 2008 : target_status=0
Sun Jun 22 13:37:51 2008 : target_status=2
Sun Jun 22 13:37:51 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:37:51 2008 : pr: 255, pg: 128, pb: 0
Sun Jun 22 13:38:07 2008 : target_status=2
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:07 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:08 2008 : target_status=0
Sun Jun 22 13:38:08 2008 : target_status=0
Sun Jun 22 13:38:08 2008 : target_status=2
Sun Jun 22 13:38:08 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:08 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:09 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:09 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:09 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:09 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:09 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:10 2008 : target_status=2
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:10 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:11 2008 : target_status=0
Sun Jun 22 13:38:11 2008 : target_status=0
Sun Jun 22 13:38:11 2008 : target_status=2
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:11 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:12 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:13 2008 : target_status=2
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:13 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:14 2008 : target_status=0
Sun Jun 22 13:38:14 2008 : target_status=0
Sun Jun 22 13:38:14 2008 : target_status=2
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:14 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : target_status=2
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:16 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:16 2008 : target_status=0
Sun Jun 22 13:38:17 2008 : target_status=0
Sun Jun 22 13:38:17 2008 : target_status=2
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 253, pg: 127, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 1, pg: 1, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 254, pg: 127, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 0, pg: 0, pb: 0
Sun Jun 22 13:38:17 2008 : pr: 253, pg: 127, pb: 0
*edit*
i went back to the same area seakel and goblin when they both turn yellow..and now it works fine..it seems it only have bugs on orange mobs
- Attachments
-
- fighter.lua
- (22.76 KiB) Downloaded 422 times
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
find this codethats a fresh log file..he attacked the goblin then started scanning,he scanned the seakel but ignored to attack and started scanning the area again..i had to pause the bot then manually killed the seakel ( the area is in temple of flame in map3 )..but i tried going to the next area,now full of seakel hunter and summoner and now he attacks only the summoner and not the hunters,same lvl mob as the ones he ignored from the area with seakel mixed goblins ( all orange ) then in roange and red mob area i set the script to min= (6) orange and max= (7) red and he only attacks the red..dunno if its a slight bot bug or just my script configeration..i uploaded my script just to make sure..if u guys see anything wrong with my scripts or can make it better feel free to make changes..im really new at this
*edit*
i went back to the same area seakel and goblin when they both turn yellow..and now it works fine..it seems it only have bugs on orange mobs
Code: Select all
[target_name_color["orange"]] = {r_min=255, r_max=255,
g_min=128, g_max=128,
b_min=0, b_max=0},
and change it to this
Code: Select all
[target_name_color["orange"]] = {r_min=253, r_max=255,
g_min=127, g_max=128,
b_min=0, b_max=0},
I never tried hunting orange and above, but it can easily be fixed.
Re: Shaiya Fighter Bot
hi Deaz,
I have found one little problem on healer bot, the string : emergency heal dosent take the changes, exemple, on standard vesion was at 70 % I change it with 50% but he heal me same as before = tons of mana pot, how did I can set the % of emergency?
thanks
I have found one little problem on healer bot, the string : emergency heal dosent take the changes, exemple, on standard vesion was at 70 % I change it with 50% but he heal me same as before = tons of mana pot, how did I can set the % of emergency?
thanks
Re: Shaiya Fighter Bot
nope..still the same..i guess ill stick with yellows for now..ur script still rox
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
The HP_emergency_Heal doesn't work as I turned it off.caccolone wrote:hi Deaz,
I have found one little problem on healer bot, the string : emergency heal dosent take the changes, exemple, on standard vesion was at 70 % I change it with 50% but he heal me same as before = tons of mana pot, how did I can set the % of emergency?
thanks
Here is a updated version of Emergency Heal.
I been working on it. Not yet finished.
Tell me what you think. The buff is more accurate. It heals faster, and you can adjust a little more then before.
- Attachments
-
- Healer2.lua
- (19.12 KiB) Downloaded 427 times
-
- Posts: 2
- Joined: Tue Jun 24, 2008 4:29 am
Re: Shaiya Fighter Bot
I have a problem with the bot it allways says bad argument like its outdated can anyone help me pls? thx
Re: Shaiya Fighter Bot
normally when say it is for , wrong string on LUA or you are not using the last version of GG and LUA, if you can post log.txt and lua it will helpTheRealPlayer wrote:I have a problem with the bot it allways says bad argument like its outdated can anyone help me pls? thx
Re: Shaiya Fighter Bot
sir im just wondering..is it possible to take out the mob color option in this script?yellow mob is gives lousy exp for me even with exp stone and charms and i cant seem to fix the attacking order on orange and mob thing ( only attacks one kind of monster and leave the other kind alone even its agro and same color )..tnx
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Shaiya Fighter Bot
Centik: Start by adding a new variable to the script near the top. Lets call it ignore_target_color. Set it to true for your purposes.
Now in function cycle_target(), you'll see this line:
If you change it to this:
then it should attack the target regardless of what color it is. I haven't tested this, but logically, it should work.
Code: Select all
ignore_target_color = true;
Code: Select all
if (l_color >= l_color_min and l_color <= l_color_max) then
Code: Select all
if ( (l_color >= l_color_min and l_color <= l_color_max) or ignore_target_color ) then
Re: Shaiya Fighter Bot
OMG!!it worked..thank thank u very much sir
-
- Posts: 2
- Joined: Tue Jun 24, 2008 4:29 am
Re: Shaiya Fighter Bot
i got it 2 work i didn't know that you need the GG running so the bot works i was useing bomber.exe (you can start you client twice and gg don't even starts)
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
Shaiya Fighter bot version 2 is passed out.
Please report any bug , feedbacks, ideas to continuelly receiving updates. If you passed out to a friend they must do the same.
Please report any bug , feedbacks, ideas to continuelly receiving updates. If you passed out to a friend they must do the same.
Re: Shaiya Fighter Bot
ooh..really nice..ill try this out when i get home..deaznracer wrote:Shaiya Fighter bot version 2 is passed out.
Please report any bug , feedbacks, ideas to continuelly receiving updates. If you passed out to a friend they must do the same.
ull have my feed backs later tonight
-
- Posts: 7
- Joined: Fri Jun 27, 2008 2:34 pm
Re: Shaiya Fighter Bot
how could i get a copy of your new script.. I run 2 PC's almostr 24-7 1 hunter 1 warrior
-
- Posts: 59
- Joined: Tue May 20, 2008 5:45 am
Re: Shaiya Fighter Bot
it is very simple. Use the current script. Find some bug and post it here. Or give feedback what you like/dislike. or Tell us what can be approved. I'll keep updating the script for those who do this. I can't find every bug in the script by myself.botforlive wrote:how could i get a copy of your new script.. I run 2 PC's almostr 24-7 1 hunter 1 warrior
one question. How many people in this forum wants an archer bot.
Who is online
Users browsing this forum: No registered users and 0 guests