Scheduled downtime upcoming tuesday.

Login to reply  Page: « < 1 of 1 > »
14 Mar 2010 - 01:002418
Scheduled downtime upcoming tuesday.
Tbamud.com will be taken offline for about 6 hours this coming tuesday.

This is mainly due to changes in the network topography, which means it needs to go offline anyway, so I'll put in some server maintenance time while I'm at it.


__________________
You know who I am.
16 Mar 2010 - 20:442423
up again
So it's up again. But there seems to be a code error with tbamud - I don't have time to fix it, but until it is fixed, the mud port won't be running.


__________________
You know who I am.
16 Mar 2010 - 22:592424
Bummer, looks like a World load issue. Boots in mini. I'm on my way home and will work on it.

Mar 16 23:50:32 :: Loading configuration.
Mar 16 23:50:32 :: tbaMUD 3.61
Mar 16 23:50:32 :: Using lib as data directory.
Mar 16 23:50:32 :: Running game on port 9091.
Mar 16 23:50:32 :: Finding player limit.
Mar 16 23:50:32 ::    Setting player limit to 300 using rlimit.
Mar 16 23:50:32 :: Opening mother connection.
Mar 16 23:50:32 :: Binding to all IP interfaces on this host.
Mar 16 23:50:32 :: Boot db -- BEGIN.
Mar 16 23:50:32 :: Resetting the game time:
Mar 16 23:50:32 ::    Current Gametime: 14H 18D 10M 569Y.
Mar 16 23:50:32 :: Reading news, credits, help, ihelp, bground, info & motds.
Mar 16 23:50:32 :: Loading spell definitions.
Mar 16 23:50:32 :: Loading zone table.
Mar 16 23:50:32 ::    610 zones, 34160 bytes.
Mar 16 23:50:33 :: Loading triggers and generating index.
Mar 16 23:50:33 :: Loading rooms.
Mar 16 23:50:33 ::    28561 rooms, 2399124 bytes.
Segmentation fault


__________________
Rumble
The Builder Academy
tbamud.com 9091
16 Mar 2010 - 23:182425
Quote Rumble:
Bummer, looks like a World load issue. Boots in mini. I'm on my way home and will work on it.


Figured as much. I downloaded the svn repository when I saw Welcor's post so I could fix the change and commit, and, well, there was no error.


__________________

Dedicated DG Forum

Last edited by Fizban (16 Mar 2010 - 23:18)
16 Mar 2010 - 23:482426
MUD is up in mini-mode. The syslog and gdb are no help at all so I am going to start looking at recent World file changes to determine the bad zone. Wish me luck.


__________________
Rumble
The Builder Academy
tbamud.com 9091
16 Mar 2010 - 23:582427
I tried logging in, think it crashed when it tried loading a non existant object in my file, or because the room I logged off in no longer exists, should probably be made so that players just log in without the missing items, or log in in the mortal_start_room if the room they attempt to load in is gone.


__________________

Dedicated DG Forum
17 Mar 2010 - 00:232428
Yeah, it was the trying to load a non-existent object crash bug. Has anyone fixed that yet?

I did find the bad World file with minimum aggravation. A zone file that I see nothing wrong with. Investigating further.


__________________
Rumble
The Builder Academy
tbamud.com 9091
18 Mar 2010 - 02:222429
the fix

objsave.c

function objsave_parse_objects 

    /* if it's a new record, wrap up the old one, and make space for a new one */
    if (*line == '#') {
      /* check for false alarm. */
      if (sscanf(line, "#%d", &nr) == 1) {
+        if (real_object(nr) == NOTHING) {//objeto nao existe
+        	  log("SYSERR: Protection: deleting object %d.", nr);
+            continue;
+          }
      	if (temp) {
      	  current->obj = temp;
    	  CREATE(current->next, obj_save_data, 1);
          current=current->next;



Last edited by drefs (18 Mar 2010 - 02:23)
18 Mar 2010 - 03:142430
Quote drefs:
the fix

objsave.c

function objsave_parse_objects 

    /* if it's a new record, wrap up the old one, and make space for a new one */
    if (*line == '#') {
      /* check for false alarm. */
      if (sscanf(line, "#%d", &nr) == 1) {
+        if (real_object(nr) == NOTHING) {//objeto nao existe
+        	  log("SYSERR: Protection: deleting object %d.", nr);
+            continue;
+          }
      	if (temp) {
      	  current->obj = temp;
    	  CREATE(current->next, obj_save_data, 1);
          current=current->next;


Thanks, added.


__________________

Dedicated DG Forum
Login to reply  Page: « < 1 of 1 > »