Ulysses Stuff > Ulysses Release Archives

UMaps - change map at specified time

<< < (3/8) > >>

timbishop:
I installed UMaps 1.11 on my dedicated server, I set the map change minutes in UMaps.txt to 10,
and waited well over 20 minutes in-game for some sort of prompt. Nothing at all happens.

Also, when I type umaps_show in the client console, this is what follows:

] umaps_show
Unknown command: _umaps_chatprint
**********************************************************
ERROR: Hook 'UMaps.Paint' Failed: UMaps/cl_init.lua:9: attempt to perform arithmetic on local 's' (a nil value)
Removing Hook 'UMaps.Paint'
**********************************************************

I'm absolutely sure I have installed both UMaps and ULib correctly, since ULX works flawlessly.

spbogie:
Based on those I can tell that the script is not running properly on the server. Please check your dedicated server console for errors. It will most likely be as it is loaded (right after ULX).

timbishop:
OK,
I have been using the GUI that comes with Armpit's dedicated server installer, out of laziness.
The GUI console hides all the crap when you first start the server, so I never thought to check.

The error is:

[LS Error: UMaps] Invalid hour in time 6:00.[ULIB] Loading module: Umotd_init.lua


My UMaps.txt is as follows:

"Out"
{
"alertlength""300"
"timemode""r"
"time"
{
"1""6:00"
"2""18:00"
}
"MapList"
{
"1"
"freespace06_v2night"
"2"
"freespace06_v2-1"
}
}


It gives me "invalid hour" even if I use different variations such as 06:00 or 12:00.

Appreciate the help.

spbogie:
I'll look into that as much as I can now, but I can't do any testing on it untill this weekend (No GMod capable PC). I see the error resides in the real time timemode time parsing, and just now realized that I'm not sure I ever really tested that, Oops. I'll check the code right now and get back to you asap.

cold12141:
Would it be possible to make it so only admins can extend the timeleft?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version