Using a npc to warp to dungeon

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
Xemnas
Noob
Noob
Posts: 11
Joined: 19 Nov 2010, 18:23
Noob?: No

Using a npc to warp to dungeon

#1 Post by Xemnas »

Im trying to figure out how to warp from "warp npc" to any specified dungeon i chose in my lockmap is therre a way to do that?


like lets say im in morroc and i want to talk to the npc to warp to umbala dungeon instead of walking the whole thing thanks in advance

User avatar
SkylorD
Moderators
Moderators
Posts: 1165
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Using a npc to warp to dungeon

#2 Post by SkylorD »

tables/portals.txt :

#format: <source coordinate><destination coordinate>[zenny cost][conversation sequence]

Example :
morocc (npc coords x y) (location where rise up) 0 c r0 c r1
Example 2 :

http://forums.openkore.com/viewtopic.php?f=10&t=144639
Learn rules

Xemnas
Noob
Noob
Posts: 11
Joined: 19 Nov 2010, 18:23
Noob?: No

Re: Using a npc to warp to dungeon

#3 Post by Xemnas »

r0 is the first choice right? and r1 is the second choice ?

User avatar
SkylorD
Moderators
Moderators
Posts: 1165
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Using a npc to warp to dungeon

#4 Post by SkylorD »

Yes. It's a example.
The teleport service is by default "r2".

[Kafra] Hello, how can i help you ?

0 Save
1 Storage
2 Teleport

->
[Kafra] Select the town to teleport

0 Prontera -> 1200z
1 Geffen -> 1300z
I want teleport to prontera :

1200 c r2 c r0
<zenny cost> <talk sequence>
Learn rules

Xemnas
Noob
Noob
Posts: 11
Joined: 19 Nov 2010, 18:23
Noob?: No

Re: Using a npc to warp to dungeon

#5 Post by Xemnas »

alright thanks but i just hit another issue and im not too sure why this is happenning cause i did the portal thing and it works perfectly fine with the warp npc but i dunno why its not working with storage npc

storageAuto_npc_steps c r1 c r0 c n

1.so first it goes next
2. save
storage <--- r1 + c
3. open storage <---r0 +c <------- the problem is herre i dunno what going on
or make a password sum like that

4. it not written ok so i figured id tryed n i also tried c but it always get stuck on the open storage

Code: Select all

storageAuto 1
storageAuto_npc xmas 153 125
storageAuto_distance 5
storageAuto_npc_type 1
storageAuto_npc_steps c r1 c r0 c n
storageAuto_password
storageEncryptKey
storageAuto_keepOpen 0
storageAuto_useChatCommand
storageAuto_notAfterDeath
relogAfterStorage 0
minStorageZeny 50

User avatar
SkylorD
Moderators
Moderators
Posts: 1165
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Using a npc to warp to dungeon

#6 Post by SkylorD »

storageAuto_npc_type 1
http://www.openkore.com/index.php/StorageAuto_npc_type

If set to 1, will use the sequence : (c r1 n)
If set to 2, will use the sequence : (c c r1 n)
If set to 3, will use the sequence specified in storageAuto_npc_steps
This rewrites your storageAuto_npc_steps when value is 1 or 2.
Learn rules

Xemnas
Noob
Noob
Posts: 11
Joined: 19 Nov 2010, 18:23
Noob?: No

Re: Using a npc to warp to dungeon

#7 Post by Xemnas »

thanks i guess ill just always use type 3 less complicated

Post Reply