Toggle navigation
Home
Forum
Files
MUDs
Paste
Wiki
Log in
MudBytes Community Forum
Rom
/
Rom Area Repop Msg
Reply
First
1
Last
04 Mar, 2009,
newcoder
wrote in the 1st comment:
Votes:
0
Just added the AreaRepop code for Rom from the code repository.
Compiles nicely but for some reason it says (null) when area repop and not the repop message.
Any help will be appreciated
04 Mar, 2009,
Omega
wrote in the 2nd comment:
Votes:
0
Its because the string is null, ie, it hasn't been set to anything.
in your new_area function, you can add something like.
pArea->repop_message = str_dup("You hear the pitter patter of tiny feet.");
and that should correct it.
Edit:
After reading the snippet (atleast the one I think you installed) it doesn't set them by default. Thats why your getting null.
Use the aedit repop function and set your area's repop messages.
04 Mar, 2009,
newcoder
wrote in the 3rd comment:
Votes:
0
Yeah, that worked well.
Thanks
Random Picks
Avalon: The Legend Lives
End of Time
Lost Prophecy
Top
Jump to
Bottom
0.0
/
3
Compiles nicely but for some reason it says (null) when area repop and not the repop message.
Any help will be appreciated