PtokaX 0.3.3.0 build 17.03 released... - 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

PtokaX 0.3.3.0 build 17.03 released...

Started by PPK, 24 April, 2005, 02:40:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PPK

QuoteOriginally posted by Anna
!banip
Yes !banip is broken in 17.03 ... fixed for next release  :rolleyes:
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

bastya_elvtars

QuoteOriginally posted by PPK
QuoteOriginally posted by Corayzon
Maybe it could be a script causing this somehow?
No this is not script...  :(

Buggy WinXP NT driver? :P

Everything is possible... its M$.
Everything could have been anything else and it would have just as much meaning.

blackwings

QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by PPK
QuoteOriginally posted by Corayzon
Maybe it could be a script causing this somehow?
No this is not script...  :(

Buggy WinXP NT driver? :P

Everything is possible... its M$.
or some of the new changes/code in ptokax comes in conflict with that code that is showing error now. Check new code that comes in "contact" with this code PPK. Or maybe some of the new code/changes forces a bug to appear, which could give a reason for why the code didn't give errors before. I dunno, I'm just trying to give you ideas to help you PPK :)


Psycho_Chihuahua

#78
Hey PPK

First of all, thanks a lot for your work done on PtokaX..

Swcondly, i'm using the latest Beta of yours 17.03a, and i'v noticed a minor bug in it....i have Min Share set to 500 Mb  and also works that way on Share Size Check, but in all statistics it shows 500 Tb which is not quit correct..

and for last, finally the hublist pinger works in a registered User only Hub ^^ for the first time ever since reg only it connected 20 minutes ago :D

Quote[00:41] *** Pinger from IP: 82.141.122.30 with nick: {HubListPinger} detected.
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PPK

QuoteOriginally posted by blackwings
Or maybe some of the new code/changes forces a bug to appear, which could give a reason for why the code didn't give errors before.
I check everything and not find any problem.
Code is changed and now working without crashes, but it looks like it now leaking virtual mem  X(
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Tw?sT?d-d?v

hub pinger working fine here - not a usre registered hub either

[06:22] <(JAY's)-BodyGaurd> *** Pinger from IP: 82.141.122.30 with nick:  {HubListPinger} detected.

Psycho_Chihuahua

#81
has anyone else noticed the minor bug i mentioned in my last post?

I have Min Share set to 500 Mb in the Hub but look here  even on the hublist it says Min Share is 500 TB.....  Weird  :D

Another is OpChat Email does not get saved correcltly to PtokaX.ini

always gives --> pChatEmail=

i guess OpChatEmail is correct but it should save input as well  ;)
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PPK

QuoteOriginally posted by Psycho_Chihuahua
I have Min Share set to 500 Mb in the Hub but look here  even on the hublist it says Min Share is 500 TB.....  Weird  :D
You use any botinfo script ??? Or internal botinfo support in PtokaX ?(
QuoteOriginally posted by Psycho_Chihuahua
Another is OpChat Email does not get saved correcltly to PtokaX.ini
I check this...  :rolleyes:
// EDIT: Bug found, bug fixed ... stupid typo :(
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Psycho_Chihuahua

#83
yes i do still have yout BotINFO script in there

-- PtokaX Lua 5 version by PPK

owneremail = "me@mydoma.in"

function UnknownArrival(curUser, sData)
	--// simple $BotINFO implementation //--
	if string.sub(sData, 1, 8) == "$BotINFO" then
		local minshare = frmHub:GetMinShare()*1024*1024
		curUser:SendData("$HubINFO "..frmHub:GetHubName().."$"..frmHub:GetHubAddress()..":"..frmHub:GetHubPort().."$"..frmHub:GetHubDescr()..
			"$"..frmHub:GetMaxUsers().."$"..minshare.."$"..frmHub:GetMinSlots().."$"..frmHub:GetMaxHubs().."$PtokaX$"..owneremail)
		return 1
	end
end

But i dont think thats the problem because even if call upon frmHub:GetMinShare() in a script it gives it out as if it were set on 500TB even though the check itself is correct (ie User with 500MB still gets in as supposed to as is set so in hubsoft itself)

My Settings:


On Hublist.org (same phenomenon when using statistic scripting)  well see for yourself it shows 500 TB
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PPK

QuoteOriginally posted by Psycho_Chihuahua
frmHub:GetMinShare()*1024*1024

could that be the problem?
Yes this is problem, PtokaX return minshare in bytes :D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Psycho_Chihuahua

#85
hmm oh then that means i should erase one *1024 then?

Thnx for the hint *g* i'll see if i got it now next time the pinger comes round
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PPK

QuoteOriginally posted by Psycho_Chihuahua
hmm oh then that means i should erase one *1024 then?
Not one, both :D Pinger want in hubinfo bytes and PtokaX return bytes  :))
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

bastya_elvtars

Why don't you implement pinger response into the hubsoft? Just asking...
Everything could have been anything else and it would have just as much meaning.

LoTeK_

..also a mainchat blocker will be very useful.
(just a mainchat block except ops, without any other feature that can be implemented with other scripts)

PPK

QuoteOriginally posted by bastya_elvtars
Why don't you implement pinger response into the hubsoft? Just asking...
Maybe you need to more read changelog, is implemented from 16.09 :D

QuoteOriginally posted by LoTeK_
..also a mainchat blocker will be very useful.
Why ?( Only few hubowners need it, and is very easy to do it with script :))
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

dragos_sto

PPK one question how to make description overwrite , i made a little code seem to be not working

i use function MyINFOArrival(User, Data) , but it little strange

if a user it connected and new user ho connect to the server it operator or master, the user see the description modify whit the script ,
but if the operator it online and user connect to the hub the description will not appear to none of them

and one thing , i will put the code bellow and the result from serv when a user connect and a operator connect

         
login = {
	["BotName"] = frmHub:GetHubBotName().."_Login",
}


function MyINFOArrival(User, Data)
	SendToAll(changedesc(User, Data))
	
end

--//ip calculate 
function compip(ips)
	local _,_,a,b,c,d = string.find(ips, "(%d+).(%d+).(%d+).(%d+)")
	return ((a*16777216) + (b*65536) + (c*256) + d)
end


function changedesc(user, data)
	local s,e,name,desc,tag,speed,email,share = string.find(user.sMyInfoString, "$MyINFO $ALL (%S+)%s+([^$]*)<([^$]*)$ $([^$]*)$([^$]*)$([^$]+)")
	local ipuser = compip(user.sIP)
	
	desc = "Dont work"
	if ipuser == (127*16777216 + 1) then desc = "Test"	
      	elseif ipuser > (10*16777216 + 48*65536 + 8*256 ) and ipuser < (10*16777216 + 48*65536 + 8*256 + 255) then desc = "DTNET ... ADY 0722144079"
      		elseif ipuser > (10*16777216 + 48*65536 + 9*256 ) and ipuser < (10*16777216 + 48*65536 + 9*256 + 255) then desc = "DTNET ... Bogdan 0744910529"
      			elseif ipuser == (10*16777216 + 48*65536 + 10*256 + 14) then desc = "Sebastian"	
			      	elseif ipuser > (10*16777216 + 48*65536 + 10*256 ) and ipuser < (10*16777216 + 48*65536 + 10*256 + 255) then desc = "DTNET ... ADY 0722144079"
				      	elseif ipuser > (10*16777216 + 48*65536 + 11*256 ) and ipuser < (10*16777216 + 48*65536 + 11*256 + 255) then desc = "DTNET ... Dragos 0723657274"
					      	elseif ipuser > (10*16777216 + 48*65536 + 12*256 ) and ipuser < (10*16777216 + 48*65536 + 15*256 + 255) then desc = "Sebastian"
	end
	desc = "$MyINFO $ALL "..name.." "..desc.."<"..tag.."$ $"..speed.."$"..email.."$"..share.."$"
	user:SendData(login.BotName, "\r\n nume "..name.." \r\n desc "..desc.." \r\n tag <"..tag.." \r\n speed "..speed.."\r\n")
	return desc
end


when user connect, hub return to client

        [01:18:55] *** Connecting to 127.0.01...
[01:18:55] *** Connected
[01:18:55]
 nume isdhfk
 desc $MyINFO $ALL isdhfk Test$ $Cable$$72206716964$
 tag
 speed Cable

[01:18:55] This hub is running PtokaX DC Hub 0.3.3.0 build 17.03 [debug] (UpTime: 0 days, 0 hours, 23 minutes)
[01:18:56] bine ati venit


when operator connect ,hub return to client

        [01:20:28] *** Connecting to 127.0.0.1...
[01:20:28] *** Connected
[01:20:28] *** Stored password sent...
[01:20:28]
 nume _sdcxp_
 desc $MyINFO $ALL _sdcxp_ Test$ $Cable$$72206716964$
 tag
 speed Cable

[01:20:28] This hub is running PtokaX DC Hub 0.3.3.0 build 17.03 [debug] (UpTime: 0 days, 0 hours, 25 minutes)
[01:20:28] bine ati venit
[01:20:28]
 nume _sdcxp_
 desc $MyINFO $ALL _sdcxp_ Test$ $Cable$$72206716964$
 tag
 speed Cable


when operator connect receive messege from server twice,any idea ?

Herodes

QuoteOriginally posted by dragos_sto
when operator connect receive messege from server twice,any idea ?
Yep .. his client is sending the $MyINFO twice .. .

PPK

QuoteOriginally posted by dragos_sto
PPK one question how to make description overwrite
Here is no way to do it now with PtokaX ;)
QuoteOriginally posted by dragos_sto
when operator connect receive messege from server twice,any idea ?
$MyINFO is not blockable, PtokaX always send it and here is no way to change it without wasting badwith (send it twice)  :P
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Corayzon

When a operator connects to a hub, its first myinfo send has the client hub amount as a vip because it sent a password to the hub.

When the client then receives its own name in the oplist, it then resets the hubs count in its tag, and then has to resend it.



will change to



not sure if this has relavence to ya

dragos_sto

Herodes in both case i use same client ,and have same result whit other client

10x for explain , now i know why dont work  
 :D and to not to try in vain to obtain something ho will not working.
maybe athor time whit new version will work   :P
otherwise good work

Corayzon

QuoteOriginally posted by PPK
QuoteOriginally posted by Psycho_Chihuahua
frmHub:GetMinShare()*1024*1024

could that be the problem?
Yes this is problem, PtokaX return minshare in bytes :D

the scripting help file still states frmHub:GetMinShare()'s return is in megabytes =[

i got confused for alittle while there.

GetMinShare()				- return minshare in MB

And please add text formating to bad share, slot and hub messages! so us
hubowners dont have to rewrite messages when we change the sharesize or minslots =]

electronic_Psycho

Hi Ppl ..  :D
---------------
How can i do that the motd be come befor the

my Scripts, welcome,Release Bot .. -?-

SomeoN Can Help Me Please -?-  :(

Psycho_Chihuahua

Well my Prob on the Hublist was due to something else anyways, as i just found out.
There you have the possibility to edit a couple of settings if you are using the same IP as the hub is running on.
As for the Hubscript....took it out now, and everything is still working  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PPK

QuoteOriginally posted by Corayzon
the scripting help file still states frmHub:GetMinShare()'s return is in megabytes =[
I know, fixed... :]
QuoteOriginally posted by Corayzon
And please add text formating to bad share, slot and hub messages!
I try, but here is problem with old saved messages... hubowners need to change it manually to new :(
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Corayzon

QuoteOriginally posted by PPK
QuoteOriginally posted by Corayzon
And please add text formating to bad share, slot and hub messages!
I try, but here is problem with old saved messages... hubowners need to change it manually to new :(

Dont worry about them, they can do it PPK. This would make the hubsoft more
functional, meaning more ppl might want to download! Would u prefer to make a
few lazy hubowners change the share, slots and hub messages. Or have the new
hubowners, go 'wow, this is nice' ?!?

Would be good to also get access to the profiles enabled commands with a
profile class. So then scripts dont have to read through the profiles.dat to get a clients
enabled commands.

ie...

tProfile = GetProfile(User.iProfile)

where the return profile can be build like so...

tProfile.bEnterFullHub = set/nil
tProfile.bKick = set/nil

and so on.

I know this would be abit of work to do, but from the scripters side, it would be awsome mate!

btw, nice work once again PPK

SMF spam blocked by CleanTalk