PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Madman on 07 March, 2004, 09:09:13

Title: bot showing connection....
Post by: Madman on 07 March, 2004, 09:09:13
Hi!

I need some help with my bots.
Since i got 4-5 bots, i named them all Destruction
The problem is that one of the bot scripts says that its using a Lan(T1) conection. well it?s no problem....
but it is annoying me, So i want to know,
if anyone has any ide what to look for in the scripts
to remove the connection info about the bot....

Sorry about any spelling misstakes.
I am swedish and havent sleept to night....
It is 9 o?clock in the morning.....
I am startting to get tierd....
Title:
Post by: pHaTTy on 07 March, 2004, 09:44:08
QuoteOriginally posted by madman
Hi!

I need some help with my bots.
Since i got 4-5 bots, i named them all Destruction
The problem is that one of the bot scripts says that its using a Lan(T1) conection. well it?s no problem....
but it is annoying me, So i want to know,
if anyone has any ide what to look for in the scripts
to remove the connection info about the bot....

Sorry about any spelling misstakes.
I am swedish and havent sleept to night....
It is 9 o?clock in the morning.....
I am startting to get tierd....


lol look for Lan(T1)

then just erase that text, and that text only,

so sumit like

$Lan(T1)$

just remove the t1

$$


later,,
Title:
Post by: Madman on 07 March, 2004, 16:01:50
Damm, i know i shoud sleept tonight...
well any way... i found it, but it is in the robocop
script, and when i changed/deleted the Lan(T1) or
repleced it with DSL. The Script did not work,
So does anyone, have any ide of where in the
Robocop program you change what speed the
bot is using...I cant find it....It can have to do something
about i havent sleept yet or that i am blind :P
Title:
Post by: ??????Hawk?????? on 09 March, 2004, 01:53:58
try this  




 
 
-- Bot Info  
--??????Hawk??????  09-3-2004
bot = "Destruction"                  --set Bot Name
descr = "Any Description you want"   -- Set Description
gb = 0 * 1024 * 1024                 -- Bot Share ( 0 share )
speed = "Bot"                       -- set speed here
size = 1 * 1024 * gb
email = "Myhub@myhub.com"            -- Set Email addy
info = "$MyINFO $ALL "..bot.." "..descr.."$ $"..speed..strchar( 1 ).."$"..email.."$"..size.."$"

function NewUserConnected(curUser)
  curUser:SendData( info )
end

function OpConnected(curUser)
  curUser:SendData( info )
end

Title:
Post by: Madman on 09 March, 2004, 03:05:16
Nope. Did not work...  The robocop Script is "on top" so i has to change that script. The problem is that the robocop script is not editeble in the lua file. All changes are made in the robocop program... And i cant find any were to change the the bot description.

Here is how a part of the script:
botemail
   Security@Bot       botspeed       LAN(T1)        botdescr "   This hub is Powered by RoboCop? v    botinfostring 

That is all info abot the bot.... Thats why i can edit the robocop script... If i change LAN(T1) to BOT the scripts wont work....

Sorry about any spellings misstakes... i havent sleept tonight...again.....
Title:
Post by: ??????Hawk?????? on 09 March, 2004, 18:32:47
Sorry my mistake.   try this instead.  information sent to all users on user entry





-- Bot Info  
--??????Hawk??????  09-3-2004
bot = "Destruction"                  --set Bot Name
descr = "Any Description you want"   -- Set Description
gb = 0 * 1024 * 1024                 -- Bot Share ( 0 share )
speed = "Bot"                       -- set speed here
size = 1 * 1024 * gb
email = "Myhub@myhub.com"            -- Set Email addy
info = "$MyINFO $ALL "..bot.." "..descr.."$ $"..speed..strchar( 1 ).."$"..email.."$"..size.."$"

function NewUserConnected(curUser)
     SendToAll( info )
end

function OpConnected(curUser)
     SendToAll( info )
end

Title:
Post by: Madman on 10 March, 2004, 11:31:15
No... That did not work either....
Look...
http://destruction.myftp.org/filer/bloody_bot!.jpg

It just wont work... Damit! Its really anoying me....
I dont want to have the Lan(T1) at that stupid bot...
______________________
Madman was here....
Title:
Post by: ??????Hawk?????? on 10 March, 2004, 18:47:37
hmmm  it works for me.

Quoteinformation sent to all users on user entry

it dosnt show it immediately but will change as soon as a user logs in after you..

log in to my hub to see it workin.  
Title:
Post by: Madman on 10 March, 2004, 19:21:44
Yes. I saw it was working on your hub. But it wont work in my. no idea why... But the what hell.....

If U cant fix the problem ignore it.
A wise man saide... =)
Title:
Post by: ??????Hawk?????? on 12 March, 2004, 17:53:53
hi madman

did you manage to sort it out ???...

if not pm me your hub addy
Title:
Post by: bastya_elvtars on 28 May, 2004, 03:01:32
Hawk this script is AWESOME!!!! Thx! ;)