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.
Entire forum
➜ SMAUG
➜ Running the server
➜ Spells are not recognized
Spells are not recognized
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Oblisgr
(123 posts) Bio
|
Date
| Sat 29 Feb 2020 10:05 PM (UTC) Amended on Sat 29 Feb 2020 11:25 PM (UTC) by Oblisgr
|
Message
| For smaugfuss 1.9.3
I face a bug.
I create a spell with everything properly set up but the smaug is not recognizing it as spell.
Anyone has a clue?
slookup "drain agility"
Sn: 121 Slot: 10001 Spell: 'Drain agility '
Saves: none SaveEffect: none
Type: Spell Target: offensive Minpos: 0 Mana: 0 Beats: 0 Range: 0
Flags: 0 Guild: -1 Value: 0 Info: 0 Code: (null)
Sectors Allowed: All
Dammsg:
Wearoff: (none set)
0% Drain agility 0% Drain endurance 0% Drain intelligence
0% Drain luck 0% Drain personality 0% Drain strength
0% Drain willpower 28% Rend
----------------------------------[Spells]----------------------------------
19% Shield 19% Shock damage
| Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 01 Mar 2020 03:59 AM (UTC) |
Message
| What do you mean "not recognized"? I see it right there in your second box:
Quote:
0% Drain agility
You will need to explain what you are expecting to happen, and what is actually happening. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Oblisgr
(123 posts) Bio
|
Date
| Reply #2 on Sun 01 Mar 2020 09:14 AM (UTC) |
Message
| if you can see on the spells list fot example the (shield) and the (shock damage) appear under the spells tab while the rest of the spells outside it.
They are all spells but smaug separates them. | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 01 Mar 2020 10:47 AM (UTC) Amended on Sun 01 Mar 2020 10:49 AM (UTC) by Nick Gammon
|
Message
|
I create a spell with everything properly set up but the smaug is not recognizing it as spell.
It’s properly set up, but not working, eh? So it isn’t properly set up, is basically it.
The spell list seems to be shown in the file act_info.c. I suggest you look at what conditions need to be met, in that file, for the spell to show up as a spell.
Rather than just asserting that it is properly set up, how about showing how you set it up?
I’m assuming the spells are in the file skills.dat, so perhaps show an excerpt from that file for a spell that works (eg. Shock damage) and then the entry that you used for one that doesn’t work (eg. Drain agility).
We can’t read minds, you know. We don’t know what coding changes you have made, nor what configuration changes you have made to files. Just a bare description of the problem, without any debugging, or showing what you have changed, is unlikely to get you any helpful results.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
11,819 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top