Galileo su 'smart next map vote'
Forum rules
Šiame forume galite siūlyti idėjas ar prašyti jums reikalingų pluginų. Jei kas nors pradės jį kurti, tai pasirašys Jūsų sukurtoje temoje. Niekada nepykite, jei niekas neatsako į Jūsų prašymą. Gal tai tiesiog per sudėtinga, arba reikalauja per daug darbo.
Šiame forume galite siūlyti idėjas ar prašyti jums reikalingų pluginų. Jei kas nors pradės jį kurti, tai pasirašys Jūsų sukurtoje temoje. Niekada nepykite, jei niekas neatsako į Jūsų prašymą. Gal tai tiesiog per sudėtinga, arba reikalauja per daug darbo.
Galileo su 'smart next map vote'
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.
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.
NWK.LT Counter-Strike 1.6 Serveriai:
- War3FT ★ [url=steam://connect/cs.nwk.lt:27015]cs.nwk.lt:27015[/url]
- JailBreak ★ [url=steam://connect/cs.nwk.lt:27016]cs.nwk.lt:27016[/url]
- Public ★ [url=steam://connect/cs.nwk.lt:27017]cs.nwk.lt:27017[/url]
- DeathRun ★ [url=steam://connect/cs.nwk.lt:27018]cs.nwk.lt:27018[/url]
- Hide'N'Seek ★ [url=steam://connect/cs.nwk.lt:27019]cs.nwk.lt:27019[/url]
Re: Galileo su 'smart next map vote'
Atsidaryk pagrindinį galileo pluginą, susirask funkciją vote_addFiller ir
pakeisk į
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.
Code: Select all
// grab the name of the filler file new filename[256]; get_pcvar_string(cvar_voteMapFile, filename, sizeof(filename)-1);
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"); }
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'
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
NWK.LT Counter-Strike 1.6 Serveriai:
- War3FT ★ [url=steam://connect/cs.nwk.lt:27015]cs.nwk.lt:27015[/url]
- JailBreak ★ [url=steam://connect/cs.nwk.lt:27016]cs.nwk.lt:27016[/url]
- Public ★ [url=steam://connect/cs.nwk.lt:27017]cs.nwk.lt:27017[/url]
- DeathRun ★ [url=steam://connect/cs.nwk.lt:27018]cs.nwk.lt:27018[/url]
- Hide'N'Seek ★ [url=steam://connect/cs.nwk.lt:27019]cs.nwk.lt:27019[/url]
- psychical
- Viršininkas
- Posts: 2094
- Joined: 2011 Mar 12 22:19
- Skype: tautvydas11
- Location: Linksmakalnis
- Contact:
Re: Galileo su 'smart next map vote'
Atsinaujink.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
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Galileo su 'smart next map vote'
Trickai kaip ir viska padarau ka tu cia parasias bet gaunu kompiliuojant tokia klaida

gal kas galit paziureti ka as ne taip ten darau aciu//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).

- Attachments
-
galileo.sma
- (76.06 KiB) Downloaded 954 times
Re: Galileo su 'smart next map vote'
Gal kas galit pažiūrėti kodėl error meto? neįšeina padaryt


- Attachments
-
galileo.sma
- (76.09 KiB) Downloaded 984 times

- zkd
- O taip. Jis jau surinko 50 žinučių!
- Posts: 60
- Joined: 2015 Nov 05 16:54
- Skype: Edga.zkd
- Location: Vilnius
- Contact:
Re: Galileo su 'smart next map vote'
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.
išmeta:
Enough players have rocked the vote that a vote for the next map will now begin.
Vote creation failed; no maps found.
Deagle.LT - Counter-Strike serverių tinklas!
Who is online
Users browsing this forum: No registered users and 1 guest