Tweek Posted February 28, 2015 Share Posted February 28, 2015 I run silent but I use fun settings to attract a more diverse crowd. My vision is to have a little bit of everything for all players on the same server. I have individual configs for each map adjusting the settings. I have succeeded on most. My clan has voted on putting a single sniper map and a single panzer map into my voting pool. I did the same that I have on the rest of the maps made a individual config but added g_sniperwar 1 and g_panzerwar 1 into those two configs. Neither responds you can spawn as any class and the time nor spawntmes fix did not work either. Is there a different way to do this or I'm I missing something? Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted March 1, 2015 Management Share Posted March 1, 2015 Have you tried adding !panzerwar on command in mapconfig? and then in default config try !panzerwar off ? I haven't tried such scenario myself. Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 2, 2015 Author Share Posted March 2, 2015 (edited) I did not do as !panzerwar on or !sniperwar on, But I tried as set g_sniperwar 1 and as just g_sniperwar 1, on both fun wars. I didn't even consider that, But if that was the problem wouldn't the timelimit fix and spawn fix have worked? I did however discuss with the founder at UJE considering they made the maps, He suggested adding the settings in the rotation. He uses gametype 2 and puts his settings there. This is the ex:set d1 "set g_gametype 6 ; map oasis_winter ; set nextmap vstr d2"set d2 "set g_gametype 6 ; map UJE_jungle_sniper ; set nextmap vstr d3 ;set g_sniperwar 1 ; wm_set_round_timelimit 15"set d3 "set g_gametype 6 ; map goldrush-ga ; set nextmap vstr d4 ;set sniperwar 0"set d4 "set g_gametype 6 ; map radar ; set nextmap vstr d5"set d5 "set g_gametype 6 ; map railgun ; set nextmap vstr d6"set d6 "set g_gametype 6 ; map fueldump ; set nextmap vstr d1"vstr d1 I really did not want to add to rotation considering a lot of peoples expectations of silent mod and In fear of running off traffic to the sever, my thought process was If it is voted on than people at that time would like to play them. That is what brought me here. I also run Lua on my server and did find a script that is suppose to allow automatic funwars but the Lua that i run I did not configure nor do I know much about coding so I put in in a couple of spots but it did not seem to work(not sure if it is right or if the places I added was right) here is the script: -- -- autosettings.lua -- Author: morsik -- -- this mod allows to autoset panzerwar or sniperwar -- on specified map -- -- CONFIG BEGIN SNIPERMAPS = { 'UJE_jungle_sniper' } PANZERMAPS = { 'UJE_bathroom_sniper' } -- CONFIG END custommap = 0 function et_InitGame(leveltime, randoomseed, restart) currentMap = et.trap_Cvar_Get('mapname') for n,m in pairs(PANZERMAPS) do if (currentMap == m) then et.SendConsoleCommand(et.EXEC_APPEND, '!panzerwar 1') custommap = 1 end end for n,m in pairs(SNIPERMAPS) do if (currentMap == m) then et.SendConsoleCommand(et.EXEC_APPEND, '!sniperwar 1') custommap = 2 end end if (custommap == 1) then et.SendConsoleCommand(et.EXEC_APPEND, '!panzerwar 0') custommap = 0 end if (custommap == 2) then et.SendConsoleCommand(et.EXEC_APPEND, '!sniperwar 0') custommap = 0 end end. I will go and give the the !commands a try in the map config and report back if successful. Meanwhile I would like some info as to whether either the rotation or the lua script would work or be the best route. Any ideas or suggestions would be appreciated. Edited March 2, 2015 by Tweek Quote Link to comment Share on other sites More sharing options...
Zelly Posted March 2, 2015 Share Posted March 2, 2015 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.cfgset g_sniperwar 0 UJE_jungle_sniper.cfgset g_sniperwar 1 That worked. hellreturn 1 Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted March 2, 2015 Management Share Posted March 2, 2015 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.cfgset g_sniperwar 0 UJE_jungle_sniper.cfgset g_sniperwar 1 That worked. 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? Zelly 1 Quote Link to comment Share on other sites More sharing options...
Zelly Posted March 2, 2015 Share Posted March 2, 2015 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? Yeah was hoping the logs could give a little more information to what is going on. Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 3, 2015 Author Share Posted March 3, 2015 Sorry guys I crashed my server and spent all afternoon repairing, had to re install my Silent , Lua, and do a whole lot of testing. I will try my mapconfig and map again and submit the log, I don't have the old one. I have tried to rename according to the .bsp files and had no luck either. As I look at my server files now I notice a big difference I did have two mapconfig files. It may have been simply that but it is much more clean and organized. I will post as soon as I do try again. Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted March 3, 2015 Management Share Posted March 3, 2015 Sorry guys I crashed my server and spent all afternoon repairing, had to re install my Silent , Lua, and do a whole lot of testing. I will try my mapconfig and map again and submit the log, I don't have the old one. I have tried to rename according to the .bsp files and had no luck either. As I look at my server files now I notice a big difference I did have two mapconfig files. It may have been simply that but it is much more clean and organized. I will post as soon as I do try again. 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. Tweek 1 Quote Link to comment Share on other sites More sharing options...
clan DIABOLIK Posted March 3, 2015 Share Posted March 3, 2015 Good luck Tweek Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 3, 2015 Author Share Posted March 3, 2015 (edited) Erased! Edited March 3, 2015 by Tweek Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 3, 2015 Author Share Posted March 3, 2015 (edited) First of all, a big thank you for the words of wisdom and encouragement guys(much appreciated) I tried again after I ironed out my server issues and it did not work. Here is the info Zelly requested. InitGame: \LuaESMod\v2.7.4\omnibot_playing\7\mod_url\http://mygamingtalk.com/\mod_version\0.8.2\P\11212212\g_antilagDelay\0\voteFlags\807303\g_bluelimbotime\13000\g_redlimbotime\17000\gamename\silEnT\omnibot_enable\1\g_maxGameClients\0\g_balancedteams\1\g_tyranny\1\g_damageXPLevel\50\g_damageXP\1\g_maxlivesRespawnPenalty\0\g_maxConnsPerIP\3\g_heavyWeaponRestriction\100\sv_sac\1\g_gametype\6\g_antilag\1\g_voteFlags\0\g_alliedmaxlives\0\g_axismaxlives\0\g_minGameClients\0\g_needpass\0\g_maxlives\0\g_friendlyFire\0\sv_allowAnonymous\0\sv_floodProtect\0\sv_maxPing\900\sv_minPing\0\sv_maxRate\45000\sv_hostname\^5*^8The^4Corn^8bread^4Mafia^5*\sv_privateClients\0\mapname\uje_oldskool_sniper_np\protocol\84\timelimit\18\version\ET 3.00 - TB 0.7.2 - 2.60b compatible linux-i386\sv_maxclients\22 Start of warmup. Cheat logfile open: cheat.log readconfig: loaded 12 levels, 7 bans, 0 subnet bans, 27 commands, 3 warnings and 12 custom votes Execing default.cfg mapconfig for 8 players. * Execed total of 26 commands from the config file. Execing uje_oldskool_sniper_np.cfg mapconfig for 8 players. * Config file "mapconfigs/uje_oldskool_sniper_np.cfg" was not found. Map changed, clearing player stats. serverstats: loaded 78 mapstats banners: loaded 6 banners *=====INITIALISING USER DATABASE Edited March 3, 2015 by Tweek Quote Link to comment Share on other sites More sharing options...
Aciz Posted March 3, 2015 Share Posted March 3, 2015 * Config file "mapconfigs/uje_oldskool_sniper_np.cfg" was not found. There's your problem. Check if you have saves the mapconfig in the right directory. hellreturn 1 Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 3, 2015 Author Share Posted March 3, 2015 My spawnfixes and timelimits work on all the other mapconfigs I have saved in my map voting pool. Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 5, 2015 Author Share Posted March 5, 2015 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! Gramp1 and hellreturn 2 Quote Link to comment Share on other sites More sharing options...
Dragonji Posted March 5, 2015 Share Posted March 5, 2015 If your server is hosted on *nix all config/mapscript names must contain only lowercase letters to make it work, even if .bsp mapnames contain uppercase letter. That's what was the issue most probably. Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 5, 2015 Author Share Posted March 5, 2015 Yes In the end that was the problem as well. It' s crazy how the simple little things cause so much trouble.Hopefully this post will save someone a lot of trouble in the future. Quote Link to comment Share on other sites More sharing options...
Oxyzium Posted March 17, 2015 Share Posted March 17, 2015 (edited) set d1 "set g_gametype 2 ; map oasis_winter ; set nextmap vstr d2"set d2 "set g_gametype 2 ; map UJE_jungle_sniper ; !sniperwar on ; set timelimit 15 ; set nextmap vstr d3"set d3 "set g_gametype 2 ; map goldrush-ga ; !sniperwar off ; set nextmap vstr d4"set d4 "set g_gametype 2 ; map radar ; set nextmap vstr d5"set d5 "set g_gametype 2 ; map railgun ; set nextmap vstr d6"set d6 "set g_gametype 2 ; map fueldump ; set nextmap vstr d1"vstr d1 I have edited your cycle to a more "working" mannor. That should work good for you tweek without any problems, It will run via the objective cycle saving you from messing about with map configs and such..Let me know if it works! Edited March 17, 2015 by Oxyzium Quote Link to comment Share on other sites More sharing options...
Tweek Posted March 17, 2015 Author Share Posted March 17, 2015 Thank you sir I do appreciate the work and effort as well as the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.