collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: useing whois Alot more than needed  (Read 10267 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
useing whois Alot more than needed
« on: August 03, 2007, 04:41:03 am »
i did a !online
and useing the Statistics module with a few modification to give more details
i got this
Quote
Leetboss2 [2007-08-03 02:36:11]   [GROUP]   [MSG]   [Leet] Janevona: !online
Total Count for Whois || Lookup ||  || Atillafex3 : 23741
Count: 1
Total Count for Whois || Lookup ||  || Atillafex : 23742
Count: 1
Total Count for Whois || Lookup ||  || Atillafex2 : 23743
Count: 1
Total Count for Whois || Lookup ||  || Atillafex4 : 23744
Count: 1
Total Count for Whois || Lookup ||  || Atillafex5 : 23745
Count: 1
Total Count for Whois || Lookup ||  || Atillafex6 : 23746
Count: 1
Total Count for Whois || Lookup ||  || Atillamule2 : 23747
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox10 : 23748
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox2 : 23749
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox3 : 23750
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox4 : 23751
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox5 : 23752
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox6 : 23753
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox8 : 23754
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox9 : 23755
Count: 1
Total Count for Whois || Lookup ||  || Atillatus : 23756
Count: 1
Total Count for Whois || Lookup ||  || Hireclaim : 23757
Count: 1
Total Count for Whois || Lookup ||  || Atillafex3 : 23758
Count: 1
Total Count for Whois || Lookup ||  || Atillafex : 23759
Count: 1
Total Count for Whois || Lookup ||  || Atillafex2 : 23760
Count: 1
Total Count for Whois || Lookup ||  || Atillafex4 : 23761
Count: 1
Total Count for Whois || Lookup ||  || Atillafex5 : 23762
Count: 1
Total Count for Whois || Lookup ||  || Atillafex6 : 23763
Count: 1
Total Count for Whois || Lookup ||  || Atillamule2 : 23764
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox10 : 23765
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox2 : 23766
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox3 : 23767
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox4 : 23768
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox5 : 23769
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox6 : 23770
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox8 : 23771
Count: 1
Total Count for Whois || Lookup ||  || Atillatrox9 : 23772
Count: 1
Total Count for Whois || Lookup ||  || Atillatus : 23773
Count: 1
Total Count for Whois || Lookup ||  || Hireclaim : 23774
Count: 1
Total Count for Whois || Lookup ||  || Hiker : 23775
Count: 1
Total Count for Whois || Lookup ||  || Snuskepews : 23776
Count: 1
Total Count for Whois || Lookup ||  || Phyzzedout : 23777
Count: 1
Total Count for Whois || Lookup ||  || Drainroots : 23778
Count: 1
Total Count for Whois || Lookup ||  || Hackedout : 23779
Count: 1
Total Count for Whois || Lookup ||  || Nukedout : 23780
Count: 1
Total Count for Whois || Lookup ||  || Tankedout : 23781
Count: 1
Total Count for Whois || Lookup ||  || Techedout : 23782
Count: 1
Leetboss2 [2007-08-03 02:36:11]   [GROUP]   [MSG]   [Leet] Leetboss2: 5 members online in Guild. 0 members in Privategroup. :: [link]click to view[/link]
There is only 5 members online
yes the alts info is there but its a link and the name of there main
i think the reason for all the whois is because of Checking all Alts for Security Level
Im sure you can come up with something better :D

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: useing whois Alot more than needed
« Reply #1 on: August 03, 2007, 04:43:54 am »
Altho is apears to do it x2 for each alt

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: useing whois Alot more than needed
« Reply #2 on: August 03, 2007, 04:45:53 am »
Not sure why it does it twice .. might be somthing else too
but for the security level
maybe u should cache it / add it the the online table

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: useing whois Alot more than needed
« Reply #3 on: August 03, 2007, 04:58:24 am »
Then again after thinking more , its a whois check x2 on all alts when not needed...
the security level isnt in whois its in user...
why so many ?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: useing whois Alot more than needed
« Reply #4 on: August 03, 2007, 10:58:16 am »
Whois lookups are cached for some time in the whois core module to save table lookups, so it looks worse then it actually is.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: useing whois Alot more than needed
« Reply #5 on: August 03, 2007, 02:20:27 pm »
i just find it odd that its doing a whois lookup for each alt twice
when no alt whois info is used in the online screen

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: useing whois Alot more than needed
« Reply #6 on: August 05, 2007, 07:35:22 pm »
Flexible security does a whois lookup, though it should do that only once and cache the results afterwards for some time.

Anyways, added some more caching to the security module, it should only query each player's alts once for some time. Next time it'll use the cached information.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 271
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal