I am not a coder and i really don't intend on being one, i just want to get the hotboot command to work. It is in commands.dat as
#COMMANDName hotboot~code
Code do_hotboot
Position 100
Level 60
Log 1
End
and cedit hotboot show as
Command: hotboot
Level: 60
Position: 0
Log: 1
Code: (005329A0)
Flags:
Has been used 4 times this boot.
Time (in secs): min 0.000000; avg: 0.000000; max 0.000000
Actually i put it in mud.h and tables.c but when i went to
compile it turned out they were already there. I had my friend who was a coder look at it and he didn't know, he said that it could be working and it may not be looking at the if( skill == do_hotboot )
return "do_hotboot";
there are also some other thing in tables.c that were there that include hotboot.
mud.h has hotboot stuff in it, it didn't have:
DECLARE_DO_FUN( do_hotboot );
but if i try to add that when i compile i get:
$ make
make -s smaug
Compiling o/imc.o....
In file included from imc.c:45:
mud.h:3763: warning: redundant redeclaration of 'do_hotboot'
hotboot.h:40: warning previous declaration of 'do_hotboot' was here
make[1]: *** [o/imc.o] Error1
make: *** [all] Error 2
still didn't work, i took the line out of mud.h before you just wanted the error message, however in mud.h there are other lines that talk about "hotboot"
Every time i change something in the code, make clean, make
and reboot it still doesn't work which is probably one of the problems. I tested this with wizlock by changing the wizlock message and no matter what i do it won't take the new message.
write_to_buffer( d, "The game is wizlocked. Only immortals can connect now.\n\r", 0 );
write_to_buffer( d, "Please try back later.\n\r", 0 );
to
write_to_buffer( d, "The game is wizlocked. Only immortals can connect now.\n\r", 0 );
write_to_buffer( d, "Please try back later. If you have dire need to connect...\n\r", 0 );
write_to_buffer( d, "or have and questions contact me:\n\r", 0 );
write_to_buffer( d, "AIM: Krelowyn, Thank You.\n\r", 0 );
It was just a simple change i tried to see if this was the problem.. and either i am doing something wrong or it is.
Alright it sort of works, but when i click on it it runs through some start up stuff and closed the application, and the changes arn't there when i run it through cygwin.
If you're making a change, saving the file, compiling, and running the right exec, then personally I have no idea. Perhaps someone else can offer some insight on this one.
Sock.sinaddr: 127.0.0.1, port 1434
Preloading player data for: Krelowyn (2k)
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: no matche: ICEListen
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: nomatch: 415263~
Updating area entry for Krelowyn
Closing Link to Krelowyn.
Not sure it has to do with cygwin though because i tested opening it in the area folder and it ran (through the exec not cygwin) and the passwords still wouldn't work:
Sock.sinaddr: 127.0.0.1, port 1197
Preloading player data for: Krelowyn (2k)
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: no matche: ICEListen
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: nomatch: ~
Updating area entry for Krelowyn
Closing Link to Krelowyn.
" Not sure it has to do with cygwin though because i tested
opening it in the area folder and it ran (through the
exec not cygwin) and the passwords still wouldn't work:
Sock.sinaddr: 127.0.0.1, port 1197
Preloading player data for: Krelowyn (2k)
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: no matche: ICEListen
[*****] FILE: ../player/k/Krelowyn LINE: 29
[*****] BUG: Fread_char: nomatch: ~
Updating area entry for Krelowyn
Closing Link to Krelowyn. "
Actually tried that before.. creates fine but password is still messed up.. mortals have a different error.. i think in stead of "29" it would be line "33" and then the rest is basicly the same.
Those player errors don't matter, it continues past them. Your issue is using Cygwin has issues with crypt/passwords. As I said, do a search. A topic just came up about this a bit ago.