• Print

Author Topic: Actual time and client execute!  (Read 9 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Actual time and client execute!
« on: November 08, 2006, 03:56:24 pm »
I finally buckled down and made a small server plugin that can get the actual date and time for us, as well as execute commands on clients. The date and time functions pass directly back to lua.

The downside? Well first and foremost, it's a plugin and makes installation more difficult, but the real biggie here is that it only works on dedicated servers.

Still, should be easy enough to put it in ULib and just remove features if it's not on the server.  ;)
« Last Edit: November 08, 2006, 09:17:52 pm by Megiddo »
Experiencing God's grace one day at a time.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Actual time and client execute!
« Reply #1 on: November 08, 2006, 09:24:36 pm »
Here's the output from date and time:

Code: [Select]
] ulib_plugin_gettime ULib.print
22      23      11      Mountain Standard Time
] ulib_plugin_getdate ULib.print
11      8       2006    Wednesday       November
Experiencing God's grace one day at a time.

  • Print