 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Jan 15, 2007 3:58 pm Post subject: flags won't appear and ?go klinko brings me to public.lvl |
 |
|
|
|
I have my flags set to 20:
[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???
#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 |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Jan 15, 2007 5:50 pm Post subject: fixed |
 |
|
|
|
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 |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Tue Jan 16, 2007 2:22 pm Post subject: |
 |
|
|
|
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 |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Tue Jan 16, 2007 3:20 pm Post subject: ty |
 |
|
|
|
Thank you, i just took it out but i'll add that back in with the slash since you told me about it  |
|
Back to top |
|
 |
|
|
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
|
Software by php BB © php BB Group Server Load: 27 page(s) served in previous 5 minutes.
|