Mapvote to vote for Maps and Mutators

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

LittleHorn

New Member
Jul 9, 2004
27
0
0
fixing v24b is hard work when you dont know how to code:

As far as i am aware this is the best way to work the latests version of x3dfxMapVotev24b.

i installed v24b and found that the INI file pointed to v24b and the files were named v24b. However in the INT file, there was a problem where it was pointing to v24 instead of 24b.

[Public]
Object=(Name=x3dfxMapVotev24.x3dfxMapVote,Class=Class,MetaClass=Engine.Mutator,Description="x3dfxMapVote v2.4")

i tried to fix this by editing the int file to:

[Public]
Object=(Name=x3dfxMapVotev24b.x3dfxMapVote,Class=Class,MetaClass=Engine.Mutator,Description="x3dfxMapVote v2.4b")

This only caused problems where the button names would disappear along with the settings and then it would stay screwed. when a player logged in as admin it would trigger the loss of the settings.

so i reinstalled it and changed all the files to point to v24 rather than v24b...


...i renamed the files to ...v24.u and ...v24.int and edited part of the ini file:
from [x3dfxMapVotev24b.x3dfxMapVote]
to [x3dfxMapVotev24.x3dfxMapVote] as well as MapVoteHistoryType=x3dfxMapVotev24b.MapVoteHistory1 to MapVoteHistoryType=x3dfxMapVotev24.MapVoteHistory1

this way the int file pointed towards the right files, without editing the int itself...

the problem is that v24b replicates v24b and now that all the files have been renamed it will not self replicate.

Warning: Failed to load 'x3dfxMapVotev24b': Can't find file for package 'x3dfxMapVotev24b'
Warning: Failed to load 'Class x3dfxMapVotev24b.x3dfxMapVote': Can't find file for package 'x3dfxMapVotev24b'

this can be fixed by adding ExtraMutators=x3dfxMapVotev24.x3dfxMapVote to the ini file.

However the button name bug still exists. this time the button bug is only triggered by an admin logging in, and when a player logs in as admin, the mapvote will not overwrite the settings. it seems to be a minor glitch. the mapvote seems to have lost the majority of settings in the admin tab but if you reconnect the button names will still be intact. this is probably due to the amateur attempts at fixing this by renaming the files!



There is definately a problem with the original file where my guess would be is there is a conflict of names. i think the bugs would be sorted if the .u file was checked for bugs and if the int file was

[Public]
Object=(Name=x3dfxMapVotev24b.x3dfxMapVote,Class=Class,MetaClass=Engine.Mutator,Description="x3dfxMapVote v2.4b")


i am not a coder so i cant say exactly whats wrong but im just hoping this gives you enough information to fix this for us Bonehead? :D


i have spent a good 3 hours changing around the different files and file names, using combinations of v24 and v24b files and this is the closest i have come to seeing an improvement... *sighs*

there are minor problems with this and would it be possible for you to also look into my CGT problems? where i cannot have two CGTs which must overwrite DM maps. i cant even set one to overwrite LMS and take out lms... that is also a confusing bug to explain. but i am setting it up correctly as far as i am aware. either two gametypes which generally overwrite DM (even though i can choose to overwrite TDM or LMS) cannot be saved as CGTs without one not working, or there is a problem. i have disabled whichever gametype i overwrite and prefix swap. have a go at it for me with two gametypes which dont automatically have their own prefix swap and see what i mean.

sorry this is so confusing and i hope it is understood and i hope even more so that it can be fixed...

im still looking at alternatives etc but may not be here for long:
http://www.unrealadmin.org/forums/showthread.php?p=43956


Franco
 
Last edited:

Bonehed316

New Member
Oct 15, 2001
208
0
0
42
Florida
Visit site
renaming the file will only break things. of that you can be sure.

as far as your button problems, i can not replicate them. when i or anyone logs in as admin, the admin window works fine for us.

as far as the CGT bugs, im not sure, but you should be able to override DM maps twice (thats how LMS does it, since there are not actually any maps with the LMS prefix). ive never ran through the logic for that, though.
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
heh thats why i tried to overwrite LMS...

i understand that bugs can be caused by renaming files etc, but in my case it seems to help slightly.

