Welcome to the Builder Academy

Question Crash bug - need assistance with GDB

More
15 Jan 2018 17:13 #7369 by cunning
Fizban,
Exactly what i have. Except i also added a if (ch == NULL) return FALSE; I use stock TBAMUD with all the JediMUD functionality and do use races from Rasputin. (just for the record).

It always crashes on a teleporting mage into the room.

The crash again points to a NOWHERE room.

Please Log in or Create an account to join the conversation.

More
15 Jan 2018 17:26 #7370 by cunning
updated all the scripts that use is_pc to now

if !%actor.is_pc%
halt
else

Please Log in or Create an account to join the conversation.

More
15 Jan 2018 18:17 #7371 by Fizban
What exactly is a teleporting mage?

Is it casting a spell that teleports it to random locations? Does it have a script that makes it teleport randomly, or is it a spec_proc and not a DG script that causes it to teleport?

Please Log in or Create an account to join the conversation.

More
15 Jan 2018 18:32 #7372 by cunning
it is the normal spell teleport. Exactly how it is on stock TBA. The mages on my game use it to hop around all the areas. It just happens that when they land in any room that has actor.is_pc in some cases it crashes.

best i could tell is that they quit out of the game or teleport out immediately and the script crashes.

Please Log in or Create an account to join the conversation.

More
16 Jan 2018 12:03 #7373 by cunning
Crashed again. Now I am getting frustrated. I am not even opposed to setting up Team Viewer to allow someone to look at this. I am no slouch at gdb, and this has me stumped!

Please Log in or Create an account to join the conversation.

More
16 Jan 2018 20:34 #7374 by thomas

(gdb) frame 0 print *ch
Value can't be converted to integer.
(gdb) frame 1 print *ch
Value can't be converted to integer.
(gdb) frame 1 print *trg
No symbol "trg" in current context.


What I meant was:
in frame #1, type "print *ch", the same in frame #2 (move betweeen frames with up and down)

Please Log in or Create an account to join the conversation.

Time to create page: 0.217 seconds