Author Topic: Utime -- Show how long your players have been connected this session and total  (Read 538073 times)

0 Members and 3 Guests are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Reset your colors and position by hitting the 'reset' button in the context menu.
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
So everyone that joins has to do that?  Cause everyone on the server said it was messed up for them as well.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
If they've never played before it shouldn't... but perhaps it's a bug the new engine introduced. I'll look into it.
« Last Edit: January 21, 2008, 09:51:57 AM by Megiddo »
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Well i added it yesterday for the first time ever.  Everyone got like 50 errors once they joined the server and the UI for the timer was blank and black.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Attached is my condump of the error Avien is getting, even when I join our server.
A screenshot is also attached that shows an error at the location where the time of day is normally displayed.

[Edit] Oh. Nice. It thumbnails it for me
« Last Edit: January 21, 2008, 04:06:24 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Your condump is weird.  Some of your lines are missing letters, while others are fine.  Strange

Offline blacksythe

  • Newbie
  • *
  • Posts: 38
  • Karma: -1
Im looking to have it dump the times into a txt file so i can retrieve it on a website, or just have them retrieve it on a website using mysql, Im currently learning the lua syntax and would like some help in doing this.

Offline p1cwh0r3

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Only error on client so for for me is "autorun/cl_utime.lua:136: attempt to call method 'GetCursorAimVector' (a nil value)"
This is just on first entering the server. Once reset  (as mentioned) is presse things run fine.

Offline nofear1999

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Utime simply keeps track of session and total time for players and puts an info box in the top right hand side of the screen. Clients can enable/disable the HUD element as well as set their own colors and positions.

Screenshot when not looking a player:


Screenshot when looking at another player (there's a nice sliding animation when it opens/closes too):


Download: http://ulyssesmod.net/archive/Utime/Utime-v1_2.zip

Nice you took it from Mr.P edited changed skin and made it compatable am i right??? anyways i use to use this all the time its awesome you guys should download it

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
for the last time...

This script and our script are completely different. They are not compatable in any way with each other.

Offline Killers2

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Can you make a way to hook into a players total time and session time please?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Can you make a way to hook into a players total time and session time please?

You already can.
Experiencing God's grace one day at a time.

Offline Killers2

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
You already can.
Oh how?
Sorry I am still fairly new to Lua.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
On my Stranded server I join the game and get flooded with this lua error


autorun/cl_utime.lua:136: attempt to call method 'GetCursorAimVector' (a nil value)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Only when you're joining and it doesn't affect anything.
Experiencing God's grace one day at a time.