Jump to content

Geo

Members
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Geo

  1. Hello everybody, this topic is to represent the .WAR|Clan. and our silEnT server. .WAR|Clan. The clan/server is active since 2008 and our primary focus within the game is completion of the map objectives. We are a small, strong community and all share a passion for Wolfenstein: Enemy Territory. You can find more information about us by clicking on the links provided in the forums section. .WAR|Server. The basic information about our server is displayed below: IP: 213.108.31.45:27010 Host: YCN-Hosting Server Location: UK, London Slots: 26 Mod: silEnT Mod 0.6.3 Version: ET 3.00 Gametype: Map voting system XP Save: Forever Double Jump: Off PunkBuster: Off Adrenaline: Off Friendly Fire: Off Heavy Weapon Limitations: On (Panzerfaust) Our server is accessible from all ET versions (2.55, 2.56, 2.60, 2.6b) .WAR|Forums. You can visit our forums using this link: http://www.warclan.forumj.net Our rules can be found here: http://warclan.forumj.net/t599-server-forums-rules We hope to see you on the server! http://www.gametracker.com/server_info/213.108.31.45:27010/
  2. Ah okay thanks for the clarification. About the g_logprint, would there be a way to print the GUID of player that uses a console command (say if they did /players for a random example) to the log?
  3. If I was getting player guids like this: function GetPlayerGUID(client) local player_guid = et.Info_ValueForKey(et.trap_GetUserinfo(client), "sil_guid" ) if player_guid == "NO_GUID" or player_guid == "unknown" then return true end return player_guid end and checking if clients use a certain cmd (let's say i'm looking for people trying to access rcon for example) something like this function et_ClientCommand(clientNum, command) if et.trap_Argv(0) == "rcon" then if et.trap_Argc() == 2 then et.trap_SendServerCommand(clientNum, "print blablabla") et.G_Logprint(????) -- WHAT GOES HERE? SOMETHING TO PRINT GUID INTO LOG. PLAYER_GUID FROM ABOVE? else return end return 1 end end I want a msg to print to the client, but I want to record their silent GUID in the console log for further notice. How can I do this? Thanks Could be totally in wrong direction here but i'm just experimenting
  4. Was testing out this cmd and noticed when it is set to "3" the sprees rightfully appear in the banner location - all expect the 30 mark 'wicked sick'. From 5-25 this is fine but at 30 it switches to the left notification area (2) for some reason. It's not an issue but i'd like to know whether I could put this at the top with the others. I tested this on 2 servers to be sure and the same behaviour is displayed on both.
  5. Geo

    A few questions

    If I wanted to record the silent guid of a player, how can I dump this information into a log that I've created (eg guids.txt) or something? So this information can be accessed at any time. Is there a certain cmd for this? thanks
  6. Geo

    A few questions

    I had to change a hell of a lot of things to make it function, but thanks for making it public nevertheless. There isn't a version specified for silent mod anywhere I assume? I did check the download page again, might be helpful for other admin
  7. This would be a nice feature.
  8. Geo

    A few questions

    As additional info - are there any specific moments when sounds will NOT play (ie killing spree sounds, multikill sounds) or you don't hear them. Perhaps if you die straight after getting a multi/spree? Just sometimes I can't hear the sounds and ideally would like the sounds to be heard by all clients every single time one is achieved. Thanks!
  9. Geo

    A few questions

    Problem fixed - i'd removed the ludicrouskill and holyshit msg, so it was trying to exec something that didn't exist.
  10. Geo

    A few questions

    There's one last problem I have having! Everything else is functioning so thanks for all of these replies. This error keeps appearing in the etconsole.log (repeated LOTS of times) Lua API: et_RunFrame error running lua script: [string "kspree.lua"]:642: bad argument #1 to 'format' (string expected, got nil) This seems to have appeared after I put ludicrouskill.wav and holyshit.wav into my .pk3 file, and then uploaded to the server. These files in particular I had to download and convert into wav files from mp3, as I couldn't find a already-man soundpack with these in. The error log is referring to line 642 in the et.RunFrame function, which would be the quoted line below. Any ideas on what is causing this problem? It doesn't seem to affect anything on the server and everything seems to be working fine which I found strange. As always, thankyou! sayClients(kmulti_pos, string.format(kmulti_msg, m_name)) function et_RunFrame(levelTime) if math.mod(levelTime, 500) ~= 0 then return end local ltm = et.trap_Milliseconds() gamestate = tonumber(et.trap_Cvar_Get("gamestate")) if gamestate == 0 then -- wait before display multi/mega/monster/ludicrous-kill AND display highest -- wait_table[id] = {lvltime, 2} table.foreach(wait_table, function(id, arr) local guid = getGuid(id) local m_name = playerName(id) local startpause = tonumber(arr[1]) local whichkill = arr[2] if whichkill == 1 and (startpause + 3100) < ltm then if kmulti_announce then sayClients(kmulti_pos, string.format(kmulti_msg, m_name)) if kmulti_sound then --et.G_globalSound(multisound) soundClients(multisound)
  11. Geo

    A few questions

    Thankyou! This worked perfectly
  12. Geo

    A few questions

    I have a couple more problems! (perhaps good for me, I learnt a lot from them ) Anyway in my script I want the killing sprees to stop at 30, not continue such as 35, 40 etc. Once it hits 35, the msg for a normal 5 killing spree appears, and this continues on limitlessly. Is there any way for me to make the sprees stop at 30? I did check this topic: http://mygamingtalk.com/forums/topic/995-kspreelua/ but there didn't seem to be a solution (unless i'm mistaken?) Thanks again to all who reply!
  13. Geo

    A few questions

    Thanks for the commands Also, I've got my script to work, except the default killing spree, double/triple kill etc msgs are still showing along with mine. Can I disable the default msgs so that the ones customised in .lua can be the only ones showing to all clients?
  14. Geo

    A few questions

    Thanks for the fast reply, I realised I could edit the position using lua, which is what i'm working on now. If anyone knows of this cmd then that would be great! I'll look through the topic you posted, thanks
  15. I have a few issues that I would appreciate help solving. Figured I should just post here instead. 1. If I was writing a spec.lua script and I wanted this to become a command called !spec in shrubbot.cfg (which would spectate player as on jaymod), how can I exec the script when the command is executed by the user. E.g [command] command = spec exec = what would go here? something to exec spec.lua desc = spectates the player syntax = levels = 0 1 2 3 4 5 2. How can I position the killing/death/revive spree announcements at the top of the screen, instead of in the usual console position? Is this a cmd or is the use of lua necessary? Could I use banners instead? e.g "name is on a killing spree! (5 kills in a row)" Any help would be welcomed, thanks.
  16. Thanks, I have it working now. It was just simply renaming the .wav files to the axis_win and allies_win
  17. I assume it's possible to change the intermission music in silent mod? On the server doing the command /play sound/music/axis_win plays the sound for me but i don't know where the 'music' folder is. I've made a pk3 file with the correctly converted sounds and would like to have this play at the end of each map. Do i just rename the sounds to axis_win.wav and allies_win.wav and create the same path structure? Or do i need to locate this sound/music and replace the original sounds with my custom ones with the same name? Thanks.
  18. Do you think you could explain a little bit more about sess.spectatorClient? I checked its function using the Lua wiki page but i'm still unsure of how I can edit this using gentity_set. I do understand that the value of sess.spectatorState has to be set to 2 but how does this coincide with the spectatorClient. Thanks
  19. Ok, thankyou very much for your reply, it's greatly appreciated!
  20. I am learning the basics of the silent mod and I have encountered a couple of problems. I would like to create a custom command called !spec - which would work in the same way as the !spec command on jaymod. This is a feature that has been requested and I think it is quicker than finding the slot number and using /follow. However, i can't seem to get this command to work. I have no idea if i am right but i tried this: [command] command = spec exec = follow (name|slot#) desc = spectates the player syntax = levels = 3 4 5 I doubt that 'follow' function or the 'name/slot' part is correct and this is where i'd like some assistance. What do i need to exec in order to spectate a player, if it's possible of course. Other random custom cmds have been fine so far. Also, is there a way to incorporate say the jaymod style killing sprees (or something similiar). The (animation?) green-coloured killing spree was quite a nice feature which players seem to want on the server too, but i don't know what format the sprees are in but in particular whether i can edit the killing spree display. Here's a picture of what I mean: http://i70.servimg.com/u/f70/15/00/85/90/94489211.jpg It's default currently, just displaying the msgs in the console. Forgot to add - could this be possible using lua? Thanks.
×
×
  • Create New...