Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
CTF plugin

 
Post new topic   Reply to topic Printable version
 View previous topic  ctf plugin spawns Post :: Post Areawarp plugin doesn't work  View next topic  
Author Message
Zofo
Newbie


Gender:Gender:Male
Joined: Sep 01 2008
Posts: 2
Offline

PostPosted: Mon Sep 01, 2008 4:29 pm    Post subject: CTF plugin Reply to topic Reply with quote

I configured the ctf plugin edited by purge, and the flags do not respond to the exact coords in which i put them. Also, when you capture the flag and return it to your base, you cannot drop the flag to win.

; 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=267, 512
1=757, 512

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

GoalRadius=0


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

[NewSpawn]
0=, , ,
1=, , ,


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

; Format: x1, y1, x2, y2

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

[OldSpawn]
0=215,501 , 523,228
1=796,501 , 523,809


[Points]

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

Flagger=100
TeamVictory=500


; 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=3


[Teams]

; Difference in teams before the evener is used

MaximumTeamDifference=2


; Change the text displayed by !rules

[Rules]
Line0=Capture the flag!
Line1=Go to your enemy's base, steal their flag and return back to your base.
Line2=First team to 3 goals wins. Flaggers get 100 points and their team gets 500 points.
Line3=
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:29
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2017
Location: 中国
Offline

PostPosted: Tue Sep 02, 2008 10:20 pm    Post subject: Reply to topic Reply with quote

Change the [NewSpawn] coordinates to actual coordinates. sa_tongue.gif

Also, make sure the GoalRadius is ~7 so you can score cleanly.
Back to top
View users profile Send private message Add User to Ignore List Send email
Guest



Offline

PostPosted: Wed Sep 03, 2008 6:54 am    Post subject: Reply to topic Reply with quote

There's 2 sections tho to newspawn.... like x1 y1 x1 y2
Back to top
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:29
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2017
Location: 中国
Offline

PostPosted: Wed Sep 03, 2008 11:43 am    Post subject: Reply to topic Reply with quote

It is structured exactly like OldSpawn to form a square/rectangle. You can even use the coordinates in OldSpawn for NewSpawn if you wish.
Back to top
View users profile Send private message Add User to Ignore List Send email
Guest



Offline

PostPosted: Wed Sep 03, 2008 4:50 pm    Post subject: Reply to topic Reply with quote

ok thank you
Back to top
Guest



Offline

PostPosted: Wed Sep 03, 2008 5:01 pm    Post subject: Reply to topic Reply with quote

How do i get the flags to spawn exactly where the coords i put them.
Back to top
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:29
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2017
Location: 中国
Offline

PostPosted: Wed Sep 03, 2008 6:50 pm    Post subject: Reply to topic Reply with quote

Make sure the "required settings" are made in your server.cfg (or whatever cfg your arena uses) as shown at the top of the ctf.ini.
Back to top
View users profile Send private message Add User to Ignore List Send email
Guest



Offline

PostPosted: Thu Sep 04, 2008 6:53 am    Post subject: Reply to topic Reply with quote

Under *log this is what the bot says..

Thu Sep 04 05:51:51: Ext: PublicBot (Public 0) to Zofo: *warpto 241 -1445356913
Back to top
Samapico
No, these DO NOT look like penises, ok?


Age:32
Gender:Gender:Male
Joined: May 08 2003
Posts: 1252
Location: Montreal, Canada
Offline

PostPosted: Thu Sep 04, 2008 11:07 am    Post subject: Reply to topic Reply with quote

0=215,501 , 523,228
1=796,501 , 523,809

Make sure the spacing is correct

0=215, 501, 523, 228
1=796, 501, 523, 809


The *warpto 241 -1445356913 is definitly because of a variable that could not be loaded correctly


[NewSpawn]
0=, , ,
1=, , ,

I'm guessing you filled these up already; again make sure the format is correct. Especially for whatever coordinate is after 241 in your settings
_________________
DCME co-developer
17th Parallel Head Sysop
Subspace: The Future
Back to top
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Thu Sep 04, 2008 6:30 pm    Post subject: Reply to topic Reply with quote

Ok I'll try that....would you happento know why the flags never spawn to the exact coords that i put them to?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 203 page(s) served in previous 5 minutes.

phpBB Created this page in 0.156851 seconds : 34 queries executed (60.7%): GZIP compression disabled