Amended on Wed 07 Sep 2011 03:32 AM (UTC) by Ignatius
Message
Been working on adding the Remort Snippet to SmaugFuss1.9. Everything was spot on, changed everything like the README file said. Saved my work, compiled, and had many errors at first (mainly typos on my part). When I fixed all those this error popped up I listed the 2 lines it told me was an error and the error message. This has me stumped, I can't figure out what to do about it. Please Help.
Files | Line#|
---------------
mud.h:4838: bool load_char_obj args( ( DESCRIPTOR_DATA * d, char *name, bool preload, bool copyover ) );
ERROR Message
---------------
mud.h: In function `void do_remort(CHAR_DATA*, char*)':
mud.h:4838: error: too few arguments to function `bool load_char_obj(DESCRIPTOR_DATA*, char*, bool, bool)'
remort.c:184: error: at this point in file
make[1]: *** [o/remort.o] Error 1
make: *** [all] Error 2
**************************************************
OK nevermind :D once I posted I realized what was wrong lol.
Ah, the one for the I3 code. It's been fixed now, but that hasn't changed as far as I can recall. The only ones that have at this point are the Smaug 1.4a FUSS and the SWR 1.0 FUSS. Both of which had the hotboot code added to them.
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
SWR also has a few extra calls to these functions outside of Samson's snippet, since his is for SMAUG, not SWR. You can grep for load_char_obj to exsure you got them all. I also have an SWR hotboot version available at www.darkwarriors.net, and as I understand it Samson was going to add the SWR version to the SWRFUSS package, so you may want to just wait for that.
No i really followed the exactly like the thing said.. i added the TRUE just like it asked in all of the places it asked for.. but then it gives me that error....
Thank you for adding Hotboot to the Smaug Fuss Samson..
I use that system frequently for testing and that has helped
shave off a large ammount of time from my coding tests.
Might it be possible to add the hotboot snippet to the SWR
Fuss package as well.. i have tried multiple times to no avail
I go through the hotboot snippet following all of the
directions to a T... when i get through i compile with cygwin
and get this
Administrator@Home ~/swr1fuss/src
$ make
make -s swreality
Compiling o/act_wiz.o....
act_wiz.c: In function `do_loadup':
act_wiz.c:3802: error: too few arguments to function `load_char_obj'
make[1]: *** [o/act_wiz.o] Error 1
make: *** [all] Error 2
Or you could just obtain the updated Smaug FUSS package which now contains the hotboot code, as well as the latest version of the IMC2 code. Best of both worlds this way :)
BTW - until Nick updates the copies here, the latest ones are only available at www.mudplanet.org/files.php
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
Since hotboot/warmboot/copyover is essentially execl and some file saving/loading routines, there should not be any compatibility problems. In addition, since hotboot use is purely optional, those who do not want to use it will never have to.
I think it should be a stock feature, i have only just added it in as one of my imms decided they wanted it, as i do all my coding locally and not on the host, rebooting isnt a huge issue, make changes, check its working, upload the code, recompile and then wait till smaug does its daily boot, i do have one problem and thats samson's hotboot snippet wont compile on my host for some reason, it keeps hateing the define for KEY, yet the same section of code (exactly the same char for char) is in 5 other files and compiles fine, it goes on about a stray \, but anyways you have my vote to add it as standard.
EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
I'd have to agree with everyone else that it'd be a great thing to add with out a shadow of a doubt. I added it myself because of the very reasons Zeno mentioned.
Admin and Head Coder
For Techno-Magicka
techno-magicka.dreasphere.org 4000
AIM: tchnmgck
MSN: newell_everett@hotmail.com
YAHOO: everettnewell
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.