I`m using PtokaX DC Hub 0.3.5.1 with lua 5.02 and i have google bot in my hub...
But when i use !google or search from RC, I`ll get no results and this error message comes to ptokax script editor:
[16:44] Syntax ...gsta.no-ip.biz\scripts\Google.Bot.v.2.02.LUA5-ZD.lua:134: attempt to call field `BeginConnect' (a nil value)
What can cause this, bcuz when i used older ptokax 0.3.4.0 [debug] it worked just fine and my new ptokax also use lua 5.02 scripts... ???
Thanks for advance... :)
the new PtokaX comes in 2 different versions. 1 with LUA 5.0.2 support and 1 with LUA 5.1
Are you sure you're using the right 1 ??
I`m using lua 5.02 version of new ptokax... :-\
You are missing the WSA files is my guess...
http://bluebear.psycho-chihuahua.net/
site's link just updated to --> http://libs.ptokax.ath.cx ;D
and another at http://pxextension.piratez.dk :o
Typhoon?
I also thought first that I`m missing a WSA file, but it can`t be that, because i already had all needed files (checked right away when script stopped working) and i
downloaded files from those links and added files to ptokax folder but it still doesn`t work... ???
And it also gives error in other line too [01:14] Syntax ...gsta.no-ip.biz\scripts\Google.Bot.v.2.02.LUA5-ZD.lua:107: attempt to call field `BeginConnect' (a nil value)
When i try search first time, I`m not getting any results and i get that error...When i search second time with same keyword this comes to mainchat:
*** You've reached your max active sockets of 1. Please wait until your other sockets are closed.
tSockets[sock]={["User"] = user.sName,["Host"]="www.google.com",["Page"]=SrcPg,["Query"]=qry,["Updater"]=false}
WSA.BeginConnect(sock,"www.google.com",80)
It`s that part in google bots code^^^^
I have backup copy from my hub with older ptokax and i tested it and the google worked just fine in there...
I haven`t touched the code or done anything else considering... :-\
Thanks again Y`all... :) :) :)
Quote from: ??']['??l??S on 31 July, 2006, 23:40:22
downloaded files from those links and added files to ptokax folder but it still doesn`t work... ???
I assume with ptokax folder u mean the root folder a.ka. "the folder with the ptokax.exe file"
to get it to work with the files there, find
libinit = loadlib("pxwsa.dll", "_libinit")
and change it to
libinit = loadlib(frmHub:GetPtokaXLocation().."/pxwsa.dll", "_libinit")