gvaido Posted January 16, 2009 Report Share Posted January 16, 2009 Tagad serverim ir uzlikti 20 sloti, + 2 apslēptie sloti adminiem. Serveris visu laiku stāv 20/20 vai 21/20. Kā lai sataisa šādu štelli : Es gribu uzlikt serverim redirektu, lai kad ir pilns, mestu uz citu serveri. Ar pašu redirekta pluginu arī ir problēmas, nesanāk nevienu uzlikt, moš kāds var iedot kādu labu, vieglu pluginu? Bet lieta ir sekojošā, man vajadzētu, lai kad serveris būtu pilns, rādītos 20/21, nejau 20/20. Es gribu lai viena vieta tā vai tā paliek brīva, un gribu uzlikt redirketu. Vnk kad ir 20/20 uzspiedīs join rādīs ka serveris ir full, bet lai ietu redirekts, vajag 1 vietu, kaa redirektam domaatu. Būs 20/21, uzspiedīs, un aizmetīs uz citurieni. Kāds nevar ieteikt normālu nakts mapcycle pluginu? Link to comment Share on other sites More sharing options...
Kiwix Posted January 16, 2009 Report Share Posted January 16, 2009 Viss šis ir jau izrunāts, bet tā kā vismaz esi normāli palīdzību prasījis, tad: Dienas/nakts mapjucikls (viegli uzstādāms) Vienkāršs redirekts Link to comment Share on other sites More sharing options...
Stormbraker Posted January 16, 2009 Report Share Posted January 16, 2009 (edited) Netaisīšu jaunu tēmu, tāpēc pajautašu te... Uzliku sākumā slot pluginu un tagad to parasto redirect pluginu... Bet lieta tāda, ka arī adminus pārmet uz to otru serveri... Var kaut kā izdarīt, lai adminus nepārmestu conectējoties pie pilnā servera?! Edited January 16, 2009 by Stormbraker Link to comment Share on other sites More sharing options...
shine Posted January 16, 2009 Report Share Posted January 16, 2009 if(is_user_admin(id)) return PLUGIN_HANDLED ieliec pirms pārmešanas :?. Link to comment Share on other sites More sharing options...
Stormbraker Posted January 16, 2009 Report Share Posted January 16, 2009 (edited) if(is_user_admin(id)) return PLUGIN_HANDLED ieliec pirms pārmešanas :?. Tur vēl kaut ko definēt vajag! Edited January 16, 2009 by Stormbraker Link to comment Share on other sites More sharing options...
shine Posted January 16, 2009 Report Share Posted January 16, 2009 neko tur nevajag definēt... tikai jābūt inklūdotam amxmisc... Link to comment Share on other sites More sharing options...
Stormbraker Posted January 16, 2009 Report Share Posted January 16, 2009 (edited) Sanāca, nedaudz kļūdījos vnk (drukas kļūda) ... Paldies tev liels Edited January 16, 2009 by Stormbraker Link to comment Share on other sites More sharing options...
gvaido Posted January 17, 2009 Author Report Share Posted January 17, 2009 Ir vēl problēma! Uzliku simple redirect, sākumā kļūdaini savadīju tur infu, nepareizi ip adresi. Vēlāk pamanīju, un izlaboju, bet, ieliekot par jaunu pluginu, serveris rāda iepreikšējo kļūdu. Kā tas var būt? pluginu izdzēsu, un liku pa jaunu vairākas reizes, bet viņš tāpat lasa veco kļūdu, bet plugins jau ir pārlabots pareizi. Link to comment Share on other sites More sharing options...
shine Posted January 17, 2009 Report Share Posted January 17, 2009 (edited) Serveri restartē vai nomaini cvarus servera konsolē, jo nomainot mapi cvari nemainās uz def. Iespējams, ka tu nomainīji infu .sma.. sakompilēji un nomainīji mapi, bet nekas nemainījās. Pārbaudi amxx.cfg/server.cfg vai nav palikušas cvaru paliekas. Edited January 17, 2009 by shine Link to comment Share on other sites More sharing options...
gvaido Posted January 17, 2009 Author Report Share Posted January 17, 2009 @ amxx un server cfg neko nemaz nemainiju. Es ieliku pluginu, un norestartēju serveri. Link to comment Share on other sites More sharing options...
shine Posted January 17, 2009 Report Share Posted January 17, 2009 Nav kāds speciāls fails? redirect.ini vai kā tā, kur ir jāliek infa? Bet tā pēc būtības vajadzētu iet. Ieliec datus amxx.cfg... Ievadi servera konsolē. Vai in-game caur amx_cvar un skaties vai iet. Link to comment Share on other sites More sharing options...
gvaido Posted January 17, 2009 Author Report Share Posted January 17, 2009 Kurus datus ievadīt @ amxx? Tieši šo? : Place following cvars in server.cfg * * amx_rd_maxplayers <20> // - begin redirection when more the x ppl connected ( 0 = redirect all players ) * amx_rd_server <neatklāšu> // - redirect to this server * amx_rd_serverport <27015> // - redirect server port * amx_rd_serverpw <password> // - password for the amx_rd_server (if needed) Link to comment Share on other sites More sharing options...
shine Posted January 17, 2009 Report Share Posted January 17, 2009 amx_rd_maxplayers 20 amx_rd_server "IP" amx_rd_serverport 27015 amx_rd_serverpw "password" Liec tik iekšā :? Link to comment Share on other sites More sharing options...
gvaido Posted January 17, 2009 Author Report Share Posted January 17, 2009 Ja aproli nevajag, atstāt tikai "" ? Link to comment Share on other sites More sharing options...
kennedy Posted January 17, 2009 Report Share Posted January 17, 2009 (edited) Uzliec 22 slotus, rezervē 2 adminiem, un tad kad kāds pie 20/22 konektēsies, tad pārmetīs Edited January 17, 2009 by kennedy Link to comment Share on other sites More sharing options...
Stormbraker Posted January 17, 2009 Report Share Posted January 17, 2009 (edited) Iekš plugina - jā (atstāj, kā bija), bet neaizmirsti pārējos Cvar'us ielikt iekš server.cfg! Edited January 17, 2009 by Stormbraker Link to comment Share on other sites More sharing options...
shine Posted January 17, 2009 Report Share Posted January 17, 2009 Ja parole nav, tad atstāj "". Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now