StickMUD / StickLib

Sticklib is a game code library that runs on the LDMud game driver
Other
9 stars 6 forks source link

install guide for LDMUD 3.6 #1

Closed evilmog closed 2 years ago

evilmog commented 4 years ago

hi there,

is there an install guide to get this working with LDMUD 3.6. Right now I'm doing my dev on DGD / Gurba but I like your map daemon.

mpconley commented 4 years ago

I have another project that explains how to get things configured that could help out I think. Check out the README here: https://github.com/age-of-elements/age-of-elements

On Sun, Dec 1, 2019 at 2:40 PM Dustin Heywood notifications@github.com wrote:

hi there,

is there an install guide to get this working with LDMUD 3.6. Right now I'm doing my dev on DGD / Gurba but I like your map daemon.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kandawen/sticklib/issues/1?email_source=notifications&email_token=AAXKUAT4BLITKX2SX7N3UBTQWQHJRA5CNFSM4JTNJ3KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H5DDVTQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUAWUYLSVT74NIUU3SJDQWQHJRANCNFSM4JTNJ3KA .

evilmog commented 4 years ago

I get this error on startup

2019.12.02 01:41:06 [erq] Amylaar ERQ Dec  2 2019: Path 'erq', debuglevel 0
2019.12.02 01:41:06 secure/simul_efun/tail.c line 17: Bad assignment (string vs bytes) before end of line.
2019.12.02 01:41:06 Error in loading object: 'secure/master'.
2019.12.02 01:41:06 LDMud 3.6.0 (3.6.0) (release)
2019.12.02 01:41:06 Seeding PRNG from /dev/urandom.
2019.12.02 01:41:06 Attempting to start erq '/home/evilmog/ldmud/bin/erq'.
2019.12.02 01:41:06 Hostname 'ldmud' address '127.0.1.1'
]Failed to load master object 'secure/master'!
2019.12.02 01:41:06 Failed to load master object 'secure/master'!
2019.12.02 01:41:06 Current object was <null>
No program counter.
No program to trace.
2019.12.02 01:41:06 LDMud aborting on fatal error.
]Failed to load master object 'secure/master'!
2019.12.02 01:41:07 [erq] read: EOF
2019.12.02 01:41:07 [erq] Read 0, should be 9!
2019.12.02 01:41:07 [erq] Giving up.

contents of secure/simul_efun/tail.c:

/* This sefun is meant to replace the deprecated efun tail().
 * Feel free to add it to your mudlibs, if you have much code using tail() or
 * want to use tail().
 */

#include "/sys/files.h"

#define TAIL_MAX_BYTES 1000

varargs int tail(string file)
{
    if (extern_call())
    set_this_object(previous_object());

    if (!stringp(file) || !this_player())
    return 0;
    string txt = read_bytes(file, -(TAIL_MAX_BYTES + 80), (TAIL_MAX_BYTES + 80));
    if (!stringp(txt))
    return 0;

    // cut off first (incomplete) line
    int index = strstr(txt, "\n");
    if (index > -1) {
    if (index + 1 < sizeof(txt))
        txt = txt[index+1..];
    else
        txt = "";
    }

    tell_object(this_player(), txt);

    return 1;
}
mpconley commented 4 years ago

We may need to get you to start from a slightly older driver. The late 3.5 and 3.6 use UTF-8 and I had not updated that version of Sticklib for it yet. You could go out to the LDMud repo and find the 3.5.1 which should work.

Sent from my mobile device

On Dec 1, 2019, at 8:43 PM, Dustin Heywood notifications@github.com wrote:

 I get this error on startup

2019.12.02 01:41:06 [erq] Amylaar ERQ Dec 2 2019: Path 'erq', debuglevel 0 2019.12.02 01:41:06 secure/simul_efun/tail.c line 17: Bad assignment (string vs bytes) before end of line. 2019.12.02 01:41:06 Error in loading object: 'secure/master'. 2019.12.02 01:41:06 LDMud 3.6.0 (3.6.0) (release) 2019.12.02 01:41:06 Seeding PRNG from /dev/urandom. 2019.12.02 01:41:06 Attempting to start erq '/home/evilmog/ldmud/bin/erq'. 2019.12.02 01:41:06 Hostname 'ldmud' address '127.0.1.1' ]Failed to load master object 'secure/master'! 2019.12.02 01:41:06 Failed to load master object 'secure/master'! 2019.12.02 01:41:06 Current object was No program counter. No program to trace. 2019.12.02 01:41:06 LDMud aborting on fatal error. ]Failed to load master object 'secure/master'! 2019.12.02 01:41:07 [erq] read: EOF 2019.12.02 01:41:07 [erq] Read 0, should be 9! 2019.12.02 01:41:07 [erq] Giving up. contents of secure/simul_efun/tail.c:

