1

Topic: Bam update, docs page with old information, links not working

https://www.teeworlds.com/?page=docs&am … everything

https://github.com/downloads/matricks/bam

The second link is 404.

I'm trying to update my Bam in Linux. How do I do it?

2 (edited by Henningstone 2016-08-31 02:19:05)

Re: Bam update, docs page with old information, links not working

Pathos wrote:

https://github.com/downloads/matricks/bam

The second link is 404.

Bam download links:
0.4 (until 0.6.3): http://github.com/downloads/matricks/bam/bam-0.4.0.zip
0.5 (> 0.6.3, currently only available from the master branch): https://github.com/matricks/bam/archive/v0.5.0.tar.gz

Download and compile using one of the make_* scripts (in your case most probalby ./make_unix.sh). This will give you the bam executable; that's it!
For convenience you can put it into /usr/bin to have it accessible easily from everywhere.

// EDIT: I just saw that jxsl13's video tutorial about how to compile teeworlds will give you the latest version. Be warned, bam 0.5 will not work for old Teeworlds 0.6 codes that are no longer maintained (mods based on 0.6.3 or earlier)!

3

Re: Bam update, docs page with old information, links not working

root@Pathos:~/bam-0.5.0# ./make_unix.sh
compiling using gcc...
/tmp/cc7WhYjb.o: In function `os_tmpname':
loslib.c:(.text+0x29c): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

I have no idea what this error means.

Also, I remember using apt-get install command to install bam. I just removed it, but is the package called bam? So would "apt-get install bam" work? How do I install the right repository for this to work?

4

Re: Bam update, docs page with old information, links not working

Pathos wrote:
root@Pathos:~/bam-0.5.0# ./make_unix.sh
compiling using gcc...
/tmp/cc7WhYjb.o: In function `os_tmpname':
loslib.c:(.text+0x29c): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

I have no idea what this error means.

That's just a warning. Ignore it as long as you get your bam executable.

Pathos wrote:

Also, I remember using apt-get install command to install bam. I just removed it, but is the package called bam? So would "apt-get install bam" work? How do I install the right repository for this to work?

I'd recommend installing both versions of bam manually (as described in my previous post), that's the safest thing (and it's quite easy, so no problem about that...)
"apt-get install bam" works of course, but it's not sure which version it will give you since some distris have it updated and some have not.

5

Re: Bam update, docs page with old information, links not working

Henningstone: bam 0.4 is in the apt repositories, I installed bam 0.5 as bam5 (symlink) from source.

Cause bam5 doesn't work with 0.6 sources but is needed for 0.7

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)

6

Re: Bam update, docs page with old information, links not working

Schwertspize wrote:

Henningstone: bam 0.4 is in the apt repositories, I installed bam 0.5 as bam5 (symlink) from source.

Cause bam5 doesn't work with 0.6 sources but is needed for 0.7

exactly what I said.

7

Re: Bam update, docs page with old information, links not working

The error is fatal. I cannot ignore it.

Also, without getting bam from the apt repository, is there a way to execute bam command without the path to bam?

8

Re: Bam update, docs page with old information, links not working

/usr/local/bin/bam  ?

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

9

Re: Bam update, docs page with old information, links not working

jxsl13 wrote:

/usr/local/bin/bam  ?

Still doesn't seem to work.

I just want to be able to execute the command "bam server_release" sad

10

Re: Bam update, docs page with old information, links not working

Pathos wrote:
jxsl13 wrote:

/usr/local/bin/bam  ?

Still doesn't seem to work.

I just want to be able to execute the command "bam server_release" sad

Telling us what exactly doesn't work would help... Is the system unable to find 'bam'? Are there compiling errors? Refuses bam to read the makefile?
A bit more information please :3

11

Re: Bam update, docs page with old information, links not working

Ah right, sorry about that.

It's telling me that I should install bam using apt-get install. It seems that moving it to /usr/local/bin doesn't really do it. Well, it's under /usr/local/bin/bam/bam, which is what I need to execute.