Jump to content

hellreturn

Management
  • Posts

    2836
  • Joined

  • Last visited

  • Days Won

    51

Reputation Activity

  1. Like
    hellreturn reacted to Zelly in Need help with a lua script.   
    I am curious if all your trying to accomplish is to have players start with all skills then I think it would be easier to just set the skill levels to 0.
     
    http://mygamingtalk.com/wiki/Silent_Mod_Server_Cvar#skill_soldier
     
    You then wouldn't need to bother with lua, everyone that joined would automatically have the skill levels.
    In your server config:

    set skill_soldier "0 0 0 0" set skill_medic "0 0 0 0" set skill_engineer "0 0 0 0" set skill_fieldops "0 0 0 0" set skill_covertops "0 0 0 0" set skill_battlesense "0 0 0 0" set skill_lightweapons "0 0 0 0" However if you wanted to do this for some newer players that like receiving xp.You are trying to concatenate a string into where you are supposed to be supplying an integer(the client number)
    Try this:

    function setskill(playerID) local name = et.gentity_get(playerID,"pers.netname") if isBot(playerID) or noGuid(playerID) then return end et.G_AddSkillPoints(playerID, 0, 500) et.G_AddSkillPoints(playerID, 1, 500) et.G_AddSkillPoints(playerID, 2, 500) et.G_AddSkillPoints(playerID, 3, 500) et.G_AddSkillPoints(playerID, 4, 500) et.G_AddSkillPoints(playerID, 5, 500) et.G_AddSkillPoints(playerID, 6, 500) et.G_AddSkillPoints(playerID, 1, 500) et.trap_SendServerCommand(-1,"chat \"^nCongratulations ^7"..name.."^n, ^nyou have ^nbeen ^nEXP! Welcome to MC ! \"") -- et.trap_SendConsoleCommand( et.EXEC_APPEND, "readconfig\n" ) -- Pretty sure you don't need readconfig in this situation end Also you are sending your congratulations message to everyone that is connected. Not sure if this is intended or not, if not replace -1 with playerID 
    Hope that helps, btw if you can check your console log around the time the map is getting loaded it will show if there are any errors when loading your lua. They are usually pretty useful when trying to pinpoint what is wrong.
  2. Like
    hellreturn reacted to gaoesa in Simple lua protection   
    For silEnT mod, the mod built admin level protection (http://mygamingtalk.com/wiki/Silent_Mod_Server_Cvar#g_adminProtection) works both reliably and with less inconvenience than this.
  3. Like
    hellreturn reacted to Purple in Simple lua protection   
    We all know there are always going to be some sort of exploit in ET always has always will so for me and my server what i've gone ahead and done just to prevent any way shape or form of guid spoofing mainly is a simple lua file that just whitelists your admin level.
    --[[ Simple Lua protection by purple ]] function et_InitGame( levelTime, randomSeed, restart ) local SecName = "Simple Sec" et.RegisterModname(SecName) end function et_ClientConnect( clientNum, firstTime, isBot ) local clientIp = et.Info_ValueForKey( et.trap_GetUserinfo(clientNum), "ip" ) local banTime = "300y" -- change this to your ban duration local Reason = "Not Whitelisted." -- change this to your ban reason local adminLevel = "7" -- change this to your Admin level if et.G_shrubbot_level( clientNum ) == adminLevel and clientIp ~= "YOUR IP ADDRESS HERE" then -- put your ip address here. et.trap_SendConsoleCommand( et.EXEC_APPEND, "!ban ".. clientNum.." "..banTime.." "..Reason.." \n" ) --ban the user. end end
  4. Like
    hellreturn reacted to Purple in Modernfront 0.5.0 Release   
    As i mentioned on TB you should probably post some images, other wise this is just walk by and skip mode.
  5. Like
    hellreturn got a reaction from Tweek in Individual map configs   
    That's how you learn. One day you will figure it out all. You are on right path. Most of the server admins give up but my advice would be not to give up. It takes a while to configure server as you wish when you are new server admin. 
  6. Like
    hellreturn reacted to Tweek in Individual map configs   
    My problem has been fixed thanks to Mr.Martinez and DEDICATED HOSTING it seems Hellreturns advice was on the money. Me and my clan would like to give a Salute to all the advice and help from everyone. It is refreshing to see people get together and support each other. Many thanks to all!
  7. Like
    hellreturn reacted to Aciz in Individual map configs   
    There's your problem. Check if you have saves the mapconfig in the right directory.
  8. Like
    hellreturn got a reaction from Zelly in Individual map configs   
    That was my thought and it should have worked but he is reporting that it's not working for him. Now on 2nd thought, I am thinking if he has wrong name of mapconfig? 
     
    tweek, mapconfig file name should be same as map bsp file name. Probably that's why that config is not getting loaded? sometimes bsp name are different then map file pk3 names. 
     
    Also rather then using that time limit in rotation cycle why not fix it in mapscript and use mapscript folder for it? 
  9. Like
    hellreturn reacted to Zelly in Individual map configs   
    Try posting your console log for the sniper map between:
    ------- Game Initialization -------
    and
    *=====INITIALISING USER DATABASE
     
    That will tell us if your custom mapconfig is getting loaded.
     
    I made a quick test server with UJE_jungle_sniper_b3.pk3 
    default.cfg
    set g_sniperwar 0
     
    UJE_jungle_sniper.cfg
    set g_sniperwar 1
     
    That worked.
  10. Like
    hellreturn reacted to Purple in Automove   
    Always see some sort of automove talk on here, so here is a simple automove that works well and i have been using on my server for months, modified quiet a bit to be usable by anyone. 
    -- automove redone. function et_InitGame(levelTime,randomSeed,restart) et.RegisterModname("^1D^0Ri Team Balance") players = { } players[0] = 0 --all players[1] = 0 --axis players[2] = 0 --allies players[3] = 0 --spectators end function et_Obituary(client, killer, death) axiskilled = 0 allieskilled = 0 count2 = 0 player_name2 = GetPlayerName(client) local game_state = tonumber(et.trap_Cvar_Get("gamestate")) local player_team = et.gentity_get(client, "sess.SessionTeam") if game_state ~= 1 and game_state ~= 2 then players[0] = 0 --all players[1] = 0 --axis players[2] = 0 --allies players[3] = 0 --spectators for i = 0, tonumber(et.trap_Cvar_Get("sv_maxclients")) -1, 1 do local teamnumber = tonumber(et.gentity_get(i,"sess.sessionTeam")) if et.gentity_get(i,"pers.connected") == 2 then players[0] = players[0] + 1 players[teamnumber] = players[teamnumber] + 1 end end if (( (players[1] - players[2]) > 1 and player_team == 1 ) or ( (players[2] - players[1]) > 1 and player_team == 2 )) then if player_team == 1 then axiskilled = 1 else allieskilled = 1 end et.trap_SendServerCommand(-1, "chat \"^3Automoving " .. player_name2 .. " ^3as teams were uneven... \"") end end return nil end function et_RunFrame() if axiskilled == 1 then delayaxis() elseif allieskilled == 1 then delayallies() end end function delayaxis() count2 = count2 + 1 if count2 >= 5 then --every 5 deaths move the next player that dies et.trap_SendConsoleCommand( et.EXEC_APPEND, "putteam " .. player_name2 .. " b") count2 = 0 axiskilled = 0 end end function delayallies() count2 = count2 + 1 if count2 >= 5 then--every 5 deaths move the next player that dies et.trap_SendConsoleCommand( et.EXEC_APPEND, "putteam " .. player_name2 .. " r") count2 = 0 allieskilled = 0 end end function GetPlayerName(client) return et.Q_CleanStr(et.gentity_get(client, "pers.netname")) end function et_ShutdownGame(restart) end
  11. Like
    hellreturn reacted to gaoesa in Server Crash   
    The actions you have described can be made only with rcon commands. Also, you can never trust a word someone who does that kind of things to you are saying. If he says one thing it is most likely something completely different in reality.
     
    Please pm me the userinfo strings he uses. The name check has a known issue which allows too wide range of characters as valid. If I remeber correctly, someone else reported empty name too.
  12. Like
    hellreturn got a reaction from Gramp1 in Proxies which admins can pre-ban to stop cheaters, trouble makers, etc   
    Updated. 70+ subnets. Should block popular VPN's and Proxy providers. Feel free to share errors and/or new proxies.
     
    Monitor cheat logs for at least 2 weeks after banning above subnets, in case if you find errors.
  13. Like
    hellreturn reacted to Dragonji in Callvote shuffle or !shuffle crashes the server   
    The issue of ET:L has been fixed a few days ago. I personally run it on my own server with no problems now. It is way better than ET 3.00, just have a look here. It doesn't accept 2.55 clients by default but it is not a big problem to make it support multiprotocol as it is an open source project.
     
    I used ET 3.00 for a while too, but it was causing inexplicable crashes. ET:L is surely free of bugs ET 3.00 has.
  14. Like
    hellreturn got a reaction from Dragonji in Proxies which admins can pre-ban to stop cheaters, trouble makers, etc   
    Updated. 70+ subnets. Should block popular VPN's and Proxy providers. Feel free to share errors and/or new proxies.
     
    Monitor cheat logs for at least 2 weeks after banning above subnets, in case if you find errors.
  15. Like
    hellreturn got a reaction from Dragonji in Proxies which admins can pre-ban to stop cheaters, trouble makers, etc   
    What Gaoesa said is true It resulted from one of the bugs and that was fixed in the next release. 
     
    That bug doesn't happen in 0.8.2 release. I had the list updated few weeks back not this one. Will update this one soon. New one includes more proxies from OVH and other Europe networks. 
  16. Like
    hellreturn reacted to Zelly in Connecting to my server?   
    Just FYI Noticed your redirect has silent mod folder inside etmain, it needs to be outside etmain.
    http://periax.bplaced.net/etmain/silent/
    should be move to:
    http://periax.bplaced.net/silent/
  17. Like
    hellreturn reacted to Krauersaut in goldrush map   
    http://forum.splatterladder.com/index.php?showtopic=15127
    http://forum.splatterladder.com/index.php?showtopic=15311
     
    You both make hostile points and yet nobody cares about it. I am tired of reading about your personal problems and I very much suppose others are too.
     
    People understand the reality but still don't care about your fights and accusations. There's really no need for you to fix the way people use forums online. You can leave that to the respective forum moderators.
     
    McBeth does indeed answer PMs so you can safely assume the only one who finds no way to get in contact with her is you. For whatever reason there is.
     
    A public forum is no place for your personal vendetta. Neither the Splatterladder forum, nor the MyGamingTalk forum. You know how to contact her privately and if she doesn't reply to you, she probably doesn't want to. Rest assured, I will not let you drag this over two forums and shall you continue doing so, don't be surprised when you face consequences eventually. That's my last post regarding you two.
     
    By the way, this thread is from May last year and thus not relevant anymore, almost a year later. No matter whether the crash happened to her or someone else, it happened and had to be fixed.
  18. Like
    hellreturn reacted to Krauersaut in goldrush map   
    Are you really going to take this fighting into the MGT forums as well? On Splatterladder you've already been told to debate whatever issues you got with each other via PM or TS. There's absolutely no need to drag it to this forum.
     
    You don't like each other. Everybody's got that by now. It becomes more and more boring with every new hostile post.
  19. Like
    hellreturn got a reaction from Periax in Connecting to my server?   
    Well I normally don't keep my machine on 24 * 7.  It uses more power then what is worth it.
     
    I wouldn't advice to run public server from your local PC. Well yeah you could but you need good network peering + connection. Question is are you using this server for your learning and testing purpose or for your clan. If later is the case then rent the server from professional hosting services.
     
    If your router supports you can use dynamic DNS. So whenever your IP changes it gets updated by itself.
     
    http://dyn.com/all-dns/
  20. Like
    hellreturn reacted to Zelly in time-based job scheduler   
    You could do this with lua.
     
    http://www.lua.org/pil/22.1.html
  21. Like
    hellreturn got a reaction from twt_thunder in ET HeadQuarters   
    You can submit the pack on MYGT forums so admins visiting this forums can download directly from here. 
  22. Like
    hellreturn reacted to Dragonji in Reverse order of popups in alternate HUDs   
    I think that it would be reasonable to reverse the order of popups in the HUDs where popups area is located at the top of the screen.
     
    Pic related:

  23. Like
    hellreturn reacted to Zelly in Lua Enhanced Server Module   
    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:
  24. Like
    hellreturn reacted to twt_thunder in code related to player attach to veichle   
    well still have a bit todo, but its gonna be something like this:

  25. Like
    hellreturn reacted to Dragonji in Log playernames w/o colorcodes   
    Playernames without colorcodes would definitely improve readability of admin and cheat logs.
×
×
  • Create New...