Auto Buffs and Link Macros~
Hello there guys, after a while of reading the open kore boards i found this 2 macros that are totally functional and tested by me, i'm sure that they will be usefull for those of you that doesn't wanna use 3 clients or lose time alt+tabbing clients to buff and/or link yourself.
First of all remember to put this on the macros.txt in the control folder of your open kore, if you don't have this macros.txt just create a new .txt and rename it. Remember that u must have the macro plugin installed to make use of this code, ok lets hit the point, in your macros.txt paste the following code to have an autobuffer priest, the priest or hp will automatically buff you whenever you whisp he/she "buffs", every time u pm buffs to him/her it will cast bless, agi, assumptio and impo on you; you can change the pm "buffs" part to any word that u like, like baps or drugs or whatever. here it is: ###################### automacro BuffMe1 { pm "buffs" run-once 1 call BuffMe1 } macro BuffMe1 { do stand do sp 34 "$.lastpm" do sp 29 "$.lastpm" do sp 361 "$.lastpm" do sp 66 "$.lastpm" pause 1 pause 1 do sit release BuffMe1 } ######################## ok, now lets get the linker code, for this one i actually used two codes to accomplish what i wanted, this two codes will do the following: whenever u say "kaite", "kaupe" or "kaahi" to te public chat, the linker will cast the skill on you respectively, and for link i wanted it to only link ppl who pm it with an specific word, to prevent other ppl to get free link, the word i used is "spirit", so if i want kaite or another buff i say it in the main chat, but if i want link i pm my linker with "spirit", ok here is the code: ######################## automacro keyword { console /\[dist=(.*)\] (.*) \((\d+)\): (.*)(kaupe|kaite|kaahi|Flag)(.*)$/ call spiritin priority 0 } macro spiritin { $di = $.lastMatch1 $n = $.lastMatch2 $b = $.lastMatch3 $skill = $.lastMatch5 $job = @eval ($::players{$::playersID[$b]}->{jobID}) goto skill stop :skill if ($skill == spirit) goto spirit if ($skill == Flag) goto spirit if ($di < 8) goto ka goto far stop :ka if ($skill == kaupe) goto kaupe if ($skill == kaite) goto kaite if ($skill == kaahi) goto kaahi goto end :spirit if ($job = 12) goto sin if ($job = 4013) goto sin if ($job = 16) goto sage if ($job = 4017) goto sage if ($job = 8) goto pris if ($job = 4009) goto pris if ($job = 15) goto monk if ($job = 4016) goto monk if ($job = 9) goto wiz if ($job = 4010) goto wiz if ($job = 17) goto rogue if ($job = 4018) goto rogue if ($job = 18) goto alche if ($job = 4019) goto alche if ($job = 4020) goto bdc if ($job = 4021) goto bdc if ($job = 19) goto bdc if ($job = 20) goto bdc if ($job = 14) goto crs if ($job = 4015) goto crs if ($job = 21) goto crs if ($job = 4022) goto crs if ($job = 23) goto sn if ($job = 10) goto bs if ($job = 4011) goto bs if ($job = 4047) goto tm if ($job = 4048) goto tm if ($job = 4049) goto sl if ($job = 7) goto knit if ($job = 13) goto knit if ($job = 174) goto knit if ($job = 4014) goto knit goto unspirit :sin if ($di < 8) goto sin1 goto far :sage if ($di < 8) goto sage1 goto far :pris if ($di < 8) goto pris1 goto far :monk if ($di < 8) goto monk1 goto far :wiz if ($di < 8) goto wiz1 goto far :rogue if ($di < 8) goto rogue1 goto far :alche if ($di < 8) goto alche1 goto far :bdc if ($di < 8) goto bdc1 goto far :crs if ($di < 8) goto crs1 goto far :sn if ($di < 8) goto sn1 goto far :bs if ($di < 8) goto bs1 goto far :tm if ($di < 8) goto tm1 goto far :sl if ($di < 8) goto sl1 goto far :knit if ($di < 8) goto knit1 goto far :sin1 do sp 457 "$n" goto finish :sage1 do sp 449 "$n" goto finish :pris1 do sp 454 "$n" goto finish :monk1 do sp 447 "$n" goto finish :wiz1 do sp 453 "$n" goto finish :rogue1 do sp 456 "$n" goto finish :alche1 do sp 445 "$n" goto finish :bdc1 do sp 455 "$n" goto finish :crs1 do sp 450 "$n" goto finish :sn1 do sp 451 "$n" goto finish :bs1 do sp 458 "$n" goto finish :tm1 do sp 448 "$n" goto finish :sl1 do sp 461 "$n" goto finish :knit1 do sp 452 "$n" goto finish :finish release all do e no1 stop :unspirit release all do @random ("sory i don't have your link","i don't have yours","i didn't get that skill") stop :kaupe do sp 464 "$n" stop :kaite do sp 465 "$n" stop :kaahi do sp 463 "$n" stop :far do @random ("come closer >:","i won't move ,come","ok, get over here") stop :end stop } ######################## automacro link { pm "spirit" call { $id = @player ($.lastpm) if ($id < 0) stop $jobID = @eval ($::players{$::playersID[$id]}->{jobID}) if ($jobID = 7) goto knight if ($jobID = 8) goto priest if ($jobID = 9) goto wizard if ($jobID = 10) goto smith if ($jobID = 11) goto sniper if ($jobID = 12) goto assassin if ($jobID = 13) goto knight if ($jobID = 14) goto paladin if ($jobID = 15) goto champion if ($jobID = 16) goto professor if ($jobID = 17) goto stalker if ($jobID = 18) goto creator if ($jobID = 19) goto clown if ($jobID = 20) goto clown if ($jobID = 21) goto paladin if ($jobID = 23) goto supernovice if ($jobID = 4008) goto knight if ($jobID = 4009) goto priest if ($jobID = 4010) goto wizard if ($jobID = 4011) goto smith if ($jobID = 4012) goto sniper if ($jobID = 4013) goto assassin if ($jobID = 4014) goto knight if ($jobID = 4015) goto paladin if ($jobID = 4016) goto champion if ($jobID = 4017) goto professor if ($jobID = 4018) goto stalker if ($jobID = 4019) goto creator if ($jobID = 4020) goto clown if ($jobID = 4021) goto clown if ($jobID = 4022) goto paladin if ($jobID = 4047) goto star if ($jobID = 4049) goto soul :creator do sp 445 $id stop release link :champion do sp 447 $id stop release link :star do sp 448 $id stop release link :professor do sp 449 $id stop release link :paladin do sp 450 $id stop release link :supernovice do sp 451 $id stop release link :knight do sp 452 $id stop release link :wizard do sp 453 $id stop release link :priest do sp 454 $id stop release link :clown do sp 455 $id stop release link :stalker do sp 456 $id stop release link :assassin do sp 457 $id stop release link :smith do sp 458 $id stop release link :sniper do sp 460 $id stop release link :soul do sp 461 $id stop release link } } ####################################### well thats all, sry for my bad english, im from argentina =3, and i hope u find this as usefull as i do~ cya as i said above i "found" this macros i did'n write them, so the credit goes fot the authors i just found them and post them here for you~ |
i'm gettin error
|
plz, give me more info cuz i'm still using it w/o problem
|
bro Kaiser can you help me out... i keep on getting this error after i pm my bot priest
*Error In function 'sp' <Use Skill on Player> Player 'Griffin' does not exist* Even though im just beside my bot... it won't buff me and i think it can't recognize my character because when i used a skill it showed like "Unknown 234234 Used Body Relocation" Is it because of the Version im using? BTW im using the latest version... |
hmm that's odd, im using the last version too, but now that you mention it sometimes in the bot console you can see those lines (Unknown xxxxx Used xxxxx) i think this happens because you have somekind of character in your name that the bot cannot read or doesn't understand, it happened to me once with a linker macro, the name of mi char had a space between so the bot couldn't read the whole name making it unable to buff me, try to use it with a char with a simple name like one word without characters like ~ or ^, if stills doesn't work then i will repost the macros code, till now i don't know how to make it read complex names and the linker bot is a bit slow but im working on how to speed it up, thanks for the advice i will try to fix this
c ya~ |
Thanks for the reply bro..
Still my Macro Priest won't buff me :( ... i tried using other characters which have simplier names.. but still it wont work.. i just dont know why And its wierd cause even the Priest Config.. the one with PartySkill won't work too... My character cant be recognize... if its not too much to ask bro can you post your whole openkore w/ macro in it? Cause i think the problem is somehow on my Openkore files? Thanks in advance bro |
To solve the problem cannot find target or what so ever...
on all servers using @warps or what so ever if ur priest is on one map and u warped to lvl and u warped back again to ur priest the priest wont recognize u anymore so u need to warp ur priest to that map again where ur player which needs the buffs is.. and then pm buffs to the priest again and it will buff u now... |
Sry for keep you waiting, i was buried in exams so i didn't check the replies, ok i've just uploaded it to file front so you can download the rar containing both, the priest macros.txt and the linker's one, remember to put it where it belongs and to remove the (linker) in the file name, also check them out so you can change the keyword to anything you like
[Only registered and activated users can see links. Click Here To Register...] |
Hi there! can some1 send the autolink and buffs w/ config already.. Im not good in computer..^_^ plz reply if sum1 have..
|
Hy.
What can I do with this error msg, pls help. OpenKore version 2.0.5.1 SVN revision: unknown Loaded plugins: plugins/macro.pl (macro) Error message: Cannot load control file macros.txt Stack trace: Trace begun at D:\Bot\openkore-2.0.5.1\src\Settings.pm line 390 Settings::loadByHandle(47) called at D:\Bot\openkore-2.0.5.1\plugins\macro.pl line 58 macro::onstart3('start3', undef, undef) called at src\Plugins.pm line 415 Plugins::callHook('start3') called at src\functions.pl line 218 main::loadDataFiles at src\functions.pl line 81 main::mainLoop at src\Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HAS H(0x2c907ec)') called at openkore.pl line 96 main::__start at start.pl line 125 Died at this line: $filename = $object->{name} if (!defined $filename); * if ($object->{type} == CONTROL_FILE_TYPE) { FileNotFoundException->throw( |
whew ..
now it works .. have a question again .. what if i want to add a skill in high priest? example .. i want to add an aspersio? Quote:
|
Aspersio (Skill ID# 68)
Put 68.. |
kaiser, could u upload it to other hosting server.. it gives me an error when i download it from filefront..thx a lot
|
hmm
i got eror it said timeout on character select server....reconnecting why ? can u help me where is the mistake ? thx b4 hmm i got eror it said timeout on character select server....reconnecting why ? can u help me where is the mistake ? thx b4 |
hmm check the master version, the version and the server Type, in the open kore forums they say how to get them really easy with Wire Shark
ok guys i've found that the macros are still 100% functional but there may be servers where the packets are edited and you can get some issues like if the bot doesn't recognize ppl even if they are standing and speaking right next to you, one way to notice this is just to bring some char near de bot and in the console use de /pl command, if it says there are no players around you, bingo, but don't worry you can still make the bot work, the thing is that in this case the bot will only recognize chars if they spawn directly in their range of vision, to do that i recommend saving in aldebaran and sitting your bots near the respawn, and there you go, no more unknown player id problems, hope this helps you~ |
All times are GMT +2. The time now is 10:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.