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
ASSS code

 
Post new topic   Reply to topic Printable version
 View previous topic  Addition to the Code Post :: Post LVZ support  View next topic  
Author Message
Outkasted
Newbie


Joined: Feb 21 2004
Posts: 14
Offline

PostPosted: Mon Feb 23, 2004 6:52 pm    Post subject: ASSS code Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Feb 23, 2004 8:09 pm    Post subject: Reply to topic Reply with quote

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.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Outkasted
Newbie


Joined: Feb 21 2004
Posts: 14
Offline

PostPosted: Mon Feb 23, 2004 9:39 pm    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Feb 23, 2004 10:52 pm    Post subject: Reply to topic Reply with quote

Give the output of ?lsmod
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Outkasted
Newbie


Joined: Feb 21 2004
Posts: 14
Offline

PostPosted: Tue Feb 24, 2004 2:39 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List
Outkasted
Newbie


Joined: Feb 21 2004
Posts: 14
Offline

PostPosted: Tue Feb 24, 2004 3:09 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List
-Smong-
Guest


Offline

PostPosted: Tue Feb 24, 2004 2:46 pm    Post subject: Reply to topic Reply with quote

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




points_koth.c - 1.75 KB
File downloaded or viewed 24 time(s)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS 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: 44 page(s) served in previous 5 minutes.

phpBB Created this page in 0.598145 seconds : 33 queries executed (94.2%): GZIP compression disabled