Server Help

ASSS Questions - Broadcast

Hakaku - Mon Jan 05, 2009 2:11 pm
Post subject: Broadcast
When running a bot over ASSS, I keep getting flooded with the following error message :
Code: Show/Hide
M <objects> {0} [BotName] attempted rebroadcast without permission

According to objects.c, the bot would require the permission BROADCAST_BOT or BROADCAST_ANY in order to be able to toggle objects, but it doesn't state how to give a player/bot either of these permissions. Would anyone know how it's possible?
Hakaku - Mon Jan 05, 2009 3:20 pm
Post subject:
Bah nevermind, it just wasn't listed in the userguide. Here's the full list if anyone needs it:
Quote:
seemodchat
sendmodchat
sendsoundmessages
uploadfile
seesysoplogall
seesysoplogarena
seeprivarena
seeprivfreq
bypasssecurity
broadcastbot
broadcastany
invisiblespectator
unlimitedchat
changesettings
isstaff
seeallstaff


On a non-bot related note, what could be causing the following error:
Code: Show/Hide
E <flagcore> {0} failed to place a flag at (512,512)-50, fallback disabled
E <flagcore> {0} failed to place a flag at (512,512)-50, fallback disabled

It seems to cause flags to spawn very awkwardly when the flags are reset (either when the arena is created or after a player wins the flaggame).
Bak - Mon Jan 05, 2009 6:53 pm
Post subject:
grep the source code for that message to figure out the conditions that trigger it
Hakaku - Mon Jan 05, 2009 8:30 pm
Post subject:
Bak wrote:
grep the source code for that message to figure out the conditions that trigger it


fg_wz.py states:
Code: Show/Hide
   else:
      # couldn't place in original location, and couldn't place in
      # center either. this is really bad.
      lm.LogA(asss.L_ERROR, 'flagcore', a,
            ("failed to place a flag at (%d,%d)-%d, "
             "fallback disabled")% (cx, cy, r))

It's not very reassuring since there's nothing blocking the flags in the center of the map.

Edit: here's what I mean (dont mind my cont gfx though)
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group