PDA

View Full Version : DuelGame5 completed



ProAsm
05-25-2003, 09:05 AM
http://www.unrealza.co.za/proasm/images/duellogo.jpg

Unlike previous versions which were just a conversion of the popular "ProDuel" for UT1, DuelGame5 has now finally been re-written from scratch for UT2003.

The Game:
1 vs 1 Duel, the winner stays in.
If a player joins the server he will become a spectator automatically and wait in line until it's his turn to challenge the current winner.
The challenger may choose the map.

The Features:
- Highscore list. You can get in the Server's Top Ten list for wins-in-a-row (undefeated).
You can always come back to the server and try to better your score and therefore your place in the TopTen list.
Also the No.1's name will be put in the scoreboard until someone beats his score!

- Extensive Player Stats
The Scoreboard features Weapon Stats and Award Stats, so you see how many Headshots, Killing Sprees, Rampages, Godlike etc. you managed to achieve and also Damage Stats (Given/Taken).

- Auto Screenshot
After every game a screenshot of the scoreboard will be automatically taken (optional)

- Swopping
Spectators can request other Spectators to swop places with them in line.
Also a player can request a spec to swop with him.

- Spec Mute
A Player can decide to mute the Specs, so he does not see the (maybe distracting) chatting of the Spectators.
He can still see the chat of his opponent though and when the game is finished it will be reuterned to normal for all the 'gg' and 'omg'.

- Admin Menu
The Admin Menu features all necessary settings like Goalscore, Timelimit, en- or disable Weapon Stay, Shields, Health, Adrenaline, Force Respawn, Respawn Protection, BrightSkins and lots more (like a button to start/stop Serverside Demorecording! and Chatlogging)

- Client Options
In the Client Menu you will find options to dis-/enable the display of time&date, elapsed gametime and other counters in the hud. Also lots more.

DuelGame can be run as standalone 1vs1 Server or as a voteable gametype.
Its 100% TTM compatible and applies to the WCG standards.
Of course it runs with insta gib as well as with normal weapons.

For all features check it out at:

http://www.unrealza.co.za/proasm/

Direct download:

http://www.unrealza.co.za/files/mods/duelgame5.zip

Thanks to Yakomo for this write up and all the inputs and testing.
Also to the =]DBoZ[= clan for the beta testing.

legacy-TDW-Socke
05-25-2003, 12:53 PM
:up:
of course i'll try it on our servers ;)

nice addon for our 1on1-freaks :D

legacy-TDW-Socke
05-28-2003, 04:31 AM
Hi Ben, i've got 3 "problems" with DuelGame5:

1. The Countdown at the end counts only down to 6 or 5.

2. After a mapswitch, it often happened, that the looser staid in the game, and wasn't replaced by the next spec. We only tested this with 3 players...

3. I set useMaplist to false in the ut2vote16.ini, but DuelGame only shows some standart-maps. How can i tell it, to use all maps?

here is my duelgame.ini:


[DuelGame5.DuelGameConfigs]
DGPass=xxx
bWStay=False
bDamage=False
bShield1=True
bShield2=True
bHealth1=True
bHealth2=True
bVials=True
bAdren=False
bLights=True
bForce=True
bDuelHud=False
bClassic=False
ClasWins=3
WinLimit=99
NumSwops=3
MaxSpecs=10
NumFrags=0
GameTime=5
EndWait=60
SkinGlow=100
Qualify=30
MinSpecs=1
SpawnProt=0
bLogChat=False
bBehind=True
bThrow=True
bTaunts=False
bTransL=False
bAltQuery=True

bMapClose=True
bMesgFade=False
bSwitched=False

[DuelGame5.DuelGameInfo]
Player1=
Player2=
LastWin=
NumWins=
Champion=
DisPlayer1=
DisPlayer2=
PhraseNum=1
Spectator[0]=
Spectator[1]=
Spectator[2]=
Spectator[3]=
Spectator[4]=
Spectator[5]=
Spectator[6]=
Spectator[7]=
Spectator[8]=
Spectator[9]=
Spectator[10]=
Spectator[11]=
Spectator[12]=

[DuelGame5.MapListDuelGame]
MapNum=0
Maps=DM-Antalus
Maps=DM-Compressed
Maps=DM-Curse3
Maps=DM-Gael
Maps=DM-Flux2
Maps=DM-Insidious
Maps=DM-Leviathan
Maps=DM-Oceanic
Maps=DM-DE-GrendelKeep
Maps=DM-DE-Ironic

ProAsm
05-28-2003, 04:02 PM
I have had reports about the game ending 5 seconds before time.
Why this is I do not have a clue as the DuelGame does in no way monitor or alter the game time at all.

Regarding the players not rotating, ok I'll keep a note on that.

The Maplist.
DuelGame only uses the Maplist in the DuelGame5.ini file and this can either be manually added to or adjusted from WebAdmin.

Please note:
The DuelGame will only handle a maximum of 30 to 40 maps depending on the mapname length.
The DuelGame is not designed for all maps as only a very few maps out their are regarded as professional quality Duel maps.

Regarding setting from UT2Vote or any other Mutator for that matter.
The DuelGame TOTALLY disregards any setting you may have in any commanline anywhere and ONLY uses its own settings set in the Admin Menu.

legacy-TDW-Socke
05-28-2003, 08:10 PM
ok, so 1 question left; what about insta, is it possible, to play duel with insta, if it disregards the commandline?

i tried it via ut2vote, but no go...

legacy-TDW-Socke
05-29-2003, 06:54 AM
ah, one thing i forgot: we testet it yesterday with 12 players, and sometimes the spectator-wait-list was totally mixed up (without someone swopping)

and another thing in conjunction with ut2vote: if i log in as admin and want to end Duelgame, i have to swop with one of the two players, which that one must agree. else i can't use ut2vote to switch to another gametype.

in my opinion thats not optimal. an admin should be able to use ut2vote, even if he's a spectator in duelgame.

ProAsm
05-29-2003, 05:40 PM
When I say Commandline, I mean the ?Whatever=

To launch the DuelGame with any Mutator may it be InstaGib or whatever it will accept Mutators in a commandline.

?Game=DuelGame5.DuelGame?Mutator=XGame.MutInstaGib
or from UT2Vote where the GameType as the Mutators=

Sorry about the confusion :)

