• Re: Nodelist Countries

    From Black Panther@21:1/186 to Avon on Sun Nov 1 23:23:56 2020
    On 31 Oct 2020, 07:19p, Avon said the following...

    I'll also see if I can get this to compile on Windows, and get you a copy of it.

    Thanks, I hope to do the Linux thing soon.

    Ok, so I tried to compile these programs on Windows, and the NetStat program will not compile, unless I rewrite most of the program to remove the dependencies for the DOS unit being included. If I can get rid of that unit, I wouldn't have to use the UNIX unit.

    Both the Country Count and the BinkD Log programs compile just fine on Windows. (I was a bit surprised)

    I did have a slight issue last night with the BinkD Log program. As it reads the log file from BinkD, and the config, I hadn't written the portion of the code to be able to go back x number of days, and account for month changes. So, when it ran, it was trying to read the log file for 0 Nov, instead of 31 Oct. I do have that corrected, but I'm still tweaking the inactive nodes section. Basically, I don't like the way it's working... :)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/31 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (21:1/186)
  • From Avon@21:1/101 to Black Panther on Mon Nov 2 19:49:58 2020
    On 01 Nov 2020 at 11:23p, Black Panther pondered and said...

    Ok, so I tried to compile these programs on Windows, and the NetStat program will not compile, unless I rewrite most of the program to remove the dependencies for the DOS unit being included. If I can get rid of
    that unit, I wouldn't have to use the UNIX unit.

    don't spend too much time on that, I can always pick it up when I am shifted over to Linux.

    Both the Country Count and the BinkD Log programs compile just fine on Windows. (I was a bit surprised)

    Cool

    for month changes. So, when it ran, it was trying to read the log file
    for 0 Nov, instead of 31 Oct. I do have that corrected, but I'm still tweaking the inactive nodes section. Basically, I don't like the way
    it's working... :)

    :) It's the name of the game to find a bug and squash it :)

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Black Panther@21:1/186 to Avon on Mon Nov 2 01:54:46 2020
    On 02 Nov 2020, 07:49p, Avon said the following...

    Both the Country Count and the BinkD Log programs compile just fine o Windows. (I was a bit surprised)

    Cool

    The Country Count won't do you any good without NetStats. They kinda work together...

    for month changes. So, when it ran, it was trying to read the log fil for 0 Nov, instead of 31 Oct. I do have that corrected, but I'm still tweaking the inactive nodes section. Basically, I don't like the way it's working... :)

    :) It's the name of the game to find a bug and squash it :)

    I think I have it squashed. I rewrote the date function, and now have it reporting on the bottom, for each of the inactive nodes. Below is an example report for the last ~2 hours.

    RCS Binkd Stats 1.0(RCS)
    Stats for past 0 day(s)
    Processed on 2 Nov 2020 01:50:33

    =============================================================================
    Node Inbound Outbound Inbound Outbound Inbound Outbound
    Connects Connects Files Files Bytes Bytes
    =============================================================================
    21:1/100 19 1 19 1 30,977 3,396
    21:2/100 0 1 0 1 0 3,396
    21:3/100 1 12 1 5 657 7,096
    21:4/10 3 0 0 16 0 29,915
    21:4/101 2 0 0 12 0 12,070
    21:4/102 2 15 0 15 0 14,755
    21:4/103 2 0 0 15 0 15,027
    21:4/104 2 0 0 12 0 12,075
    21:4/105 2 15 0 15 0 14,754
    21:4/106 1 20 1 20 12,553 31,223
    21:4/108 2 0 0 14 0 14,480
    21:4/109 1 0 0 10 0 9,081
    21:4/110 2 21 0 21 0 34,464
    21:4/113 4 16 0 16 0 15,536
    21:4/114 55 15 0 16 0 15,535
    21:4/115 2 21 0 21 0 34,466
    21:4/116 0 15 0 15 0 14,756
    21:4/118 1 0 0 53 0 71,234
    21:4/119 2 0 0 12 0 12,079
    21:4/120 3 0 0 12 0 12,076
    21:4/121 0 16 0 16 0 15,527
    21:4/122 7 0 0 17 0 16,666
    21:4/125 4 0 0 15 0 14,684
    21:4/128 2 0 0 15 0 14,692
    21:4/131 2 21 0 21 0 34,504
    21:4/133 2 0 0 13 0 12,994
    21:4/134 1 0 0 25 0 28,301
    21:4/136 2 16 0 16 0 15,565
    21:4/137 4 16 0 16 0 15,565
    21:4/143 0 16 0 16 0 15,563
    21:4/144 2 16 0 16 0 15,564
    21:4/150 2 16 0 16 0 15,565
    21:4/153 1 0 0 12 0 12,098
    21:4/154 0 16 0 16 0 15,564
    21:4/156 0 21 0 21 0 34,515
    21:4/157 2 16 0 16 0 15,566
    21:4/158 8 0 0 16 0 15,566
    21:4/160 1 0 0 4 0 4,656
    21:4/164 2 16 0 16 0 15,566
    21:4/165 17 15 0 15 0 14,790
    21:4/166 1 16 0 16 0 15,567
    21:4/167 2 0 0 17 0 28,963
    21:4/168 2 0 0 14 0 14,512
    21:4/171 2 21 0 21 0 34,515
    21:4/172 3 0 0 16 0 15,567
    =============================================================================
    175 390 21 704 44,187 830,049
    Systems : 45
    Connects: 565
    =============================================================================
    * - Indicates system is unknown to this hub

    [ RCS Binkd Stats v1.0(RCS) alpha 2 Nov 2020 (c)2020 Black Panther(RCS) ]

    21:4/107 Inactive Since: Unknown
    21:4/111 Inactive Since: 28 Oct 2020
    21:4/112 Inactive Since: 28 Oct 2020
    21:4/123 Inactive Since: 30 Oct 2020
    21:4/124 Inactive Since: 29 Oct 2020
    21:4/126 Inactive Since: 30 Oct 2020
    21:4/135 Inactive Since: 30 Oct 2020
    21:4/138 Inactive Since: 30 Oct 2020
    21:4/147 Inactive Since: 27 Oct 2020
    21:4/155 Inactive Since: 28 Oct 2020
    21:4/161 Inactive Since: 28 Oct 2020


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/31 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (21:1/186)
  • From Avon@21:1/101 to Black Panther on Fri Oct 30 20:02:30 2020
    Hi Dan

    On 29 Oct 2020 at 02:26a, RCS Statkeeper pondered and said...

    0.39% AR * 1
    1 0.39% CA * 1

    I have fixed these two in the nodelist at my end.

    Some suggestions

    Perhaps the tool could take the country code but also print the full name alongside - some countries are easier to figure out than others.

    Not sure the ***** lines across are needed as they only really show scale for the first 4-6 entries then the rest are all so small in numbers it renders
    the horizontal bar chart not very useful.

    What causes this entry?

    0.39% AnyCountry *

    Best, Paul

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Black Panther on Fri Oct 30 21:33:56 2020
    On 30 Oct 2020 at 01:27a, Black Panther pondered and said...

    I was already thinking about doing that. I figured once everything was uniform I could work on implementing it. :)

    Yep :) I think it would be a helpful addition. Thanks for looking into it.

    Yeah... When I added that, I thought there would be more listings with more nodes. I can probably remove that.

    Up to you of course but I don't think it ads much value as the quantities are already being reported numerically.

    0.39% AnyCountry *

    That is from node 21:1/999. In my test copy of the nodelist, I had just added the 'XXX' to the end of that field, so it was ,AnyCountry_XXX, in the nodelist. I'm not sure if you have another idea as to what to do
    with that entry, but that was my thought...

    Hmm yeah in my ctl /999 has New_System,AnyTown_AnyCountry,New_Sysop but it's also set as a PVT node etc.

    I would think add options to manually exclude some stuff and this is one
    I suggest leave it out... it's there just for sign-up/joining reasons only.

    I've also been doing a bit of work with the BinkD report. Right now, it's displaying the nodes listed in the binkd.cfg file that do not have any connections for that time frame.

    Saw that and thought Oooo... :)

    Also noted 3/100 was there listed which seemed strange.

    What I have been trying to incorporate, is figuring out how many days
    it's been since they have connected. I ran into some issues, and erased about 50 lines of code. I'll restart that venture tomorrow. :)

    sorry to hear that, hopefully the coming days will be kinder to you.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Black Panther on Sat Oct 31 17:00:34 2020
    On 30 Oct 2020 at 12:43p, Black Panther pondered and said...

    Ok, so I have it removing that entry. I have also added a check to
    remove any 'country code' that is only 2 characters. In the latest nodelist, there was still the two with 2 char.

    I think they were in your segment, but I have changed them both now.

    I have also removed the graph, as it was a bit redundant, and really didn't show how I had wanted it to.

    Good move, I agree.

    listed twice. I have added a check for 'GER', and change it to 'DEU',
    but I don't have it adding them together. I figure it will be corrected soon anyway. :)

    Thanks yep changing GER to DEU now...

    NetCountry v1.0.1a(RCS)
    Current Runtime: 30 Oct 2020 12:18:37

    ==========================================================================
    Canada 25 9.80%

    suggest also print the nodelist file name etc. this is being generated from.

    Germany 1 0.39%
    Slovakia 1 0.39%
    Greece 1 0.39%

    Looking good Dan... I'd like to include this report as a TXT file along with the nodelist output as a TXT file in the infopack

    Would be quite keen to post this to the website each time as it's updated
    also.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)