Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Rasing the roof?
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Whipagander
(6 posts) Bio
|
| Date
| Fri 08 Nov 2002 06:38 PM (UTC) |
| Message
| 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
| | Top |
|
| Posted by
| Whipagander
(6 posts) Bio
|
| Date
| Reply #1 on Fri 08 Nov 2002 06:41 PM (UTC) |
| Message
| 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 | | Top |
|
| Posted by
| Ktossell
USA (37 posts) Bio
|
| Date
| Reply #2 on Sat 09 Nov 2002 07:46 PM (UTC) |
| Message
| | well... an int should be max. 65535 on a 32bit system... | | Top |
|
| Posted by
| Typhon
USA (112 posts) Bio
|
| Date
| Reply #3 on Mon 11 Nov 2002 01:19 PM (UTC) |
| Message
| 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
| | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
17,834 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top