You would have that because the position is stored as a number in the pfile. If you rearrange the positions, say you add pos_lie as 6 then everyone that logged off standing (position 9) will end up fighting because pos_fighting would be moved to 9 and pos_standing moved to 10. When you are in pos_fighting without a victim you are shown as fighting thin air, and just like being in a fight you can't move, you have to flee from the fight. In any case, don't take my word for it that if you add a position like that and don't do something with the version of the pfile you will have some freaky stuff like this, try it out yourself and see.
Just my 1.5 cents (I loaned the other .5 cent to the red cross) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Kingston Sent: Wednesday, December 11, 2002 01:56 AM To: Hiddukel; [email protected] Subject: Re: Adding new positions. Why would you have that? if your smart your using the POS_STANDING defenitions and so it should all update.... Might want to add a player file version number and increase it and then write a small converstion for it. Also for those who have area file version numbers do the same. If you do that your acctuly fine to change those.... If your using POS_STANDING as your position values.... if your hacking using the number.... well have fun. ----- Original Message ----- From: "Hiddukel" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, December 10, 2002 11:51 PM Subject: RE: Adding new positions. If you just rearrange the positions you are going to have some nice freaky stuff happening to your players next time they log on, you will probably end up with some that are fighting unknown foes or thin air and can't move, they'll have to flee and lose the 10 exp before they can walk again. This of course could be handled by incrementing the version of the pfile and setting all the old versions to standing when they log in though. Just my 1.5 cents (I loaned the other .5 cent to the red cross) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Kingston Sent: Wednesday, December 11, 2002 01:38 AM To: [EMAIL PROTECTED]; [email protected] Subject: Re: Adding new positions. Did you delete some? Cause in my two mud sources 9 is pos standing for me..... Which would explain why you could move. Also looking at interp: /* * Character not in position for command? */ if ( ch->position < cmd_table[cmd].position ) { see that < then the current position, make sure you keep standing at the top. That might stop them from moving.... So you might need to rearrange your positions. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, December 10, 2002 11:27 PM Subject: Adding new positions. > Hello all; > > I have just recently started experimenting with ROM and I ran into a bit of a situation. I wanted to expand the positions (dead, mort, incap, stun, sleep, rest, sit, fight, stand) by adding "lie" as '9'. I coded in messages, commands (all corresponding with their appropriate places and within other positions), I altered fight.c and added defines and declarations, and code in several other files. My finished product allowed me to lie down on the ground but I could still move from room to room. I looked back over my source code to see if I had accidently missed something but it all looks right to me. I have searched over the archives and many pages devoted to snippets, and I have also spoke with several other programmers who couldn't give me any help. Did I miss a file with something important located in it or could anyone direct me to a file where the problem may lie (no pun intended). > > Charlie > Dãj)z ²Ô2º¢¸¶Úÿ ®?®,&YùSYYù²Ø~ -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom

