kaylus / myanmud

Automatically exported from code.google.com/p/myanmud
GNU Affero General Public License v3.0
0 stars 0 forks source link

Work up solution for stub objs, do we just make a bunch more defines or make clones with clone_object dynamically via strings. #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hambon...@gmail.com on 6 Feb 2010 at 10:44

GoogleCodeExporter commented 9 years ago
 code compile_object("/usr/hymael/myobj.c", "inherit WEAPON;\nvoid create(varargs int
clone){set_short(\"neener\");}")

this code allows you to make stub files on the move. All the more reason to get
arrays working in call.

Original comment by hambon...@gmail.com on 6 Feb 2010 at 10:53

GoogleCodeExporter commented 9 years ago
    room = compile_object("thomas/wilderness/1,1,1",
              read_file("thomas/wilderness.c"));
    room->set_long(etc);

The latter will require a recent version of DGD.

Maybe try this approach.

Original comment by hambon...@gmail.com on 7 Feb 2010 at 9:17