Server Help

ASSS Questions - Interfaces suggestions

Smong - Wed Jul 09, 2003 2:06 pm
Post subject: Interfaces suggestions
Maybe there should be interfaces for common things that bots do? There are already setship/freq interfaces, but why not any other ones?

Here is a list of some I've thought up:
timer
timereset
lock
unlock
lockarena
unlockarena

Is there a FakeCommand() function to send commands "to" the server?
Grelminar - Thu Jul 10, 2003 4:33 am
Post subject:
Yeah, there definitely should. The timer stuff, I didn't write, but it's easy to make an interface out of it. The locking stuff was just a quick effort to get something working checked in, but it's also easy to turn it into an interface. The locking stuff should be an arena-specific interface, though, since the freq manger itself is specified per-arena.

I originally planned on having some way of generating internal commands, but so many commands assume a valid player pointer that I think it would be difficult now. Besides, interfaces are much cleaner.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group