1 (edited by Madara Uchiha 2014-03-02 08:23:59)

Topic: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Hello!
I'm finally a bit more interested in teeworlds, and I thought about how I can play around with it.
Searching the interwebz brought me to programs like aimbot.exe or rconhack.exe and all that stuff. Somehow.
Anyway, I'm not interested in cheating and hacking and whatever 1337 stuff there is on the planet, but in programming.
But... I don't have any idea how to do a program.
I've experimented around with loading configs with exec, but I just don't have an idea how to give commands over an actual program, since printf("say Hello World"); will not work. (already tested)

Can someone help me? Oh, and I'm also interested where the standard commands are implented, somehow I can't find it in the src.

The basic idea would be:

int main(){
while(0==0){
//say something to tw. but how?
}
}

Yeah this looks like a spambot, but the loop is random. Anyway, this wouldn't work because of spam-blocks on all servers these days.

Greetings..
Madara

Edit:
I might want to create a gently chatbot, responding to things like you are a great player Madara with thanks or so big_smile
Nothing to do with bad chatbots, rconhacks, and well.. all the 1337 shit. Oh and I'm running Linux, so i won't run an actual exe, might make differents.

lulz big_smile

2

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Please read a c++ book first and then start programming.

3 (edited by Madara Uchiha 2014-03-01 20:00:00)

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Actually, we are talking about C. Anyway, my example-program isn't nice style, but I know enough about logic things to program. Just no idea how to give the commands to tw (might belong to basic knowledge..). If you know it, help would be nice. Thanks.

Edit:
Mhh. It seems that tw doesn't tries to execute the program. Is it true? If yes, how does aimbot.exe and so on work?

lulz big_smile

4

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

There isn't sth like a teeworlds api and it also doesn't inpterpret some random passed code by the console
The source code is hosted on github -> github.com/teeworlds/teeworlds

5

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Madara Uchiha wrote:

If yes, how does aimbot.exe and so on work?

Before or after sending your account number to the programmer?

No seriously, you have to compile things with the source code.

6

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Ok thanks. Found that out on the IRC too. Those hacks confused me, because I thought that TW might execute a program or a script big_smile Downloaded the src now, and started playing around with it.
Big thanks guys smile

lulz big_smile

7

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

You could not mention hacks in your post Madara, please.

no

8

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Make him.

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

9

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Of course you should respect rules, but not when they are useless. Everyone knows their existence, and why should I not mention them, especially when I don't call their origin...
Anyway, a moderator might close this as it is solved.

lulz big_smile

10

Re: HELP! Exec .exe/whatever | might be not tw-specific [Solved]

Madara Uchiha wrote:

Of course you should respect rules, but not when they are useless.

Rules are not meant to be discussed. You not being able to see the point of these rules does not give you the rights to break them.
Closed on request.

Not Luck, Just Magic.