xolink
New Member
Posts: 4 Likes: 0
Currently Offline
Last Online: Oct 14, 2023 20:22:03 GMT
View Profile
Registered On: Oct 3, 2018 12:58:50 GMT
|
Post by xolink on Oct 3, 2018 13:36:25 GMT
HELLOW! i alredy use the safelist pk attack but... i was wondering iF there IS any chance to create and script that, in the moment someone attack me or my friendlist the cavebot and targeting stop, only after kill the current monster im attacking and after kill it, attack the player that is attacking me, and sometimes this smart dudes lure monster for the char to brake the defense and spaming spells, so i want too that if cavebot and targeting are stoped and the pk lure me more monster i want my char active the targeting only or if possible that attack monster on my target list, and after all if he cant kill and he bored and leaves, i want the cavebot and targeting get on again to still hunting. THAAAT WILL BE GREAT! THANKS IN ADVANCE
|
|
|
Post by Darth Maul on Oct 4, 2018 0:54:50 GMT
Hey, You could try something like this: This will check to see if someone is attacking you and only attack them if all monsters onscreen are dead; and they're not on the safelistpk list. If they leave the screen it'll turn your targeting and cavebot back on to continue to level. This wont switch to target a monster if they stay onscreen; but if you setup a ue script to check if more then x monsters are onscreen it should clear them.
auto 100 | listas 'Attack Pker' | ifplayerattacking {if [$fileisline.'safelistpk.txt'.'$pk.name' == 0 && $pk.name != $name && $target.ismonster == 0] {settargeting off | setcavebot off | attack $pk.id | wait 5000}} | ifnot [$pk.isonscreen] {if [$targetingoff == 0 || $cavebotoff == 0] {settargeting on | setcavebot on | wait 500}}
(With safelist) create a file called 'safelistpk.txt' inside the settings folder of ElfBot with the names of player that might attack you without you attacking them back. Useful if hunting in a spawn with other afk players that ue or something.
|
|
xolink
New Member
Posts: 4 Likes: 0
Currently Offline
Last Online: Oct 14, 2023 20:22:03 GMT
View Profile
Registered On: Oct 3, 2018 12:58:50 GMT
|
Post by xolink on Sept 21, 2019 1:35:57 GMT
Hey, You could try something like this: This will check to see if someone is attacking you and only attack them if all monsters onscreen are dead; and they're not on the safelistpk list. If they leave the screen it'll turn your targeting and cavebot back on to continue to level. This wont switch to target a monster if they stay onscreen; but if you setup a ue script to check if more then x monsters are onscreen it should clear them. auto 100 | listas 'Attack Pker' | ifplayerattacking {if [$fileisline.'safelistpk.txt'.'$pk.name' == 0 && $pk.name != $name && $target.ismonster == 0] {settargeting off | setcavebot off | attack $pk.id | wait 5000}} | ifnot [$pk.isonscreen] {if [$targetingoff == 0 || $cavebotoff == 0] {settargeting on | setcavebot on | wait 500}} (With safelist) create a file called 'safelistpk.txt' inside the settings folder of ElfBot with the names of player that might attack you without you attacking them back. Useful if hunting in a spawn with other afk players that ue or something.i try this one and it works, i made a modification of the original and still works insert code here auto 100 | listas 'Attack Pker' | ifplayerattacking {if [$target.ismonster == 0] {settargeting off | setcavebot off | attack $pk.name | wait 5000}} | ifnot [$pk.isonscreen] {if [$targetingoff == 0 || $cavebotoff == 0] {settargeting on | setcavebot on | wait 500}}
|
|
Vendetta
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Aug 30, 2020 12:54:42 GMT
View Profile
Registered On: Jun 20, 2020 0:56:50 GMT
|
Post by Vendetta on Jun 29, 2020 21:43:07 GMT
it can be stop cavebot and spells in use and atk player who atk me and use other spell?
|
|