Regarding the 12 player mixup - well during testing we only had 8 or 9 and it worked great so exatly what happened I'm not sure, although one must remember that DueLGame is not designed with UT2Vote in mind as it is a complete standalone game.
Launching it from UT2Vote was, and never will be a priority.

Anyway in UT2Vote17 I will see if I can get around this Admin problem as a Spectator in the DuelGame is a totally different type of Spectator as what UT2Vote sees.

legacy-TDW-Socke
05-30-2003, 11:52 AM
so do i get it right, if duelgame is already running, i can't switch to insta via ut2vote. what if i switch to ut2vote bofore starting duelgame?

if that doesn't work, i have to define a gametype like you mentioned above, right?

the 12 player problem: i didn't watch it that perfect... it was mixing the spectator-list. i don't know exactly, which positions, sorry...

ProAsm
05-30-2003, 05:35 PM
Yes you have that correct. DuelGame does not accept any voted items but maybe I change that in a possible future version.
It will only accept Mutators from its startup.

The DuelGame does have an additional GameType which we used for Beta testing and I see its still in there so use that.

Setup a second DuelGame in UT2Vote's GameType=
The ClassName="DuelGame5.DuelGameX" then add the
Mutators="XGame.MutInstaGib"

legacy-TDW-Socke
05-31-2003, 12:14 PM
it works, thanks ;)

another thing: is it naecessary to always restart the map, if one player is disqualified, before the map starts?

we had it some times, that people don't understand this mod and leve the channel, just when they are up to play. some minutes ago this happened 5 times!...

btw, the same thing i think is not perfect with the ut2vote-warmup. ttm can do the warmup and start the game, without reloading the map. maybe you could do it the same way???

ProAsm
05-31-2003, 12:56 PM
Regarding the restarting of the map, I might do this in the DuelGame when a player is disqualified but from the warmup in UT2Vote, its a hell of a lot easier to just restart the level - saves a ton of code :)

legacy-TDW-Socke
05-31-2003, 05:27 PM
couldn't you just check, if ttm is present, and if so, let ttm do the warmup? just a suggestion ;)

ProAsm
05-31-2003, 06:01 PM
ooo you the first guy with this suggestion.... you wanna see the mails I have about the exact opposite :D

legacy-TDW-Socke
06-01-2003, 06:56 AM
really??? :D