/* This sefun is meant to replace the deprecated efun tail().

  • Feel free to add it to your mudlibs, if you have much code using tail() or
  • want to use tail(). */

include "/sys/files.h"

define TAIL_MAX_BYTES 1000

varargs int tail(string file) { if (extern_call()) set_this_object(previous_object());

if (!stringp(file) || !this_player())

return 0; string txt = read_bytes(file, -(TAIL_MAX_BYTES + 80), (TAIL_MAX_BYTES + 80)); if (!stringp(txt)) return 0;

// cut off first (incomplete) line
int index = strstr(txt, "\n");
if (index > -1) {

if (index + 1 < sizeof(txt)) txt = txt[index+1..]; else txt = ""; }

tell_object(this_player(), txt);

return 1;

} — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

evilmog commented 4 years ago
evilmog@ldmud:~/ldmud/bin$ cat ../lib/log/driver_*
2019.12.02 05:45:25 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development)
2019.12.02 05:45:19 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development)
evilmog@ldmud:~/ldmud/bin$ ./ldmud
2019.12.02 05:46:04 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development)
Segmentation fault (core dumped)
evilmog@ldmud:~/ldmud/bin$ uname -a
Linux ldmud 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
evilmog@ldmud:~/ldmud/bin$
evilmog commented 4 years ago

Found the bug, had to downgrade to GCC 8

evilmog commented 4 years ago

fresh errors, this time it can't save my new character

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      StockMUD V1.0: Based on the StickLib-distribution
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Give your name: evilmog

New character.

Password:

Password (again):

