!Beta testing! - Page 24
 

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

!Beta testing!

Started by ptaczek, 13 October, 2003, 10:32:34

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

Zigurds

tnx turkiye, but needless, we here in Latvia test collectively


-----------------------
Latvian hub ALFA
Create 12/12/2001
//www.hub.lv

[ES]latinmusic

Ptacek i have send you one email just now, can you read it please?

toolmanwill

this experimental version is real bad, not only could i not get any scripts to work but over half of my users could not get in for some reason!!!  these versions def do NOT work with channelbot 4.3 fix.


Will
http://toolmanwill.com
       -= The Bootleg Network =-
---------toolmanwill.myftp.org--------- Bootleg live music
------toolmanwill.myftp.org:420------ lossless only music
-----toolmanwill.myftp.org:8000----- Bootleg Network Radio

Hades

About 30 % users cant get in!!!
Ptokax 3.3.0 beta 15.24.
Bug with script restart ------
Only way to restart the script so it will work again is to klick on it turn it on and off bit restart crashes scripts!!!

Zigurds

Zitat toolmanwill:
this experimental version is real bad....
---------------------------------

Hm, my all scripts is work,tb SecurityAdmin666 +, Logger-V.2.74, Dirtybot1332, SlotChekers,....
Only bug with script restart, other specific problems invisibility


-----------------------
Latvian hub ALFA
Create 12/12/2001
//www.hub.lv

ptaczek

Yes, there is a bug in script-restarting function. Im releasing fix in few minutes.

More on scripts:
As I've checked few scripts written by others, I've found several techniques as incorrect. PtokaX 0.330 build 15 and up handles scripts differently. The initialization (loading, syntax checking) is now performed at ptokax start. Prior versions have initialized the scripting engine at the *serving* start. Therefore ANY script code in global scope is executed prior to initialization of the hub's core. Generally any other code except variables initialization in the global scope (means outside any function) is really bad idea because EVERYTHING in the global scope is executed during the syntax check call.

An example:

[size=2]...
function WriteScoresToFile()
	local hFile = openfile(sJumbleScoresFile, "w");

	write(hFile, "tScores = {\n");

	for i = 1, getn(tScores), 1 do
		write(hFile, "["..i.."] = {"..format("%q", tScores[i][1])..","..tScores[i][2].."},\n");
	end

	write(hFile, "n="..getn(tScores).."\n");

	write(hFile, "};");

	closefile(hFile);
end

---
[color=red]ScriptRestart = "    -->  "..Version.." Gestartet "..date(" am %d.%m.%Y um %X ").."  <--"
SendToAll(ScriptRestart)
SendToAll(wortmixinfo)[/color]
---

function StartJumblePhrase()
	local hFile = openfile(sJumbleWordsFile, "r");

	if(hFile == nil) then
		SendToAll(sBotName, "Fehler <---> nicht gefunden "..sJumbleWordsFile);
		return;
	end

	local _, phr = nil, nil;
	local iFileSize = seek(hFile , "end")

	randomseed(clock());

	while(phr == nil) do
		seek(hFile , "set", random(iFileSize)-1);
 		_, phr = read(hFile, "*l", "*l");
	end

	closefile(hFile);

	sActualPhrase = strupper(phr);
	sJumblePhrase = JumblePhrase(sActualPhrase);

	SendToAll(sBotName, "Jumble-Wort: "..sJumblePhrase);

	iTimeCount = 0;
	bGameRunning = 1;
	bGamePaused = nil;
	StopTimer(); StartTimer();
end
...[/size]

This will be more or less functional in 0.326 but not in 0.330 b15+. Im a little regreting that I had no time to check more scripts sooner. I bet that there are even more crazy approaches than using the global scope for execution of ptokax api calls...

Another difference is in the user.sMyInfoString. While versions prior to 0.330 b15 are not including the trialing pipe in the sMyInfoString the 0.330 b15+ versions do.

try this simple logger in several ptokax versions and compare the logged output:

[size=2]function Main()
	f = openfile("log.txt", "a+")
end

function OnExit()
	closefile(f)
end

function DataArrival(user, data)
	write(f, data.."\n")
end

function NewUserConnected(user)
	write(f, "sMyInfoString: "..user.sMyInfoString)
end

function OpConnected(op)
	NewUserConnected(op)
end[/size]

Once the script uses strfind() in regular expression mode on sMyInfoString assuming that the pipe is not present, the strfind will return a nil in most cases. Im really sorry for that tiny stupid pipe. Will be fixed in next build (not in the upcomming 15.25).
-ptaczek-

This whole physical universe is a hologram.
[Cosmosis - Contact: The First Step]

xokas

hi there ptaczek :)) how is the work going? evrything fine round there with ya?hope so...
ya said: Im releasing fix in few minutes.

that is a fix for the "latest" 0.330?or is it a official one is coming out?


sorry to bother ya cause ya short with time.

c h i l l a

scripts restart works perfect :)

ptaczek

QuoteOriginally posted by xokas
hi there ptaczek :)) how is the work going? evrything fine round there with ya?hope so...
ya said: Im releasing fix in few minutes.

that is a fix for the "latest" 0.330?or is it a official one is coming out?


sorry to bother ya cause ya short with time.

Everything's going fine, just the time is running too fast :)
The fix was for the beta team :)
-ptaczek-

This whole physical universe is a hologram.
[Cosmosis - Contact: The First Step]

Dyzan

To bad theres bugs left in the script manager. Hope you fix the memmory problem soon.  :rolleyes:

You do a great work!

/Dyzan
//Dyzan @ Swenorth
Download: NXS-3.v.3.9a
Creator of NXS-3: NightLitch

Hades

Right bug with restart fixed totally in 330 b 15,25 however i still think there is something wrong with this version.
I noticed it rejects a lot of users at connection will investigate line codes and paste it here to solve a problem.

toolmanwill

QuoteOriginally posted by Hades
I noticed it rejects a lot of users at connection


yeah thats my main problem now besides channelbot not working like its supposed to
http://toolmanwill.com
       -= The Bootleg Network =-
---------toolmanwill.myftp.org--------- Bootleg live music
------toolmanwill.myftp.org:420------ lossless only music
-----toolmanwill.myftp.org:8000----- Bootleg Network Radio

Hades

#587
line code messages from ptokax 0.3.3.0 debug 15.25:
in WinXP Pro:

[20:23] PAVLI (193.77.141.151) > $Version 1,0091|
[20:23] PAVLI (193.77.141.151) > $GetNickList|
[20:23] PAVLI (193.77.141.151) > $MyINFO $ALL PAVLI <++ V:0.304,M:A,H:16/0/0,S:14,O:9>$ $DSL$PAVLI.PUMPAS@SIOL.NET$8945645525$|
[20:23] x User removed: PAVLI (Socket 1000)

why?

[20:26] - User has closed the connection: DonTraba
[20:26] x User removed: DonTraba (Socket 1000)

another example

[20:26] [10Mbit]sneez (194.236.117.148) > $Version 1,0091|
[20:26] [10Mbit]sneez (194.236.117.148) > $GetNickList|
[20:26] [10Mbit]sneez (194.236.117.148) > $MyINFO $ALL [10Mbit]sneez <++ V:0.305,M:P,H:20/0/0,S:3>$ $LAN(T3)$snez_756@hotmail.com$37869126551$|
[20:26] x User removed: [10Mbit]sneez (Socket 576)

And so on:
Mainly ptoka disconets users if they break someones download?
And what about other 2 examples poster upthere
????No support for dc++ 300 and up???

plop

QuoteOriginally posted by Hades
lAnd what about other 2 examples poster upthere
????No support for dc++ 300 and up???
the moment i type this i'm in your hub with dc++ 0.305.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Hades

Consider yourself very lucky!!
Look at my post b4 i pasted some of ejects there and all are dc++ 300 and up and i got no min slots as for now still rejects many users at connection:((

TiMeTrAVelleR

I have no errors scripts load wel  but is it me or seems like it runs heavy  not as smooth
whit beta 18  there was less lag whit same amount of users

xokas

ahh. sorry for putting my nose where its not my business, glad to hear evrthing going's fine :)))
let's wait for TD 0.330 :))) keep up the good ptaczek and all the people behind this great and awesome project

[ES]latinmusic

QuoteOriginally posted by ptaczek
This will be more or less functional in 0.326 but not in 0.330 b15+. Im a little regreting that I had no time to check more scripts sooner. I bet that there are even more crazy approaches than using the global scope for execution of ptokax api calls...
You probably have change the way for load several scripts, not an standalone one, i have currently experimenting a few conflicts with new user connected function, that problems was not present before and i'm not totally sure that the problem is a bug, perhpas all remain in you have change the way you load the scripts now, in that case we will need a comment of how we can do for this case. All this comments belongs to a previous beta build and the problem is not present in the last official release. I need more time, i have not installed the last build yet because very busy days, probably this sunday i will test the problem with last beta, if still present i will send you 2 scripts and a complete description about the problem for you to check.

SonYa

Can some be nice and inform me what is enable web server 80 all about in ptokax 330?
?skYnet? Hub
sky-net.sytes.net
CHICAGO IL.
    USA

plop

QuoteOriginally posted by SonYa
Can some be nice and inform me what is enable web server 80 all about in ptokax 330?
enable it and open a web browser, next you open http://
you'll see some nice hubstats, but you gotta have the html files from 0.3.2.6 in the ptokax folder.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

ptaczek

Hi, I've got one report that 15.25 has (again) some troubles around 1800 users. Any experiences like that?
-ptaczek-

This whole physical universe is a hologram.
[Cosmosis - Contact: The First Step]

toolmanwill

so far so good for me ptaczek!! this version rocks compared to otherz!! all my scripts r working fine so far, all my users are connecting no problem!! so far no error messages :)

current scripts in use with no probs: channelbot4.3c, leechblocker2.0, punch, random_into_outro, russian roulette, stab, webuserregistration, the cleaner, ascIIartbot, jumble, recordbot, 8-ball, and weirdnicksparty.
all this and only 5000 Kb of memory!!
way to go!! :)


Will
http://toolmanwill.com
       -= The Bootleg Network =-
---------toolmanwill.myftp.org--------- Bootleg live music
------toolmanwill.myftp.org:420------ lossless only music
-----toolmanwill.myftp.org:8000----- Bootleg Network Radio

Zigurds

1400 users, no problems, all scripts work: SecurityAdmin666 +, Logger-V.2.74, Dirtybot1332, SlotChekers, Userinfo, IPbot, KickBot, AntiSpam, VIPChats, Opwar protection
5000 kb memory,  processor load 6%
pro tempore well


-----------------------
Latvian hub ALFA
Create 12/12/2001
Network Hubs
alfa.hub.lv - owner zigurds
omega.hub.lv - owner edmunds
gamma.hub.lv - owner piglja
http://www.hub.lv

plop

don't know how yet, but all the scripts stopped working on odin's hub (18.25).
!restartscripts didn't help and !restart worked half.
the hub closed like expected but failed 2 startup again.
snif snif hub down.
can some1 pls wake up odin. lol

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

pHaTTy

Memory problem in 18.25 if tempban.dat is pretty full up, ptokax overflows and fks up...i just been crashed 3 times off px, not realising, as soon as deleted the tempban.dat is was fine, i think you need it to startup and do events first b4 trying to load the tempban.dat

l8rr
Resistance is futile!

SMF spam blocked by CleanTalk