CacusMapVote

Discussions about UT99
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

Setup appears to be fine, let's go to the map list generator now.

Go to CacusMapList.ini and paste these lines (no need for the blank lines):
GameNames[x]=
RuleNames[x]=
RuleList[x]=
These are created during map list generation and are the ones being taken into account by the client's windows.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

Everything appears to be in order, the only thing I can do is a live testing and solve it on the spot.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

will test on linux?
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

I'll let you debug this, the requirements are the Linux UT server and a Windows UT client.

Start the server with the mapvote, put UT in window mode, join and wait 15 seconds.
Type this command:
- EDITACTOR CLASS=MAPLISTCACHE
An editor window will show up.
Expand "[+]None", and very quickly move the slider until you find the '[+]GameModeName entry, WARNING, if you hold the slider for more than 2 seconds your game will time out and possibly crash.
Expand [+]GameModeName and write down the ones you see here.

Ideally, GameModeName entries in the frontend should match the GameNames entries in CacusMapList.ini, if they don't then there's a problem in replicating those strings.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

look names is correct...
Image
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

You're gonna have to leave one of the servers up with the mapvote so i can figure out what's going on.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

189.1.164.75:8888:8889 Another UT Server
admpass 1
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

Problem found, VotePriority in those gametypes must be above 0 in CacusMapVote.ini
I should probably add a safety check in the backend to not consider gametypes with priority=0 so that the frontend doesn't fail to display.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

NICEEE :) thx higor!

VotePriority=1.000000 in all rules, now appeared all!!

have some way to put the maps in order to vote map, everything is appearing out of alphabetical order in votemap?

Higor could implement a search button? would be very good and would stay but complete...

I could not put the work in to NewNet 9 cacus, only works if you put the actors in unrealtournament.ini on your server is not working too ..

Image
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

Test release 2.
- Added setting aliasing.
- Premade list support (default unreal SP map list in filter slots 100-138)
- Fixed bug with gametypes with VotePriority=0 breaking the client interface.
- Fixed bug causing incorrect filters to add maps to a gametype list in very specific cases.
- Map list can now have multiple entries with the same map string (useful for manual editing).

LINK READDED
CacusMapVote_test3.7z
Fixed a critical bug
(38.91 KiB) Downloaded 71 times
Added onto documentation:

Code: Select all

=== Premade map lists ===
Premade map lists are created via filters, all it takes is a filter starting with "premade".
Premade list is useful to force a specific order on an arbitary map set.
The default config has "premadesp" as an example in filter slots 100-138.
Premade lists do not do map checks! So make sure every single map in the list loads.
You cannot add wildcards to premade filters, they do exact map name checks.
Map names in premade lists must not contain extension.
Obviously, premade lists do not work at all in 'Exclude' lists.

Code: Select all

=== Aliasing ===
You may alias a text into a smaller wildcard within the characters <,>
This is useful for readability, and quick updates of multiple gametypes that share mutators/packages.
Aliasing can be used on the following settings:
- MainServerPackages
- CustomGame[x].Packages
- CustomGame[x].GameClass
- CustomGame[x].MutatorList
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

Hi, Higor
not yet loading this the NewNet in CacusMapVote and
Not set setting the value in the siege -> GameSpeed ​​= 1.250000, even putting in the .ini siege
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

- Fixes mistyped URL's with space characters at the beginning causing the mutator to fail detecting a map's gametype.
(As seen while going from Ruins->Trench in Unreal SP)
- Recovery system if a map fails to load, the level switch timer is reset and the voting windows can be reopened, votes are reset as well.
CacusMapVote_test4.7z
(39.23 KiB) Downloaded 67 times
@[rev]rato.skt
Paste that specific game mode line so I can see it.
User avatar
[rev]rato.skt
Adept
Posts: 438
Joined: Mon Aug 16, 2010 1:09 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by [rev]rato.skt »

Unrealtournament.ini
CacusMapVote.ini
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: BDBMapVote, MapVoteLA... some questions and a project.

Post by Higor »

That's the GU version of NewNet, expect no help other than your own abilities.

Regarding GameSpeed.

Code: Select all

var() globalconfig float GameSpeed;
Being defined as globalconfig means one thing, you change game speed in one gametype, and it will persist on any other gametype.
You'll need a GameSpeed option on every-single-game-rule you specify.

And make your strings shorter, you don't need the zeros
GameSpeed=1.25
Post Reply