Recent posts - Page 8
 

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

Recent posts

#71
Finished Scripts / Re: Timed hub time/date
Last post by Cêñoßy†ê - 10 May, 2021, 07:30:49
Code  above updated with small fix

v2.1.1 by Cêñoßy†ê 10.05.2021
   -- fixed function check(what) to detect correct dates
#72
Finished Scripts / Timed hub time/date
Last post by Cêñoßy†ê - 09 May, 2021, 16:14:39
--[[
				Just a simple one  
			Gives local date and time info in main, on a settable interval.
			Name: Date_Time lua 5.1.3 for Px 0.4.0 and up.
			Made by [NL]Daddy-Bear™ April 2-2008.
	
			v2 by Cêñoßy†ê 28.07.2020
				-- removed bot registration (uses now main bot name)
				-- updated timer
				-- small cosmetic changes
			v2.1 by Cêñoßy†ê 09.05.2021
				-- added option to choose how month is shown (txt/number)
				-- added option to choose 24h or 12h clock
				-- changed message to easyer to modify
				more info about os.date --> https://www.lua.org/pil/22.1.html
			v2.1.1 by Cêñoßy†ê 10.05.2021
				-- fixed function check(what) to detect correct dates
			v2.1.2 by Cêñoßy†ê 28.06.2021
				-- fixed correct date and time (got stucked to script start time)
				¨˜"°º•¨˜"°º• Lets enjoy our Hobby •º°"˜•º°"˜
--]]

clock_type = 24												-- Do we use 24h or 12h clock
show_month = "txt"											-- How we show month (txt/number)
interval = 60												-- Interval Date and Time info is giffen in main in Min
main = "\n\t\t\t\t\tø¤*°'°*¤ø Date and Time ø¤*°'°*¤ø\n\n"	-- Topic string
borders = "ø¤*°'°*¤ø"										-- String as up/down borders
times = 13													-- How often we repeat the string borders

-- DONT TOUCH UNDER THIS LINE --

function check(what)-- we add data to month/date if number used
	if what == (01 or 21 or 31) then
		x = " st."
	elseif what == (02 or 22) then
		x = " nd."
	elseif what == (03 or 23) then
		x = " rd."
	else
		x = " th."
	end
	return x
end

function check_time()-- we check the time for 12/24 hour clock
	if clock_type == 24 then
		curtime = os.date("%X")
	else
		curtime = os.date("%I:%M:%S").." "..os.date("%p")
	end
	return curtime
end

function check_month()-- we check the month if number/txt used
	if show_month == "txt" then
		curmonth = os.date("%B")
	else
		curmonth = os.date("%m")..check(os.date("%m"))
	end
	return curmonth
end

function OnStartup()
	tmr = TmrMan.AddTimer(interval*60000)
end

function OnTimer(tmr)	
	local msg = main
	msg = msg.."\t"..string.rep(borders,times).."\n"
	msg = msg.."\t\tThe Local Date and Time here: "..os.date("%A").." the "..os.date("%d")..check(os.date("%d")).." of "..check_month().." on the Year "..os.date("%Y").." Time is: "..check_time().."\n"
	msg = msg.."\t"..string.rep(borders,times).."\n"
	Core.SendToAll("<"..SetMan.GetString(SetMan.tStrings.HubBotNick).."> "..msg.."")
	collectgarbage()
	io.flush()
end
#73
News / PtokaX websites were restored ...
Last post by PPK - 18 April, 2021, 20:50:13
On 10 march 2021 OVH datacentre located in Strasbourg France burned. Everything was destroyed including server with PtokaX websites and servers with backups. It took more than month on OVH side to restore my service on new server without any data.
PtokaX websites were restored from my local backup. But looks like one piece of puzzle is broken. Recent dump with PtokaX forum database on my local machine is some way corrupted. It looks like it was not downloaded completely and i didn't noticed that.
For now is PtokaX forum restored from older backup and i will investigate possibility to restore something from latest one. If this will be not possible i will try to post atleast lost topics.
#74
FAQ section / Re: Ptokax hub 0.4.1.2
Last post by the-master - 04 September, 2017, 15:40:51
She's Blonde  :D
#75
FAQ section / Re: Ptokax hub 0.4.1.2
Last post by bastya_elvtars - 30 August, 2017, 17:06:25
Should run alright on Win10, if it does not, you can always try compatibility mode. By the way, why are you using such an old version?
#76
FAQ section / Ptokax hub 0.4.1.2
Last post by Annie - 27 August, 2017, 17:44:54
I am running Ptokax dc hub 0.4.1.2  and I have updated to windows 10 on a new computer.  Can this hub run on windows 10?.
#77
FreshStuff3 / FreshStuff3 5.0.2 released wit...
Last post by bastya_elvtars - 24 June, 2017, 21:45:18
After a long wait, 5.0.2 is here: https://bitbucket.org/freshstuff3/freshstuff3/downloads/5.0.2.zip

Just extract over the previous install (if you have one), nothing will be overwritten. Compatible with PXLUA 5.1 as well as 5.3.
Version 5.5 is in the works, there are features being actively implemented.

Here is the changelog. More updates later, stay tuned!

Quoteadded: LoadCfg() config loader function
   - checks for config files and if missing creates a default one
   - makes upgrading easier
   - every module can load its own config easier
   - you can now instal FreshStuff3 over your current install.
changed: Lua 5.3 compatibility (also compatible with 5.1)
   - removed deprecated functions or worked them around
   - reworked for new module system
   - Windows: changed for the "universal" LFS.dll (included)
changed: removed ***s form SendOut()s
added: directories 'lib' and 'data' with readmes
   (kinda forced as mercurial does not handle empty dirs,
   makes future upgrading/deployment easier)
#78
Offtopic / Re: catching up
Last post by bastya_elvtars - 24 June, 2017, 00:10:05
just got back to my code :)
#79
Request for scripts / Bad Client Script
Last post by Bostyan87 - 17 April, 2017, 23:15:20
Hello, I look on forum but didn`t find it... anyone know any script for PtokaX 0.4.1.2.

I just need simple Kick script no right click menu etc. just simple small script that works on v0.4.1.2.


I foud this one... for now it works. I had to remove row 42 don`t know if is ok but no errors...


http://forum.ptokax.org/index.php?topic=3786.msg51545#msg51545

Syntax [string "-- Simply script to disallow old DC++ clients without TTH suppo..."]:42: '}' expected near '{'

{"	{"	{"reverseconnect.sf.net","ReverseConnect","cccc"},



New row Code
{"reverseconnect.sf.net","ReverseConnect","cccc"},
#80
News / PtokaX 0.5.2.2 released...
Last post by PPK - 11 April, 2017, 21:49:18
New PtokaX is here.

Win32 GUI with Lua 5.3.4 and SQLite
Win64 GUI with Lua 5.3.4 and SQLite
Win32 service/console with Lua 5.3.4 and SQLite
Win64 service/console with Lua 5.3.4 and SQLite

Win32 GUI with Lua 5.1.5 and SQLite
Win64 GUI with Lua 5.1.5 and SQLite
Win32 service/console with Lua 5.1.5 and SQLite
Win64 service/console with Lua 5.1.5 and SQLite

UniX source (various Linuxes, various BSDs, Solaris, illumos, Haiku, Mac OS X)

Quote from: Changelog...
Added: Reconnect to database on connection failure or connection lost.
Fixed: Compile for Windows 10 IoT.
Fixed: Typo in server manager and resource leak in sqlite on exit (thx Pavel Pimenov for report).
Fixed: Incorrect long length message when incomplete search command was received (thx Alexey for report).
Fixed: Search request was sent to users without share (thx Pavel Pimenov for report).
Fixed: Missing $ValidateDenide when user use nick that is in reserved nicks (thx Alexey for report).
Fixed: Extra pipe in !checknickban result (thx Alexey for report).
Fixed: IP and Port check in DC commands. (thx Mank and Rolex for report).
Fixed: Missing IP check for validity in some hub commands.
Fixed: Empty password received from user was not checked properly and accepted as new password for reg.
Fixed: Bandwidth waste, when IPv6 user send search request with IPv4 address.
Fixed: Possible crash on hublist registration (thx Pavel Pimenov for report).
Fixed: Bind to single IP caused bind to all addresses when IPv6 address was empty.
Fixed: Typo in scripting interface. MaxSlotsLimt -> MaxSlotsLimit (thx C??oßy†? for report).
Changed: Log script errors is enabled by default for PtokaX versions without GUI.
SMF spam blocked by CleanTalk