Server Help

ASSS Questions - ASSS code

Outkasted - Mon Feb 23, 2004 6:52 pm
Post subject: ASSS code
I need help with some things...
The code for Soccer, King, and Detaching is all buggy.

Soccer game still wont score goals, King won't give more than 1000 points. And the detaching process makes you stay attached to the person you attached to even if u die...which results in making u invisible on respawn...

I need help with all three of these please...Thanks

-Outkasted
Dr Brain - Mon Feb 23, 2004 8:09 pm
Post subject:
Grelminar fixed the turreting bugs, but hasn't released a version with that fix yet.

Never used king personally, but you can always open up the source code.

And I haven't had a problem with soccer either. Might want to make sure point_goal (or what ever it's called) is loaded.
Outkasted - Mon Feb 23, 2004 9:39 pm
Post subject:
balls.conf
Code: Show/Hide
[Soccer]

; client settings
BallBounce=1
AllowBombs=1
AllowGuns=1
PassDelay=20
Mode=0
BallBlankDelay=200
UseFlagger=1
BallLocation=1

; server settings
BallCount=1
SendTime=500

Reward=5000
CapturePoints=1
;CatchMinimum=12
;CatchPoints=0   
WinBy=1     

SpawnX = 512
SpawnY = 512
SpawnRadius = 150


modules.conf

Code: Show/Hide
banners       
game_timer
flags
balls
bricks       
koth             
fm_normal


arena.conf

Code: Show/Hide
       [ 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_kill \
        points_flag \
        points_goal \
        koth         

That is what i have for Soccer....

I opened up the King of the Hill before i made this post...the koth.c file says to set certain settings under [King]....

Code: Show/Hide
[King]
DeathCount=1
ExpireTime=10000
RewardFactor=10000
NonCrownAdjustTime=3000
NonCrownMinimumBounty=300
CrownRecoverKills=2


And i have the module attached as shown above...

-Outkasted
Dr Brain - Mon Feb 23, 2004 10:52 pm
Post subject:
Give the output of ?lsmod
Outkasted - Tue Feb 24, 2004 2:39 am
Post subject:
Loaded modules:
prng, logman, mainloop, config, playerdata, lagdata, net, chatnet, arenaman,
mapdata, capman, mapnewsdl, core, cmdman, auth_file, persist, chat, stats,
basicstats, log_console, log_file, log_sysop, clientset, security, banners,
game_timer, flags, balls, bricks, koth, fm_normal, game, lagaction, cfghelp,
filetrans, quickfix, jackpot, periodic, points_kill, points_flag, points_goal,
turf_reward (v0.5.2 by GiGaKiLLeR <gigamon@hotmail.com>), turf_stats (v0.2.4 by
GiGaKiLLeR <gigamon@hotmail.com>), points_turf_reward (v2.1 by GiGaKiLLeR
<gigamon@hotmail.com>), playercmd, admincmd, help, sendfile, autowarp,
bricklayer, buy, fake, autoturret, record, enc_cont, enc_vie, mysql, aliasdb
Outkasted - Tue Feb 24, 2004 3:09 am
Post subject:
I found it...the problem is in the koth.c file...
it doesnt input "points" ([King] Reward Factor) from the config files...it is set as "pts" in koth.c...and it is set at 1000...so i fixed it, thanks for trying to help me!
You helped me to locate the problem!

-Outkasted
Anonymous - Tue Feb 24, 2004 2:46 pm
Post subject:
Here you go:
Code: Show/Hide
[King]
RewardFactor=1000
  ;uses flag reward formula (totalplaying * totalplaying * reward / 1000)
  ;make negative to give absolute points
SplitPoints=1
  ;share points between winners

Code: Show/Hide
AttachModules = points_koth

All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group