Just thought I would share this with you all, I will be able to get into more detail with anyone that wants it by emailing me directly, and I will dig around in code later when I'm not at work. ;) Monroe Eternal __o _`\<,_ Michael Andrew Clubine (*)/ (*) http://web.syr.edu/~maclubin __o `'`'``'``'`'~\_ maclubin@syr.edu _`\<,_ \ (*)/ (*) \ o__ o~_ ___/~`'`'`'` \ _,>/`_ _,>/`_ _/ \_ (*) \(*) (*) \(*) / ~~~~~~~~~~~~~~~~````'`'`'`'`'`''~~~~ ---------- Forwarded message ---------- Date: Thu, 18 Jul 1996 14:40:27 -0400 (EDT) From: M.A.Clubine <maclubin@smith.cis.syr.edu> To: Sergey Katsev <skatsev@heimdall.hchs.hunter.cuny.edu> Subject: Re: Just a thought. On Thu, 18 Jul 1996, Sergey Katsev wrote: > Since you said, you would help, can you please give me instructions on > installing the reroll? If you don't know what I am talking about, just > read one of ther other messages asking this. > Thanks. > Phantom > heimdall.hchs.hunter.cuny.edu 4000 Hehe, sure. The command for reroll is already coded into the mud. Do you want the player to be able to reroll their stats on creation? The easiest way to do it would be of course to wait till after the player connects and enters the game. I will have look at the code to do it while the player is creating a new character. ( I am doing this off the top of my head.) The way I would do it, at least to start, would be to recode the reroll command and instead of being a god command, make it a newbie command. Make it for everyone, but put a check in so that only level 1 players can use it. (Or whatever level you want.) Example: ACMD(do_reroll) if GET_LEVEL(ch) > 1 send_to_char(Only level 1 newbies can reroll their stats.\r\n", ch); return; else reroll stats and display them. The way I did mine is random stats at creations, then once you enter the game you can "improve stats" costing 5 practices. EAch race in my mud has different max_abilites, so they're not all 18. (it's still 25 for gods.) If you want me to figure out how to do it in the login area such as when you choose class, you're going to have to wait for me to get home from work, or mabye until this weekend so I can look at the code. I really don't have the time to dig through it right now. Hope that helps, and hope to hear from you soon. See, I'm really not one of the bad guys. Monroe Eternal __o _`\<,_ Michael Andrew Clubine (*)/ (*) http://web.syr.edu/~maclubin __o `'`'``'``'`'~\_ maclubin@syr.edu _`\<,_ \ (*)/ (*) \ o__ o~_ ___/~`'`'`'` \ _,>/`_ _,>/`_ _/ \_ (*) \(*) (*) \(*) / ~~~~~~~~~~~~~~~~````'`'`'`'`'`''~~~~
This archive was generated by hypermail 2b30 : 12/07/00 PST