76 (edited by pelya 2015-11-20 23:13:41)

Re: Yet another bot in teeworlds

kkprince, I can give you an ARM or MIPS build of the bot, if that's what you are using in your arcade machine. It's locked to 127.0.0.1 address to prevent abuse (yeah this can be bypassed with hex editor, but still).
I was asked to not redistribute the sources.

You can also check Killing Floor mod, it's open-source and has bots, which are just stupid monsters, and cannot navigate the map as this bot does: https://www.teeworlds.com/forum/viewtopic.php?id=11419

77

Re: Yet another bot in teeworlds

Don't, kids know how to hexedit.

Real programmers don't comment their code - it was hard to write, it should be hard to understand.
Proudly verkeckt since 2010.

78 (edited by kkprince 2015-11-23 07:59:59)

Re: Yet another bot in teeworlds

([strikethrough]Incomplete draft. Brb[/strikethrough] All edits done)

pelya wrote:

kkprince, I can give you an ARM or MIPS build of the bot, if that's what you are using in your arcade machine. It's locked to 127.0.0.1 address to prevent abuse (yeah this can be bypassed with hex editor, but still).
I was asked to not redistribute the sources.

You can also check Killing Floor mod, it's open-source and has bots, which are just stupid monsters, and cannot navigate the map as this bot does: https://www.teeworlds.com/forum/viewtopic.php?id=11419

The main thing that I am interested in is how you guys plugged your bot in, so to speak. I am a rather new programmer, and do not understand half of the teeworlds source. I also want to try to make a FNG bot too. Also my arcade machine will probably be x86/64.

(As a side comment, WTF do you own that has a MIPS CPU? Only heard of MIPS, never seen it)

As for the arcade machine, it has been put on hold for now, but once I figure it out I'll set it up like a classic machine.

I also do not blame you for withholding those sources, as I would do the same.

Thanks for showing me the link, I'll take a look at it later. Like I said, I'm wondering more how you make a bot rather than how you make a good bot.

xush wrote:

Don't, kids know how to hexedit.

Quite correct. However I like Bless better, and I already have the bot, it is bundled in pelya's app.

Course, I must admit I did try and do this modification to the file, however I was stumped at how to get it working on Ubuntu, since it was linked to the android libs.

Also, there are a small handful of bots already out there, but since teeworlds wasn't released under the GPL I am having a really hard time finding sources.

android272 wrote:
kkprince wrote:

Would it be possible if you could PM or email me the source (server pref, but client may be an interesting read), like you did with pelya? I am very interested in how you would implement a bot.

Its on Github

Perhaps I am mistaken, but I do not see any bot source in there (at first glance). Perhaps I will see it when I use my computer next.

79

Re: Yet another bot in teeworlds

ehm.... "look at KillingFloor"
KillingFloor is discontinued, you'd better look at cstt (and the upcoming KillingFloor 2) on https://github.com/Siile/cstt

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)

80

Re: Yet another bot in teeworlds

Schwertspize wrote:

ehm.... "look at KillingFloor"
KillingFloor is discontinued, you'd better look at cstt (and the upcoming KillingFloor 2) on https://github.com/Siile/cstt

Oooo! CSTT has not, yay!

What is 'KillingFloor'? My hardwood is already dead so I don't think I need to worry. lol

81

Re: Yet another bot in teeworlds

siile first developed KillingFloor with rather good bots. https://www.teeworlds.com/forum/viewtopic.php?id=11419
he then started working on cstt and said that the KillingFloor bots are awful. https://www.teeworlds.com/forum/viewtopic.php?id=11497
then he extended cstt with a endless round version but dropped it later. (csbb)
he also made a quick variant of cstt with "normal"  dm, tdm but with the same weapons and bots as cstt (the same engine, also the same source repo) https://www.teeworlds.com/forum/viewtopic.php?id=11630
later he added DOM++ where it's domination. (same post as dm++)
now he is working on a new zombies mod, with the same engine as cstt,dm++,... I spotted the name KillingFloor 2 but Siile (just wrote me) is not sure about the name

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)

82

Re: Yet another bot in teeworlds

kkprince wrote:

Perhaps I am mistaken, but I do not see any bot source in there (at first glance). Perhaps I will see it when I use my computer next.

You're not, there is no bot source in this repo, only some code I use heavily in the AI.

I recommend Siiles CSTT AIs, source are here https://github.com/Siile/CSTT (as Schwertspize has already said)

83

Re: Yet another bot in teeworlds

rand() wrote:
kkprince wrote:

Perhaps I am mistaken, but I do not see any bot source in there (at first glance). Perhaps I will see it when I use my computer next.

You're not, there is no bot source in this repo, only some code I use heavily in the AI.

I recommend Siiles CSTT AIs, source are here https://github.com/Siile/CSTT (as Schwertspize has already said)

Sorry rand() I thought you posted your code. I saw you post this link the other day and thought it was to your AI.

Jesus is my Lord and Savior. Praise be unto God for giving us a way to live with him.

Check out my DeviantArt for all my TeeWorlds art and ideas for Teeoworlds

84

Re: Yet another bot in teeworlds

kkprince wrote:

(As a side comment, WTF do you own that has a MIPS CPU? Only heard of MIPS, never seen it)

No, I don't own MIPS CPU, but some random guy who developed stuff for some kind of MIPS dev board with Android asked me to add MIPS support to Teeworlds, so I did (Google provides MIPS toolchain and stuff, as you know).

kkprince wrote:

Quite correct. However I like Bless better, and I already have the bot, it is bundled in pelya's app.

Course, I must admit I did try and do this modification to the file, however I was stumped at how to get it working on Ubuntu, since it was linked to the android libs.

You'll have to use an x86 Android emulator to run the bot binary pulled from my app.

85

Re: Yet another bot in teeworlds

this is good idea for training...