mIRC Home    About    Download    Register    News    Help

Print Thread
Update ial #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,.) }
Re: Update ial [Re: sparta] #235387 12/12/11 11:11 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
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.

Re: Update ial [Re: 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,.) }
Re: Update ial [Re: sparta] #235391 13/12/11 12:50 AM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
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
Re: Update ial [Re: Riamus2] #235393 13/12/11 05:25 AM
Joined: Oct 2009
Posts: 24
Scakk Offline
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.

Re: Update ial [Re: 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,.) }
Re: Update ial [Re: sparta] #235407 14/12/11 10:12 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
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.

Re: Update ial [Re: sparta] #235408 15/12/11 12:24 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
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"