De Medici
Grandmaster
Hi Coders!
After the Stuff Member Drinn suggested an "Anti-PK Escape Macro" I unfourtunatly noticed that it is not feasible for the king class of PVM: The Tamers. An Anti-PK-Escape-Macro is a Macro which automatically recalls out of the dungeon in the moment a pk enters your screen and is quicker than the biggest ritalin head can hit his hotkey.
The original macro posted by Drinn is:
@Getenemy 'murderer'
if @findobject 'enemy'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
The idea was to loop that macro and get pk protection.
That original macro is not feasible for any pvm class at all for the reason, that steam inserts any mob you are fighting against as enemy (tested). The result is that it auto recalls home in the moment you start fighting aigainst ANY mob (grey or red).
For that reason I changed the Script to:
@Getfriend 'murderer'
if @findobject 'friend'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
By using the alias friend instead of enemy the script (of course) doesnt insert mobs you are farming in the object you will test for existence, because mobs you are fighting wont be inserted in the object friend, obviously.
That script works for ALL PVM classes except of tamers. The problem is that pets will be recognized as friends in the moment you heal them (tested), but not before. After inserting the pets as friend it perma recalls home.
After having long discussions with several stuff members we couldn´t find any solution but we still think there should be a way to solve the problem.
1. There is no other way that a steam script can automatically notice the presence of a pk than "Getalias 'murderer' (loop).
2. As Alias u can only use only friend or enemy (for the Get command).
3. In my opinion the only solution is to clear the array/list of foundobjects 'enemies/friends' right BEFORE u add the pk in that list (looping).
clearobject 'friends'
@Getfriend 'murderer'
if @findobject 'friend'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
(loop)
Unfortunatly I dont know what the clearobject 'friends' command is nor if it exists at all.
Because Drinn was the first one who posted an auto PK-Escape script, I call this the "Drinn Problem" ;-).
If u can provide a working script which auto recalls when a pk comes in your screen area, which is feasible for tamers you get 3K Dono Coins as little extra motivation.
Good luck Coders!
After the Stuff Member Drinn suggested an "Anti-PK Escape Macro" I unfourtunatly noticed that it is not feasible for the king class of PVM: The Tamers. An Anti-PK-Escape-Macro is a Macro which automatically recalls out of the dungeon in the moment a pk enters your screen and is quicker than the biggest ritalin head can hit his hotkey.
The original macro posted by Drinn is:
@Getenemy 'murderer'
if @findobject 'enemy'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
The idea was to loop that macro and get pk protection.
That original macro is not feasible for any pvm class at all for the reason, that steam inserts any mob you are fighting against as enemy (tested). The result is that it auto recalls home in the moment you start fighting aigainst ANY mob (grey or red).
For that reason I changed the Script to:
@Getfriend 'murderer'
if @findobject 'friend'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
By using the alias friend instead of enemy the script (of course) doesnt insert mobs you are farming in the object you will test for existence, because mobs you are fighting wont be inserted in the object friend, obviously.
That script works for ALL PVM classes except of tamers. The problem is that pets will be recognized as friends in the moment you heal them (tested), but not before. After inserting the pets as friend it perma recalls home.
After having long discussions with several stuff members we couldn´t find any solution but we still think there should be a way to solve the problem.
1. There is no other way that a steam script can automatically notice the presence of a pk than "Getalias 'murderer' (loop).
2. As Alias u can only use only friend or enemy (for the Get command).
3. In my opinion the only solution is to clear the array/list of foundobjects 'enemies/friends' right BEFORE u add the pk in that list (looping).
clearobject 'friends'
@Getfriend 'murderer'
if @findobject 'friend'
// Recall to home
useobject 0x406afe4f
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 5
endif
(loop)
Unfortunatly I dont know what the clearobject 'friends' command is nor if it exists at all.
Because Drinn was the first one who posted an auto PK-Escape script, I call this the "Drinn Problem" ;-).
If u can provide a working script which auto recalls when a pk comes in your screen area, which is feasible for tamers you get 3K Dono Coins as little extra motivation.
Good luck Coders!
Last edited by a moderator: