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
flags won't appear and ?go klinko brings me to public.lvl

 
Post new topic   Reply to topic Printable version
 View previous topic  goal reward problem Post :: Post Server not appearing in download list  View next topic  
Author Message
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Jan 15, 2007 3:58 pm    Post subject: flags won't appear and ?go klinko brings me to public.lvl Reply to topic Reply with quote

I have my flags set to 20:
Code: Show/Hide
[Flag]

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

; new server settings

GameType = $FLAGGAME_BASIC
FlagCount = 20

FlagReward=15000
SplitPoints=0

ResetDelay=1440000
FriendlyTransfer=0

SpawnX = 512
SpawnY = 512
SpawnRadius = 100

DropRadius = 2
NeutRadius = 10

DropOwned = 1
NeutOwned = 0

but i don't think it even loads it off modules, so i tryed updating my arena.conf to have #include fg_wz or such, but i'm just getting this off another post and i think someone here can help me.


Next problem is when i type ?go klinko (i have a subarena called klinko.lvl, which is in my arena, scf file) it will go to public, basically standing still, same goes for dodgeball. Is it that i need the klinko.cfg file as well, and dodgeball.cfg? do i need to add more information on another .conf file? plz help once again

Also, can someone tell me where i'm supposed to enter my edit (such as points awarded or such) for the following code???

Code: Show/Hide
#define GOALMODE_MAP(F) \
   F(GOAL_ALL)  \
   F(GOAL_LEFTRIGHT)  \
   F(GOAL_TOPBOTTOM)  \
   F(GOAL_CORNERS_3_1)  \
   F(GOAL_CORNERS_1_3)  \
   F(GOAL_SIDES_3_1)  \
   F(GOAL_SIDES_1_3)

DEFINE_ENUM(GOALMODE_MAP)
DEFINE_FROM_STRING(goalmode_val, GOALMODE_MAP)

#define MAXFREQ  CFG_SOCCER_MAXFREQ
#define MAXGOALS CFG_SOCCER_MAXGOALS


typedef struct GoalAreas
{
   int upperleft_x;        // coord of first tile in upper-left
   int upperleft_y;        // corner
   int width;              // guess
   int height;             // .. for now just a rectangular approximation =P
   int goalfreq;           // owner freq of goal
} GoalAreas;

struct ArenaScores
{
   int mode;                       // stores type of soccer game, 0-6 by default
   int stealpts;                   // 0 = absolute scoring, else = start value for each team
   int cpts, reward, winby;
   int score[MAXFREQ];             // score each freq has
   GoalAreas goals[MAXGOALS];      // array of goal-defined areas for >2 goal arenas
};


/* prototypes */
local void MyGoal(Arena *, Player *, int, int, int);
local void MyAA(Arena *, int);
#if 0
local int  IdGoalScored(int, int, int);
#endif
local int  RewardPoints(Arena *, int);
local void CheckGameOver(Arena *, int);
local void ScoreMsg(Arena *, Player *);
local void Csetscore(const char *, const char *,Player *, const Target *);
local void Cscore(const char *, const char *, Player *, const Target *);
local void Cresetgame(const char *, const char *, Player *, const Target *);
local helptext_t setscore_help, score_help, resetgame_help;


tcsoccerman, aka darth vadar. Halo and hs rocks!!!
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Mon Jan 15, 2007 4:29 pm    Post subject: Reply to topic Reply with quote

To get flags to appear go into modules.conf, make sure "pymod:pymod" and "<py> fg_wz" are there, and uncommented. Then go into arena.conf and make sure "fg_wz" is in the AttachModules setting (a space separated list of module names).

For the arenas, create new folders in the arenas directory, each with its own arena.conf:
Code: Show/Hide
base
+arenas
|+(public)
||+arena.conf
|+klinko
||+arena.conf
||+klinko.lvl

_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Jan 15, 2007 5:14 pm    Post subject: reply Reply to topic Reply with quote

can you get a little more detailed on that please?? i created new folders for each arena and added arena.conf in all folders for specific arena and put map of arnea in folder to but i'm guessin i did something wrong since it still doesn't work. also flags don't work either

this is what i have for my arena.conf

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

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

#include balls.conf


I'm starting to think i shouldn't have that random buy in there(wanted buy module and it wasn't there). is that loaded serperately? plz respond ty
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Jan 15, 2007 5:50 pm    Post subject: fixed Reply to topic Reply with quote

Yeh, somehow i fixed it. i did't really change anything except..well i dunno. maybe specific arena .conf files a little bit but not much, not this stuff. ty for help anyways. i also got flags back up. prob. from messing around with flag prizing or something idunno. ty anyways
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Jan 16, 2007 2:22 pm    Post subject: Reply to topic Reply with quote

2 posts up, the problem with the buy module is you forgot to end the line with a \ (backslash). As a result all the modules after buy aren't getting attached (including that flag module).

Backslashes are just used to make settings span multiple lines, makes it more readable. Note it isn't necessary to end the very last line with a backslash.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Jan 16, 2007 3:20 pm    Post subject: ty Reply to topic Reply with quote

Thank you, i just took it out but i'll add that back in with the slash since you told me about it icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
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: 27 page(s) served in previous 5 minutes.

phpBB Created this page in 0.704414 seconds : 28 queries executed (96.4%): GZIP compression disabled