Re: [sys-win][1st post, yay!]DG-Script problem,driving me nuts

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 11/10/00


First off please avoid the use of vulgarities and wrap your lines at 75
characters...

Mechanical Animal wrote:
>
>   For some reason, Triggers always target the last person who logged on.. or the most > recent person is what I mean.

Add this to the end of the create_char and store_to_char functions in
db.c:

  GET_ID(ch) = max_id++;

That should fix your problem (or at least it fixed it for me).

Regards, Peter


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT