LawMaker - Page 2
 

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.

bastya_elvtars

Angelsanges is already making it.
Everything could have been anything else and it would have just as much meaning.

MAKAVELI-2PAC

Cool !

It works great now, only one thing bothers me  :)  and this is:

[22:54:31] Your active IP has been set to xxx:xxx:xxx:xxx

But i can live with that  :)

Great work bastya_elvtars

Cya
Only God Can Judge Me !!!!!

MAKAVELI-2PAC

And i found one little bug. When i type command - !showrequest   i get error:

Syntax lawmaker.lua:2376: attempt to compare nil with number

Cya
Only God Can Judge Me !!!!!

angelsanges


6Marilyn6Manson6

QuoteOriginally posted by MAKAVELI-2PAC
And i found one little bug. When i type command - !showrequest   i get error:

Syntax lawmaker.lua:2376: attempt to compare nil with number

Cya


I have this error with commands: !showrequests and !shownews

bye bye

kbeh273300

nice work :) i love this script.ok here is my bug report.

!shownews
Syntax lawmaker.lua:2376: attempt to compare nil with number
!showrequests
Syntax lawmaker.lua:2376: attempt to compare nil with number
!addnews testing
Syntax lawmaker.lua:2328: attempt to compare nil with number
!addrequest testing
Syntax lawmaker.lua:2328: attempt to compare nil with number
!whois kbeh273300
Syntax lawmaker.lua:3830: attempt to call global `connect' (a nil value)



other then that so far everything else seems to work great :)
-=United Kings network=-
Network Webpage?
Hub address: houseofkings.no-ip.org:420
hub webpage
hub forum

bastya_elvtars

Yes, forgot to say: disable whois. Also, found the bug, updating script in a few minutes.
Everything could have been anything else and it would have just as much meaning.

6Marilyn6Manson6

#32
Hi bastya_elvtars... with command: !userinfo  I have this information:

QuoteInstring.formation on 6Marilyn6Manson6
=====================================

Profile: Superoperator
IP address: xx.xx.xxx.xx
Connection type: DSL
Mode: Active
Shared: 0.00 GB
Total hubs: 27
Hubs as guest: 0
Hubs as registered user: 6
Hubs as operator: 21
Number of slots: 2
Slot/hub ratio: 0.074074074074074
Bandwidth limiting: N/A.
Client type: DC++
Client version: 0.401
Tag: <++ V:0.401,M:A,H:0/6/21,S:2>

=====================================


and with command !getinfo  I have this information:

Quote[17:32] <#[PlaneT]> *** Nick: 6Marilyn6Manson6, IP: xx.xx.xxx.xx, Mode: A, Hubs: 27, Slots: 2, Client: DC++, Ver.: 0.401
[17:32] <#[PlaneT]> *** ShareSize: 0.00 GB

and I things: you can disable command !getinfo? Is it useless... bye ;)

6Marilyn6Manson6

#33
QuoteOriginally posted by kbeh273300
nice work :) i love this script.ok here is my bug report.

!shownews
Syntax lawmaker.lua:2376: attempt to compare nil with number
!showrequests
Syntax lawmaker.lua:2376: attempt to compare nil with number
!addnews testing
Syntax lawmaker.lua:2328: attempt to compare nil with number
!addrequest testing
Syntax lawmaker.lua:2328: attempt to compare nil with number
!whois kbeh273300
Syntax lawmaker.lua:3830: attempt to call global `connect' (a nil value)



other then that so far everything else seems to work great :)


I have error with this 4 command and with other:

!delnews   Syntax lawmaker.lua:2399: attempt to compare nil with number
and
!delrequest   Syntax lawmaker.lua:2399: attempt to compare nil with number

bye bye :)

bastya_elvtars

This add/show/delete command is buggy, gonna take a look into that now. I will not disable getinfo, i just disable what is to be disabled.
Everything could have been anything else and it would have just as much meaning.

6Marilyn6Manson6

When I use command: !watchkicks on   I have this error:

Syntax lawmaker.lua:4009: attempt to call global `write' (a nil value)


but command   !watchkicks off work.... bye bye

bastya_elvtars

Fixed the bbugs you reported, new version available.

Changes:

    [*]disabled whois in order to avoid error
    [*]fixed guestbook, news and requests finally
    [*]some minor fixes
    [/list]

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

    kbeh273300

    ok setting it up and testing it now :)
    -=United Kings network=-
    Network Webpage?
    Hub address: houseofkings.no-ip.org:420
    hub webpage
    hub forum

    6Marilyn6Manson6

    #38
    Hi bastya_elvtars:

    I have new version but:

    [20:00] <#[PlaneT]> I am LawMaker 0.8 RC3 test1 (LUA5 edition) by bastya_elvtars (the rock n' roll doctor).  <--- not correct.... this is test2 not 1 :P:P:P:P

    in help:
    *** LawMaker 0.8 RC3 test1 (LUA5 edition) by bastya_elvtars (the rock n' roll doctor) <--- idem test2 not 1 :P

    bye bye ;) very good work LoL

    kbeh273300

    hehe yeah i saw that to 6Marilyn6Manson6 :)

    i do have one bug i think
    [13:12:12] [13:20:37] *** Connecting to houseofkingstwo.utbnet.com... 
    [13:20:38] *** Connected 
    [13:20:38] <-=K??g?-??c?r?ty=-> This hub is running PtokaX DC Hub 0.3.3.0 build 16.05 (UpTime: 0 days, 0 hours, 18 minutes) 
    [13:20:38]  Your connection is DSL. 
    [13:20:38]  You are in 26 hubs, and have 2 slots. 
    [13:20:38]  Open 0.1 slots per each hub for your connection type. (Currently you should have at least 2.6 slots open for this amount of hubs. 
    [13:20:38]  You are now being redirected. 
    [13:20:38]  H??? ? K??g?2 - This hub is running LawMaker 0.8 RC3 test1 (LUA5 edition) by bastya_elvtars (the rock n' roll doctor) 
    [13:20:38]  Your connection is DSL. 
    [13:20:38]  You are in 26 hubs, and have 2 slots. 
    [13:20:38]  Open 0.1 slots per each hub for your connection type. (Currently you should have at least 2.6 slots open for this amount of hubs. 
    [13:20:38]  You are now being redirected. 
    [13:20:38]  *** Connecting to array.utbnet.com:410
    


    looks like its redirecting back to its self once then the redirect goes like it should on the 2nd go around.or maybe the info is just being sent twice hmm.
    -=United Kings network=-
    Network Webpage?
    Hub address: houseofkings.no-ip.org:420
    hub webpage
    hub forum

    bastya_elvtars

    #40
    OK, version number is not a big deal. :)

    BTW about redirect: slots, hubs & ratio redirect are now read from PtokaX. So set the appropriate addies in it (from client you cannot yet as it is not finished in PtokaX, and PPK told me to wait.)

    So set the share, maxslots, maxhubs, ratio redirect addresses in ptokax.

    This is the current redirect engine, this will be the first to rewrite on PtokaX update.

    checks.redirectingcrap=function(whatsbad,hmm)
    --	if builtinred==1 then return "$ForceMove "..frmHub:GetRedirectAddress().."|"
    	if whatsbad=="share" then return "$ForceMove "..GetShareRedirAddr().."|"
    		elseif whatsbad=="limit" then return "$ForceMove "..limitredir.."|"
    		elseif whatsbad=="slots" then
    			if hmm=="h" then
    				return "$ForceMove "..frmHub:GetMaxHubsRedirAddr().."|"
    			elseif hmm=="s" then
    				return "$ForceMove "..frmHub:GetSlotsRedirAddr().."|"
    			else
    				return "$ForceMove "..frmHub:GetRatioRedirAddr().."|"
    			end
    		
    	end
    end
    
    Everything could have been anything else and it would have just as much meaning.

    kbeh273300

    ok cool. well i must say this is script is realy comeing along nicely keep up the great work :) :D
    -=United Kings network=-
    Network Webpage?
    Hub address: houseofkings.no-ip.org:420
    hub webpage
    hub forum

    bastya_elvtars

    Well, a very minimalistic site has been created.

    http://lawmaker.no-ip.org/

    Will start working on updated core ASAP, no time atm.

    Expect more soon! ;)
    Everything could have been anything else and it would have just as much meaning.

    bastya_elvtars

    I am too slow to follow the development of PtokaX. Now that XML config files are made, LawMaker is incompatible with newer releases (16.07+) and I started to doubt whether I can (and want to) continue it. Sorry.
    Everything could have been anything else and it would have just as much meaning.

    bastya_elvtars

    Now I realised I cannot take this bot alone as i am urrounded with many-many tasks. So Herodes was very kind and promised that he will update the script for the current (momentary) API. Simply, he became a co-developer. I am really grateful, thank you, mate! :)
    Everything could have been anything else and it would have just as much meaning.

    Herodes

    Yep thats right,... :) no new feaures just bringing it uptodate and optimising... I hope that I can fulfill the task ;)

    kbeh273300

    nice goin Herodes
     
    your the MAN :)
    -=United Kings network=-
    Network Webpage?
    Hub address: houseofkings.no-ip.org:420
    hub webpage
    hub forum

    zinden

    about adding text in description from your lawmaker script....

    Well one time is good....two times starts to gets annoying........four, five and six times is a pain in the ass  :D

    Well as you problably know by now it adds the description over and over and over again....dont know if it only does it if you stop hub and start it...or if it does when you close it and start it.....But it gets there many times...

     - powered by Lawmaker 0.8 RC3 test1

    Thats the text it adds over and over again   :)
    Xion++ - Where it all begins
    http://www.zinden.net

    bastya_elvtars

    Yeah, that's a nasty error. I plan to release the optimized version, and features will be added afterwards.
    Everything could have been anything else and it would have just as much meaning.

    bastya_elvtars

    Forum online, please visit and say hello!
    Everything could have been anything else and it would have just as much meaning.

    SMF spam blocked by CleanTalk