Julian Buckley wrote:
>
> I resent that...but anyway --- I've noticed that the patch files *dont
> always work* but once you remove the makefile patch out of the main one,
> it patches perfectly. I spent over 3 hours patching on the weekend, and I
> then deleted it in rage, then patched it using a auto patcher, and it
> worked fine *once I dumped the makefile patch*
That's probably because your Makefile was changed from stock. 99% of
patches
are against STOCK code, so if you have an extra C file in your Makefile
it
changes everything. Now if it took you 3 hours to patch your makefile
from
a rej file, well, I won't go there.
Something relevant to DG users:
Ever use attach? I do. Well, it doesn't work for objects and rooms
because of
some silly line in the code.
The fix? Here ya go:
--- dg_stock.c Wed Mar 18 19:36:41 1998
+++ dg_scripts.c Wed Mar 18 19:37:41 1998
@@ -755,7 +755,7 @@ ACMD(do_attach)
if ((object = get_obj_vis(ch, targ_name))) {
/* have a valid obj, now get trigger */
- rn = trig_index[tn] ? tn : -1;
+ rn = real_trigger(tn);
if ((rn >= 0) && (trig = read_trigger(rn))) {
if (!SCRIPT(object))
@@ -778,7 +778,7 @@ ACMD(do_attach)
if ((room = find_target_room(ch, targ_name)) != NOWHERE) {
/* have a valid room, now get trigger */
- rn = trig_index[tn] ? tn : -1;
+ rn = real_trigger(tn);
if ((rn >= 0) && (trig = read_trigger(rn))) {
if (!(world[room].script))
Woo! I feel just like George!!!! (grin)
-B.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST