Server Help

Bot Questions - CTF Plugin not working

General Shadow - Sun Jan 24, 2010 6:51 pm
Post subject: CTF Plugin not working
So I was testing out an old CTF plugin: [ctf.dll v5.2] by Purge

We have it so that there it is sorta like mg, capture the other teams flag. However, when we take the flag to our designated "flagroom", the bot warps the flagger to his/her spawn and the enemy's flag warped back to where it originally started.
Cheese - Sun Jan 24, 2010 11:59 pm
Post subject:
i notice there is no question, therefore noone needs to answer
Samapico - Mon Jan 25, 2010 8:23 am
Post subject:
No description of a problem, either.
General Shadow - Mon Jan 25, 2010 9:50 am
Post subject:
Oh, guess I forgot to mention it doesnt score. When we pm the bot !score after taking the flag to the goal, its show 0 to 0 still. It also does not announce a goal has been made.
Cheese - Mon Jan 25, 2010 1:59 pm
Post subject:
have you tried sending it !start first?
General Shadow - Mon Jan 25, 2010 4:56 pm
Post subject:
Yea, i sent it !enable and it said CTF enabled.
Samapico - Mon Jan 25, 2010 5:52 pm
Post subject:
How did you define the flagroom(s) ? You should post whatever config the plugin has.
General Shadow - Mon Jan 25, 2010 7:27 pm
Post subject:
Here is what is in the config file:

; ctf.dll
; [Edited by Purge]

; Required settings:
; [Flag]FlagDropDelay=? <- Set really high if your [Game]Timer=0, else set =[Game]Timer * 100
; [Flag]FlaggerOnRadar=1 <- So people can compete
; [Flag]CarryFlags=2 <- Only carry one flag at a time, important if one flagger kills another flagger
; [Flag]FlagMode=1 <- Warzone style
; [Flag]FlagReward=0 <- Never win jackpot
; [Flag]MaxFlags=2 <- Two teams, two flags
; [Flag]FlagTerritoryRadius=1 <- Admiral Kirk says this is optimum
; [Flag]FlagTerritoryRadiusCentroid=1
; [Flag]NoDataFlagDropDelay=32767 <- Bot has trouble with these settings
; [Flag]FlagBlankDelay=32767 <- Bot has trouble with these settings
; [Team]MaxFrequency=2 <- two teams only are supported right now
; [Team]MaxPerTeam=255
; [Team]DesiredTeams=2
; [Team]ForceEvenTeams=0 <- ONLY NECESSARY if the bot isn't a sysop

; Configure the CTF game in here.
; Public teams 0-1 are supported.


; These are the coords where each team's flag respawns.

[Flags]
0=390, 512
1=632, 512

; Distance from the flag spawn centroid where the goal is located

GoalRadius=1


; These are the coords where each team's players respawn.

[NewSpawn]
0=318,450 , 318,450
1=705,600 , 705,600


; These are bounding rectangles where each team's players respawn.

; Format: x1, y1, x2, y2

; x1, y1---
; | |
; | |
; ---x2, y2

[OldSpawn]
0=386,505 , 398,518
1=625,505 , 637,518


[Points]

; Change points granted to the flagger and his team for winning.

Flagger=1000
TeamVictory=50


; Change game settings

[Game]

; Minimum number of players per team for points to be awarded.

MinimumTeamPlayers=1


; Modes:
; 0: Flag race - game ends at a certain number of goals
; 1: Soccer-style - game ends when a team has a number of rounds higher than the other in wins
Mode=0


; When a player's timer runs out with a flag, he automatically gets a goal
; Set =0 to disable the timer. When enabled, only timer-goals will count
; When disabled, you must return to your flag area to score a point.

Timer=0


; Must a team attempting to make a goal be in control of their flag?
; 0=no, 1=yes

MustControl=1


; Number of goals until a team is victorious

Rounds=2


[Teams]

; Difference in teams before the evener is used

MaximumTeamDifference=3


; Change the text displayed by !rules

[Rules]
Line0=Capture the flag!
Line1=Go to your enemy's base, grab his flag and run back to your own.
Line2=First team to 3 goals wins. Flaggers get 50 points, team gets 200.
Line3=
General Shadow - Sun Jan 31, 2010 4:06 pm
Post subject:
Anyone know what I have wrong?
Samapico - Sun Jan 31, 2010 6:56 pm
Post subject:
I assume you set all the [Flag] and [Team] settings as described in the .ini?

Maybe try a larger goal radius? dunno
General Shadow - Mon Feb 01, 2010 9:09 am
Post subject:
All the required settings are correct. I tried making the goal radius wider and that didnt work.
Purge - Sun May 23, 2010 6:46 am
Post subject:
Not sure if you quit this already, but set the GoalRadius to 0.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group