rename commands "afk" in "ldc"
I have corrected all the file.cs and the files. h
I have corrected the commands.dat in System
I have corrected tables.c
but in mushclient write ldc
it tells me
Huh?
I am trying to translate some commands in Italian
I desire a help, I don't speak English, I am Italian.
: o(
pasgal
Amended on Mon 26 Jan 2004 02:25 AM by Pasgal
Did you compile? Did you reboot the MUD?
All you needed to do was change commands.dat.
eg.
#COMMAND
Name afk~
Code do_afk
Position 104
Level 0
Log 0
End
Change that to:
#COMMAND
Name ldc~
Code do_afk
Position 104
Level 0
Log 0
End
Don't change anything else.
Well, the absolutely easiest way to fix this is to delete the afk command, and create the ldc command.
cedit afk delete
cedit ldc create do_afk
cedit ldc level 1
cedit save
That should work for you.
for Nick Gammon
rename command is ok now! ^_^
Tanks Tanks Tanks!
Grazie :o)
for Greven Tanks :o)
pasgal
Panzer panzer panzer! Abrams Abrams Abrams :P
Sorry... *grin*
Well, this was a bit late, but you could also have done:
cedit afk name ldc
cedit save cmdtable
No need to delete things :)
i have rename many command
when run smaug i have this problem :
ASSIGN_GSN: Skill evasive style not found.
ASSIGN_GSN: Skill defensive style not found.
ASSIGN_GSN: Skill standard style not found.
ASSIGN_GSN: Skill aggressive style not found.
ASSIGN_GSN: Skill berserk style not found.
ASSIGN_GSN: Skill aid not found.
ASSIGN_GSN: Skill bite not found.
ASSIGN_GSN: Skill fireball not found.
ASSIGN_GSN: Skill lightning bolt not found.
ASSIGN_GSN: Skill aqua breath not found.
what is my problem?
thank
De Martino
Sounds like you have renamed the skill, but not where they are referred to.
If you have renamed the skills, then in warrior.class (for example) you also need to rename them:
Name Warrior~
Class 3
Attrprime 1
Weapon 10313
Guild 3022
Skilladept 85
Thac0 18
Thac32 6
Hpmin 11
Hpmax 15
Mana 0
Expbase 1150
Skill 'aggressive style' 1 95
Skill 'aid' 6 80
Skill 'bash' 30 85
Skill 'berserk style' 10 95
Skill 'blitz' 28 80
... and so on ...
Nick writes:
If you have renamed the skills, then in warrior.class (for example) you also need to rename them:
Yes :o\
I still check
:(((
De Martino
#SKILL
Name magic missile~
Type Spell
Info 340
Flags 0
Minpos 109
Slot 32
Mana 7
Rounds 6
Range 2
Code spell_smaug
Dammsg magic missile~
Wearoff !Magic Missile!~
Minlevel 1
End
this is correct?:Code spell_smaug
i rename "aid" to "rinvieni" in all class and in skill.dat
but no solutions problem :(
#SKILL
Name rinvieni~
Type Skill
Info 0
Flags 0
Minpos 107
Rounds 12
Code do_aid
Dammsg ~
Wearoff !Aid!~
Minlevel 4
End
#SKILL
Name combatti aggressivo~
Type Skill
Info 0
Flags 0
Minpos 195
Rounds 4
Code spell_null
Dammsg ~
Wearoff !aggressive style!~
Teachers 10340 3004~
Minlevel 1
End
this is correct?: Code spell_null
De Martino
Amended on Sat 31 Jan 2004 10:37 AM by De Martino
In db.c, around line 598, have you changed these to the new words as well? ...
ASSIGN_GSN( gsn_broach, "broach" );
ASSIGN_GSN( gsn_mistwalk, "mistwalk" );
ASSIGN_GSN( gsn_aid, "aid" );
ASSIGN_GSN( gsn_track, "track" );
ASSIGN_GSN( gsn_search, "search" );
ASSIGN_GSN( gsn_dig, "dig" );
ASSIGN_GSN( gsn_mount, "mount" );
ASSIGN_GSN( gsn_bite, "bite" );
Nick vrite:
In db.c, around line 598, have you changed these to the new words as well? ...
ASSIGN_GSN( gsn_aid, "aid" );
........................................
no Nick, I have not changed ASSIG.............
ASSIGN_GSN( gsn_aid, "aid" );
in
(a) ASSIGN_GSN( gsn_rinvieni, "rinvieni" );
or
(b) ASSIGN_GSN( gsn_aid, "rinvieni" );
???
Thank Nick, very thank.
De Martino
Amended on Sun 01 Feb 2004 12:28 AM by De Martino
gsn_aid is an internal variable, the players will not see that.
So, change it to:
ASSIGN_GSN( gsn_aid, "rinvieni" );
And the same for any others you change.
Thank Nick Gammon
you have resolved me the problem.
my problem now is class, they are 3 days that I go to sleep very slow.
Thanks so much Nick!!! Thank :o)
De Martino