Server Help

ASSS Questions - Setting up a Turf zone.

Acer1001 - Tue Aug 12, 2008 8:28 pm
Post subject: Setting up a Turf zone.
I have put in my settings, and yet its not working.

I am not sure what the all mean, so would anyone be able to help?

I want a turf game with 4 flags. I noticed that there was a cool feature with the flags and a timer. I want a 10 second delay before it is considered to be owned, and 2 dings.
Dr Brain - Tue Aug 12, 2008 9:26 pm
Post subject:
What doesn't work?
Kingsize - Tue Aug 12, 2008 10:10 pm
Post subject:
All necessary modules loaded for turf?
Anonymous - Tue Aug 12, 2008 11:04 pm
Post subject: Turf
I think it may just be a module, but I may need some help on proper values for the settings.
Acer1001 - Wed Aug 13, 2008 1:24 am
Post subject:
Ya Digital Core Asked me to post this..ask him icon_smile.gif
Anonymous - Fri Aug 15, 2008 4:08 pm
Post subject:
Does anyone know why that points may not be working correctly.

I can't seem to get soccer to give points, or turf reward, or even a jackpot.

Also, I need a module made if anyone would be so kind. icon_smile.gif

I want it to be like Purge's 'invasion' plugin for merv. I would just use that, but it doesn't work right in AS3.

So, Hold all 4 flags for 3 minutes. At 30 second marker play music. Give arena message on every minute mark passed.
"Freq ## has taken control on the flags. Countdown initiated: 3 minutes till victory."
"Freq ## has defended the flags well and will have victory in 2 minutes!"
"Just 1 minute remaining for flag victory!"

I also would like that 10 second delay for "owning" the flags. A team must have a flag in thier control for 10 seconds for it to be considered owned. If the other team recovers the flag within the 10 seconds, then its like they never lost it.

The thing I like most is stats after the game is won. This should include, Most Kills, Best Streak, Best Ratio, Most Deaths, Most Team Kills, Most Flags Saved, Most Flags Owned, Most Deaths, and and MVP based on all if possible.

I forgot this, I also need the bot to add 100 points per kill to the jackpot. And keep track of that and announce the it periodicly, like every 2 minutes or something. (unless this is fixed with the settings, and thats why its not working now.)
tcsoccerman - Fri Aug 15, 2008 4:16 pm
Post subject:
Would it be possible for anyone to enter your zone and possibly edit the config for you? Much easier if we take out the middle man.
Dr Brain - Fri Aug 15, 2008 9:51 pm
Post subject:
You need to attach points_goal, points_flag, etc. to the arena.
Anonymous - Fri Aug 15, 2008 10:37 pm
Post subject:
Yes TS that would be possible, please contact resol in-game.

And Dr. How exactly do I go about doing this. I have delt with subgame for 9 years. Complete newb in as3. icon_sad.gif
tcsoccerman - Fri Aug 15, 2008 10:58 pm
Post subject:
tell me the zone name and a time here and i'll try my best to meet you.
Dr Brain - Fri Aug 15, 2008 11:05 pm
Post subject:
tcsoccerman wrote:
Would it be possible for anyone to enter your zone and possibly edit the config for you? Much easier if we take out the middle man.


Yes, and make sure they never learn how to do it properly themselves. Give a man a fish and he'll eat for a day, etc.

The best way is to edit arena.conf and find the long list of modules, then add points_flag and points_goal to it.
Anonymous - Fri Aug 15, 2008 11:55 pm
Post subject:
Ok, that is in my conf file. This is everything there.

;; this file contains the names of modules to load at startup. modules
;; are specified as 'modname' for internal modules, or
;; 'file:modulename'. file is the name of the .so file (without the
;; .so).
;;
;; the load order of some of these is very sensitive. don't move stuff
;; around without verifying that it's a valid load order.

unixsignal
deadlock

prng
logman
log_console
mainloop
config
log_file
playerdata
lagdata

bw_default
net

arenaman
mapdata
capman
mapnewsdl
core
clientset
scoring:persist
idle

cmdman
; obscene
chat

scoring:stats
scoring:basicstats

log_sysop
log_staff

;; enable this for password security without a billing server:
; auth_file

security:security
directory
; billing
;; if you're using a billing server, you'll probably want to use this:
billing_ssc

; funky:auth_prefix
;; enable this for ?kick:
auth_ban

banners
game_timer
flagcore
balls
bricks
koth
fm_normal
game

lagaction

cfghelp
filetrans
quickfix

; scoring:jackpot
; scoring:periodic
; scoring:points_kill
; scoring:points_flag
; scoring:points_goal

; turf:turf_reward
; turf:turf_stats
; turf:points_turf_reward

playercmd
admincmd
help
notify
sendfile

funky:autowarp
funky:brickwriter
buy

fake
funky:autoturret
funky:record
;; adds compatibility for a bunch of subgame commands:
funky:sgcompat

;; uncomment this for multiple pub arena support:
; ap_multipub

;; important: enc_null cannot coexist with either of the other
;; encryption modules! comment it out to use them.
; enc_null
security:enc_cont
enc_vie

;; alias database stuff:
; database:mysql
; database:aliasdb

;; python modules:
;; pymod must be loaded before any "<py>" modules.
pymod:pymod
; <py> fm_password
; <py> exec
; <py> fg_wz
<py> fg_turf

Its stilll not working icon_sad.gif
Hakaku - Sat Aug 16, 2008 12:44 am
Post subject:
../arenas/(public)/arena.conf

After you open arena.conf, you should notice something like this:
Code: Show/Hide
[ Modules ]
;This is a list of all modules that are attached to the arena.

AttachModules = something something2 something3

The "something" is the name of a module. In this case, you want to add "points_goal, points_flag" to that line as Dr Brain pointed out.
Code: Show/Hide
[ Modules ]
;This is a list of all modules that are attached to the arena.

AttachModules = points_goal points_flag

Your arena.conf will probably have other stuff loded, such as "fm_normal", don't mind these for now.

And in your Modules.conf (the one you posted), make sure to uncomment the modules you want to use. I.e.
Code: Show/Hide
; scoring:points_flag
; scoring:points_goal

Should be
Code: Show/Hide
scoring:points_flag
scoring:points_goal

Anonymous - Sat Aug 16, 2008 7:30 am
Post subject:
Thanks a lot.

It all seems to be working.

Now all I need is a module to make the turf game fun again!

If anyone could be so kind tongue.gif Also we are looking for people to moderate, if interested contact resol in game. If you don't catch me, ?message works.

Thanks for your help guys.
Icebird - Wed Sep 03, 2008 9:06 am
Post subject:
Hi. I've got a similar problem. I have Python 2.5.2 installed and I tried to do what you described above. There are definitely flag tiles on the map (6).

My modules.conf:
Code: Show/Hide
;; this file contains the names of modules to load at startup. modules
;; are specified as 'modname' for internal modules, or
;; 'file:modulename'. file is the name of the .so file (without the
;; .so).
;;
;; the load order of some of these is very sensitive. don't move stuff
;; around without verifying that it's a valid load order.

; not on windows: unixsignal
deadlock

prng
logman
log_console
mainloop
config
log_file
playerdata
lagdata

bw_default
net
chatnet

arenaman
mapdata
capman
mapnewsdl
core
clientset
scoring:persist
idle

cmdman
; obscene
chat

scoring:stats
scoring:basicstats

log_sysop
log_staff

;; enable this for password security without a billing server:
auth_file

security:security
directory
; billing
;; if you're using a billing server, you'll probably want to use this:
; billing_ssc

; funky:auth_prefix
;; enable this for ?kick:
auth_ban

banners
game_timer
flagcore
balls
bricks
koth
fm_normal
game

lagaction

cfghelp
filetrans
quickfix

; scoring:jackpot
; scoring:periodic
;scoring:points_kill
scoring:points_flag
scoring:points_goal

;turf:turf_reward
;turf:turf_stats
;turf:points_turf_reward

playercmd
admincmd
help
notify
sendfile

funky:autowarp
funky:brickwriter
buy

fake
funky:autoturret
funky:record
;; adds compatibility for a bunch of subgame commands:
; funky:sgcompat

;; uncomment this for multiple pub arena support:
; ap_multipub

;; important: enc_null cannot coexist with either of the other
;; encryption modules! comment it out to use them.
; enc_null
security:enc_cont
enc_vie

;; alias database stuff:
; database:mysql
; database:aliasdb

;; python modules:
;; pymod must be loaded before any "<py>" modules.
pymod:pymod
; <py> fm_password
; <py> exec
; <py> fg_wz
<py> fg_turf



My arena.conf:
Code: Show/Hide

; drop in all of svs settings here
#include conf/svs/svs.conf

; but override these particular ones
#include tvp.cfg

[ General ]
Map = tvpmap.lvl
LevelFiles = tvpships.lvz,tvpmap_0.lvz,tvpmap_1.lvz,tvpmap_2.lvz,tvpmap_3.lvz,tvpsnd.lvz,objects.lvz,shared.lvz


[ Misc ]
SeeEnergy = $SEE_TEAM
SpecSeeEnergy = $SEE_ALL


[ Modules ]
; this key holds the names of the modules that will take effect in this
; arena. typical things to put here are modules for scoring, special
; game types, flag guards, etc.
AttachModules = \
   fm_normal \
   points_flag \
   points_goal \
   buy \
   pymod \
   fg_turf


; separate out settings for flags and balls into separate files
#include flags.conf
#include balls.conf



Here is the flag section from tvp.cfg:
Code: Show/Hide
[Flag]
FlaggerOnRadar=1
FlaggerKillMultiplier=2
FlaggerGunUpgrade=0
FlaggerBombUpgrade=0
FlaggerFireCostPercent=1000
FlaggerDamagePercent=1000
FlaggerBombFireDelay=0
FlaggerSpeedAdjustment=0
FlaggerThrustAdjustment=0
CarryFlags=1
FlagDropDelay=0
FlagDropResetReward=0
EnterGameFlaggingDelay=12000
FlagBlankDelay=200
NoDataFlagDropDelay=500
FlagMode=2
FlagResetDelay=1440000
MaxFlags=16
RandomFlags=0
FlagReward=1000
FlagRewardMode=0
FlagTerritoryRadius=8
FlagTerritoryRadiusCentroid=0
FriendlyTransfer=1


flags.conf:
Code: Show/Hide

[Flag]

; client-side stuff
FlaggerOnRadar=1
FlaggerKillMultiplier=2
FlaggerGunUpgrade=0
FlaggerBombUpgrade=0
FlaggerFireCostPercent=1000
FlaggerDamagePercent=1000
FlaggerBombFireDelay=0
FlaggerSpeedAdjustment=0
FlaggerThrustAdjustment=0
CarryFlags=0
FlagDropDelay=3000
FlagDropResetReward=0
EnterGameFlaggingDelay=1000
FlagBlankDelay=200
NoDataFlagDropDelay=500

; new server settings

GameType = $FLAGGAME_BASIC
FlagCount = 5 - 7

FlagReward=15000
SplitPoints=0

ResetDelay=1440000
FriendlyTransfer=0

SpawnX = 512
SpawnY = 512
SpawnRadius = 10

DropRadius = 2
NeutRadius = 10

DropOwned = 1
NeutOwned = 0



Code: Show/Hide
   Icebird> ?lsmod
Loaded modules:
  deadlock, prng, logman, log_console, mainloop, config, log_file, playerdata,
  lagdata, bw_default, net, chatnet, arenaman, mapdata, capman, mapnewsdl, core,
  clientset, persist, idle, cmdman, chat, stats, basicstats, log_sysop, log_staff,
  auth_file, security, directory, auth_ban, banners, game_timer, flagcore, balls,
  bricks, koth, fm_normal, game, lagaction, cfghelp, filetrans, quickfix,
  points_kill, points_flag, points_goal, playercmd, admincmd, help, notify,
  sendfile, autowarp, brickwriter, buy, fake, autoturret, record, enc_cont,
  enc_vie
   Icebird> ?lsmod -a
Modules attached to arena 0:
  buy, points_goal, points_flag, fm_normal


Also the console output:
Code: Show/Hide

