TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: JANIS KRACHT
from: NIELS HAEDECKE
date: 2014-11-22 09:47:00
subject: Running door games - how?

Hi Janis,

>> opendoor.bz script:

>> system("/usr/bin/nethack",0,0);

> I'd have to play with nethack and see if I can get it going.  Mostly I use
>doors written for bbbs, or for Linux over here.. most of them work (as far as
> can tell ).

Don't bother, I think I've found the solution this morning by using a shell
script as a wrapper to call the actual nethack binary. Way, way back I think
this was not neccessary with BBBS but my memory may fool me here.

>> Looks simple enough. OS is Cent OS 6.5 x86_64.

> Yes, it does look simple.. this is how I call the linux version of pimpwars
> (really Lol) FWTW:

> char go;
> go=system(sprintf("/home/bbbs/pimp/pimpwars /home/bbbs/pimp/dorinfo%u.def
> %u",bv_nodenumber,bv_nodenumber),1,0);

> It loads, slowly though... just an example of one of the linux doors I call
> with a variable.

Ah, another classic - thanks for reminding me. I also plan to run the Linux
native door games "U-boat" and "Sherlock Holmes".

> But nethack looks like it should be supported when you look at sysop.txt, or
> sysop.gui:

> Environment variable in the script that runs your bbs:
> BBBSHACK This environment variable should point to a NetHack
> playground, if you want your users to use the 'q hack'-command
> to play NetHack (this requires a modified copy
> of NetHack that the author of BBBS cannot re-distribute).

> Also check the groups file:

> hack                     users who should be allowed to use the main
> menu command 'hack' to play NetHack.



>I'll try installing nethack this weekend and see if I can get it running... wh
> knows   Today was crazy.. tomorrow should calmer 

That's very kind of you but please don't bother, as I've found a way to get
this running. Enjoy the weekend! ;)

Kind regards,
Niels

--- BBBS/Li6 v4.10 Dada-1
* Origin: Origin: Wintermute BBS (2:240/8002 9:92/2) (2:240/8002)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.