Welcome to the Builder Academy

Question Timed DT

More
Yesterday 23:46 - Yesterday 23:47 #10629 by cunning
Replied by cunning on topic Timed DT
I had to recreate a patch file and remove all my custom args for it.
Attachments:
Last edit: Yesterday 23:47 by cunning.

Please Log in or Create an account to join the conversation.

More
Today 15:34 - Today 15:35 #10630 by JTP
Replied by JTP on topic Timed DT
From:
+  if (!((timer = heart_pulse % (30 * PASSES_PER_SEC))))
+    timed_dt(NULL);

I get this error:

comm.c: In function ‘heartbeat’:
comm.c:1017: error: ‘timer’ undeclared (first use in this function)
comm.c:1017: error: (Each undeclared identifier is reported only once
comm.c:1017: error: for each function it appears in.)
make[1]: *** [comm.o] Error 1


I don't have some of these in my code in limits.c:

+    if (DEAD(vict)) 
+      continue;
+   
+    SET_BIT_AR(AFF_FLAGS(vict), AFF_DT);
+    GET_DT(vict) = GET_ROOM_VNUM(IN_ROOM(vict));
+    GET_DT_DAY(vict) = time(0);
+    GET_DT_COUNT(vict)++;
Last edit: Today 15:35 by JTP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.220 seconds