starting asss...
asss 1.4.4 built at Sep  6 2007 22:36:26
Loading modules...
I <cmod> loading C module 'deadlock' from 'internal'
I <cmod> loading C module 'prng' from 'internal'
I <cmod> loading C module 'logman' from 'internal'
I <cmod> loading C module 'mainloop' from 'internal'
I <cmod> loading C module 'config' from 'internal'
I <cmod> loading C module 'log_file' from 'internal'
I <cmod> loading C module 'playerdata' from 'internal'
I <cmod> loading C module 'lagdata' from 'internal'
I <cmod> loading C module 'bw_default' from 'internal'
I <cmod> loading C module 'net' from 'internal'
I <cmod> loading C module 'chatnet' from 'internal'
I <cmod> loading C module 'arenaman' from 'internal'
I <cmod> loading C module 'mapdata' from 'internal'
I <cmod> loading C module 'capman' from 'internal'
I <cmod> loading C module 'mapnewsdl' from 'internal'
I <cmod> loading C module 'core' from 'internal'
I <cmod> loading C module 'clientset' from 'internal'
I <cmod> loading C module 'persist' from 'scoring'
I <cmod> loading C module 'idle' from 'internal'
I <cmod> loading C module 'cmdman' from 'internal'
I <cmod> loading C module 'chat' from 'internal'
I <cmod> loading C module 'stats' from 'scoring'
I <cmod> loading C module 'basicstats' from 'scoring'
I <cmod> loading C module 'log_sysop' from 'internal'
I <cmod> loading C module 'log_staff' from 'internal'
I <cmod> loading C module 'auth_file' from 'internal'
I <cmod> loading C module 'security' from 'security'
I <cmod> loading C module 'directory' from 'internal'
I <cmod> loading C module 'auth_ban' from 'internal'
I <cmod> loading C module 'banners' from 'internal'
I <cmod> loading C module 'game_timer' from 'internal'
I <cmod> loading C module 'flagcore' from 'internal'
I <cmod> loading C module 'balls' from 'internal'
I <cmod> loading C module 'bricks' from 'internal'
I <cmod> loading C module 'koth' from 'internal'
I <cmod> loading C module 'fm_normal' from 'internal'
I <cmod> loading C module 'game' from 'internal'
I <cmod> loading C module 'lagaction' from 'internal'
I <cmod> loading C module 'cfghelp' from 'internal'
I <cmod> loading C module 'filetrans' from 'internal'
I <cmod> loading C module 'quickfix' from 'internal'
I <cmod> loading C module 'points_kill' from 'scoring'
I <cmod> loading C module 'points_flag' from 'scoring'
I <cmod> loading C module 'points_goal' from 'scoring'
I <cmod> loading C module 'playercmd' from 'internal'
I <cmod> loading C module 'admincmd' from 'internal'
I <cmod> loading C module 'help' from 'internal'
I <cmod> loading C module 'notify' from 'internal'
I <cmod> loading C module 'sendfile' from 'internal'
I <cmod> loading C module 'autowarp' from 'funky'
I <cmod> loading C module 'brickwriter' from 'funky'
I <cmod> loading C module 'buy' from 'internal'
I <cmod> loading C module 'fake' from 'internal'
I <cmod> loading C module 'autoturret' from 'funky'
I <cmod> loading C module 'record' from 'funky'
I <cmod> loading C module 'enc_cont' from 'security'
I <cmod> loading C module 'enc_vie' from 'internal'
D <net> listening on 0.0.0.0:5000 (0)
I <directory> server on port 5000 using name 'Icebird Test zone'
I <directory> using 'sscentral.sscuservers.net' at 195.250.184.251 as a director
y server
I <directory> using 'sscentral.subspacehq.com' at 82.98.86.163 as a directory se
rver
D <main> entering main loop
D <mapnewsdl> news file 'news.txt' reread
D <directory> sending information to directory servers
D <directory> sending information to directory servers
D <net> [pid=0] new connection from 127.0.0.1:52479
D <core> [pid=0] login request: 'Icebird'
D <core> authenticating with 'auth-ban'
D <capman> [Icebird] assigned to group 'sysop' (global)
I <core> [Icebird] [pid=0] player logged in
I <arenaman> {0} created arena
I <mapdata> {0} successfully processed map file 'maps/tvpmap.lvl'
D <balls> {0} ball 0 is at (8205, 7699)
I <balls> {0} arena has 1 balls
W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/tvpships.lvz
W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/tvpmap_0.lvz
W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/tvpmap_1.lvz
W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/tvpmap_2.lvz
W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/tvpmap_3.lvz
D <capman> {0} [Icebird] assigned to group 'sysop' (global)
I <arenaman> {0} [Icebird] entering arena
D <balls> {0} [Icebird] player picked up ball 0
W <balls> {0} [Icebird] state sync problem: tried to pick up a carried ball
W <balls> {0} [Icebird] state sync problem: tried to pick up a carried ball
I <arenaman> {0} [Icebird] leaving arena
I <net> [Icebird] [pid=0] disconnected
D <arenaman> {0} arena being destroyed
D <persist> collecting all persistent data and syncing to disk
D <directory> sending information to directory servers


As you can see pymod and fg_turf are loaded in modules.conf and attached in arena.conf but they are just not there. Thx for any help.
tcsoccerman - Wed Sep 03, 2008 4:25 pm
Post subject:
CarryFlags=1

i believe this should be 0

FlagMode=2

take a look into this one...make sure 2 is the right value
Icebird - Thu Sep 04, 2008 7:44 am
Post subject:
Ok, I have removed the duplicate entries from balls.conf and flags.conf that are already defined in pvt.cfg. I also did change CarryFlags to 0. FlagMode=2 is turf. After that I did uninstall Python 2.5.2 because in another thread I saw that it causes trouble and changed to 2.4.4. Now it works, thx.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group