Search found 113 matches

by McSteve
Tue Apr 01, 2008 8:10 pm
Forum: ET Server Admins
Topic: Problem with server.
Replies: 16
Views: 58221

Re: Problem with server.

I can't seem to get rid of the +map oasis. I'm not sure what you mean by this, usually server providers either give customers access to the startup line in some way, or they dont. I'm wondering if you have one of those web interfaces that does not allow direct access to the startup line but instead...
by McSteve
Mon Mar 31, 2008 12:26 pm
Forum: ET Modding
Topic: lua end map
Replies: 18
Views: 61653

To be fair to Gotenks, its not immediately obvious what is going on without carefully scrutinising all the code in this thread. Also if you are using timelimit 1 to end the map, then tbh you should be using: if time1 ~= 1 then et.trap_SendServerCommand(cno, "cpm \"^1You can vote on...
by McSteve
Fri Mar 28, 2008 6:28 am
Forum: ET Modding
Topic: cancel vote at the end of rounds!
Replies: 14
Views: 22203

Agreed, Dutchmeat is right. "cancel_time" is not initialised until gamestate is changed to 'playing', hence will be nil during warmup giving that error message.

Well spotted.
by McSteve
Sat Mar 22, 2008 11:16 am
Forum: ET Modding
Topic: battery .script
Replies: 14
Views: 35471

Only if you do it yourself to be honest. Map-scripting is a bit fiddly, and spawn-points can be a right pain in the ass (I thought so anyway). Unless one of the veterans is feeling a bit bored, you may not get any takers.
by McSteve
Sat Mar 22, 2008 5:20 am
Forum: ET Modding
Topic: cancel vote at the end of rounds!
Replies: 14
Views: 22203

That function is in et_initgame so that the level start time is captured. Put it in runframe and cancel_time will be continuously changed (and the script wont work). I used the gamestate check to capture the level start time when the round starts, rather than when warmup begins.
by McSteve
Sat Mar 22, 2008 5:16 am
Forum: ET Modding
Topic: et player hacking server
Replies: 11
Views: 24359

so now how do i get him detect /model/ and kick client I see your reasons for wanting to do so, but that's really not the best thing to do if there is a new version of q3fill and combinedfixes.lua is not effective. Its not 100% clear if this is the case or not. It might be useful if crazyfrag and j...
by McSteve
Thu Mar 20, 2008 1:46 pm
Forum: ET Modding
Topic: cancel vote at the end of rounds!
Replies: 14
Views: 22203

In Lua, the start time can be defined in et_initgame (GAME_INIT), which is what I did in the example above. I used et.trap_Milliseconds in the way GAME_RUN_FRAME would be used. If you want the config vote to be cancelled after 10 mins of any map then it makes things a little simpler. In my example, ...
by McSteve
Wed Mar 19, 2008 1:14 pm
Forum: ET Modding
Topic: cancel vote at the end of rounds!
Replies: 14
Views: 22203

Hmm, I went to debug it and then realised that voting is not allowed during the intermission anyway. Oops. (the script does work as intended though, so its not all bad). I'm not sure exactly what you want the script to do. Do you want to prevent config votes when the game is still in progress and th...
by McSteve
Wed Mar 19, 2008 10:05 am
Forum: ET Modding
Topic: cancel vote at the end of rounds!
Replies: 14
Views: 22203

I dont have a server up atm so this is a bit of guesswork. The gamestate cvar might be easier to use than a timelimit calculation. I would suggest something like this: function et_ClientCommand( cno, cmd ) local gamestate = tonumber(et.trap_Cvar_Get( "gamestate&q...
by McSteve
Sun Mar 09, 2008 7:30 am
Forum: ET Server Admins
Topic: LUA modules do not load
Replies: 1
Views: 5971

Your trickjump config probably isn't setting "lua_allowedmodules", so the value from the 3v3 config is being retained. I know the last cb3.config I looked at made combinedfixes.lua mandatory with: setl lua_modules "combinedfixes.lua" setl lua_allowedmodules "348412AE3BA0535D...
by McSteve
Fri Feb 22, 2008 8:42 am
Forum: ET Modding
Topic: et_ClientCommand can't get cmd "name" ?
Replies: 6
Views: 11192

At a glance, I'm not sure you need "et.Info_RemoveKey" at all. Further, I had a look back at Gotenks' rename function in Powermod (because I've used that before and I know it works). function RenameUser(PlayerID,Name) local userinfo = et.trap_GetUserinfo( PlayerID &...
by McSteve
Thu Feb 21, 2008 1:48 pm
Forum: ET Server Admins
Topic: pb_sv_cvar rate doesnt work
Replies: 4
Views: 7290

1) Certified configs contain a hash/signature at the end for verification. If you change any entry in the config then the hash will not match and the config will show us uncertified when loaded. 2) If you have not done so already, use rcon to check the value of sv_maxrate whilst the server is up. Yo...
by McSteve
Wed Feb 20, 2008 10:42 am
Forum: ET Server Admins
Topic: pb_sv_cvar rate doesnt work
Replies: 4
Views: 7290

PB commands only check for the client's value and kicks if out of range. The plain old "sv_cvar" is the one that forces a client's value to the nearest within the range specified on the server. e.g. sv_cvar rate IN 2500 25000 or if in a .config file use command "sv_cvar rate IN 2500 2...
by McSteve
Fri Feb 08, 2008 7:14 am
Forum: ET Modding
Topic: noweaopons.lua
Replies: 4
Views: 5870

Easiest way to allow for the voting of lua_modules is by having configs load them. They require a map restart to load anyway, so it seems sensible.
by McSteve
Fri Feb 08, 2008 6:58 am
Forum: ET Modding
Topic: noweaopons.lua
Replies: 4
Views: 5870