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
regiontriggers
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  Quick Links to Projects Post :: Post web stats  View next topic  
Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Apr 15, 2007 6:50 am    Post subject: Reply to topic Reply with quote

I've been holding back on commenting on defs.h, but I just double checked my suspicions and I was right. They don't work inside .conf files. Even when asss-1.3.2 came with conf/defs.h that didn't even mention the PRIZE_* and SOUND_* constants.

I also tried:
Code: Show/Hide
#define PRIZE_BOUNCE 10

; no bouncing bullets inside region (prize 10)
Trigger5-RegionName = prize1
Trigger5-EnterPrize = -10
Trigger5-LeavePrize = $(PRIZE_BOUNCE)
And it only deprizes, never reprizes the bounce. So maybe defines are broken?

After briefly looking at app.c my conclusion is that #define's can only be used with #ifdef's or #ifndef's:
Code: Show/Hide
#define WEEKEND

Kill:JackpotBountyPercent = 1000

#ifdef $WEEKEND
Kill:JackpotBountyPercent = 2000
#endif

Edit: This is a known bug: http://asss.yi.org/bugs/view.php?id=92 Just got to wait for the cfg overhaul to come.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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: 166 page(s) served in previous 5 minutes.

phpBB Created this page in 0.097259 seconds : 25 queries executed (42.6%): GZIP compression disabled