Register forum user name Search FAQ

Gammon Forum

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 ➜ remort problems

remort problems

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  3  

Posted by Gorock   (149 posts)  Bio
Date Sun 25 Sep 2005 11:00 PM (UTC)
Message
ok i have remort classes for people and i just remorted someone but now they cant practice any new skills at the trainer in the new academy it says that he has allready teached them everything he can and now they'll have to practice it on their own


im not sure if this is in do practice or even what i would do


any help thanks in advance
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sun 25 Sep 2005 11:42 PM (UTC)
Message
I'm not familar with remort. What is the message the trainer sends? Search for that in the code and paste those lines here.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #2 on Mon 26 Sep 2005 12:55 AM (UTC)
Message
after i remort someone and make them level 1 again they go to the trainer and type prac word then he says this
Domick tells you, 'I've taught you everything I can about word of recall.'
Domick tells you, 'You'll have to practice it on your own now...'

and so i have to set each of the spells and skills tehy want at each level which is very irrotating
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Mon 26 Sep 2005 12:59 AM (UTC)
Message
Do they already have the skill learned? That's what it seems like. What is your intention, reset all skills on remort?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #4 on Mon 26 Sep 2005 01:54 AM (UTC)
Message
yeah if i knew how to reset all the skills on a remort that might work because when i remort them they loose all their skills and start over with a different class like i had a ranger remort to archer and a warrior remort to a berserker but all of their skills are at 0% so they go to practice them but that is what he says it is like he remembers teaching them those spells/skills and wont teach them again which is quite a problem because they level while i am not here then have to wait for me to log on so they can get me to set their new spells/skills to 20% so that they can use and adept them i have tried getting them to use another teacher but they all say the same thing and i even tried getting them to delete their character and make a new one and i just renamed them but that did not work either so then i tried changing their names then them practicing and then changing the names back but that did not work either.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Mon 26 Sep 2005 03:12 AM (UTC)
Message
So wait, they are at 0%, but the teacher still says he taught everything? Can you paste those lines in the code where the mob says "I've taught you everything I can about word of recall"?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #6 on Mon 26 Sep 2005 04:31 AM (UTC)
Message
Domick tells you, 'I've taught you everything I can about word of recall.'
Domick tells you, 'You'll have to practice it on your own now...'

thats what he says even if they are at 0% i cant figure it out either i have searched forums and did yahoo searches but i have come up with nothing
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #7 on Mon 26 Sep 2005 06:47 AM (UTC)
Message
He means the lines of source code, not the output into the client. He wants to see the if check that displays that message rather than proceeding to teach them.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #8 on Mon 26 Sep 2005 08:01 AM (UTC)
Message
oh

where would i find that cause i am fairly new and i dont know what you mean
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #9 on Mon 26 Sep 2005 12:55 PM (UTC)
Message
Do a search through the source. In *nix, use grep.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #10 on Mon 26 Sep 2005 07:41 PM (UTC)
Message
update.c: ch->practice += add_prac;
update.c: add_hp, ch->max_hit, 1, ch->level + 10, add_move, ch ->max_move, add_prac, ch->practice );
update.c: add_hp, ch->max_hit, add_mana, ch->max_mana, add_mov e, ch->max_move, add_prac, ch->practice );
gorock@frostmud:~/mud/src$ grep 'taught' *.c
act_info.c: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taugh t you everything I can about %s.'",
gorock@frostmud:~/mud/src$ grep 'taught' *.c
act_info.c: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taugh t you everything I can about %s.'",
gorock@frostmud:~/mud/src$ pico act_info.c
gorock@frostmud:~/mud/src$ grep 'taught' *.c -n
act_info.c:3440: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taught you everything I can about %s.'",
gorock@frostmud:~/mud/src$ pico act_info.c
UW PICO(tm) 4.9 File: act_info.c Modified

mob, NULL, ch, TO_VICT );
return;
}
*/

adept = ( int )( class_table[ch->Class]->skill_adept * 0.2 );

if( ch->pcdata->learned[sn] >= adept )
{
snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taught you everything I can abou$
skill_table[sn]->name );
act( AT_TELL, buf, mob, NULL, ch, TO_VICT );
act( AT_TELL, "$n tells you, 'You'll have to practice it on your own now...'", mob, NUL$
}
else
{
ch->practice--;
ch->pcdata->learned[sn] += int_app[get_curr_int( ch )].learn;
act( AT_ACTION, "You practice $T.", ch, NULL, skill_table[sn]->name, TO_CHAR );
act( AT_ACTION, "$n practices $T.", ch, NULL, skill_table[sn]->name, TO_ROOM );
if( ch->pcdata->learned[sn] >= adept )
{
ch->pcdata->learned[sn] = adept;
act( AT_TELL, "$n tells you. 'You'll have to practice it on your own now...'", mob, $
}
}
}
return;



i think this is what you asked for
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #11 on Mon 26 Sep 2005 08:03 PM (UTC)
Message
This is the line:
ch->pcdata->learned[sn] >= adept

What is adept? That's probably the problem.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #12 on Tue 27 Sep 2005 12:19 AM (UTC)
Message
adept means if the spell/skill has allready been practiced but what would i change it to to make him teach it still
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #13 on Tue 27 Sep 2005 12:25 AM (UTC)
Message
I mean what is it defined as? That's probably the problem.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gorock   (149 posts)  Bio
Date Reply #14 on Tue 27 Sep 2005 07:33 PM (UTC)
Message
i dont understand where your going with this
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.


88,760 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.