[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  remort problems

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

remort problems

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Pages: 1 2  3  

Posted by Gorock   (149 posts)  [Biography] bio
Date Sun 25 Sep 2005 11:00 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #1 on Sun 25 Sep 2005 11:42 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #2 on Mon 26 Sep 2005 12:55 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #3 on Mon 26 Sep 2005 12:59 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #4 on Mon 26 Sep 2005 01:54 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #5 on Mon 26 Sep 2005 03:12 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #6 on Mon 26 Sep 2005 04:31 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #7 on Mon 26 Sep 2005 06:47 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #8 on Mon 26 Sep 2005 08:01 AM (UTC)  quote  ]
Message
oh

where would i find that cause i am fairly new and i dont know what you mean
[Go to top] top

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

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #10 on Mon 26 Sep 2005 07:41 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #11 on Mon 26 Sep 2005 08:03 PM (UTC)  quote  ]
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
[Go to top] top

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

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

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

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


7,482 views.

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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]