Give your email address (precede with # for arch and admin eyes only): #evilmog@ibm.com

Make sure your email address is correct!

Use command "email" to change your email address.

Are you male or female: male
Welcome, Sir!

Kandawen rebooted 56s ago.

NEWS: This is the Brand Spanking New StockMud! Hooray!

>
> score
You have  80/ 80 hit,   1/ 25 spell and   1/ 69 fatigue points.
You have 0 experience and 0 quest points
You need 1014 experience for the next level.
You have 0 gold coins in your purse.
Age:  2 seconds.

Your alignment is Neutral.
This ranks you as Evilmog the Harmless, level 1 male.
You are extremely scrawny, extremely sloth-like, extremely meek and extremely
peonic.

You are in brave mode.
> who

 ___________________________________________________________________________
/\__________________________________________________________________________\
\                                                                          \
 |                -{-----   K  a  n  d  a  w  e  n   -----}-               |
 |                                                                         |
 |                  Local time is Mon Dec 02 16:53:25 2019                 |
 |                                                                         |
 |              1 Evilmog the Harmless                                     |
 |                                                                         |
_\ Total of 1 gamer visible to you.                                         \
\/__________________________________________________________________________/

> ls
An interesting attempt...
> quit
Saving...
Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory.
program: lib/player.c, object: lib/player#7 line 1967

from the runtime log

2019.12.02 16:52:25 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development)
2019.12.02 16:52:25 Seeding PRG from /dev/urandom.
2019.12.02 16:52:25 Attempting to start erq '/home/evilmog/ldmud/bin/erq'.
2019.12.02 16:52:25 Hostname 'ldmud' address '127.0.1.1'
2019.12.02 16:52:25 UDP recv-socket requested for port: 7691
2019.12.02 16:52:25 LDMud ready for users.
2019.12.02 16:53:21 Missing 'return <value>' statement.
2019.12.02 16:53:21 program: lib/room.c (/basic/room/set_n_query.c), object: room/church line 84
2019.12.02 16:53:21 Warning: Indexing past string end is deprecated: index 0, string length: 0.
2019.12.02 16:53:21 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73
2019.12.02 16:53:25 Warning: Indexing past string end is deprecated: index 0, string length: 0.
2019.12.02 16:53:25 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73
2019.12.02 16:53:26 Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 761
'     time_glass' in '     secure/master.c' ('       secure/master') line 761
2019.12.02 16:53:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:53:26 There is no default value for non-configuration values.
2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:53:26 Triple fault, last error was: There is no default value for non-configuration values.
2019.12.02 16:53:26 There is no default value for non-configuration values.
2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:53:27 Master failure: There is no default value for non-configuration values.
2019.12.02 16:53:27 Error in master_ob->runtime_error()
2019.12.02 16:53:27 Error in master_ob->runtime_error()
2019.12.02 16:53:27 Error in call out.
2019.12.02 16:53:31 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory.
2019.12.02 16:53:31 program: lib/player.c, object: lib/player#7 line 1967
' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' ('        lib/player#7') line 227
'           quit' in 'lib/player.c (/basic/player/player_cmds.c)' ('        lib/player#7') line 259
'        save_me' in '        lib/player.c' ('        lib/player#7') line 1967
2019.12.02 16:53:40 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory.
2019.12.02 16:53:40 program: lib/player.c, object: lib/player#7 line 1967
' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' ('        lib/player#7') line 227
'           quit' in 'lib/player.c (/basic/player/player_cmds.c)' ('        lib/player#7') line 259
'        save_me' in '        lib/player.c' ('        lib/player#7') line 1967
2019.12.02 16:54:26 Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 761
'     time_glass' in '     secure/master.c' ('       secure/master') line 761
2019.12.02 16:54:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:54:26 There is no default value for non-configuration values.
2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:54:26 Triple fault, last error was: There is no default value for non-configuration values.
2019.12.02 16:54:26 There is no default value for non-configuration values.
2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:54:26 Master failure: There is no default value for non-configuration values.
2019.12.02 16:54:26 Error in master_ob->runtime_error()
2019.12.02 16:54:26 Error in master_ob->runtime_error()
2019.12.02 16:54:26 Error in call out.
2019.12.02 16:55:26 Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 761
'     time_glass' in '     secure/master.c' ('       secure/master') line 761
2019.12.02 16:55:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:55:26 There is no default value for non-configuration values.
2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:55:26 Triple fault, last error was: There is no default value for non-configuration values.
2019.12.02 16:55:26 There is no default value for non-configuration values.
2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:55:26 Master failure: There is no default value for non-configuration values.
2019.12.02 16:55:26 Error in master_ob->runtime_error()
2019.12.02 16:55:26 Error in master_ob->runtime_error()
2019.12.02 16:55:26 Error in call out.
2019.12.02 16:56:26 Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 761
'     time_glass' in '     secure/master.c' ('       secure/master') line 761
2019.12.02 16:56:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:56:26 There is no default value for non-configuration values.
2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:56:26 Triple fault, last error was: There is no default value for non-configuration values.
2019.12.02 16:56:26 There is no default value for non-configuration values.
2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:56:26 Master failure: There is no default value for non-configuration values.
2019.12.02 16:56:26 Error in master_ob->runtime_error()
2019.12.02 16:56:26 Error in master_ob->runtime_error()
2019.12.02 16:56:26 Error in call out.
2019.12.02 16:57:26 Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 761
'     time_glass' in '     secure/master.c' ('       secure/master') line 761
2019.12.02 16:57:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory.
2019.12.02 16:57:26 There is no default value for non-configuration values.
2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:57:26 Triple fault, last error was: There is no default value for non-configuration values.
2019.12.02 16:57:26 There is no default value for non-configuration values.
2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830
'  runtime_error' in '     secure/master.c' ('       secure/master') line 1830
2019.12.02 16:57:26 Master failure: There is no default value for non-configuration values.
2019.12.02 16:57:26 Error in master_ob->runtime_error()
2019.12.02 16:57:26 Error in master_ob->runtime_error()
2019.12.02 16:57:26 Error in call out.
mpconley commented 4 years ago

Hmm, maybe permissions on your file system? I’m at work, so perhaps tonight I’ll get a chance to look into this more closely.

Mike

Sent from my mobile device

On Dec 2, 2019, at 11:57 AM, Dustin Heywood notifications@github.com wrote:

 fresh errors, this time it can't save my new character

Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- StockMUD V1.0: Based on the StickLib-distribution -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Give your name: evilmog

New character.

Password:

Password (again):

Give your email address (precede with # for arch and admin eyes only): #evilmog@ibm.com

Make sure your email address is correct!

Use command "email" to change your email address.

Are you male or female: male Welcome, Sir!

Kandawen rebooted 56s ago.

NEWS: This is the Brand Spanking New StockMud! Hooray!

score You have 80/ 80 hit, 1/ 25 spell and 1/ 69 fatigue points. You have 0 experience and 0 quest points You need 1014 experience for the next level. You have 0 gold coins in your purse. Age: 2 seconds.

Your alignment is Neutral. This ranks you as Evilmog the Harmless, level 1 male. You are extremely scrawny, extremely sloth-like, extremely meek and extremely peonic.

You are in brave mode.

who


/______\ \ \ -{----- K a n d a w e n -----}-
Local time is Mon Dec 02 16:53:25 2019
1 Evilmog the Harmless

_\ Total of 1 gamer visible to you. \ \/__/

ls An interesting attempt... quit Saving... Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. program: lib/player.c, object: lib/player#7 line 1967 from the runtime log

2019.12.02 16:52:25 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development) 2019.12.02 16:52:25 Seeding PRG from /dev/urandom. 2019.12.02 16:52:25 Attempting to start erq '/home/evilmog/ldmud/bin/erq'. 2019.12.02 16:52:25 Hostname 'ldmud' address '127.0.1.1' 2019.12.02 16:52:25 UDP recv-socket requested for port: 7691 2019.12.02 16:52:25 LDMud ready for users. 2019.12.02 16:53:21 Missing 'return ' statement. 2019.12.02 16:53:21 program: lib/room.c (/basic/room/set_n_query.c), object: room/church line 84 2019.12.02 16:53:21 Warning: Indexing past string end is deprecated: index 0, string length: 0. 2019.12.02 16:53:21 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73 2019.12.02 16:53:25 Warning: Indexing past string end is deprecated: index 0, string length: 0. 2019.12.02 16:53:25 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73 2019.12.02 16:53:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:53:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:53:26 There is no default value for non-configuration values. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:53:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:53:26 There is no default value for non-configuration values. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:53:27 Master failure: There is no default value for non-configuration values. 2019.12.02 16:53:27 Error in master_ob->runtime_error() 2019.12.02 16:53:27 Error in master_ob->runtime_error() 2019.12.02 16:53:27 Error in call out. 2019.12.02 16:53:31 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. 2019.12.02 16:53:31 program: lib/player.c, object: lib/player#7 line 1967 ' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' (' lib/player#7') line 227 ' quit' in 'lib/player.c (/basic/player/player_cmds.c)' (' lib/player#7') line 259 ' save_me' in ' lib/player.c' (' lib/player#7') line 1967 2019.12.02 16:53:40 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. 2019.12.02 16:53:40 program: lib/player.c, object: lib/player#7 line 1967 ' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' (' lib/player#7') line 227 ' quit' in 'lib/player.c (/basic/player/player_cmds.c)' (' lib/player#7') line 259 ' save_me' in ' lib/player.c' (' lib/player#7') line 1967 2019.12.02 16:54:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:54:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:54:26 There is no default value for non-configuration values. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:54:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:54:26 There is no default value for non-configuration values. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:54:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:54:26 Error in master_ob->runtime_error() 2019.12.02 16:54:26 Error in master_ob->runtime_error() 2019.12.02 16:54:26 Error in call out. 2019.12.02 16:55:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:55:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:55:26 There is no default value for non-configuration values. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:55:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:55:26 There is no default value for non-configuration values. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:55:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:55:26 Error in master_ob->runtime_error() 2019.12.02 16:55:26 Error in master_ob->runtime_error() 2019.12.02 16:55:26 Error in call out. 2019.12.02 16:56:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:56:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:56:26 There is no default value for non-configuration values. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:56:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:56:26 There is no default value for non-configuration values. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:56:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:56:26 Error in master_ob->runtime_error() 2019.12.02 16:56:26 Error in master_ob->runtime_error() 2019.12.02 16:56:26 Error in call out. 2019.12.02 16:57:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:57:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:57:26 There is no default value for non-configuration values. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:57:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:57:26 There is no default value for non-configuration values. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:57:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:57:26 Error in master_ob->runtime_error() 2019.12.02 16:57:26 Error in master_ob->runtime_error() 2019.12.02 16:57:26 Error in call out. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

mpconley commented 4 years ago

Did you try setting permissions similar to how is done here? https://github.com/age-of-elements/age-of-elements#install-age-of-elements-mud-library

It definitely looks like your game could not write to the file system. Doing an ls -la in one of those directories to see if user and group have write permissions might be a good start since it looked like it was reporting some directories in this log.

On Mon, Dec 2, 2019 at 2:27 PM Michael Conley sousesider@gmail.com wrote:

Hmm, maybe permissions on your file system? I’m at work, so perhaps tonight I’ll get a chance to look into this more closely.

Mike

Sent from my mobile device

On Dec 2, 2019, at 11:57 AM, Dustin Heywood notifications@github.com wrote:



fresh errors, this time it can't save my new character

Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- StockMUD V1.0: Based on the StickLib-distribution -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Give your name: evilmog

New character.

Password:

Password (again):

Give your email address (precede with # for arch and admin eyes only): #evilmog@ibm.com

Make sure your email address is correct!

Use command "email" to change your email address.

Are you male or female: male Welcome, Sir!

Kandawen rebooted 56s ago.

NEWS: This is the Brand Spanking New StockMud! Hooray!

score You have 80/ 80 hit, 1/ 25 spell and 1/ 69 fatigue points. You have 0 experience and 0 quest points You need 1014 experience for the next level. You have 0 gold coins in your purse. Age: 2 seconds.

Your alignment is Neutral. This ranks you as Evilmog the Harmless, level 1 male. You are extremely scrawny, extremely sloth-like, extremely meek and extremely peonic.

You are in brave mode.

who


/______\ \ \ -{----- K a n d a w e n -----}-
Local time is Mon Dec 02 16:53:25 2019
1 Evilmog the Harmless

_\ Total of 1 gamer visible to you. \ \/__/

ls An interesting attempt... quit Saving... Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. program: lib/player.c, object: lib/player#7 line 1967

from the runtime log

2019.12.02 16:52:25 LDMud 3.5.2 (3.5.2-1-g4df397cd) (development) 2019.12.02 16:52:25 Seeding PRG from /dev/urandom. 2019.12.02 16:52:25 Attempting to start erq '/home/evilmog/ldmud/bin/erq'. 2019.12.02 16:52:25 Hostname 'ldmud' address '127.0.1.1' 2019.12.02 16:52:25 UDP recv-socket requested for port: 7691 2019.12.02 16:52:25 LDMud ready for users. 2019.12.02 16:53:21 Missing 'return ' statement. 2019.12.02 16:53:21 program: lib/room.c (/basic/room/set_n_query.c), object: room/church line 84 2019.12.02 16:53:21 Warning: Indexing past string end is deprecated: index 0, string length: 0. 2019.12.02 16:53:21 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73 2019.12.02 16:53:25 Warning: Indexing past string end is deprecated: index 0, string length: 0. 2019.12.02 16:53:25 program: lib/player.c (/basic/player/more.c), object: lib/player#7 line 73 2019.12.02 16:53:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:53:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:53:26 There is no default value for non-configuration values. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:53:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:53:26 There is no default value for non-configuration values. 2019.12.02 16:53:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:53:27 Master failure: There is no default value for non-configuration values. 2019.12.02 16:53:27 Error in master_ob->runtime_error() 2019.12.02 16:53:27 Error in master_ob->runtime_error() 2019.12.02 16:53:27 Error in call out. 2019.12.02 16:53:31 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. 2019.12.02 16:53:31 program: lib/player.c, object: lib/player#7 line 1967 ' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' (' lib/player#7') line 227 ' quit' in 'lib/player.c (/basic/player/player_cmds.c)' (' lib/player#7') line 259 ' save_me' in ' lib/player.c' (' lib/player#7') line 1967 2019.12.02 16:53:40 Could not open data/plr/e/evilmog.o.tmp for a save: No such file or directory. 2019.12.02 16:53:40 program: lib/player.c, object: lib/player#7 line 1967 ' command_driver' in 'lib/player.c (/basic/player/command_driver.c)' (' lib/player#7') line 227 ' quit' in 'lib/player.c (/basic/player/player_cmds.c)' (' lib/player#7') line 259 ' save_me' in ' lib/player.c' (' lib/player#7') line 1967 2019.12.02 16:54:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:54:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:54:26 There is no default value for non-configuration values. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:54:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:54:26 There is no default value for non-configuration values. 2019.12.02 16:54:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:54:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:54:26 Error in master_ob->runtime_error() 2019.12.02 16:54:26 Error in master_ob->runtime_error() 2019.12.02 16:54:26 Error in call out. 2019.12.02 16:55:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:55:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:55:26 There is no default value for non-configuration values. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:55:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:55:26 There is no default value for non-configuration values. 2019.12.02 16:55:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:55:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:55:26 Error in master_ob->runtime_error() 2019.12.02 16:55:26 Error in master_ob->runtime_error() 2019.12.02 16:55:26 Error in call out. 2019.12.02 16:56:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:56:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:56:26 There is no default value for non-configuration values. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:56:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:56:26 There is no default value for non-configuration values. 2019.12.02 16:56:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:56:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:56:26 Error in master_ob->runtime_error() 2019.12.02 16:56:26 Error in master_ob->runtime_error() 2019.12.02 16:56:26 Error in call out. 2019.12.02 16:57:26 Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 761 ' time_glass' in ' secure/master.c' (' secure/master') line 761 2019.12.02 16:57:26 Double fault, last error was: Could not open www/.plan for append: (2) No such file or directory. 2019.12.02 16:57:26 There is no default value for non-configuration values. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:57:26 Triple fault, last error was: There is no default value for non-configuration values. 2019.12.02 16:57:26 There is no default value for non-configuration values. 2019.12.02 16:57:26 program: secure/master.c, object: secure/master line 1830 ' runtime_error' in ' secure/master.c' (' secure/master') line 1830 2019.12.02 16:57:26 Master failure: There is no default value for non-configuration values. 2019.12.02 16:57:26 Error in master_ob->runtime_error() 2019.12.02 16:57:26 Error in master_ob->runtime_error() 2019.12.02 16:57:26 Error in call out.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kandawen/sticklib/issues/1?email_source=notifications&email_token=AAXKUAVAZMEA7MT54LXAXJLQWU5BJA5CNFSM4JTNJ3KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUE5OI#issuecomment-560484025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUAUNXRLUU35TNZGFEV3QWU5BJANCNFSM4JTNJ3KA .

mpconley commented 4 years ago

How is it going? I've been knee deep in doing something for Mudlet. I might get some time to update StickLib for that new driver and put some instructions up for that page. You still at it?

On Sun, Dec 1, 2019 at 8:43 PM Dustin Heywood notifications@github.com wrote:

I get this error on startup

2019.12.02 01:41:06 [erq] Amylaar ERQ Dec 2 2019: Path 'erq', debuglevel 0 2019.12.02 01:41:06 secure/simul_efun/tail.c line 17: Bad assignment (string vs bytes) before end of line. 2019.12.02 01:41:06 Error in loading object: 'secure/master'. 2019.12.02 01:41:06 LDMud 3.6.0 (3.6.0) (release) 2019.12.02 01:41:06 Seeding PRNG from /dev/urandom. 2019.12.02 01:41:06 Attempting to start erq '/home/evilmog/ldmud/bin/erq'. 2019.12.02 01:41:06 Hostname 'ldmud' address '127.0.1.1' ]Failed to load master object 'secure/master'! 2019.12.02 01:41:06 Failed to load master object 'secure/master'! 2019.12.02 01:41:06 Current object was No program counter. No program to trace. 2019.12.02 01:41:06 LDMud aborting on fatal error. ]Failed to load master object 'secure/master'! 2019.12.02 01:41:07 [erq] read: EOF 2019.12.02 01:41:07 [erq] Read 0, should be 9! 2019.12.02 01:41:07 [erq] Giving up.

