Using a Hide belt (Re-Post: I thought I had it but didn't)

International

Moderator: Moderators

MrIrrelevant
Noob
Noob
Posts: 7
Joined: 20 Jul 2017, 21:17
Noob?: No

Using a Hide belt (Re-Post: I thought I had it but didn't)

#1 Post by MrIrrelevant »

Hello,
Semi-repost as I thought I previously got the answer so I deleted the thread but in actuality it didn't seem to work out as planned and am looking for clarification on why it is not working.

Anyways I am trying to use a Hide belt:
useSelf_skill Hiding {
lvl 1
hp
sp > 20
aggressives
monsters
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 30
isSelfSkill 1
WhenStatusInactive Hiding
whenEquipped Belt [Smokie] [1]
}
Any suggestions on what to change? it is suppose to just automatically hide when attacked/in-range of anything, as it is to be used on my afk leecher and prevent them from dying from aggressives by hiding.

Thanks in advance.
hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No

Re: Using a Hide belt (Re-Post: I thought I had it but didn't)

#2 Post by hakore »

use:

monsterSkill
sp
isSelfSkill 1
target
target_dist
notWhileSitting 1
inLockOnly 1
whenStatusInactive Hiding
whenEquipped
timeout 2 or 5 depending on server lag
etc

and in mon_control.txt:

all 2
or
<monster name to avoid> 2
Whatever...
MrIrrelevant
Noob
Noob
Posts: 7
Joined: 20 Jul 2017, 21:17
Noob?: No

Re: Using a Hide belt (Re-Post: I thought I had it but didn't)

#3 Post by MrIrrelevant »

hakore wrote:use:

monsterSkill
sp
isSelfSkill 1
target
target_dist
notWhileSitting 1
inLockOnly 1
whenStatusInactive Hiding
whenEquipped
timeout 2 or 5 depending on server lag
etc

and in mon_control.txt:

all 2
or
<monster name to avoid> 2
Thanks i'll have a look at the differences and try to figure out why, as I dont understand why those changes are like that unless there is missing code on purpose as to not spoon feed.
hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No

Re: Using a Hide belt (Re-Post: I thought I had it but didn't)

#4 Post by hakore »

Clue: monsterSkill block would only trigger if there are monsters around.

useSelfSkill would trigger even if there are no monsters and you don't need to hide.
Whatever...
MrIrrelevant
Noob
Noob
Posts: 7
Joined: 20 Jul 2017, 21:17
Noob?: No

Re: Using a Hide belt (Re-Post: I thought I had it but didn't)

#5 Post by MrIrrelevant »

hakore wrote:Clue: monsterSkill block would only trigger if there are monsters around.

useSelfSkill would trigger even if there are no monsters and you don't need to hide.
Thanks, I think I understand it now. As I was able to read up on what MonsterSkill is on the OpenKore wiki page, and it makes a lot more sense on why that function is better then useSelf_Skill (since it was made for it).

EDIT: Not sure if I should make a new thread or not, but new question!

So I am having issues with pathing (example: Izlude, Morocc fields, etc), however resolved it by reading another thread; that you use the 'OLD' Portals and 'rename Portals.txt' (or something similar to that name) and copy+pasting them into the IRO folder.

It worked, but now my bot will not take any warps from kafra's example: Morocc and walked all the way to the Argos field in Prontera.

Any solution to this? I also read about the RouteWeight's.txt but it seems fine and using the default settings and cannot see why the bot would walk 1000+ steps compared to the 200 NPC steps.