Page 1 of 2
Galileo su 'smart next map vote'
Posted: 2015 Mar 23 21:06
by GhostMan
Pagaminkit kasnors
Galileo su tokia funkcija:
Jei serveryje yra <10 žaidėjų per sekančio žemėlapio balsavimą (nepriklausomai jis vykdomas dėl RTV ar pasibaigus timelimit) sąrašas būtų užpildomas žemėlapiais iš mapcycle_small.txt, jei >10, tai standartiškai - iš mapcycle.txt.
Re: Galileo su 'smart next map vote'
Posted: 2015 Mar 30 19:52
by Trickas
Atsidaryk pagrindinį galileo pluginą, susirask funkciją vote_addFiller ir
Code: Select all
// grab the name of the filler file new filename[256]; get_pcvar_string(cvar_voteMapFile, filename, sizeof(filename)-1);
pakeisk į
Code: Select all
new players[32], pnum; get_players(players, pnum, "ch"); // grab the name of the filler file new filename[256]; if (pnum < 9) { filename = ("mapcycle-small.txt"); } else { filename = ("mapcycle.txt"); }
Taip pat aišku ištrink tą cvarą pradžioj. "cvar_voteMapFile"
Lyg ir turėtų veikt, čia seniau pasidaręs buvau, tai ištraukiau iš kodo, viso plugin duot nenoriu, nes ten daugiau keista.
Re: Galileo su 'smart next map vote'
Posted: 2015 Mar 31 20:30
by GhostMan
Ką h flag'as daro?
"a" - Don't return dead players
"b" - Don't return alive players
"c" - Skip bots
"d" - Skip real players
"e" - Match with passed team
"f" - Match with part of name
"g" - Ignore case sensitivity
Re: Galileo su 'smart next map vote'
Posted: 2015 Mar 31 22:11
by psychical
Optional list of filtering flags:
"a" - do not include dead clients
"b" - do not include alive clients
"c" - do not include bots
"d" - do not include human clients
"e" - match with team
"f" - match with part of name
"g" - match case insensitive
"h" - do not include HLTV proxies
"i" - include connecting clients
Atsinaujink.
Re: Galileo su 'smart next map vote'
Posted: 2015 Apr 15 14:00
by laimiukas3
Trickai kaip ir viska padarau ka tu cia parasias bet gaunu kompiliuojant tokia klaida
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// galileo.sma
//
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(188) :
error 017: undefined symbol "cvar_rtvReminder"
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(1516)
: warning 217: loose indentation
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(1517)
: warning 217: loose indentation
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(1532)
: warning 217: loose indentation
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(2473)
: error 017: undefined symbol "cvar_rtvReminder"
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(2476)
: error 017: undefined symbol "cvar_rtvReminder"
// C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx\scripting\galileo.sma(2476)
: error 001: expected token: ",", but found ";"
//
// 4 Errors.
// Could not locate output file C:\Users\FoX\Desktop\6153\cstrike\addons\amxmodx
\scripting\compiled\galileo.amx (compile failed).
gal kas galit paziureti ka as ne taip ten darau aciu

Re: Galileo su 'smart next map vote'
Posted: 2015 Apr 15 15:17
by DYaGesS
Sutvarkyta laimiuko problema

Re: Galileo su 'smart next map vote'
Posted: 2015 Nov 10 16:02
by iFreak
Gal kas galit pažiūrėti kodėl error meto? neįšeina padaryt

Re: Galileo su 'smart next map vote'
Posted: 2015 Nov 11 16:22
by V1LKAS
Re: Galileo su 'smart next map vote'
Posted: 2015 Nov 11 23:47
by iFreak
V1LKAS wrote:galileo.sma
Prašau
Veikia , dėkui.

Re: Galileo su 'smart next map vote'
Posted: 2017 Mar 14 15:47
by zkd
Turiu vieną klausima, tai kiek suprantu reikia man susikurti, (mapcycle_small.txt) ir (mapcycle.txt) ir juos ikelt i configs? kad veiktu? nes šiuo metu man neveikia.
išmeta:
Enough players have rocked the vote that a vote for the next map will now begin.
Vote creation failed; no maps found.