Re: [newbie] [dg scripts] foolish errors and some notes

From: Mathew Earle Reuther (graymere@zipcon.net)
Date: 06/28/02


Here's what I get when I utilize trigedit.  (Note I get junk in some, but
don't actually crash until I trigedit 5.)

500H 100M 82V > trigedit 1
Trigger Editor [1]

1) Name         : memory test trigger
2) Intended for : Mobiles
3) Trigger types: Memory
4) Numberic Arg : 100
5) Arguments    :
6) Commands:
* assign this to a mob, force the mob to mremember you, then enter the
* room the mob is in while visible (not via goto)
say I remember you, actor.name!

Q) Quit
Enter Choice :q
500H 100M 82V > trigedit 2
Trigger Editor [2]

1) Name         : mob greet test
2) Intended for : Mobiles
3) Trigger types: Greet
4) Numberic Arg : 100
5) Arguments    :
6) Commands:
if 4627274irection
  say Hello, actor.name, how are things to the 256irection?
else
* if the character popped in (word of recall, etc) this will be hit
  say Where did YOU come from, actor.name?
end

Q) Quit
Enter Choice :q
500H 100M 82V > trigedit 3
Trigger Editor [3]

1) Name         : obj get test
2) Intended for : Objects
3) Trigger types: Get
4) Numberic Arg : 100
5) Arguments    :
6) Commands:
5.432332e-312choYou hear, 'Please put me down, actor.name'

Q) Quit
Enter Choice :q
500H 100M 82V > trigedit 4
Trigger Editor [4]

1) Name         : room test
2) Intended for : Rooms
3) Trigger types: Enter
4) Numberic Arg : 100
5) Arguments    :
6) Commands:
wait 50
wsend actoryou enter a room

Q) Quit
Enter Choice :q
500H 100M 82V > trigedit 5

And here is my syslog:

Jun 28 12:44:25 :: Imp [localhost] has connected.
Jun 28 12:44:38 :: Imp retrieving crash-saved items and entering game.
Jun 28 12:44:38 :: Imp (level 34) has 0 objects (max 30).
Jun 28 12:45:23 :: OLC: Imp starts editing zone 0 allowed zone 0
Jun 28 12:45:29 :: OLC: Imp stops editing zone 0 allowed zone 0
Jun 28 12:45:33 :: OLC: Imp starts editing zone 0 allowed zone 0
Jun 28 12:45:42 :: OLC: Imp stops editing zone 0 allowed zone 0
Jun 28 12:45:47 :: OLC: Imp starts editing zone 0 allowed zone 0
Jun 28 12:45:56 :: OLC: Imp stops editing zone 0 allowed zone 0
Jun 28 12:46:19 :: OLC: Imp starts editing zone 0 allowed zone 0
Jun 28 12:46:30 :: OLC: Imp stops editing zone 0 allowed zone 0

And, embarassingly, I don't know how to use GDB or figure out where a
crash happens and such.  I'll do some reading up on that, but I figured
that it might be interesting to see that my version of the code behaves
differently than yours at present.

-Mathew

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT