1

Topic: Starting with the Client programming.....

Hey guys,
I want to modify the client. I downloaded the source from github. Than I loaded it into my workspace from MonoDevelop and tried to run it. But it opens me the client.cpp and says "File or direction not found". I tried adding the complete file path with /home/..../ and so on. It‘s working but ... it will take like days to rename it in all files. I hope someone has another solution smile btw I using Linux Ubuntu.^^

~ Dragon44

2

Re: Starting with the Client programming.....

Use bam to build the source
https://www.teeworlds.com/?page=docs&am … Everything

3

Re: Starting with the Client programming.....

Doesn't work D: " bam: error opening 'bam.lua' " If i try /bam/bam release in the downloaded tw folder...pls help me smile

4

Re: Starting with the Client programming.....

You started bam from to wrong directory probably.
Switch to the dir where your bam.lua lies in the terminal and call bam

5

Re: Starting with the Client programming.....

I dont check it...can u explain a bit...for linux and is bam the only solution?

6

Re: Starting with the Client programming.....

Well you can also configure your IDE to build it without bam(probably not worth it)
( need to add include paths, libraries, etc..)

Building with bam:
1st method: copy bam in the teeworlds folder next to the bam.lua and simply call it with 'bam release'
2nd method: open a terminal in the teeworlds folder, then navigate to the location directory for you bam file (dont cd to this directory, stay in the teeworlds directory) and call bam. (sth like '../../bam/bam release', depends on your directory hierarchy)

7

Re: Starting with the Client programming.....

I did everything right...but everytime the error comes bam: error opening 'bam.lua'...How do i Fix it?

8

Re: Starting with the Client programming.....

Dragon44 wrote:

I did everything right...but everytime the error comes bam: error opening 'bam.lua'...How do i Fix it?

You are not compiling in the right folder. Get to the teeworlds folder and start bam from there.

Not Luck, Just Magic.

9 (edited by Dragon44 2014-03-23 21:19:58)

Re: Starting with the Client programming.....

I writed in the terminal:
/home/myIRLName/Zeug/teeworlds-0.6.2-linux_x86_64/bam-0.4.0/bam release

10

Re: Starting with the Client programming.....

Dragon44 wrote:

I writed in the terminal:
/home/myIRLName/Zeug/teeworlds-0.6.2-linux_x86_64/bam-0.4.0/bam release

That's just the command. Make sure to use `cd` (without the quotes) to change to the right directory (`/home/myIRLName/Zeug/teeworlds-0.6.2-linux_x86_64/`).

But it doesn't look like you downloaded the source code, it rather looks like you downloaded the binaries. Click on "Downloads" on the homepage and then on "Source".