Author Topic: Dungeon Entrances  (Read 2716 times)

0 Members and 1 Guest are viewing this topic.

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +16
  • Referrals: 1
    • View Profile
Dungeon Entrances
« on: March 12, 2015, 12:22:52 PM »
0
I am having an issue trying to enter a dungeon via the entrance (fan dancer).  Most of the time, a "move 123 123 a" with a wait 20 after works, just at times, the char doesn't enter the dungeon and the next move statement actually moves the character away from the dungeon entrance and into trouble.

For those locations that you can't recall/sacred journey to, does someone have a sub that moves the character to a spot and checks to see it has moved inside the dungeon.  Would nested IF THENs be a good solution?

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +16
  • Referrals: 1
    • View Profile
Re: Dungeon Entrances
« Reply #1 on: March 20, 2015, 07:47:33 AM »
0
Has anyone played with While & Break commands?

question on this code
Code: [Select]
while #charposx > 900
{
   move 926 167 a
   If #charposx <100
     break
   move 926 165 a
}
How long does the char have to be at 926 167 a before the while command become not true and thus moving on to the bit of code.  Is it instant?

I think part of my issue is I am dealing with some lag since a simple move x y a works most of the time.

btw, finally figured out how to use the code command.  Always passed over the button thinking it was a twitter insert or something.  Silly me
« Last Edit: March 20, 2015, 08:12:47 AM by declo »

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +16
  • Referrals: 1
    • View Profile
Re: Dungeon Entrances
« Reply #2 on: March 20, 2015, 07:54:02 AM »
0
I am trying to move a character to the lowest level of the Fan Dancer Dungeon. 

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Dungeon Entrances
« Reply #3 on: March 20, 2015, 09:34:18 AM »
0
instant  of move have you try walking.

Code: [Select]
; top strair   984_196
; botton strari   67_337
set %fanx 67
set %fany 337
 repeat
     wait 10
     event macro 5 3
     until #CHARPOSX = %fanx && #CHARPOSy = %fany
halt


Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +16
  • Referrals: 1
    • View Profile
Re: Dungeon Entrances
« Reply #4 on: March 20, 2015, 01:51:40 PM »
0
ahhh cool!  can't wait to give it try this evening!!

TY!!

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +16
  • Referrals: 1
    • View Profile
Re: Dungeon Entrances
« Reply #5 on: March 20, 2015, 07:03:35 PM »
0
instant  of move have you try walking.

Code: [Select]
; top strair   984_196
; botton strari   67_337
set %fanx 67
set %fany 337
 repeat
     wait 10
     event macro 5 3
     until #CHARPOSX = %fanx && #CHARPOSy = %fany
halt




Your awesome!! Thank you!! Thank you!! Thank you!!

Worked like a charm!!

Tags: