mIRC Home    About    Download    Register    News    Help

Print Thread
#235349 10/12/11 03:27 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I have been testing some different ways to update ial, but i get lag in any way i have been testing, any good way out there to update ial without the lag? tested to delay it (last attempt) but no luck with that. so someone that have a good example on how to do it, or that can explain how to solve the problem?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #235387 12/12/11 11:11 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
/who # on join is the simplest way.

There will always be a slight lag when there are a lot of users because of the amount of data you need to receive.

hixxy #235388 12/12/11 11:32 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
The problem i got is how to use the who command, if i join 10 channels with 50+ on every channel = 500 users, then i will be laged as h*ll.. smirk that is what i trying to solve, i was asking here like 4 years or so ago about this, but it still lag me if i join to many channels. And i cant solve that..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #235391 13/12/11 12:50 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Your only option is to stagger /who. This, of course, means that you won't have updated IALs on every channel right when you join. From experience, a lot of users disable anything in their script that tries to update IAL on join because of the inherent problems. Rarely is there enough benefit gained in a script's feature to make it worth the hassle.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #235393 13/12/11 05:25 AM
Joined: Oct 2009
Posts: 24
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2009
Posts: 24
You could always join 1, /who # , wait for the raw numeric 315 and then join another and so on until you get them all done.

Scakk #235397 13/12/11 10:27 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Thats how i do it now. And still this cose me to lag a litle to much to be ok..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #235407 14/12/11 10:12 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Then do it on a timer? Ie. five seconds after the last who ends, you start the next one.

sparta #235408 15/12/11 12:24 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
mIRC has a flood protection feature which can be used to queue up your own commands if your connection is under heavy use. I'm not quite sure how this works with queueing your outgoing packets when the heavy usage is coming from inbound data, but you could try this. If it works, you won't have to do anything in your script at all. Flood protection is in Alt+O -> Flood. Just make sure to toggle "Queue: [x] own commands", and you may have to play with the bytes value that triggers the check.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard