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
➜ ROM
➜ Compiling the server
➜ Easy Hedit fix? Help pwease?
Easy Hedit fix? Help pwease?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| X8jedah8x
(4 posts) Bio
|
Date
| Mon 15 Dec 2003 12:27 PM (UTC) |
Message
| I am using a paradox code, rom/rot derivitive.
I put in hedit finished the entire code and it still
dont work, at the end of my compile I get this.
gcc -O -g -o rot act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o alias.o ban.o clans.o comm.o const.o curse.
o db.o db2.o effects.o fight.o flags.o forget.o handler.o healer.o interp.o note.o lookup.o magic.o magic2.o music.o recycle.
o repent.o save.o scan.o sign.o skills.o special.o tables.o update.o wizlist.o mob_cmds.o mob_prog.o olc.o olc_act.o olc_save
.o bit.o mem.o string.o olc_mpcode.o mdice.o copyover.o quest.o banks.o auction.o -lcrypt
olc.o(.text+0x95): In function `run_olc_editor':
/home/verge/paradox/src/olc.c:59: undefined reference to `hedit'
collect2: ld returned 1 exit status
make: *** [rot] Error 1
Ive looked at source codes that have hedit in them
and it looks the exact same, what might I be missing? | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Mon 15 Dec 2003 05:31 PM (UTC) |
Message
| Paste the prototype of your hedit function, along with the place where you use it in olc.c. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| X8jedah8x
(4 posts) Bio
|
Date
| Reply #2 on Tue 16 Dec 2003 04:07 PM (UTC) |
Message
| In the run_olc_editor in olc.c
it said that
hedit( d->character, d->incomm );
was the messed up line under mpedit
| Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #3 on Tue 16 Dec 2003 05:13 PM (UTC) |
Message
| OK, now please paste the prototype of your function... in other words, the place where you defined the hedit function. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| X8jedah8x
(4 posts) Bio
|
Date
| Reply #4 on Wed 17 Dec 2003 12:34 AM (UTC) |
Message
| Ok, First off im not a super good coder, infact im looking for one to help me ON my mud. but I can do well usually.
uhm... my guess is where you define it is where you add in the
DECLARE_DO_FUN ( hedit etc etc part
if not, it must not be defined and the snippet i used wasnt quite finished.
im not exaclty sure where i defined it if it was. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #5 on Wed 17 Dec 2003 12:38 AM (UTC) |
Message
| In a .c file look for code that says:
void do_hedit(CHAR_DATA * ch, char * argument)
Or something to that effect.
Chances are when you wrote the .c file, you said do_hedit, but in mud.h, you said hedit.
Notice how all the other DECLARE_DO_FUN actually have the do_ in front... "do_mset" for example.
Unless, of course, your version is so changed, that it doesn't have any of that...
It's sort of hard to help you with such partial information. :) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | 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.
15,995 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top