i downloaded the file from http://www.nightstormer.com/bonehed316/x3dfxMapVote.zip

and its the latest one as i reinstalled it tonight, over and over and over again lol


im certain its nothing im doing. i will test later if it has anything to do with the mods im running (doubt it)

Fearless said:
It's been doing this since the first version you brought out. I'm not sure but I think it occurs after you set the button names via console instead of modifiying the ini and restarting the server. I'll have to check the vote count the next time this happens.
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
LittleHorn said:
i installed v24b and found that the INI file pointed to v24b and the files were named v24b. However in the INT file, there was a problem where it was pointing to v24 instead of 24b.

[Public]
Object=(Name=x3dfxMapVotev24.x3dfxMapVote,Class=Class,MetaClass=Engine.Mutator,Description="x3dfxMapVote v2.4")

i tried to fix this by editing the int file to:

[Public]
Object=(Name=x3dfxMapVotev24b.x3dfxMapVote,Class=Class,MetaClass=Engine.Mutator,Description="x3dfxMapVote v2.4b")

This only caused problems where the button names would disappear along with the settings and then it would stay screwed. when a player logged in as admin it would trigger the loss of the settings.

this is what happens when i have setup all correctly using the new int file which i figured wasnt right aaages ago anyway:

*load mapvote and all is fine.
*close mapvote
(*open and close again and still all is always fine)
*log in as admin.
*load mapvote and all is not fine.

http://nonofficialcover.eleetweb.com/shot1.jpg
http://nonofficialcover.eleetweb.com/shot2.jpg
http://nonofficialcover.eleetweb.com/shot3.jpg
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
hmm it seems to work in practice mode, im going to remove my settings, perhaps theres just too many, could this be a problem? il let you know if i fix it if im still online when i do or dont.

ty for your attention

Franco
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
i got mine to work, seems it doesnt like a very specific mod, i will install the new one and see if it conflicts too. i will tell you the problems if it does
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
ok 24c works with the mod that didnt work on the previous version however there is a prob with 24c:

works perfect even when logged in as admin (ty ty ty ty ty ty :D)

this is until i tick the OtherGame box to true... then the top 4 buttons names stay and the rest disappear...

currently messing with settings, could you fix this too if possible please? i did mention it before when it didnt seem predictable when this error occured. apparrently there are a few resons behind it

i have just now realised that it happens in conjunction with admin login once again. i set othergame to true using the ini and start the server and it works until i log in as admin. i can logout and reconnect and all will be fine. this bug is annoying o_O

im going to take out the mod that affected the 24b and see if that helps
 
Last edited:

LittleHorn

New Member
Jul 9, 2004
27
0
0
taking out the mod that affected 24b makes no difference. if i check othergame=true ingame it will be fine. i can save it and reconnect and there will be no affect on mapvote however it will not actually put in the othergame until i click reload mapvote. as soon as i do that then the error occurs, when mapvote starts when othergame=true
 

LittleHorn

New Member
Jul 9, 2004
27
0
0
its within the game mode that im using that is causing the problem. mapvote doesnt like a conflict where game modes are trying to replace the same prefix. i have just looked into the other game modes now i know the mapvote was fixed and the problem is within the conflicts i believe.

ty for all your help
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
I upgraded to v2.4c but I keep getting this message in the server log :

ScriptLog: Unknown Mutator in use: x3dfxMapVotev24c.x3dfxMapVote

Any help appreciated.
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
I managed to fix it but I'm not sure how. I may have mistyped the package name but there was also an older version in another path. I don't think the issue is related with x3dfxmapvote as I noticed this message was popping up for other packages afterwards. Anyway, version 2.4c is running fine now ;) .

However, I have observed another issue where the server would travel to another map besides the one that got the vote majority (sounds like the elections, hehe :D ...). For example, DM-Morpheus would get voted and then the server would switch to DM-Liandri for example. Very odd indeed. I'll see if I can reproduce it.

P.S: Tested the custom gametypes feature for Halloween and it worked quite well. The only "glitch" is that gametype name didn't display between the parentheses.
 
Last edited:

Bonehed316

New Member
Oct 15, 2001
208
0
0
42
Florida
Visit site
Odd problem with the wrong map. Could be anything, I suppose. As for the Gametype name, youre right. It wasnt completed, heh. I'll try and fix that soon, when I have a few minutes.
 

Genetics

New Member
Nov 4, 2004
1
0
0
Great idea and great work on this mod Bonehed.

One request which was brought up a little earlier and I'm not sure if this is easy for you to implement or not. There is a tournament mode option in UT which causes each person to click and be ready before the map starts. Is there a way to code this into the map vote in some friendly interface way?

The admin console for this is admin set botpack.deathmatchplus btournament=true/false

Plausible?

Genetics
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
Bonehed316 said:
Odd problem with the wrong map. Could be anything, I suppose. As for the Gametype name, youre right. It wasnt completed, heh. I'll try and fix that soon, when I have a few minutes.

Yep, this hasn't occured since as far as I know and it may have been caused by a misbehaving mod I'd briefly installed. Btw, what I meant is that Morpheus would be chosen in one case and the server would switch to Liandri instead (edited the other post), but you probably understood that. Concerning the Gametype name, this isn't a real issue. If I had the knowledge to program something like this, I'd tend to the core stuff first and the cosmetics later :p .

Genetics, a tournament option would require one to set maxplayers to the number of players that are present on the server. If someone happens to leave just before the start of a match, it has to be adjusted yet again.
 
Last edited:

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
Ok, I just had that weird problem where the server would switch to a random map and had the instant reflex of saving the log. There's nothing conclusive in there as far as I can see but maybe you make some sense of it.

ScriptLog: Administrator logged in.
Warning: Failed to load 'eightleggedfreaks': Can't find file for package 'eightleggedfreaks'
Warning: Failed to load 'Class eightleggedfreaks.Tarantula': Can't find file for package 'eightleggedfreaks'
ScriptLog: Couldn't spawn player at DM-Campingrounds-LE.PlayerStart6
Warning: Failed to load 'gollum': Can't find file for package 'gollum'
Warning: Failed to load 'Class gollum.gollum': Can't find file for package 'gollum'
ScriptLog: Failed to spawn bot.
ScriptLog: Found DM-Campingrounds-LE.NullAmmo1 at 2144.000000,800.000000,-896.000000
ScriptLog: Found DM-Campingrounds-LE.NullAmmo2 at 2144.000000,800.000000,-896.000000
ScriptLog: Found DM-Campingrounds-LE.NullAmmo3 at 2144.000000,800.000000,-896.000000
ScriptLog: Found DM-Campingrounds-LE.NullAmmo4 at 2144.000000,800.000000,-896.000000
ScriptLog: Found DM-Campingrounds-LE.NullAmmo5 at 2144.000000,800.000000,-896.000000
ScriptLog: Game ended at 385.066071
ScriptLog: !!!!!!!!!!!!!!! CALC END STATS
ScriptLog: ProcessServerTravel: DM-turbine.unr
DevNet: NotifyAcceptingConnection: Server MyLevel refused
(...)
DevNet: NotifyAcceptingConnection: Server MyLevel refused
Log: Server switch level: DM-turbine.unr
Log: Browse: DM-turbine.unr?Name=Player?Class=Botpack.TMale2?team=0?skin=SoldierSkins.blkt?Face=SoldierSkins.Othello?game=BotPack.DeathMatchPlus?mutator=x3dfxMapVotev24c.x3dfxMapVote,
Log: LoadMap: DM-turbine.unr?Name=Player?Class=Botpack.TMale2?team=0?skin=SoldierSkins.blkt?Face=SoldierSkins.Othello?game=BotPack.DeathMatchPlus?mutator=x3dfxMapVotev24c.x3dfxMapVote,
Log: Case-insensitive search: DM-turbine.unr -> ../Maps/DM-Turbine.unr
NetComeGo: Close TcpipConnection61 Thu Nov 11 17:11:30 2004
Exit: WinSock shut down
Log: Case-insensitive search: DM-turbine.unr -> ../Maps/DM-Turbine.unr

What I did is do a normal vote to switch to CampingGrounds and then I logged in as an admin to do a force switch to the same map with no mutators loaded. That's when the server switched to DM-Turbine (the default map).

Edit : Forgot I spawned some bots on that CG map and they disappeared afterwards.
 
Last edited: