released a new version of the rlogin client.
it now stores module info within a database and is recalled by the client itself as well as Global Control.
as far as other global packages unless they compiled it to read from it they wont work.
for those that wanna compile it to be read:
somewhere it can be found in your source:
struct rlogin_data { /* user data record */
CHAR userid[UIDSIZ+1]; /* owner of this record */
CHAR module[MNMSIZ+1]; /* module this user is in */
};
somewhere in your init routine:
if(isfile("GALRLGN.DAT"))
{
database=dfaOpen("GALRLGN.DAT",sizeof(struct rlogin_data),NULL);
}
wherever your info is placed to call the module a player is in, replace it with
getmodule("pointer number");
in your source put:
CHAR *
getmodule(INT unum)
/* return module info */
{
static CHAR modtext[MNMSIZ];
struct rlogin_data rloginblk;
if(isfile("GALRLGN.DAT"))
{
dfaSetBlk(database);
if(dfaAcqEQ(&rloginblk,uacoff(unum)->userid,0))
{
strncpy(modtext,rloginblk.module,MNMSIZ);
}
dfaRstBlk();
if(sameas(modtext,"NULL")) strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
}
else
strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
return(modtext);
}
thats all ya need
for thjose with global control 4.10 contact me for the DLL replacement
for those wanting the new GALRLGN client PM me
Rlogin Client
-
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
Re: Rlogin Client
Hey you can send me the new stuff, GALRLGN and the new global control pack. I would dl it but I see your bbs is still down.dspain wrote:released a new version of the rlogin client.
it now stores module info within a database and is recalled by the client itself as well as Global Control.
as far as other global packages unless they compiled it to read from it they wont work.
for those that wanna compile it to be read:
somewhere it can be found in your source:
struct rlogin_data { /* user data record */
CHAR userid[UIDSIZ+1]; /* owner of this record */
CHAR module[MNMSIZ+1]; /* module this user is in */
};
somewhere in your init routine:
if(isfile("GALRLGN.DAT"))
{
database=dfaOpen("GALRLGN.DAT",sizeof(struct rlogin_data),NULL);
}
wherever your info is placed to call the module a player is in, replace it with
getmodule("pointer number");
in your source put:
CHAR *
getmodule(INT unum)
/* return module info */
{
static CHAR modtext[MNMSIZ];
struct rlogin_data rloginblk;
if(isfile("GALRLGN.DAT"))
{
dfaSetBlk(database);
if(dfaAcqEQ(&rloginblk,uacoff(unum)->userid,0))
{
strncpy(modtext,rloginblk.module,MNMSIZ);
}
dfaRstBlk();
if(sameas(modtext,"NULL")) strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
}
else
strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
return(modtext);
}
thats all ya need
for thjose with global control 4.10 contact me for the DLL replacement
for those wanting the new GALRLGN client PM me
You can also upload it to my bbs ISVARC, so others can download them.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net
Re: Rlogin Client
im finalizing the network tonight, the server will be back up full time running close to 30+ modules including the Tele-Arena, XanthaMUD, and Usurper betas.Stoneslinger76 wrote:Hey you can send me the new stuff, GALRLGN and the new global control pack. I would dl it but I see your bbs is still down.dspain wrote:released a new version of the rlogin client.
it now stores module info within a database and is recalled by the client itself as well as Global Control.
as far as other global packages unless they compiled it to read from it they wont work.
for those that wanna compile it to be read:
somewhere it can be found in your source:
struct rlogin_data { /* user data record */
CHAR userid[UIDSIZ+1]; /* owner of this record */
CHAR module[MNMSIZ+1]; /* module this user is in */
};
somewhere in your init routine:
if(isfile("GALRLGN.DAT"))
{
database=dfaOpen("GALRLGN.DAT",sizeof(struct rlogin_data),NULL);
}
wherever your info is placed to call the module a player is in, replace it with
getmodule("pointer number");
in your source put:
CHAR *
getmodule(INT unum)
/* return module info */
{
static CHAR modtext[MNMSIZ];
struct rlogin_data rloginblk;
if(isfile("GALRLGN.DAT"))
{
dfaSetBlk(database);
if(dfaAcqEQ(&rloginblk,uacoff(unum)->userid,0))
{
strncpy(modtext,rloginblk.module,MNMSIZ);
}
dfaRstBlk();
if(sameas(modtext,"NULL")) strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
}
else
strncpy(modtext,module[usroff(unum)->state]->descrp,MNMSIZ);
return(modtext);
}
thats all ya need
for thjose with global control 4.10 contact me for the DLL replacement
for those wanting the new GALRLGN client PM me
You can also upload it to my bbs ISVARC, so others can download them.