Ulysses Stuff > Suggestions

Checking logs ingame

<< < (3/3)

MrPresident:
Unfortunately all of the official developers of ULX/ULib have things that fall much higher on their priority list than new content updates (things other than bug/garry fixes).

Some of the more experienced unofficial developers (dare I classify myself into that category) have other priorities as well.

Though, if it makes you feel better, I have been giving thought to how I would go about doing this should I choose to take it up.

Megiddo:

--- Quote from: MrPresident on June 03, 2013, 07:25:39 AM ---Some of the more experienced unofficial developers (dare I classify myself into that category)

--- End quote ---

I would certainly classify you as an experienced developer. :)

Jimmy Mann:
Ok thanks guys

LuaTenshi:
Recently a new topic about this was created, he was told to re-post it on his original thread. I decided to help him out and just quote it here...

--- Quote from: Jimmy Mann on August 17, 2013, 09:44:11 PM ---Hey guys im here to bring back the in-game log checking here are some photos and a command could be !logs
Please look at these pictures and see if you can make it :D
http://imgur.com/a/mwyY7

--- End quote ---


I think a nice way to manage the data would be to load it in chunks and then provide a simple load more button. That way it would reduce the lag that would be caused by sending too much data to a client.


Also if I may suggest some alternatives...

1. Download the files using FTP and then viewing them in a program such as Notepad++ (It has a very decent search feature that allows you to search in multiple files and display all the items that where found in a separate window.)

2. Create a webpage where one could see the log files, then you could simple use the method below to show them in game...


--- Code: ----- Taken from wiki.garrysmod.com/page/VGUI/Elements/HTML
HTMLTest = vgui.Create( "HTML" )
HTMLTest:SetPos( 50,50 )
HTMLTest:SetSize( ScrW() - 100, ScrH() - 100 )
HTMLTest:OpenURL( "wiki.garrysmod.com" )

--- End code ---

Also as the description for DHTML* implies you can do an extra Lua check to see if the "requester" is an admin or not.

* "VGUI HTML Panel using Awesomium. Capable of running Lua input from the webpage"

Wully616:

--- Quote from: HeLLFox_15 on August 18, 2013, 09:11:57 AM ---Recently a new topic about this was created, he was told to re-post it on his original thread. I decided to help him out and just quote it here...

I think a nice way to manage the data would be to load it in chunks and then provide a simple load more button. That way it would reduce the lag that would be caused by sending too much data to a client.


Also if I may suggest some alternatives...

1. Download the files using FTP and then viewing them in a program such as Notepad++ (It has a very decent search feature that allows you to search in multiple files and display all the items that where found in a separate window.)

2. Create a webpage where one could see the log files, then you could simple use the method below to show them in game...


--- Code: ----- Taken from wiki.garrysmod.com/page/VGUI/Elements/HTML
HTMLTest = vgui.Create( "HTML" )
HTMLTest:SetPos( 50,50 )
HTMLTest:SetSize( ScrW() - 100, ScrH() - 100 )
HTMLTest:OpenURL( "wiki.garrysmod.com" )

--- End code ---

Also as the description for DHTML* implies you can do an extra Lua check to see if the "requester" is an admin or not.

* "VGUI HTML Panel using Awesomium. Capable of running Lua input from the webpage"

--- End quote ---

I actually have the webbased side of this working on my website:

http://wullysgamers.co.uk/players/

It downloads the last three logs on the server to the web server once a day and they can be viewed in the logs section.

My only issue was I could never find out how to stream the present days log, I was thinking about trying to do it through rcon like how clients such as HLSW do it, but I'm not sure how to do it through PHP.

Navigation

[0] Message Index

[*] Previous page

Go to full version