Back to Blog
Bzflag commands5/8/2023 Slash commands are sent via the chat mechanism, which can be initiated by pressing the n key (by default). A few are client-side, meaning they are processed by the client and never sent on the server. Most commands are server-side, meaning the server processes them. There are a few scripts in the directory that start everything with appropriate flags.Slash commands provide a way to manage servers, change some settings, and request additional information (such as network quality information). OBZERVER TUTORIAL BZFLAG FREEįeel free to modify those or create your own as you need (assuming you copied the directory). If you're on a laptop with low resolution, the option to change the size of the window when it comes up is –window-size=x. There's a bug where if it tries to make the window too big, you can't scroll correctly, so if you run into that just make the window smaller. This brings up BZRFlag, with four teams in a simple world. It also prints out what port each team is listening on. In order to control the tanks, you need to talk to that port. Protocol that BZRFlag uses is the BZRC Protocol. You will need to use this protocol, so become familiar with how it works. For this homework, you may want to just skim it and get the general idea. For the labs, you will need to understand it well. The bots should introduce themselves by saying: Telnet localhost (pick a color and use one of the ports printed out by bzrflag) Now, we will give a simple tutorial on how to control the tanks, to get some practice with the BZRC protocol. Just for fun, send the following instruction to the first bot, whose id is 0: The bots now recognize you and are happy to follow your bidding. While the first bot's cannon is being loaded, tell the second bot, whose id is 1, to shoot: You should see a shot fired from one of the bots. You can set a desired speed, where 1.0 is the maximum forward speed, and -1.0 is maximum reverse speed. Just specify the command, bot, and value, like so: Similarly, you can set a desired angular velocity, where 1.0 is maximum counter-clockwise and -1.0 is maximum clockwise. This will set the speed of bot 0 to maximum forward speed, and then tell it to rotate counter-clockwise at half of the maximum possible angular velocity. Then the second bot is told to go in reverse at 70% of the maximum possible speed. With your partner, continue experimenting with controlling the tanks. Get to the point that you can explode a stationary tank by typing commands to your tank.This document discusses the general development road-map for Future BZFlag Releases. Individual features may move up or down the roadmap depending on how/when they get done. Entire releases may be pushed up the roadmap or merged depending on how development goes. The current development target (trunk) is the 2.4.2 releaseĢ.4 will be the next release of BZFlag and is protocol incompatible with all previous versions. Released on 3 BZFlag 2.4.0 2.4.2 Ģ.4.2 was the first maintenance release of the 2.4.x compatibility line. It does contain some bug fixes but it's primary function is to provide an updated package for the debian system. Its primary function is to fix bugs found in the 2.4.0/2 releases and to include non breaking items that were not ready during the initial release including: It does include non breaking items that were not ready during the initial release including:Ģ.4.4 will be a bug fix maintenance release of the 2.4.x compatibility line. Ensure bzadmin on Windows gets built with PDCurses.Sever side IP/Host/callsign (not perm base) mute.Īpp build system (make it just use a script not xcode?).how to deal with third party libs in plugins, specialy ones we build optionaly.command line options that have -set equivalents should be reviewed and possibly eliminated.bzfs should error out if no users or groups have SPAWN.Teach Roger not to drive into deadly physics drivers.Set app icon for as many OSs as possible (SDL does not do this). Max chat rate (using filters?) with auto scilence.Windows BZAdmin cleanup ( eval if it works the same as linux).Sanity check list server input ( players over limit, etc.).Extend player name cycling (like on /kick and /ban) to /poll kick and /poll ban.When game is over, autoboot everyone after some time, so server cannot be blocked forever by one player just sitting there.Ĭontinuing releases to fix critical bugs.
0 Comments
Read More
Leave a Reply. |