Malek
Joined: 23 Apr 2009 Posts: 3 Location: Ft Jackson, SC
|
Posted: Sun Apr 26, 2009 11:13 pm Post subject: got an issue with rooms |
|
|
Got an issue. I'm using SocketMud 2.4 as a base to work with. After fighting all day, I've got a BASIC room system, to where it will load multiple rooms.
Now I've got an issue here. I'm trying to put a player into a room, using the following line in the clear_mobile() function.
Code: | dChar->room = getRoomId(ROOM_START); |
However, it crashes, and when I try to run it again, in GDB, it shows that the dChar->room field is EMPTY!
How do I effectively put a player in a room, and where do I do that at? |
|