contents of secure/simul_efun/tail.c:

/* This sefun is meant to replace the deprecated efun tail().

  • Feel free to add it to your mudlibs, if you have much code using tail() or
  • want to use tail(). */

include "/sys/files.h"

define TAIL_MAX_BYTES 1000

varargs int tail(string file) { if (extern_call()) set_this_object(previous_object());

if (!stringp(file) || !this_player())

return 0; string txt = read_bytes(file, -(TAIL_MAX_BYTES + 80), (TAIL_MAX_BYTES + 80)); if (!stringp(txt)) return 0;

// cut off first (incomplete) line
int index = strstr(txt, "\n");
if (index > -1) {

if (index + 1 < sizeof(txt)) txt = txt[index+1..]; else txt = ""; }

tell_object(this_player(), txt);

return 1;

}

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kandawen/sticklib/issues/1?email_source=notifications&email_token=AAXKUAQ4NLI6P3Z4XFGOCITQWRR5DA5CNFSM4JTNJ3KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFR5PPQ#issuecomment-560191422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUAVIIYZEHFESGSJ3OWDQWRR5DANCNFSM4JTNJ3KA .

evilmog commented 4 years ago

I got the game to boot, I had to manually create all the player directories. I wouldn't mind an update to 3.6

I built a MUD for a CTF using gurbalib last year, about 2000 rooms. I'm going to do it again this year but use a different lib, ideally one with an overworld like your mapper and MXP/GMCP support.

