You last visited: Today at 05:46
Advertisement
[RELEASE] Server time in game.
Discussion on [RELEASE] Server time in game. within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.
08/31/2014, 22:13
#1
elite*gold: 20
Join Date: Mar 2008
Posts: 1,548
Received Thanks: 817
[RELEASE] Server time in game.
Since there is no easy command to know what server time it is
i made a script, that shows what time it is on the server
(only the 00:00, :15, :30, :45) if needed to add every minute, we need like 1200 rows...
this one already has 217 rows..
id it starts 70 000
id it ends 70 216
example of code used
Code:
INSERT INTO `cq_action` VALUES ('70209', '70213', '70210', '0123', '5', '00 14');
INSERT INTO `cq_action` VALUES ('70210', '70214', '70211', '0123', '5', '15 29');
INSERT INTO `cq_action` VALUES ('70211', '70215', '70212', '0123', '5', '30 44');
INSERT INTO `cq_action` VALUES ('70212', '70216', '0000', '0123', '5', '45 59');
INSERT INTO `cq_action` VALUES ('70213', '0000', '0000', '1010', '2007', 'Current servertime: 23:00');
INSERT INTO `cq_action` VALUES ('70214', '0000', '0000', '1010', '2007', 'Current servertime: 23:15');
INSERT INTO `cq_action` VALUES ('70215', '0000', '0000', '1010', '2007', 'Current servertime: 23:30');
INSERT INTO `cq_action` VALUES ('70216', '0000', '0000', '1010', '2007', 'Current servertime: 23:45');
you can add this to your login codes (start from 1000000) to see each time you log in, what time it is.
or bind it to an item, do whatever you think is best for it.
extern download link:
Attached Files
servertimescript.rar
(1.8 KB, 109 views)
08/31/2014, 22:51
#2
elite*gold: 0
Join Date: Oct 2009
Posts: 1,208
Received Thanks: 926
There are far easier ways then adding 1200 lines to your database. They can easily just edit their GUI.ini and create a page that contains a clock from any of the free clock sites out there. That way they have an actual server time.
09/01/2014, 05:42
#3
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Gezz to think im simply doing a simple statement in my login handling....
Code:
DateTime.Now.ToString("h:mm:ss tt")
as for the GUI clock idea... no eurion! dont go suggesting that!
We will end up with servers with media players spammed on the screen or something!
09/01/2014, 12:32
#4
elite*gold: 0
Join Date: Oct 2009
Posts: 1,208
Received Thanks: 926
There are servers like that already lol, I was only saying on of the many ways to get it done besides adding more entries to the database.
09/01/2014, 13:30
#5
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by
Eurion
There are servers like that already lol, I was only saying on of the many ways to get it done besides adding more entries to the database.
oh no! what is this world coming to!
09/01/2014, 17:24
#6
elite*gold: 20
Join Date: Mar 2008
Posts: 1,548
Received Thanks: 817
it seems that if we display the time (when you click play.exe) and on the site aint enough for some players ... thats why i added it into the game.
09/18/2014, 15:07
#7
elite*gold: 0
Join Date: Sep 2014
Posts: 8
Received Thanks: 0
know how to change this ingame notice? check my attachment
Attached Images
Untitled.jpg
(60.4 KB, 85 views)
09/18/2014, 15:47
#8
elite*gold: 20
Join Date: Mar 2008
Posts: 1,548
Received Thanks: 817
Quote:
Originally Posted by
rowdy2014
know how to change this ingame notice? check my attachment
Yes and no.
from here i cannot say what ID it is, to remove it..
but i can help you.
your problem is able to find in cq_action.
press CTRL+F and
retype the first message, and you will find the good id, i guess.
Code:
try to find
1.Knight round table has been fixed.
or
1.Knigh~round~table~has~been~fixed.
09/19/2014, 06:10
#9
elite*gold: 0
Join Date: Sep 2014
Posts: 8
Received Thanks: 0
thanks , but i cant find those words at cq_action table . .
All times are GMT +1. The time now is 05:47 .