On Fri, 1 Nov 1996, Søren Peter skou wrote: > char_from_room(ch); > char_to_room(ch, location); > } > > Okay, it decodes the room-no correctly (dependant on another spell > Arcane Name :) which will be posted when they're both working and done) > as for instance roomno 1208 is nypainer, fine no problemo there, the > problem lies in the char_from_room(ch, location); but why I fail to see. > if I change that part to something like : > > location = 1208; > char_from_room(ch); > char_to_room(ch, real_room(location)); > > Then everything is fine and I end up in room 1208 as planned, but if I > remove the location = 1208; then I end up in the void! whereafter the > mud crashes cause location suddenly became 0 (Still, a sprintf tells me > that I decode the roomno right) > > If someone has the answer to this one, I'll be bouncing with joy. This > is driving me NUTS! It seems to me in the code you post below (the last three lines) you are using real_room() to get the proper room number to send the character to, but in the actual code, you're forgetting it altogether. Hm... -- Daniel Koepke dkoepke@california.com Forgive me father, for I am sin. +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST