Jump to content

X-Chat sysinfo script


  • Please log in to reply
25 replies to this topic

#1
Prasys

Prasys

    Cheese Cheese cheese

  • Retired Developers
  • 338 posts
  • Gender:Male
Hey guys,

Remember when the great Spaz created the xChatSysInfo scripts for us all. It worked fine with the OSX 10.4.4 Kernel [8.4.1] , but then with the new OSX 10.4.8 Release by Jas , it messed up everything. It fails to show /macinfo because of somekind of system profiler error .So I had to fix this [I would like to thank DiegoMax here and some folks] and then added some other minor fixes [that includes Quartz 2D Extreme Detection fix] and 'speed' improvement [a little , i dont know what i messed] and it works with x-chat 0.15.2 , and the latest version

ChangeLog
# Version 7 : added PPC compatability
# Version 7.1p : fixes for 10.4.8, other minor fixes, speed improvements - prasys
# Version 7.2j : minor fixes, speed improvements, better CPU detection, better CPU detection,
# added CPU feature detection, added kernel version to OS info, added config
# options, changed /macupdate to use new server. - Joey
# Version 7.2.1 : better support for real Macs, dual core machines, dual processors, etc. also
# fixes a bug for CPUs under 1GHz. - Joey
# Version 7.2.1a : fixes a minor bug in computer detection.
# Version 7.2.1b : fixes more bugs
# Version 7.2.2 : fixes bug that shows 2x CPUs on HTT CPUs, displays "AMD64" instead of "EM64T"
# for 64-bit AMD CPUs, adds configuation options so that users can change what
# gets displayed with /macinfo by default
# Version 7.2.2a : changes text colour from black to "no colour"
# Version 7.2.2b : fixes 7.2.2a
# Version 7.2.2c : fixes 7.2.2 bug on non-HTT CPUs




Installation

Download : http://n-lp.com/~osx/

Installation Instrucitons : Just drop this file to Application --> X-Chat Aqua ----> Plugins . Just drop it there and start x-chat

To 'show-off' your mac in the #chatrooms , simply type /macinfo - Please dont spam. If you have any problems , just hop by to #scripts - irc.macspeak.net

#2
RobNyc

RobNyc

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 496 posts
  • Gender:Male
  • Location:NYC
  • Interests:Living Life, Going Out Places, Dancing, Music, Girls, Computers/Technology/Electronics, Philosop...
Works great

#3
Prasys

Prasys

    Cheese Cheese cheese

  • Retired Developers
  • 338 posts
  • Gender:Male
Thanks RobNYC !.

I am going to add few more CPU Strings to the script to fix detection of CPUs !

#4
Takuro

Takuro

    InsanelyMac Legend

  • Retired
  • 1,162 posts
  • Gender:Male
  • Location:New York
W00t! This works great. Thanks man!

#5
Prasys

Prasys

    Cheese Cheese cheese

  • Retired Developers
  • 338 posts
  • Gender:Male
Updated

I would like to thank Joey

Now it detects if you have a 64-bit processor ! - for OSX 10.4.8 kernels and 64-bit CPUs [AMD64/EM64T]

#6
firejdl

firejdl

    InsanelyMac Protégé

  • Retired
  • 45 posts
  • Gender:Male
  • Location:Rochester, NY
New release, with better support for real macs, a few bug fixes, stripping of ™, ®, 'CPU', etc. from the CPU name/type, fixes for dual processors/dual cores, and a minor fix for CPUs under 1GHz. Grab it here: XInfoAqua.7.2.1.zip

If you already have 7.2j, just use /macupdate!

#7
firejdl

firejdl

    InsanelyMac Protégé

  • Retired
  • 45 posts
  • Gender:Male
  • Location:Rochester, NY
If you downloaded 7.2.1 and are having problems, try 7.2.1a or /macupdate

#8
RobNyc

RobNyc

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 496 posts
  • Gender:Male
  • Location:NYC
  • Interests:Living Life, Going Out Places, Dancing, Music, Girls, Computers/Technology/Electronics, Philosop...
Just get the new one from the irc channel and it keeps updating automatically :)

#9
firejdl

firejdl

    InsanelyMac Protégé

  • Retired
  • 45 posts
  • Gender:Male
  • Location:Rochester, NY
7.2.2, 7.2.2a & 7.2.2b released in the past 24 hours...do a /macupdate

#10
firejdl

firejdl

    InsanelyMac Protégé

  • Retired
  • 45 posts
  • Gender:Male
  • Location:Rochester, NY
