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
➜ Skills problem O_o
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Tue 09 Dec 2003 07:44 PM (UTC) |
| Message
| Ok, when I make a skill, everything goes well and all. I can use the skill and stuff, but if I reboot the mud to add some changes, and log back in, I get this message when trying to use the skill: (note: Perform = cast)
----
perform Byakugan
We didn't create that yet...
----
but my praclist shows:
Byakugan 100% Mold Chakra 100% Sand Armor 100%
These 3 can't be casted/performed.
I tried making them with sset, and it didn't work, got the same error. I tried making them in the skills.dat code -> same message. I also tried to make them with the areaeditor proggie from this site, but also didn't work. And renaming didn't work aswell...so...I don't know what the problem is :(
help plz :)
kevin | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #1 on Tue 09 Dec 2003 07:48 PM (UTC) |
| Message
| Did you try saving the skill table in game?
It's something like "sset save skill table".
Check: help sset |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #2 on Tue 09 Dec 2003 07:55 PM (UTC) |
| Message
| | yup, did that, still didn't work :( | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #3 on Tue 09 Dec 2003 09:50 PM (UTC) Amended on Tue 09 Dec 2003 09:52 PM (UTC) by Zeno
|
| Message
| Well, the stock ifcheck is this:
if ( (sn=skill_lookup(arg1)) < 0 )
{
send_to_char( "We didn't create that yet...\n\r", ch );
return;
}
So the sn must be -1, or something. sn is skill number I think. Slookup that skill. It should say something like this:
What is the number? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #4 on Tue 09 Dec 2003 11:37 PM (UTC) |
| Message
| | I actually had a similar problem with a skill I added recently. I would check and make sure the level is set so the character your testing it with can use it. If you didn't set the level but made the skill then the level is most likely to high for anyone to use it, except maybe an immortal. |
~Nick Cash
http://www.nick-cash.com | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #5 on Wed 10 Dec 2003 05:40 AM (UTC) |
| Message
| Sn: 4 Slot: 1 Spell: 'Sand Armor '
Sn: 2 Slot: 235 Spell: 'Byakugan '
Sn: 3 Slot: 84 Spell: 'Mold Chakra '
The levels of the skill are currently lvl 51, but my 65 imm char can't use them aswell O_o...so I guess it's something else | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #6 on Wed 10 Dec 2003 05:59 AM (UTC) |
| Message
| Now, I'm not very good with skills and the like, but I do have a comment even though it might not be correct.
In my codebase (SWR, derivitive of SMAUG), spells are set up as skills, or close to it. However, there are still a couple things to notice.
1) Make sure its type is set to spell. If not, it will not work obviously.
2) In SWR, the code slot is set as spell_smaug if its a spell. Perhaps your code slot is not configured right?
Slookup your 3 spells and paste what it says on here so we might have a better look at what we are dealing with. |
~Nick Cash
http://www.nick-cash.com | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #7 on Wed 10 Dec 2003 06:03 AM (UTC) |
| Message
| Sn: 2 Slot: 235 Spell: 'Byakugan '
Flags: secretskill
Saves: none SaveEffect: none
Type: Spell Target: self Minpos: 12 Mana: 70 Beats: 12 Range: 0
Flags: 65536 Guild: -1 Value: 0 Info: 0 Code: spell_smaug
Sectors Allowed: All
Dammsg:
Wearoff: The Byakugan wears off as you can't maintain in longer...
Affect 1 modifies affected by 'truesight' and applies invisible for 'l-10' round
s
Hitvict : Performing a couple of seals, nerves expose near your eyes and your
eyes seem to be cracked. Your vision increases as you use the Byakugan
Hitroom : Performing a couple of seals, nerves expose near $N eyes and $S eyes
seem to be cracked.
--------------------------[CLASS USE]--------------------------
Anb) lvl: 51 max: 95% Nin) lvl: 51 max: 95% Mis) lvl: 51 max: 95%
Hun) lvl: 51 max: 95%
Sn: 3 Slot: 84 Spell: 'Mold Chakra '
Flags: secretskill
Saves: none SaveEffect: none
Type: Spell Target: defensive Minpos: 10 Mana: 20 Beats: 12 Range: 0
Flags: 65536 Guild: -1 Value: 0 Info: 0 Code: spell_smaug
Sectors Allowed: All
Dammsg:
Wearoff: !Restore Mana!
Affect 1 modifies mana by 'l+2d10' and applies blind
Hitvict : Having your hands in a seal, a warm feeling overcomes you as you mol
d some chakra!
--------------------------[CLASS USE]--------------------------
Anb) lvl: 51 max: 95% Nin) lvl: 51 max: 95% Mis) lvl: 51 max: 95%
Hun) lvl: 51 max: 95%
Sn: 4 Slot: 1 Spell: 'Sand Armor '
Flags: secretskill
Saves: none SaveEffect: none
Type: Spell Target: defensive Minpos: 11 Mana: 100 Beats: 12 Range: 0
Flags: 65536 Guild: -1 Value: 0 Info: 0 Code: spell_smaug
Sectors Allowed: All
Dammsg:
Wearoff: The sand falls off your body...
Affect 1 modifies armor by '-20' and applies blind for 'l*10' rounds
Hitchar : Sand crawls on $N's body, covering it fully.
Hitvict : Sand crawls on your body, covering you fully, giving you more protec
tion.
Hitroom : Sand crawls on $N's body, covering it fully.
--------------------------[CLASS USE]--------------------------
Anb) lvl: 51 max: 95% Nin) lvl: 51 max: 95% Mis) lvl: 51 max: 95%
Hun) lvl: 51 max: 95%
They are spells with spell_smaug, so don't think it's that | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #8 on Wed 10 Dec 2003 06:09 AM (UTC) |
| Message
| | Like I said, I'm not good with skills and the like, so if they are different functions then perhaps they shouldn't be spell_smaugs? Are different functions (eg. do_Byakugan)? |
~Nick Cash
http://www.nick-cash.com | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #9 on Wed 10 Dec 2003 06:14 AM (UTC) |
| Message
| | Something else occured to me the second time I looked. Perhaps its because your guilds are set to -1? |
~Nick Cash
http://www.nick-cash.com | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #10 on Wed 10 Dec 2003 12:13 PM (UTC) |
| Message
| The spell_smaug should be right, since some/most spells in basic smaug are based on that. And I just tried the guild thingie, but that also didn't seem to work :( (I think the -1 in guild is for 'no guild' so everyone can get it)
This problem really starts to be annoying -_- | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #11 on Wed 10 Dec 2003 07:10 PM (UTC) Amended on Wed 10 Dec 2003 07:11 PM (UTC) by Zeno
|
| Message
| Does this happen to every skill? What version of Smaug? Have you changed the skill structure at all?
In stock Smaug, there is a skill that also does this.
cast 'wrath of Dominus'
We didn't create that yet...
Here is the slookup.
Sn: 1 Slot: 246 Spell: 'Wrath of Dominus '
Flags: recastable character
Saves: none SaveEffect: none
Type: Spell Target: defensive Minpos: 9 Mana: 10 Beats: 0 Range: 0
Flags: 33792 Guild: -1 Value: 0 Info: 0 Code: spell_smaug
Dammsg: (null)
Wearoff: (none set)
Affect 1 modifies hit by '-75' for '10' rounds
Affect 2 modifies luck by '-3' for '10' rounds
--------------------------[CLASS USE]--------------------------
Mag) lvl: 51 max: 95% Cle) lvl: 51 max: 95% Thi) lvl: 51 max: 95%
War) lvl: 51 max: 95% Vam) lvl: 51 max: 95% Dru) lvl: 51 max: 95%
Ran) lvl: 51 max: 95% Aug) lvl: 51 max: 95% Pal) lvl: 51 max: 95%
Look that over and compare it to your skill. Also, answering my questions would help too. (Also, interesting theme.) |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #12 on Wed 10 Dec 2003 07:40 PM (UTC) |
| Message
|
Quote: Does this happen to every skill?
No, only the ones I change. Even a rename can cause it.
Quote: What version of Smaug?
Smaug 1.4a
Quote: Have you changed the skill structure at all?
Not that I know off. The only thing I did was add a skill (study) from a snippet. This one does save and still works after rebooting.
I found a way to get the skills in the game, but it isn't really supposed to be like this, lol (use different smaug that still saves, make the skills, replace skills.dat in the mud I want to use with the modified skills.dat from different smaug) | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #13 on Wed 10 Dec 2003 08:18 PM (UTC) |
| Message
| So you can get the skills to work if you get another skill.dat? Perhaps your normal skill.dat was corrupted, or your skill.dat code structure was accidently changed.
One thing you could try... May be risky, but try commenting out that ifcheck. No idea what it would do then, though. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| DjNiVeK
(48 posts) Bio
|
| Date
| Reply #14 on Thu 11 Dec 2003 01:05 PM (UTC) |
| Message
| | It looks like the skills.dat was broken. I can save a spell now. Thanks for your help :) | | 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.
33,610 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top