home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
RAXS101.ZIP
/
RAXS.DOC
< prev
next >
Wrap
Text File
|
1993-03-06
|
5KB
|
121 lines
RAXS
R.emote A.ccess X.itinfo S.plitter
v1.01
By : Mark Lewis
For RA 2.00 GAMMA ONLY!
(may work with the release version)
(if the structure stays the same)
Purpose:
--------
To split the new EXITINFO.BBS file written by RA 2.00 into two parts. One
part is as close to the RA v1.11 EXITINFO.BBS as possible. The other part is
to hold all the extra data that is in the new format.
Limitations:
------------
This is not a perfect solution! There are limits to what can be done! There
are differences bewteen the old structure and the new structure that =CANNOT=
be adjusted for! One prime example is the following...
LASTREAD Message pointer
- used to be a WORD ... 0 - 65535 (16bit)
- now it is a LONGINTeger ... -2147483646 - 2147483647 (32bit)
In looking at the above, it is impossible to put anything bigger than 65535
into the old style LASTREAD pointer in the file. RAXS puts as much as it can
into the file by using typecasting. Anything left over is "thrown away" for
the moment. When RAXS recombines the two parts of the split EXITINFO.BBS
file, it checks to see if the value it put in the split file is greater than
the typecast part. If it is the same or less, RAXS will place the ORIGINAL
value back into the recombined file. If the value is greater than what was
originally written, RAXS will ADD the DIFFERENCE to the original value and
write that to the recombined file.
THIS MEANS THAT RAXS MAY NOT ALLOW EXTERNAL MAIL DOORS TO OPERATE CORRECTLY!
AND
THIS MEANS THAT RAXS MAY NOT ALLOW EXTERNAL FILE DOORS TO OPERATE CORRECTLY!
When I say "NOT OPERATE CORRECTLY", I mean that the ratio data, pointer data,
and transfer data MAY not be passed back and forth =accurately=. The doors
will still work but the user's data might not be updated in the BBS
correctly.
The following are the fields that are affected...
userinfo.credit userinfo.pending userinfo.lastread
userinfo.nocalls userinfo.uploads userinfo.downloads
userinfo.uploadsk userinfo.todayk userinfo.downloadsk
In the case of CBV's (callback verifiers), the password fields of the split
EXITINFO.BBS file are set to "PASSWORD" because of the security change made
in RA. There is not really any other option for this situation. If you use
RAXS to help you run your CBV, you MUST tell the users what the password is
so that they can get back into the system after verification.
The MAIN purpose of RAXS is to (hopefully) let you run your "standard" doors
until such time as they can be upgraded to operate correctly with the new
version of RA.
Commands:
---------
RAXS S - will Split the new RA EXITINFO.BBS file into two parts.
RAXS C - will recombine the two parts.
Execution:
----------
REM ------------------------
REM - I'm a Door .BAT file -
REM ------------------------
RAXS S <- Split the EXITINFO.BBS file into two parts
CD\THEDOOR
RUNDOOR <- run the door
CD\RA
RAXS C <- Combine the split parts of the EXITINFO.BBS file
Contact:
--------
I can be contacted via Routed NetMail or in the RA_Support and RAUTIL echos.
thanks,
)\/(ark Lewis
1:3634/12
Revisions:
----------
1.00 - initial release
1.01 - 1. decided to check to see what the values were that are
being returned in the fields that are filled from typecast
data. if they are greater than the original typecast
values, then they are OR'd with the the original values,
otherwise the orignial values are used.
ie: downloadsk is 90000.
this has a WORD typecast value of 24464.
when recombining the split parts of the file,
the new value is checked. if it is greater than
24464 then 90000 has it's lower 16 bits zero'd
out and the new value is OR'd back in, thus
increasing 90000 by the amount of change -=B-)
2. fixed the problem where the new 15 character phone
fields would get chopped off at the previous 12
character limit. this also enabled the ability to update
a users phone numbers from external programs that used
the old limit. if the first 12 characters of the phone
number fields are different than what was written during
the split, the phone number entries WILL be changed to
the new entry that is 13 characters long.
3. changed the psuedo password to "PASSWORD" to make it
easier to use RAXS with CBV doors. MAKE SURE YOU TELL
THE USERS TO ENTER "PASSWORD" WHEN ASKED FOR ONE!