Jump to content

PIPICHE

Members
  • Posts

    22
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.mtc-team.fr

Profile Information

  • Gender
    Male
  • Location
    Marseille France

PIPICHE's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. Hello. I have a problem with the file admins.cfg I put this type of config for personal sounds for each admin that connects but no sound is played you could help me. FYI these etblight its function on a server. I will put the config and the pk3. thank you in advance [admin] name = ^7|^2M^3T^1C^7|^1*^1FloMeister^1* guid = 5656B32049051C3C59A00F0E261385D5 level = 6 flags = greeting = greeting_sound = mtc/custom/Flo.wav [admin] name = ^7|^2M^3T^1C^7|^s*^7SuperNoob^s* guid = 1964989E3B6B9DD803A03865453B6629 level = 4 flags = greeting = greeting_sound = mtc/custom/supernoob.wav Z_MTC_Sounds_Custom_004.pk3
  2. PIPICHE

    war

    this is not really a war. would rather the ability to activate a particular weapons. for example on a map I wish I could just turn the knife as a weapon the engineer and dynamite clips for everyone. for another map I would like to activate such that the mp40. a bit like nq to choose more precisely the weapons used in a map. something that can be put in mapconfig card by card.
  3. PIPICHE

    war

    Thank you for your answer. But is that this is something that could be considered in a future release or not at all? And if not I looking for someone who could give me a hand to do in lua code if posssible .. thank you in advance.
  4. PIPICHE

    war

    Hello. in our team we have a server where we play cards in a "fun". ie for example trooptrain we play this card only with a knife. but you still need dynamite and pliers for command post. would it be possible to do something like the NQ I put the example below: nq_War (New since 1.2.7) Description Enable and configure war mode (s) in No Quarter. parameters Type: bitmask 1 Enable War Mode: spawn with A Few weapons can order plenty of ammo 4 Enable knives 8 Enable panzers Enable 16 sniper rifles 32 Enable grenades 64 Enable riflenades 128 Enable Flamethrowers 256 Enable shotguns 512 Enable poison needles 1024 Enable smoke grenades 2048 Enable binoculars 4096 Enable pliers or could you tell me if this is feasible and how LUA because I did not know enough about coding to be able to do it alone thank you in advance serial Killer TCM Team
  5. Good morning. I wonder if it is possible to configure a map specifically? For example I would like to purfrag only with 999 HUNTER knife for example. I have done with NQ by creating a script map but I wonder if there are variables like the silent nq_War 5 "5" being the only couteaux.ou still being nq_war 4101 knives and pliers If this does not exist would it be possible to do? thank you for your answers.
  6. PIPICHE

    kick

    Hello I wonder if you can add the kick as the NQ example we configured a map to fully kick (trooptrain) is simpas things change and we laugh but not much kick on the Silent
  7. Even this simple command does not return the correct information. It returns well my number slot but not my level! Tools.PrintToConsoleClient(cno,string.format("\031 ^x[DEBUG INFO.]Level #%d",Players[cno].Level)) Tools.PrintToConsoleClient(cno,string.format("\031 ^x[DEBUG INFO.]Slot #%d",Players[cno].Slot))
  8. Hello I joined more information about my script. I changed what you told me in cl_guid sil_guid but it did not work either function Player.Connect(Slot) local player = {} --setmetatable(player,Player) player.Slot=Slot player.Country=et.gentity_get(Slot, "sess.uci") player.ProfileName = et.Info_ValueForKey(et.trap_GetUserinfo(Slot), "name") player.Name="" --Sera renseigne apres player.Password = et.Info_ValueForKey(et.trap_GetUserinfo(Slot), "password") player.IP = et.Info_ValueForKey( et.trap_GetUserinfo(Slot ), "ip" ) player.GUID = et.Info_ValueForKey( et.trap_GetUserinfo(Slot ), "cl_guid" ) player.Team =et.gentity_get(Slot, "sess.sessionTeam") player.Level = et.G_shrubbot_level( Slot ) player.ConnectTime=os.time() player.EnterTime=os.time() player.TagViolation=false player.Alias={} --Enleve le port player.IP=string.match(player.IP,"(.*)%:") return player end function Player.IsSame(ancien) --Recupere le GUID actuel local guid=et.Info_ValueForKey( et.trap_GetUserinfo(ancien.Slot ), "cl_guid" ) StartLevelOfTagProtection=3 if isNewName then -- Protection tag Team local wocolor=string.lower(et.Q_CleanStr(name)) -- Interception de certains nom de joueurs qui resistent aux bans (non ip fixe) if wocolor=="demonen" then et.trap_DropClient( cno, "Your IP isn't valid!", 180 ) end --interception team NDK local res=string.match(wocolor,"^ndk ") if res~=nil then et.trap_DropClient( cno, "Team Banned.", 180 ) end res=string.match(wocolor,"^%*ndk%*") if res~=nil then et.trap_DropClient( cno, "Team Banned.", 180 ) end res=string.match(wocolor,"(m)([^a-z]?)(t)(.?)(c)") if res~=nil then if Players[cno].Level<StartLevelOfTagProtection then Players[cno].TagViolation=true et.trap_SendConsoleCommand(et.EXEC_APPEND, string.format("!rename \"%d ^1<^8TIPIAK^1>\"\n",cno )) et.G_globalSound( "sound/weapons/radio/callArty_axis.wav") end end -- Protection tag BOT res=string.match(wocolor,"(%[bot%])") if res~=nil then if Players[cno].Level<StartLevelOfTagProtection then et.trap_SendConsoleCommand(et.EXEC_APPEND, string.format("!rename \"%d %s\"\n",cno,Players[cno].Alias[1] )) et.G_globalSound( "sound/weapons/radio/callArty_axis.wav") end end end My script makes sure that if a person does not have the level 3 if he puts his name to our "tag" I renamed it to "Tipiak" it works on the NQ not Silent. even worse with me a superadmin level 7 if I put on a private slot I renamed "Tipiak" but if I go with a level 0 on a normal slot nothing happens? I confess that I understand anything can you help me?
  9. Hi I thank you for your quick response. unfortunately this is not the right solution. I myself try for testing by enabling punkbuster on my side but there is nothing and if I put the variable that you ask me to change it does not work more. I am taking other ideas! thank you
  10. Good morning. I use a LUA script to make the protection of tag and other uses (custom sounds, ect). This script is based on the level of player. but it appears that the guid is different depending on silent because this script runs on NQ but not on the Silent. I put the main lines. Thank you for telling me that do not agree. Thank you in advance function Player.Connect(Slot) local player = {} --setmetatable(player,Player) player.Slot=Slot player.Country=et.gentity_get(Slot, "sess.uci") player.ProfileName = et.Info_ValueForKey(et.trap_GetUserinfo(Slot), "name") player.Name="" --Sera renseigne apres player.Password = et.Info_ValueForKey(et.trap_GetUserinfo(Slot), "password") player.IP = et.Info_ValueForKey( et.trap_GetUserinfo(Slot ), "ip" ) player.GUID = et.Info_ValueForKey( et.trap_GetUserinfo(Slot ), "cl_guid" ) player.Team =et.gentity_get(Slot, "sess.sessionTeam") player.Level = et.G_shrubbot_level( Slot ) player.ConnectTime=os.time() player.EnterTime=os.time() player.TagViolation=false player.Alias={} --Enleve le port player.IP=string.match(player.IP,"(.*)%:") return player end function Player.IsSame(ancien) --Recupere le GUID actuel local guid=et.Info_ValueForKey( et.trap_GetUserinfo(ancien.Slot ), "cl_guid" ) -- Joueur different ou absent if guid ~= ancien.GUID then return false end return true; end
  11. Hello, I have a problem. If I go through the command in the console setLevel it makes me very rights that I ask. But we have many users in our shrubbot I shrubbot therefore depends on which I put some below. Quans but I did that he could not recognize the levels to people and I have the following error messsage. Could you help me I'm in 0.5.1. Thank you in advance Shrubbot [admin] name = |^2M^3T^1C^7|^2*^eSerial Killer^2* guid = EEC9825DE6C064C5EE3E0C2930D75CDA level = 7 flags = greeting = greeting_sound = [admin] name = ^7|^2M^3T^1C^7|^s*^IM^+y^+r^qe^s* guid = C96EF89F34B0218CB43FD2CD52F151AF level = 7 flags = greeting = greeting_sound = Console message readconfig: [level] parse error near [admin] on line 2372 readconfig: [level] parse error near guid on line 2375 readconfig: [level] parse error near = on line 2375 readconfig: [level] parse error near EEC9825DE6C064C5EE3E0C2930D75CDA on line 2376 readconfig: [level] parse error near [admin] on line 2384 readconfig: [level] parse error near guid on line 2387 readconfig: [level] parse error near = on line 2387 readconfig: [level] parse error near C96EF89F34B0218CB43FD2CD52F151AF on line 2388 readconfig: loaded 8 levels, 64 bans, 0 subnet bans, 49 commands and 0 warnings
×
×
  • Create New...