hehe, so how about a switch to wether use ttm- or ut2vote-warmup?

ttm is getting more and more important. every important league uses it. I also don't like, how it mixes up some gametypes and how it treats ut2 to do things, but it's nearly standart.

ProAsm
06-01-2003, 07:14 AM
Yes I am looking at some kind of switch but the problem is if TTM's warmup in enabled, I cannot disable it so all I can do is your first suggestion is disable the UT2Vote Warmup when TTM is running and I know this is gonna piss many people off but there is not much I can do about it.

legacy-TDW-Socke
06-01-2003, 08:34 AM
the problem with the ut2vote-warmup is, that after the warmup (restart) the teams are mixed up, and the game has to be stopped, teams must set up again, and the game can continue. That's not perfect for the gameflow after the warmup.

I can't imagine, why anybody would like it that way...

ProAsm
06-01-2003, 11:35 AM
Wow - you have wierd problems.
UT2Vote's ClanMatch gets used in many places and no-one as far as I know has teams being mixed up because during a ClanMatch BalanceTeams=False and bPlayersBalanceTeams=False so you must have something that interferes with this - maybe TTM is causing it.

legacy-TDW-Socke
06-02-2003, 04:58 AM
maybe you could talk to the makers of ttm. perhaps they have some kind of "interface" to interact with programs like ut2vote.

and there is no way of leaving ttm outside, because it's really a must for the leagues, especially in europe.

legacy-PhantomPowerz
06-10-2003, 01:09 AM
Originally posted by TDW-Socke

1. The Countdown at the end counts only down to 6 or 5.

I've got the exact same problem on our server after we upgraded to DuelGame5 from version 4.

Any fixes?

ProAsm
06-10-2003, 04:13 PM
Yes I have noticed this but cannot see why its doing it as the code does not go anywhere near the game time at all.

Anyways if I cannot find the cause I'll just add 5 secs to the game :)

legacy-PhantomPowerz
06-10-2003, 05:30 PM
Originally posted by ProAsm
Yes I have noticed this but cannot see why its doing it as the code does not go anywhere near the game time at all.

Anyways if I cannot find the cause I'll just add 5 secs to the game :)

That's great! Yeah, we get alot of complaints about the game ending too soon. It's either 5 or 6 seconds every time.

We run TTM v2.1 and DuelMod5 right now. We were running TTM v2.1 and DuelMod4 before with no issues. So since the only thing that changed is upgrading the DuelMod to version 5, I can only assume that is the issue for whatever reason.

Thanks alot, this modification totally rules and we've got a bunch of server regulars that can attest to that.

legacy-SpazzTic
06-13-2003, 03:57 PM
Hey Pro, love your mod. One problem though:

I run UTSecure211 on all of my servers. But with DuelGame active, UTSecure doesn`t properly scan the client. This is verified because I changed the Gametype to DM on the same server, keeping all other settings the same, and UTSecure worked perfectly.

The message I get in my logs is "Ignoring Spectator WebAdmin". Thats the only message. :P I have tested this config with stock and modified files that got me booted from my other servers properly...i dunno. I assume the key is in the PlayerController code within DuelGame. *shrug*

Any ideas?

ProAsm
06-13-2003, 06:35 PM
SpazzTic - The DuelGame does not use a PlayerClass, or a PawnClass. I purposely left those alone so it would be TTM compatible.

It is possible that UTSecure gets shunned as the DuelGame is very riggit in that it over rides virtually anything that tries to command it. For instance try changing a TimeLimit or ScoreLimit with a ?TimeLimit= etc - it will just get ignored.

And yes, I do look out for the WebAdmin Spectator and dump it if it comes around as it causes major problems to the game as far as the Spectators are concerned.
With only 2 players in the game, I felt the necessity of the game requirments overruled UTSecure.

legacy-SpazzTic
06-13-2003, 11:43 PM
Is there any kind of a workaround?

Not be a bother -- I just have a couple of people that everyone is sure of botting, but its a pretty hardcore crowd and I don`t want to take rash action without proof.

In addition to this, the inability to pass commandline arguments through the mod also makes it impossible to enable Global stats. (i.e. "..?GameStats=True")

If not, thats fine. Just wondering...

I again thank you for all of your hard work.

ProAsm
06-14-2003, 07:34 AM
No there is no work around.

