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
➜ DamRoll going negative...
|
DamRoll going negative...
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Buck
USA (23 posts) Bio
|
| Date
| Sat 24 Jul 2004 05:25 AM (UTC) |
| Message
| What I have : DamRoll goes negative after somewhere around 1000. My test char is doing massive damage...add more +dam eq and DamRoll inverts to negative land >:(
What I want: Effectively unlimited damage potential ( at least to the short degree - 32767)
What I've done: grepped for get_damroll, APPLY_DAMROLL, DamRoll, set_damroll, etc... lots of references, but I can't seem to find the parameters that constrain the damn roll **bad pun**
I know I'm gonna feel dumb, cause this will be an easy one and I'm no coder yet, but I'm usually pretty decent at finding 'tweak' solutions like this one. I did a search for 'damroll' in the archives, but no luck with my specific problem. Anyway I'm using 1.4a via Cygwin and the only mod I've done in this area is increasing maximum player damage, which I assume is no conflict here as I'm not getting a maxdam error. What I want to know is exactly where to find the number I need to tweak up ( or less likely, a char that needs to be a short ). Thanks in advance... |
-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!" | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Sat 24 Jul 2004 06:28 AM (UTC) |
| Message
| | Check over the variable of damroll, in mud.h, it may be sh_int. Change that to int, it should solve your problem. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Buck
USA (23 posts) Bio
|
| Date
| Reply #2 on Sat 24 Jul 2004 10:43 PM (UTC) |
| Message
| | Thanks Z, That fixed it right up. I DO feel dumb for missing that, maybe I only grepped the .c files b4 and forgot the all-important headers :o Thanks again! |
-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!" | | 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.
13,403 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top