Solution to if your bot doesnt use bwing to tele out

Discussion about everything RO and OpenKore related. This place is NOT for ANY kind of support questions.

Moderator: Moderators

Message
Author
randomguy
Human
Human
Posts: 24
Joined: 02 Jan 2014, 09:10
Noob?: No

Solution to if your bot doesnt use bwing to tele out

#1 Post by randomguy »

Ok I searched far and wide for this and decided to say screw it im going to solve this myself. My problem is basically the one described by this guy: http://forums.openkore.com/viewtopic.php?f=16&t=17016

in particular i kept getting the message in this post:
http://forums.openkore.com/viewtopic.php?p=60572#p60572

about not having the teleport skill or a fly wing.


my teleport block looks like this

Code: Select all

teleportAuto_hp 0
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 0
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 0
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSkill 0
teleportAuto_useChatCommand
teleportAuto_allPlayers 0
teleportAuto_notPlayers
teleportAuto_atkCount 0
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_lostTarget 0
teleportAuto_dropTarget 0
teleportAuto_dropTargetKS 0
teleportAuto_attackedWhenSitting 0
teleportAuto_totalDmg 0
teleportAuto_totalDmgInLock 0
teleportAuto_equip_leftAccessory
teleportAuto_equip_rightAccessory
teleportAuto_lostHomunculus
teleportAuto_useItemForRespawn 0
And I know that http://www.openkore.com/index.php/TeleportAuto_useSkill says if you put a 0 for your AutoTeleport_useSkill it will use either a fly wing or butterfly but its a lie....it doesnt work....period

so if the real coders/developers could look into it


Now here is the solution you have been looking for :

open your misc.pm file located in the src folder and look for this line

Code: Select all

useTeleport(1, undef, 1) if ($teleport);
that line will appear twice and you would want to change both of them to this

Code: Select all

useTeleport(2, undef, 2) if ($teleport);
and walla you will now use butterfly wings instead of fly wings

WARNING SIDE NOTE
now unfortunately you will use bwings instead of fly wings for ALL of the following
  • ► if in your mon_control.txt you have it set so that you tele from a specific monster when you take dmg from it
    ► if teleportAuto_deadly is set to 1
    ► if teleportAuto_maxDmg is set to something
    ► if teleportAuto_maxDmgInLock is set to something
    ► if teleportAuto_attackedWhenSitting is set to 1 (thats basically if you are sitting and take dmg)
    ► if teleportAuto_totalDmg is set to something
    ► if teleportAuto_totalDmgInLock is set to something
    ► if teleportAuto_hp is set to something

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: Solution to if your bot doesnt use bwing to tele out

#2 Post by c4c1n6kr3m1 »

wow hold on
as i remember, butwings only used for "tele 2" command, warp to save point, not for "tele or tele 1" ( random tele ) to avoid monster

randomguy
Human
Human
Posts: 24
Joined: 02 Jan 2014, 09:10
Noob?: No

Re: Solution to if your bot doesnt use bwing to tele out

#3 Post by randomguy »

if thats the case that would make sense but honestly if im super low on health and no way to heal i'd rather bwing to my save spot than fly wing so another mob can finish me off. Just seems silly.

I think i found a way to make it so that you can bwing only for autoteleport_deadly, gotta tweak the misc.pm file a bit more.

Plus the wiki for the autoteleport_useSkill is very confusing as it clearly says putting a 0 will use fwings of bwings or maybe its just me

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: Solution to if your bot doesnt use bwing to tele out

#4 Post by c4c1n6kr3m1 »

just checked http://sourceforge.net/p/openkore/code/ ... 7229c:8874

r8875 have new config
teleportAuto_item1 name_item_for_teleport lvl 1
teleportAuto_item2 name_item_for_teleport lvl 2

for you, i think
teleportAuto_item1 Butterfly Wing

Post Reply