Jump to content

Zelly

Coders
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by Zelly

  1. Yes indeed a lot of things can be accomplished with lua. That is why it is in the mod so servers can add their own features and customize them to their exact needs. Someone may be willing to make one for you or I may give it a go when I get bored. Or you could learn lua, it is very easy compared to most other languages, especially if you already know some other languages.
  2. I don't know of a way, unless you manually stored them with lua.
  3. /killratingFor online players, I don't really know the use of seeing everyone's killrating. http://i.gyazo.com/b934afa8c8858b5f04e37f30f7292071.png
  4. You could do this with lua. http://www.lua.org/pil/22.1.html
  5. Is there a way to get fullscreen console via bind? rather than using Alt+~ Reason: set SCREENSHOT "echo ^e<^c<^7SCREENSHOT^c>^e> ; toggleconsole ; wait 4 ; wait 4 ; wait 4 ; autoscreenshot ; toggleconsole" Allows me to get a screenshot of the half console.
  6. I think this has been the case a long time, and the usual way of dealing with it is putting spaces in the first couple.
  7. Ello again Updated to 2.7.4 fixed a lot of problems that did not happen on my test server. I brought the wiki a lot more up to date, the install page is a little more complete, I think all I need to do is explain the features a little more in detail, it is hard to keep them up to date since I change them so often. I also added a lot more config options If anything isn't explained very well send me a message I will get it updated when I can. Changes:
  8. you may want to use this as reference: https://github.com/Zelly/ZellyLuas/blob/master/ZInfo.lua The script it self isn't done, It is kind of on hold atm, probably some errors. There I keep track of players team time, however I add it to their total , not just the maptime.
  9. You could easily keep track, I am not sure if there exists an entity field though.
  10. If we catch someone cheating like this, what steps can we take to help silent mod improve their anticheat. Is there any info we can send you?
  11. ha well I don't want people to not use it because of that possibility. I changed it to the MIT License, would that work better?
  12. Is that how it works? lol Honestly I don't know what kind of license to use, I was suggested to use at least something. I figured it wouldn't matter since the ones its not being added into the silent mod project. What should I be using, basically all I need is to keep it open and not be able to claim it as their own.
  13. Hello everyone! I have been working on a project with pure lua that enhances current ET servers. I have been working on it alone for a few years and just recently invited purple to come help me out. A short description of some of the many features that it has: It is very configurable, if something isn't already configurable it would be very easy to make it configurable. It includes over 60 custom commands. Has a mail system. It has an option to register a profile to see all your stats over time. (Also used for a bunch of other stuff) There is a lot in the project and it is constantly changing, so for more up to date information you can view the wiki on bitbucket: https://bitbucket.org/zelly/lua-enhanced-server-mod/wiki/Home The wiki has a feature list, command list, information about the keys, how to report bugs, how to join development and more. I am always open to ideas to improve my project so please take a look. Here is the home page if you want to take a look around the project: https://bitbucket.org/zelly/lua-enhanced-server-mod/overview
  14. Basically I check it once in ClientBegin and I check it in ClientUserInfoChanged As for the renaming: it will only save for the current round, which isn't ideal, but its better than nothing. ( You could replace it with the !rename command instead, I think that lasts until they disconnect ) function Client:setName(name) if ( name == nil ) then return end if ( string.len(Misc:trim(et.Q_CleanStr(name))) <= 0 ) then return end local userinfo = self:getUserInfo() userinfo = et.Info_SetValueForKey( userinfo, "name", name ) et.trap_SetUserinfo( self.id, userinfo ) et.ClientUserinfoChanged( self.id ) end I really should open my lua to public lol. It is hard to copy my code without seeing the entire project.
  15. Zelly

    et_Damage

    Yes sorry a callback.
  16. etlegacy recently added et_Damage It would be nice to have it in silent too. Also I would like ps.classWeaponTime client fieldname be added, to get client chargetime values.
  17. I would make sure to check length of cleanstr and trimmed for trailing spaces. Can be done in lua. I don't have the code for the trim function though. name = et.Info_ValueForKey( et.trap_GetUserinfo( clientnum ) , "name" ) name = trim(et.Q_CleanStr(name)) if ( string.len(name) < 1 ) then -- kick rename w/e end
  18. I am content with using lua to accomplish this. I use it to let clients choose if they want to spawn with it, as well as it will pick smg as secondary if available. But I suppose it could be added as a server cvar and or a client cvar. /cg_singlePistolPriority 1 /g_forceSinglePistol 1
  19. Do not believe that is gonna be possible unless they add it to silent mod. There is the option to make medics only spawn with single pistol I think though. I think it is in g_medics...
  20. Very possible with lua. I have this feature in my lua. I think it is under "sess.latchPlayerWeapon2" set that to single colt or luger. You would need to do some checking of the players team.
  21. Zelly

    Instant Arty

    I mean artillery (binoculars) - not airstrike. It basically does the artillery event the split second you call it in (If you have the charge and your allowed to place it in at that time) What I don't know: - Is what specifically causes it? Shot in the dark it may be moving objects, I vaguely remember it happening on supplydepot when I place it near or on a truck - I also can't recall if there is any red/blue smoke that goes with the strike. I think it skips that part altogether I will start recording autodemos if it ever happens again ill try to upload. Since it happens pretty random.
  22. Zelly

    Instant Arty

    Sometimes when placing an arty, it will instantly explode where I placed it. (No warning smoke where its placed) I really have no idea how to reproduce it just happens randomly. Mainly curious if anyone else has had this happened, or is it just me.
  23. I also have something similar to this I have been working on for the last couple of years on and off. My Xfire is: anewxfireaccount
  24. Could be done with lua. Micha had a similar script, (The goal was to increase max hp I think) but the health regen was there and could easily be enabled for every class.
×
×
  • Create New...