PDA

View Full Version : Waggle



Fatsix
07-23-2010, 08:07 PM
I cannot get waggle to wander when wracking is required. It just sits in the room and waits. If i manually walk out of the room, it instantly fires. Everything is turned on. Anyone know what would cause it not to wander?

cast list: 101, 102, 103, 107, 120, 401, 406, 414, 425, 430, 712
maximum time for stackable spells: 60
minimum time for stackable spells: 20
minimum time for non-stackable spells: 15
use sign of wracking: on
wander to wrack: on
use sigil of power: off
use sigil of concentration: off
skip jerks: on

GSFHenry
07-23-2010, 08:19 PM
I cannot get waggle to wander when wracking is required. It just sits in the room and waits. If i manually walk out of the room, it instantly fires. Everything is turned on. Anyone know what would cause it not to wander?

cast list: 101, 102, 103, 107, 120, 401, 406, 414, 425, 430, 712
maximum time for stackable spells: 60
minimum time for stackable spells: 20
minimum time for non-stackable spells: 15
use sign of wracking: on
wander to wrack: on
use sigil of power: off
use sigil of concentration: off
skip jerks: on


Tables aren't all mapped. Starting room needs to be mapped.

Replace the wander call with below. Should work.



wander_rooms = Array.new
wander = proc {
if checkroom = 'table'
move out
end
room = Room.current
next_room_options = room.wayto.keys
next_room = next_room_options.find_all { |room| not wander_rooms.include?(room) }
if next_room.empty?
next_room = wander_rooms.find { |room| next_room_options.include?(room) }
else
next_room = next_room[rand(next_room.length)]
end
wander_rooms.delete(next_room)
wander_rooms.push(next_room)
way = room.wayto[next_room]
if way.class == String
move(way)
else
way.call
end
}

Fatsix
07-23-2010, 09:16 PM
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle]>out
You can't go there.
>
[waggle: move: failed]
[waggle: waiting on mana... or evil people to go away...]
>
[waggle]>prepare 103
You gesture while calling upon the lesser spirits to aid you with the Spirit


Obvious exits: west
Room# 601. Fountain room in Shimmarglin INN

It works for everyone else in this room, just none of my characters. ODD

GSFHenry
07-23-2010, 09:24 PM
Room# 601. Fountain room in Shimmarglin INN

It works for everyone else in this room, just none of my characters. ODD

Only assumed you were at a table. Try updating your map database and trying again.

;update updater forcemap

Also,
;repo download waggle
to clear out the table fix.

Fatsix
07-23-2010, 09:31 PM
yeah tried that. Had tillmen working on it.

Tillmen
07-23-2010, 11:54 PM
That code you added...


if checkroom = 'table'
move out
end


Is doing an assignment instead of an equality test, so it's always true, and always attempting to move out.

caelric
07-24-2010, 12:08 AM
common error in programming, and easy to make and miss. You need a == if it wasn't clear

GSFHenry
07-24-2010, 12:09 AM
so this?


until checkroom != 'table' do fput 'move out' end

Fatsix
07-24-2010, 12:59 AM
this is retarded. Somone in the same room, using the same scripts and it works for them.

Pirate Wench Schnelle
09-13-2014, 07:12 AM
I know this is 4 years later but has there been a fix for this? Im having this issue also with my character except that im at TSC landing and it waits for people to move to wrack instead of wandering to wrack. When at a table waggle as i remembered it would make your character hide under the table to wrack and then sit back down at the table to continue casting. This not working anymore either?