sysinfo widget2gadget plz?

sysinfo widget2gadget plz?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

sysinfo widget2gadget plz?

Post by Floris »

The attached widget gathers system info from the users infolog. (OS, CPU, RAM, GPU gpuRAM and display/screen info)

If somebody could make this into a gadget that stores each players system info and making it availible to widgets via api it would be usefull. I mainly wanted advplayerlist to show this info via a tooltip, but I imagine other widgets could find out if sysem has intel gfx for example. (It wont always show all info on 'exotic' systems, i tested with various infologs)

I'm just too bad at gadget synced stuff and cant be bothered to do it. So here it is....
Attachments
gui_systeminfo.lua
(3.15 KiB) Downloaded 14 times
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: sysinfo widget2gadget plz?

Post by Silentwings »

Why do you want a gadget?

Looks like all you're asking for is WG e.g. http://imolarpg.dyndns.org/trac/balates ... e.lua#L132, http://imolarpg.dyndns.org/trac/balates ... e.lua#L499
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: sysinfo widget2gadget plz?

Post by gajop »

Using a gadget could allow you to share this information to other players and even use it in synced. Do you really need that though?
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: sysinfo widget2gadget plz?

Post by Floris »

Yes, main reason was to share some of this info to other players. Its just neat to see who has what cpu and maybe even help out players, knowing a bit of their situation.
Post Reply

Return to “Lua Scripts”