- RoboCop v4.0 - Testdrive 3 or Higher! - Page 33
 

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

- RoboCop v4.0 - Testdrive 3 or Higher!

Started by Optimus, 12 October, 2003, 23:07:26

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

civil

sorry m8  :(  ,i tried double login script on my computer it doesn't work.the user i double loginned i tried even registered or not registered nothing happens.the second user enters the hub freely and no logs no response from the script.

Optimus

Your right civil here is the -UPDATE-

Ok here the Double-Login script!!!

EDIT: this is a bugg Fix must be ok now!!!

(To have it work correctly you have to Install the script and stop/start the hub. This is so the script can collect the IPs that are in the Hub to compare with new connecting users!)

- DOWNLOAD HERE -

L8trs Opti ;)

civil

wonderfull idea wonderfull work m8. 8) it's working now and if i'm an op in the hub and try to reconnect to hub with another user nothing happens,but if i'm not an op in the hub and try te connect as a second user then the script blocks. very cool .thanks  optimus prime :D

[NL]trucker

Optimus

thnx  testing the script now :-)
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


sander815

i just started using robocop 6.0d, but theres a problem. Users get banned, but when i do !getbanlist, or !clrtempban etc. nothing happens. I can't see banned ips/nicks, i cant clear temp/perm bans

when i do !clrtempban notjing happens, the bans are still in ptokax

sander815

hmm, thats odd, the commands don't work in PM to bot
if i do them in mainchat they do work...

Cyberia


Ricky12

Im not sure why it was changed but why did you guys go back to the old !mass? We used to be able to do !massVIP or !massop and now we cant. I liked it because there is some stuff i only want ops to know about not the whole hub if you know what i mean. ?(
===========H=U=B==I=N=F=O=============
?Hub Owner:     Ricky12
?Hub Name:      >>>??Ricky12\'s T?@M?T??? Hub??<<<
?Hub Address:   Ricky12.no-ip.info or Ricky12.dyndns.org
?Web Address:  http://teamsters.no-ip.com/tmsts/index.php
=====================================

civil

#808
ricky optimus told about it before ,he said :
QuoteWell there was a bugg in it after a while it sends the message 2 times instead of 1.
After 3 times Fixing the problem was still there. hehe me got sick of it and removed it. Cause it had tobe stable...

for this u can use opchat in ptokax i think 8)

Nada@WTB

Quotehmm, thats odd, the commands don't work in PM to bot



that is because those commands are Ptokax commands and not RoboCop commands
Welcome Thieving Bastards
PtokaX 0.4.1.1
Leviathan v.4.1
ApexDC++ 1.2.1
Windows 7 Ultimate

[NL]trucker

Optimus

i got this error in robocop 6.0d
have no idear how and why it is triggered.

Syntax error: table index is nil
stack traceback:
   1:  function `DataArrival' at line 676 [file `Robocop\RoboCopv6.0d.lua']

can you tll me how to fix it?
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


bsalsa

i run 2 scripts only shatbot +robocop6d
i got thison ptokax
:  No syntax errors in script file C:\//www.no-ip.com\scripts\ChatRoom.lua
No syntax errors in script file C:\//www.no-ip.com\scripts\RoboCopv6.0d.lua
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil
Syntax Error: attempt to compare number with nil...




what is that????????????????????????

a litle help is needed

Cyberia

mmm, not good bsalka, lol :)
Maybe Optimus can explain it

Optimus

Quotei run 2 scripts only shatbot +robocop6d
i got thison ptokax
: No syntax errors in script file C:\//www.no-ip.com\scripts\ChatRoom.lua
No syntax errors in script file C:\//www.no-ip.com\scripts\RoboCopv6.0d.lua

Remove ChatRoom and try again please
QuoteSyntax error: table index is nil
stack traceback:
1: function `DataArrival' at line 676 [file `Robocop\RoboCopv6.0d.lua']

Hi Trucker haven't checked it gone do it tomorow maybe tonight!

bsalsa

i removed the scripts and still the same :
(copy from ptokax

 No syntax errors in script file C:\//www.no-ip.com\scripts\RoboCopv6.0d.lua
Syntax Error: attempt to compare number with nil

[NL]trucker

Optimus

oke will wait and see as far as i can see it generates the error but nothing to serious is happening so let me know when ever you ready.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


[NL]trucker

Bsalsa

hmm i dont think he can do anything with such info

copy the info from scripteditor completly

there must be something like this:

Syntax error: table index is nil
stack traceback:
1: function `DataArrival' at line 676 [file `Robocop\RoboCopv6.0d.lua']

so just the line :
Syntax Error: attempt to compare number with nil

doesnt say much can be anything if you have something llike the example i gave you he knows where to look for :-)
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


bsalsa

well i fixed The starnge problem by uninstalling and reinstalling Robocop.
Now all work fine.
3 questions :

1 how do i register tags so only dc++ , oDC , Dc pro
Will be allowed in the hub .

2 normal user do not get the welcome message .why ?
do i need to give it a new profile in ptotax ( and not "reg" ) ?

3 is it possibe to add the nise script that i add here to the new robocop version (all is working fine in that script ) the porpuse of the script is info first his ip (important to router owners ) and a litlle more nice info.
i dont know the builder of the script so i acan not credit him.

------------------------------------------------------------------------

sBotName = "![welcome]"

frmHub:RegBot(sBotName)



function CountMASTERs()
local tmp, online = GetUsersByProfile(GetProfileName(0)), {n=0}
if tmp then for id = 0, getn(tmp) do if GetItemByName(tmp[id]) then tinsert(online, tmp[id]) end end
end return online.n
end

function CountOPs()
local tmp, online = GetUsersByProfile(GetProfileName(1)), {n=0}
if tmp then for id = 0, getn(tmp) do if GetItemByName(tmp[id]) then tinsert(online, tmp[id]) end end
end return online.n
end


function CountVIPs()
local tmp, online = GetUsersByProfile(GetProfileName(2)), {n=0}
if tmp then for id = 0, getn(tmp) do if GetItemByName(tmp[id]) then tinsert(online, tmp[id]) end end
end return online.n
end

function CountRegs()
local tmp, online = GetUsersByProfile(GetProfileName(3)), {n=0}
if tmp then for id = 0, getn(tmp) do if GetItemByName(tmp[id]) then tinsert(online, tmp[id]) end end
end return online.n
end

function OpConnected(user)
local i,j,share = strfind(user.sMyInfoString, ".+%$(%d+)%$$")
usershare = format("%0.2f", tonumber(share)/(1024*1024*1024))

local tmp
local tmp
tmp = "Welcome to "..frmHub:GetHubName().."\r\n"
tmp = tmp.."\t??? Your Nick: "..user.sName.."\r\n"
tmp = tmp.."\t??? Your IP: "..user.sIP.."\r\n"
tmp = tmp.."\t??? Your share: "..usershare.."GB\r\n"
tmp = tmp.."\t??? Total Friends Online: "..frmHub:GetUsersCount().."\r\n"

user:SendData(sBotName,tmp)
end


--function NewUserConnected(user)
-- local i,j,share = strfind(user.sMyInfoString, ".+%$(%d+)%$$")
-- usershare = format("%0.2f", tonumber(share)/(1024*1024*1024))

function NewUserConnected(user)
i,j,share = strfind(user.sMyInfoString, ".+%$(%d+)$")
-- this if routine is checking so if the share cannot be extracted , shre equals to zero. and
-- prevents nil / 1024 * 1024 * 1024 (which are causing the error)
if share == nil then
share = 0
end
usershare = format("%0.2f", tonumber(share)/(1024*1024*1024))

local tmp
local tmp
tmp = "Welcome to "..frmHub:GetHubName().."\r\n"
tmp = tmp.."\t??? Your Nick: "..user.sName.."\r\n"
tmp = tmp.."\t??? Your IP: "..user.sIP.."\r\n"
tmp = tmp.."\t??? Your share: "..usershare.."GB\r\n"
tmp = tmp.."\t??? Total Friends Online: "..frmHub:GetUsersCount().."\r\n"

user:SendData(sBotName,tmp)
end

--------------------------------------------------
kind regards

sander815

i get an error when some1 logs in:
syntax error: attempt to compare number with nill

whats wrong?

bsalsa

to sander815



i see irs common:

well i fixed The starnge problem by uninstalling and reinstalling Robocop

you are invited to do the same
i did it very clean ,i also d/l a fresh Ptotax and here are the steps:
1. uzpiz ptokax to a place you can work in.
2 unzip robocop into script folder in ptokax folder.
copy registereduser.dat+ permannentban.dat
3 copy txt files to txt files.
4 reconfigure only!! robocop.exe
5 start ptoka in a different adress+ different port.
6 reconfigure ptokax.  stopt ptokax put right address+port
7 close old hub  and move it to another folder.
8 copy new hub to the old place and start the new ptokax.


i hope i did not forget anything.
it works perfect for me in the same problem.
regards

??????Hawk??????

Great work  Optimus   running 6d and having no problems at all..  yet  :))




Heya   ADMIN    any chance of giving this project its own forum.......???

Skippy

How do a get the !tophubbers list longer than 25?

Optimus

QuoteHow do a get the !tophubbers list longer than 25?
At the moment you can't but i will look into it for the next version.

INFO:

There is been some delay with RCv7.0 but not much there are some guys testing it as i speak... They found allready some buggs in the new GUI Interface so me gone fix them first. And there where allready some new requests so me building them in also. Well there will be lost of new buttons haha  :P

l8trs Optimus

lynyrd

hi optimus..
im using 6,0b works perfect
thanks for a outstanding script..it's a killer =)
ps. and it's stainless too ;)

Skippy

ok Optimus

great if you could fix a longer !tophubbers list.

SMF spam blocked by CleanTalk