denisgb
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Sept 23, 2020 5:16:22 GMT
View Profile
Registered On: Sept 22, 2020 20:55:51 GMT
|
Post by denisgb on Sept 22, 2020 21:09:19 GMT
5sqm bug map that next to the stairs automatically changes to 1sqm bugmap to be able to go up or down , Nto Ultimate.
Thanks.
|
|
Hiresk
Senior Member
Posts: 30 Likes: 3
Currently Offline
Last Online: Jan 25, 2024 5:58:41 GMT
View Profile
Registered On: Oct 1, 2022 4:09:16 GMT
|
Post by Hiresk on Aug 3, 2023 23:39:18 GMT
I have this concept but it is quite simple and maybe unstable, what you are asking for is better to do it in a bot like OTClient
besides this is only for 1 ID, so I don't recommend elfbot for this.
#BUGMAP HTK auto 100 dontlist | if [$key.37] {usegroundxyz [$posx-$sqm] $posy $posz | end} | if [$key.39] {usegroundxyz [$posx+$sqm] $posy $posz | end} | if [$key.40] {usegroundxyz $posx [$posy+$sqm] $posz | end} | if [$key.38] {usegroundxyz $posx [$posy-$sqm] $posz | end}
#PERSISTENT set $sqm '6' set $s1 '1949'
auto 100 dontlist | {if [$sqm == 6] {if [$istileitem.($posx+1).$posy.$posz.$s1 || $istileitem.($posx-1).$posy.$posz.$s1 || $istileitem.$posx.($posy-1).$posz.$s1 || $istileitem.$posx.($posy+1).$posz.$s1] {if [$istileitem.($posx+1).($posy-1).$posz.$s1 || $istileitem.($posx-1).($posy+1).$posz.$s1 || $istileitem.($posx+1).($posy+1).$posz.$s1 || $istileitem.($posx-1).($posy-1).$posz.$s1] {set $sqm 1}}}}
auto 100 dontlist | {if [$sqm == 1] {if [$istileitem.($posx+1).$posy.$posz.$s1 != 1 && $istileitem.($posx-1).$posy.$posz.$s1 != 1 && $istileitem.$posx.($posy-1).$posz.$s1 != 1 && $istileitem.$posx.($posy+1).$posz.$s1 != 1] {if [$istileitem.($posx+1).($posy-1).$posz.$s1 != 1 && $istileitem.($posx-1).($posy+1).$posz.$s1 != 1 && $istileitem.($posx+1).($posy+1).$posz.$s1 != 1 && $istileitem.($posx-1).($posy-1).$posz.$s1 != 1] {set $sqm 6}}}}
|
|