PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Pedro on 21 January, 2004, 11:35:23

Title: help with mean machine
Post by: Pedro on 21 January, 2004, 11:35:23
hi guys, I am using mean machine v1.9.28.1.

when min share or min slots minsph maxhubs and share size is not  met users get disconnected.

can anyone help me change the script so that it will redirect instead. I put in a couple of scripts to do this for me but seems to be hungry on resources.

when hub run by itself with no additional scripts all was gr8.

I would appreciate any help given. I dont want to go back to dchub software again.

thnx
Title:
Post by: plop on 21 January, 2004, 14:32:13
QuoteOriginally posted by Pedro
hi guys, I am using mean machine v1.9.28.1.

when min share or min slots minsph maxhubs and share size is not  met users get disconnected.

can anyone help me change the script so that it will redirect instead. I put in a couple of scripts to do this for me but seems to be hungry on resources.

when hub run by itself with no additional scripts all was gr8.

I would appreciate any help given. I dont want to go back to dchub software again.

thnx
search for lines like this:user:Disconnect()and replace them for this:user:SendData(" You are being redirected ... |$ForceMove "..frmHub:GetRedirectAddress().."|")plop
Title:
Post by: ????L?F?? on 21 January, 2004, 15:24:00
simple enough for ya ;-)

note you must seperate text with protocol with a '|' other wise it wont work
Title:
Post by: Pedro on 22 January, 2004, 05:17:32
you guys are just the best...

I can only but give you my thanx that you give up your time to help people like me..


HAPPY DAYS