home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
PCFIX.MOD
< prev
next >
Wrap
Text File
|
1990-04-13
|
2KB
|
60 lines
The Warden #1 @6856
Thu Apr 12 07:13:33 1990
3RE: 1Post Call Ratio...
3BY: 1Starman #1 @3117
1This is a copy of the mod to fix the post/ratio problem. This is directly as
1posted by the author. I have not installed it yet so don't know if it works.
2Tom Holz 11@6856 3(Alias: The Warden)
Joe Barry #1 @6905
Sun Apr 01 06:16:52 1990
This mod fixes the Post/Call 'bug' in 4.10 - 4.11 & uses less code too, I'll
call this POST.MOD for 4.11
Load up XFER.C & then search for int try_to_download
look at the code & so that you can back IF you want just comment it out like
I've shown below:
ok=1;
while ((i>0) && (ok) && (!hangup)) {
/*you could also just delete this*/
/* if ((syscfg.req_ratio>0.0001) && (ratio()<syscfg.req_ratio) &&
((thisuser.exempt & exempt_ratio)==0)) {
nl();
nl();
sprintf(s,"Your ratio is %-5.3f. You need a ratio of %-5.3f to download
ratio(), syscfg.req_ratio);
pl(s);
nl(); */ /*end of commented out*/
if (!ratio_ok()) { /*ADD this one line here*/
closedl();
return(-1);
}
tleft(1);
So as you can see ALL you have to do is comment out as above & then replace it
with: if (!ratio_ok()) {
While we are on this subject you might want to also show the user his/her's
PCR when they logon, to do this load up BBSUTL.C
search for void logon()
look at that section for Illegal logons, Mail waiting etc & then add this:
sprintf(s,"%-6.3f",ratio());
print("Your File Ratio: ",s,"");
sprintf(s,"%-6.3f",syscfg.req_ratio);
print("File Req Ratio : ",s,"");
sprintf(s,"%-6.3f",post_ratio());
print("Your post/call : ",s,"");
sprintf(s,"%-6.3f",syscfg.post_call_ratio);
print("Required PCR : ",s,"");
Well thats about it, enjoy! Any problems or questions, you can email me at
1@6905 Tech Line 609-627-3291