• Int2Str Error? or Corrupted file?

    From xqtr@21:1/111 to All on Tuesday, July 11, 2017 23:07:41
    On 07/11/17, Night Stalker pondered and said...

    On 07/10/17, Necromaster said the following...

    Hello all. Something weird is happening on my system with A34 . Whe run MUTIL it keeps saying "Waiting for busy nodes" even though I do a FIDOPOLL KILLBUSY. Any ideas what may be wrong? Thanks.


    fidopoll killbusy all so it checks all outbound for .bsy files


    I do that before running MUTIL and it does clear them. But once MUTIL is ran it creates all those .bsy files in various echo message areas in outbound and keeps returning that waiting on busy nodes messages and does not import or export anything. It was working fine.
  • From Pequito@21:1/126 to xqtr on Tuesday, July 11, 2017 18:38:31
    On 07/11/17, xqtr said the following...

    Hi... I've got a script for calculating some stats for the BBS. Its
    based on Gryphons code and its working fine in a Linux system (Ubuntu), but in my RPi0 system, it gives negative numbers. All Total* variables
    are Integers. If i change them to LongInt, the results also change :?

    Can someone else test it? Is it an error/bug on Int2Str function or
    there is a case that i have a corrupted users.dat file? and spits wrong values?.

    Not an error in the int2str, but the data you have stored is a different
    value if you are moving from Integer to LongInt using a database style form.

    If this is users.dat can also always fix index's etc doing ./mbbutil -fixindex

    Cheers!
    Pequito

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Twinkle BBS # (21:1/126)
  • From xqtr@21:1/111 to Pequito on Wednesday, July 12, 2017 16:26:52
    Not an error in the int2str, but the data you have stored is a different value if you are moving from Integer to LongInt using a database style form.

    No, i mean the TotalCalls variable. If i do this: Int2Str(TotalCalls), i get diferrent results when TotalCalls is an integer and different when its a LongInt. The record of the database is always a Word.

    The problem only appears on my RPi system... :?

    If this is users.dat can also always fix index's etc doing ./mbbutil -fixindex

    I did it, but nothing fixed... :(

    Thanx for the reply. :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From xqtr@21:1/111 to Pequito on Wednesday, July 12, 2017 18:32:46
    FInally i found it... it was an error in the declaration of the User Record. One byte from a header variable, one from a footer variable... and cause a mess. Now its fine.

    Thanx again for your reply... :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Pequito@21:1/126 to xqtr on Wednesday, July 12, 2017 18:54:17
    On 07/12/17, xqtr said the following...

    FInally i found it... it was an error in the declaration of the User Record. One byte from a header variable, one from a footer variable...
    and cause a mess. Now its fine.

    Thanx again for your reply... :)

    Glad you got it working xqtr. :)

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Twinkle BBS # (21:1/126)