How up to date is sticklib? I don't mind if its missing features, I might just need a crash course as to where new commands get added and the general folder structure. I notice its relatively colorless, I might force ansi on and color it up as well.

mpconley commented 4 years ago

I know of you, a bit - recognized you from your twitter handle - I work in infosec as a CISO and have seen you at DerbyCon in past years, I think? I saw your Twitter post on Thotcon and cyphercon? Sticklib is 20 years behind StickMUD. There is ansi support in there, but it is not as prevalent as other games. There is starter code in the age-of-elements project on MXP. I am going to be re-adding MXP into the real StickMUD over the holidays (turned on through proper telnet negotiation), so I could pop that in the Sticklib branch. There are virtual rooms with Sticklib, so I am sure you could be up to 2000 rooms in no time. Sticklib is 20 years behind StickMUD, but I have been bringing it up to speed by adding in GMCP and the mapper. The code behind the mapper on the mud side works, but I need to add in some way to make it more user friendly for others to use it easily, but I could share the raw CLI commands I have now that get me by. I'm happy to help out a bit - perhaps roll this at Pittsburgh BSides? Not looking to shoe you into this lib, but I am interesting in following along

On Fri, Dec 6, 2019 at 12:36 AM Dustin Heywood notifications@github.com wrote:

I got the game to boot, I had to manually create all the player directories. I wouldn't mind an update to 3.6

I built a MUD for a CTF using gurbalib last year, about 2000 rooms. I'm going to do it again this year but use a different lib, ideally one with an overworld like your mapper and MXP/GMCP support.

How up to date is sticklib? I don't mind if its missing features, I might just need a crash course as to where new commands get added and the general folder structure. I notice its relatively colorless, I might force ansi on and color it up as well.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kandawen/sticklib/issues/1?email_source=notifications&email_token=AAXKUAXPNCIGZ4NODYIETX3QXHQE5A5CNFSM4JTNJ3KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGDCLLY#issuecomment-562439599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUASSG42IBLVB7HNZHZDQXHQE5ANCNFSM4JTNJ3KA .

evilmog commented 4 years ago

I'm totally down, I've written python tools for the last one to rapidly generate my lpc files, so I can basically code up new areas rapidly.

I just need to figure out the format for the mapper stuff and then I'm going to use python to generate the data files for it and that covers my overworld. When I do my building I basically use shell scripts to call python, and python generates the LPC. This makes my life easy so when I change libs I just change out the python LPC generators for one that's lib specific and I've bulk ported the game, all I need to do is room specific customization after that.

If you can get me the raw CLI that gets you by I'm totally ok with automating it with python.

GMCP shouldn't be too hard to add, I'll make sure I commit my tools so sticklib can be used for more evil in the future.

I will need help tuning the driver config files, I kept running out of objects at DerbyCon. More than happy to add you as a collaborator. I've also got Sakibomb from THOTCON looking to integrate this into the main THOTCON CTF so this could be cool. More than happy to roll this at Pittsburgh BSides as well.

mpconley commented 2 years ago

Added an install guide for LDMud 3.6.4