LawMaker - Page 4
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

LawMaker

Started by bastya_elvtars, 03 March, 2005, 02:07:11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zinden

bug report:

[17:33] <-LawMaker-> lawmaker/components/checking.lmc:761: attempt to index field `Prefixes' (a nil value)
Xion++ - Where it all begins
http://www.zinden.net

bastya_elvtars

QuoteOriginally posted by zinden
bug report:

[17:33] <-LawMaker-> lawmaker/components/checking.lmc:761: attempt to index field `Prefixes' (a nil value)

Let me guess, you have the nick check disabled, don't you? I totally forgot about this, and gonna post a new checking.lmc soon.
Everything could have been anything else and it would have just as much meaning.

zinden

While you are here, do you take time to add some requests?
about  !hideshare and !unhideshare
and !hideme  !unhideme

want to see them in the feature    :]
Xion++ - Where it all begins
http://www.zinden.net

bastya_elvtars

QuoteOriginally posted by zinden
While you are here, do you take time to add some requests?
about  !hideshare and !unhideshare
and !hideme  !unhideme

want to see them in the feature    :]

I do not support the iolation of the DC spirit by adding a share hide option. About a self-hide command: i need to test it, as recent changes in the DC protocol and specially PtokaX hardened the job.
First, I am gonna debug the checking.lmc. What did you enable/disable?
Everything could have been anything else and it would have just as much meaning.

zinden

it was as it is default by you.
Didnt change that part before i saw the error.
nick check problably disabled then  :P
Xion++ - Where it all begins
http://www.zinden.net

bastya_elvtars

QuoteOriginally posted by zinden
it was as it is default by you.
Didnt change that part before i saw the error.
nick check problably disabled then  :P

PtokaX version?

I doubt that this error can happen under normal circumstances.
Everything could have been anything else and it would have just as much meaning.

Psycho_Chihuahua

#81
well i got a free line (768/128) untill thursday morning so i set up a lawmaker testhub.
Whoever wants to play with the script can go there.

Address: die-klapse.ath.cx

But like i said, this is only untill thursday latest lunch time i got to switch it off again - it's a small office line and there's noone around untill thursday afternoon  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

bastya_elvtars

QuoteOriginally posted by Psycho_Chihuahua
well i got a free line (768/128) untill thursday morning so i set up a lawmaker testhub.
Whoever wants to play with the script can go there.

Address: die-klapse.ath.cx

But like i said, this is only untill thursday latest lunch time i got to switch it off again - it's a small office line and there's noone around untill thursday afternoon  :D

Well, I say big thx to you, as here it would be impossible to establish.
Everything could have been anything else and it would have just as much meaning.

Psycho_Chihuahua

hey no problem

As soon as i've finished moving i'll reopen the hub again so testing can carry on....
it'll be something like beginning/middle of next month and will be online for a longer time period  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

bastya_elvtars

Next alpha will be released this week, any further reports?
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

1.0.0.2 out.

You will have to reinstall and reconfigure the bot, in the future, only updated components will be released. Sorry for the inconvenience. Download from my sig.

What you might expect to be added:

    [*]ActiveChecker (probably into checking.lmc)
    [*]UpdateChecker (when I fire a website)
    [*]separate HubAd and one for FreshStuff
    [/list]

    And of course, request more! :)

    Enjoy!
    Everything could have been anything else and it would have just as much meaning.

    bastya_elvtars

    Created an svn repository on plop's server, and you will be able to download the changed components immediatly after the fix, without needing to unpack etc. However, the changed components will still have to be reconfigured, but a one-click update is much more suitable I think. The HOWTO for svn updating is on the way.
    Everything could have been anything else and it would have just as much meaning.

    zinden

    #87
    Errors:

    [20:01] Syntax lawmaker/components/postman.lmc:190: attempt to index local `f' (a nil value)
    [20:04] Syntax lawmaker/components/checking.lmc:761: attempt to index field `Prefixes' (a nil value)

    using latest lawmaker + latest Ptokax


    Edit: Hurry :)  got kinda many prefixes error.....
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    QuoteOriginally posted by zinden
    Errors:

    [20:01] Syntax lawmaker/components/postman.lmc:190: attempt to index local `f' (a nil value)
    [20:04] Syntax lawmaker/components/checking.lmc:761: attempt to index field `Prefixes' (a nil value)

    using latest lawmaker + latest Ptokax


    Edit: Hurry :)  got kinda many prefixes error.....

    Looks like there is no metafiles folder inside components. Make one and restart.
    Everything could have been anything else and it would have just as much meaning.

    bastya_elvtars

    OK, sory, found the bug. Open scripts\lawmaker\components\postman.lmc

    find

    local f=io.open("lawmaker/components/metafiles/postman.dat")
    

    and replace to

    local f=io.open("lawmaker/components/metafiles/postman.dat","w+")
    

    Sorry. Fixed.
    Everything could have been anything else and it would have just as much meaning.

    zinden

    [21:01] <-LawMaker-> Alltime peak share total is now (1.3267 TB).
    [21:01] <-LawMaker-> Alltime peak users is now (42).
    [21:01] <-LawMaker-> Alltime peak memory use is now (872.0000 B).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.3964 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (43).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.4021 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (44).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.4437 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (45).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.5012 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (46).
    [21:06] <-LawMaker-> Alltime peak share total is now (1.6471 TB).
    [21:06] <-LawMaker-> Alltime peak share total is now (1.6472 TB).
    [21:07] <-LawMaker-> Alltime peak share total is now (1.6528 TB).
    [21:07] <-LawMaker-> Alltime peak users is now (47).
    [21:07] <-LawMaker-> Alltime peak share total is now (1.7281 TB).


    How to disable this?
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    QuoteOriginally posted by zinden
    [21:01] <-LawMaker-> Alltime peak share total is now (1.3267 TB).
    [21:01] <-LawMaker-> Alltime peak users is now (42).
    [21:01] <-LawMaker-> Alltime peak memory use is now (872.0000 B).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.3964 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (43).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.4021 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (44).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.4437 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (45).
    [21:04] <-LawMaker-> Alltime peak share total is now (1.5012 TB).
    [21:04] <-LawMaker-> Alltime peak users is now (46).
    [21:06] <-LawMaker-> Alltime peak share total is now (1.6471 TB).
    [21:06] <-LawMaker-> Alltime peak share total is now (1.6472 TB).
    [21:07] <-LawMaker-> Alltime peak share total is now (1.6528 TB).
    [21:07] <-LawMaker-> Alltime peak users is now (47).
    [21:07] <-LawMaker-> Alltime peak share total is now (1.7281 TB).


    How to disable this?

    I thought that was fixed. Open scripts\lawmaker\components\basic_hubstats.lmc. What is the value of HubStats.ParseInterval?
    Everything could have been anything else and it would have just as much meaning.

    zinden

    #92
    function HubStats.OnTimer()
      if HubStats.Timer<3600 then
        HubStats.Timer=HubStats.Timer+1
      else
        HubStats.Parse()
        timer=0
        Clear()
      end
    end



    HubStats.Timer=0


    The only things i could find that had some timing to do.....

    Edit:   HubStats.ParseInterval   couldent be found
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    #93
    QuoteOriginally posted by zinden
    function HubStats.OnTimer()
      if HubStats.Timer<3600 then
        HubStats.Timer=HubStats.Timer+1
      else
        HubStats.Parse()
        timer=0
        Clear()
      end
    end



    HubStats.Timer=0


    The only things i could find that had some timing to do.....

    Edit:   HubStats.ParseInterval   couldent be found

    08. 09.
    fixed: typo in rightclick of randomcustomannounce
    fixed: hubstats bug (thx TiMeTrAVelleR)
    added: custom interval setting for hubstats parsing (idea by TiMeTrAVelleR)
    

    My bad, uploaded the wrong file. LOL

    -- // Edit

    Download
    Everything could have been anything else and it would have just as much meaning.

    zinden

    can you in the feature announce which files that been modified for updating the script?
    So i dont need to reinstall the whole thing once i see a update.

    Good work so far  :D
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    QuoteOriginally posted by zinden
    can you in the feature announce which files that been modified for updating the script?
    So i dont need to reinstall the whole thing once i see a update.

    Good work so far  :D

    Yes, I would like to do this in the future, but the SVN does not allow exporting of changed files only. Gonna make some workaround, and making an SVN howto.
    Everything could have been anything else and it would have just as much meaning.

    zinden

    got a request, can you make it easier to add new tags for the script?

    like a own text for adding tags and which dc they belong.

    like:
    "Strong DC++"

    (that tag cant the script recognice)  sorry for spelling...  :D

    then the script reads from that text file and give the client thats in the hub right tag.

    or make it some other way, just as long we can add own tags for the script in a easy way.

    Same goes for cheking.lmc file, try to make it smaller and make a own config file for config the hub settings.
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    It's problematic to add new tags, since they are recognized in a special way. I think I will create a separate file for client tags and gonna release updates for it soon. I don't get why it canot recognize StrongDC though, same for Goofy++.

    And yes, I am going to split checking.lmc up, and will strip the config files as well. Please be patient, these will only be available in Sep. :(
    Everything could have been anything else and it would have just as much meaning.

    gander

    #98
    keep on getting these errors

    lawmaker/components/checking.lmc:765: attempt to compare nil with number
    [10:05:23] <-LawMaker-> lawmaker/components/checking.lmc:516: attempt to compare nil with number


    running it on 3.3.21 ptokax
    using your LawMaker 1.0 alpha (

    got it fixed...

    but now i cant get any users in?

    Psycho_Chihuahua

    The only Problem i'm having atm is when i try to use !help

    then i get this
    [12:51:16] <-SanitariuM-> ...\PtokaX\scripts\lawmaker.lua:553: attempt to compare nil with number
    



    At first i thought i had made a botchup by translating it to german but i have the same effect with the original english SVN Version (SVN Revision 15)
    PtokaxWiki ?PtokaX Mirror + latest Libs

    01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

    SMF spam blocked by CleanTalk