Anyway as far as I know UTSecure only checks for skin cheats etc and cannot do anything about botting etc..

GameStats it should pass.

legacy-VladTepz
07-18-2003, 03:03 PM
Any word on a CTF version of DuelGame? :D

Vlad

ProAsm
07-18-2003, 07:38 PM
I'm busy with it atm as I type here :)

Will be a little while still, I only started on it this afternoon but its looking good so far ;)

legacy-|GG|Absolut_X
07-19-2003, 07:00 AM
woohoo ctf version :D :D :D

cant wait for that one......

legacy-VladTepz
07-19-2003, 10:27 AM
Originally posted by |GG|Absolut_X
woohoo ctf version :D :D :D

cant wait for that one......
My thoughts exactly. :up:

{BøB}VladTepz

legacy-cynshane
07-20-2003, 10:01 PM
I am having a problem with the web admin, when I set the duel5 in my command line then set a map or mutator, then switch maps, i can not get back into my webadmin...or if I take it out of my commandline then set the game type to Dueal Tournamnet....then I get the same problem not being able to access my web admin. Any ideas?

Thanks

Frogger
07-21-2003, 02:14 PM
Originally posted by cynshane
I am having a problem with the web admin, when I set the duel5 in my command line then set a map or mutator, then switch maps, i can not get back into my webadmin...or if I take it out of my commandline then set the game type to Dueal Tournamnet....then I get the same problem not being able to access my web admin. Any ideas?

Thanks

we are having similar issues on our server. We cannot access webadmin at all once Duel is added to .bat. It acts as if we are using wrong password. We set DGPass to the same as AdminPassword, but to no avail. Have you had any issues with webadmin not working?

btw..excellent job:up:

ProAsm
07-21-2003, 05:19 PM
This is real wierd as I use Webadmin all the time and I have 2 DuelGame5 servers and have never encountered this problem.

Only thing I can think of is you guys are using Normal WebAdmin and not Advanced WebAdmin.

I'll do a complete test tomorrow on my server and see if I can get something like this happening and get back to you.

ProAsm
07-21-2003, 06:44 PM
Ok I went and did a test now and no matter what I did I could not get it to do what is happening to you guys.

I logged on from WebAdmin - switched to DM-Gael - WebAdmin came up great.

I then switched a Mutator and immediately after I clicked on "Switch" - I rebooted my PC so it would loose the password etc.
When the PC came to life, I logged on again and no problem.
I then switched to a map that I know is not in the DuelGame5 MapList and it accepted that ok also.

I again rebooted my PC, then went and had a game so that the level changed over etc... exited the game and logged on with WebAdmin and all worked 100%.

Frogger
07-21-2003, 08:05 PM
this is .bat we are using...webadmin works for all other set-ups.. thanks for looking at ProAsm..

@echo off
:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?Translocator=True?m utator=MapVote400b11.MapVote?Adminname=xxxxx?Admin password=xxxxx?ini=UT2003.ini log=Server.log copy Server.log sServercrash.log
goto 10

ProAsm
07-21-2003, 09:24 PM
The ?Adminpassword=xxxxx?ini=UT2003.in is wrong!

It should read:

?Adminpassword=xxxxx -ini=UT2003.in

The ?Translocator=True is useless here with the DuelGame.
If the Translocator is set as false in the DuelGame, you can put what you like here, it will remain false :)

Ok I see you are NOT using Advanced Admin - that is your problem!!!

To use Advanced Admin.

Dump the ?Adminname=xxxxx?Adminpassword=xxxxx alltogether from your commandline - it does not work in Advanced Admin and is not needed.

Now in your UT2003.ini file add this under:

[Engine.GameInfo]
AccessControlClass=XAdmin.AccessControlIni

If there is any other AccessControlClass= in there, remove it.

Copy and Paste this at the end of your UT2003.ini file:

[XAdmin.AccessControlIni]
KickToMenu=Xinterface.UT2NetworkStatusMsg
PrivClasses=Class'XAdmin.xKickPrivs'
PrivClasses=Class'XAdmin.xGamePrivs'
PrivClasses=Class'XAdmin.xUserGroupPrivs'
PrivClasses=Class'XAdmin.xExtraPrivs'


Now create yourself an ini file and call it XAdmin.ini and in there you put this:

[XAdmin.xAdminConfigIni]
AdminUsers=(AdminName="xxxxxxx",Password="xxxxxxxx",Privileges="",Groups=("Admin"),ManagedGroups=())
AdminGroups=(GroupName="Admin",Privileges="",GameSecLevel=255)

Now start your server and from now on everytime you logon, whether to the game or WebAdmin you will always need both Username and Password

Adminlogin username password

Frogger
07-21-2003, 09:49 PM
gonna try...thanks alot..(been admining for a while now...never seen this....)

Frogger
07-21-2003, 11:05 PM
ok..we tried like this..and get..."commandlet server not found"

added necessary lines to ini and created Xadmin.ini..

@echo off
:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?ini=UT2003.ini?muta tor=MapVote400b11.MapVote?log=Server.log copy Server.log sServercrash.log
goto 10

legacy-Wolfman [TWP]
07-22-2003, 09:43 AM
Originally posted by frogger187
ok..we tried like this..and get..."commandlet server not found"

added necessary lines to ini and created Xadmin.ini..

@echo off
:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?ini=UT2003.ini?muta tor=MapVote400b11.MapVote?log=Server.log
copy Server.log sServercrash.log
goto 10

It might just be me, but shouldn't that .BAT file read:-

@echo off
:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?mutator=MapVote400b 11.MapVote ini=UT2003.ini log=Server.log
copy Server.log sServercrash.log
goto 10

Or it could be this message editor is stuffing up the format here.

Wolf

legacy-Siq_Puppy
07-22-2003, 03:59 PM
Originally posted by frogger187
ok..we tried like this..and get..."commandlet server not found"

added necessary lines to ini and created Xadmin.ini..

@echo off
:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?ini=UT2003.ini?muta tor=MapVote400b11.MapVote?log=Server.log copy Server.log sServercrash.log
goto 10

:10
ucc server DM-BDC-Bodies?Game=DuelGame5.DuelGame?mutator=MapVote400b 11.MapVote -ini=UT2003.ini -log=Server.log
copy Server.log sServercrash.log
goto 10

Just like in ProAsm's above message your ?ini= and ?log= references are wrong. Incorrect syntax. Make sure your syntax is correct. That is imho the biggest reason for problems that admins encounter is not paying close enough attention to what they are told to do.

Siq

legacy-Minion
07-23-2003, 11:20 AM
First of all, I want to thank all of you who are taking the time to help with this matter. I admin the server that is having this problem. I am a new admin and have a lot to learn. I enjoy the Duel mod very much....I just can't seem to get it right.

I tried the last .bat config....( thanks Siq)..but rercieve this error when starting server..

"DuelGame DM-BDC-Bodies.DuelGame <Function DuelGame5.DuelGame.set scoreboard:01FS.....then repeats and ends with "Do Spec Signals:0031"

I'm sure this is due to something else I did wrong in the set up :(

If you have any advice I would appreciate...thanks for your patience with my noobness!

ProAsm
07-23-2003, 02:36 PM
Minion I think the best is email me your ini files and let me see what your setup is.

1. Your server UT2003.ini file or whatever file you use.
2. The DuelGame5.ini file
3. Your Server Startup Commandline, or Batch file if you use one.

proasm@stormnet.co.za

Oh... and just a tip, NEVER start a server with a custom map.
(DM-BDC-Bodies) - rather use a default map like DM-Antalus, DM-Compressed or something like that.
Sometimes these custom maps require something that gets corrupted and you end up with all sorts of problems and could spend weeks trying to figure out the problem.

legacy-Minion
07-23-2003, 04:41 PM
Thanks for the tip Proasm. Will send requested files tonight.

Frogger
07-25-2003, 12:40 AM
Originally posted by Siq_Puppy
Just like in ProAsm's above message your ?ini= and ?log= references are wrong. Incorrect syntax. Make sure your syntax is correct. That is imho the biggest reason for problems that admins encounter is not paying close enough attention to what they are told to do.

Siq

Siq,
thanks for helpful response..the misunderstanding came I guess when ProAsm said "It should read: ?Adminpassword=xxxxx -ini=UT2003.in"...and then later said.."Dump the ?Adminname=xxxxx?Adminpassword=xxxxx alltogether from your commandline - it does not work in Advanced Admin and is not needed."

I wasn't sure what that meant..nonetheless, we'll keep workin on it..thanks all for your help...