...and 7.2.2c.

#11
Prasys

Prasys

    Cheese Cheese cheese

  • Retired Developers
  • 338 posts
  • Gender:Male
Thanks again Joey , lets keep the scripts coming.

#12
firejdl

firejdl

    InsanelyMac Protégé

  • Retired
  • 45 posts
  • Gender:Male
  • Location:Rochester, NY
Version 7.4 is released. Version 7.3 had a limited release, and was basically skipped over. Here's a changelog:

Version 7.3	: fixes battery info for 8.8.1 kernel [10.4.8], adds 'machine' argument, changes
				 RAM output slightly with ideas from GivemHell, fixes typo in /mactunes full as
				 well as changing the output slightly, added video driver detection, added more
				 kernel info, fixed colour output so it looks right in other clients
Version 7.4	: changes PPC detection to the CPU rather than the machine, adds network
				 information, added FSB detection

Grab 7.4 here: http://www.n-lp.com/...nfoAqua.7.4.zip, or do a /macupdate

#13
devDelay

devDelay

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
Thanks for the script. Been testing it out for a few months now. I notice some issues when giving it /macinfo bw This will list all stats instead and combining a command with bw also will not display bw stats. I was looking through the script and saw its using netstat. Is it possible to use netstat to get output of current interface throughput? If not what could be used? Maybe add this option to the next version? Thanks

#14
nick01

nick01

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Hi- I tried this script 7.4 on my ibook G3 300 mhz and I'm rewarded with this:

Traceback (most recent call last):
File "/Users/nick01/Desktop/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 1248, in domacinfo
getinfo(word)
File "/Users/nick01/Desktop/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 586, in getinfo
tempf = float(tempf.strip('.'))
ValueError: empty string for float()

B)

#15
coventryman

coventryman

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
just installed in on x-chat on my mac pro

doesnt pick up the FSB speed correctly

MacPro CPU: Intel Xeon 5150 2.66GHz @ 2.66GHz [SSE3/PAE/XD/EM64T/VMX/EST/DualCore] L2 Cache: 4096K FSB: 333MHz RAM: 328.0MB/1.0GB Virtual: 0.00M/64.00M Disk: 247.94GB/530.34GB Display: ATY,RadeonX1900 [512 MB/CI/QE/Stock] 1680x1050 OS: Mac OS X 10.4.9 (8P2137) Kernel: Darwin 8.9.1 Net: [en0/In: 1.81MB/Out: 229.03KB] U


should be 1333MHz not 333MHz

#16
CuriousMac

CuriousMac

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
[codebox]Traceback (most recent call last):
File "/Applications/X-Chat Aqua/plugins/XInfoAqua.7.4.py", line 1248, in domacinfo
getinfo(word)
File "/Applications/X-Chat Aqua/plugins/XInfoAqua.7.4.py", line 807, in getinfo
line = trim(line[1])
IndexError: list index out of range
* MACINFO :Unknown command.[/codebox]

...is all I get from it.

#17
antst

antst

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 119 posts
This is script is brocken for SSE2 CPUs.
It relies on sysctl paramater which is absent on SSE2 machines.

#18
gu3d3s

gu3d3s

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 441 posts
  • Location:Fort-CE-BR
hi guys,

I have instaled a vs 7.4 but this dont work in 10.4.10 and 9a499, where i can download a new vs of this scrpt?

thx

#19
Mushishi

Mushishi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 408 posts
  • Gender:Male
  • Location:Sveg, Sweden
I was also looking for an newer release of the script.. it the problem is a place to host it then that i can help with but am just getting gray haris of looking in the script to find why it makes the error... What i can findout in the script is when it wants the kernel date or atleast it is on my PowerBook G4 dont know about the new intel macs if it is the same place the error comes...

[codebox][13:31] Traceback (most recent call last):
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 1248, in domacinfo
getinfo(word)
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 782, in getinfo
kernel = stripit2(temp)
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 1589, in stripit2
temp = trim(temp[1])
IndexError: list index out of range
* macinfo :Unknown command
[/codebox]


That is the error i gets on my G4 when i run the sysinfo script in OSX 10.5 build 529 and it has been the same error up the builds.. From the first build, but at that time i was able to paas it if i just took the and run the script with out the kernel info...

And for help with hosting then PM my and i will make an place on my server.

#20
marquerodin

marquerodin

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hiya, new to the forum, not new to the mac. I own a MacBook and use xchat aqua.. I'd like to check out and use this script... would someone show me an actively working link to download it please?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy