Prefix - 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

Prefix

Started by bastya_elvtars, 19 May, 2004, 23:29:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Madman

Yup.. Re install Rc8... It works just fine for me..

btw nice hub :)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

oblivion

Syntax error: bad argument #1 to `strsub' (string expected, got nil)
stack traceback:
   1:  function `strsub' [C]
   2:  function `NewUserConnected' at line 423 [file `Robocop\RoboCopv8.0a.lua']


here i go again ..sorry ..  

this is with everything fresh,, new rc8a,, new ptokax

WTF is causing this
.:::\'][\'  r  ?  ?  ?  ?    :: ][  ?  ?  ?  r  ?  ?  r  ?  \'][\'  ?  ?::::.    



hub address::     oblivion.servebeer.com


the hub

oblivion

hmm this works ok now..with 0.326 Testdrive 4.99
but not with 0.330.b15.25.dbg
.:::\'][\'  r  ?  ?  ?  ?    :: ][  ?  ?  ?  r  ?  ?  r  ?  \'][\'  ?  ?::::.    



hub address::     oblivion.servebeer.com


the hub

plop

@optimus: are you using the info string on line 423 in strsub??

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 <----<<

Optimus

423 --// Check Allowed ISP
424	if CheckISP[user.iProfile]==1 then
425		if (strsub(data,1,7) == "$MyINFO") then
			for key,isp in TableISP do
				if not strfind(strlower(user.sName), strlower(isp),1,1) then
					SendToNick(user.sName, "<" ..sBot.."> Your nick should start with one of the following tags: "..ShowTableISP())
					SendToNick(user.sName, "<" ..sBot.."> Change it and you are welcome back.")
					SendToNick(user.sName, "<" ..sBot.."> Disconnects...")
					user:Disconnect()
					break
				end
			end
		end
	end


Well duno if it's the case but ISP check isn't working like it shows here

if not strfind(strlower(user.sName), strlower(isp),1,1) then

mustbe:

if not strfind(strlower(user.sName), strlower(isp)) then

Further i don't see anything strange

plop

QuoteOriginally posted by Optimus
423 --// Check Allowed ISP
424	if CheckISP[user.iProfile]==1 then
425		if (strsub(data,1,7) == "$MyINFO") then

Further i don't see anything strange
why line 425??
the error has 2 do with strsub and data, the $MyINFO can be emtpy sometimes.
beside that you ain't using the info string for that check so you can drop it.

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 <----<<

Optimus

ok allright i'll remove it. Btw it was there so the message was send on the right moment. I can remember there were disconnects without the message

plop

QuoteOriginally posted by Optimus
ok allright i'll remove it. Btw it was there so the message was send on the right moment. I can remember there were disconnects without the message
i used 2 be suffering from a bug like this on a.i..
the infostring can be missing, the prefix bot seems 2 trigger this by oblivion on your RC.
i hope you don't run into the same prob as me, my fix refuses 2 work on testdrive.

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 <----<<

Optimus

aiii, that sounds bad ;(

SMF spam blocked by CleanTalk