Rasing the roof?

Posted by Whipagander on Fri 08 Nov 2002 06:38 PM — 4 posts, 19,683 views.

#0
I am looking at a couple things:

First I found that when i made the slightest modification to mud.h in the Char_data section the mud takes forever too boot now.. all i did was add a playerstat. any suggestions on increasing the speed of my mud?

Second I am trying to make it so charactors can change thier moods slightly... almost like a player agro system.. Like if a mob provokes you (By beating the crap outta you or a teammate) I want to it to make you angry making you burst into rage at the opponent. I also seen that there is a host of is_hating and other functions that may be able to point to player charactors? I just need to know if anyone knows if/what the mood modifiors in smaug are and tell me if i can use em to my advantage in this here project?

Thirdly - Changing curency -- is ther just one variable I can use to change it from gold to dollars?

fourthly - I realise that the threashold of int has been changed.. it holds a much higher number ammount in smaug-- any info on this?

Fifthly - thanks much for all the help and such --

Whipagander
#1
oh sixthly - Is there a way to change a players class in the game? Like if they want to change from a warrior to a Restraunt Store Manager - could i simply make a mob do it?

thanks again
USA #2
well... an int should be max. 65535 on a 32bit system...
USA #3
RE: firstly - what are you running for a system.. ive modified my char_data structure amoung other things and the eniter mud still boots in under 10 seconds..

RE: secondly - im not to sure about htat whole deal :p

RE: thirdly - leaving ch->gold there as is fine but if you want to change it to ch->dollars you'd have to change all the referances to it in all 20 or so c/h files then make clean.. if you did jsut want to leacve it as ch->gold then all you'd have to chagne is anythignt hat you would see in the mud.. like in score... you'd also have to change some things in limbo.are.

RE: forthly - int on a 32 bit machine is like ktossell is 65 thousand or so. if ou wanted mroe then you can always change it to long :p

RE: fifthly - welcome :)

RE: sixthly - as for changeing the names of the classes you can do that online or offline.. as for a mob to change someones class... you can use make some mobprogs on the mob you want to do it and use mp_mset :p

hope it all helps :p