[Release] Bot for Seafight

11/14/2010 17:22 iicssii11#706
^^ ging gestern nicht geht jetzt aber wie findest du die idee das der sich neu einloggt wenn nach 5 min nix passiert beim bot
11/14/2010 19:12 P@ul4games#707
Shadow today i sw something,i was looking on the map and there was 3 glitters next to my ship but the bot choosee to go to take a glitter that was far away insteand of to collect the 3 glitters that was next to him!
I think that you should make you're bot to check which is the closest glitter and to go to take that glitter!
11/14/2010 19:53 Shadow992#708
Quote:
Originally Posted by P@ul4games View Post
Shadow today i sw something,i was looking on the map and there was 3 glitters next to my ship but the bot choosee to go to take a glitter that was far away insteand of to collect the 3 glitters that was next to him!
I think that you should make you're bot to check which is the closest glitter and to go to take that glitter!
Normally he should do this, but i already noticed that it doenst work...
Just wait. :D
11/14/2010 20:18 P@ul4games#709
Quote:
Originally Posted by Shadow992 View Post
Normally he should do this, but i already noticed that it doenst work...
Just wait. :D
Ok i have a question,how you detect the glitters and how you get glitter position(an example would be god even if its in C++)!
11/14/2010 21:03 Shadow992#710
Quote:
Originally Posted by P@ul4games View Post
Ok i have a question,how you detect the glitters and how you get glitter position(an example would be god even if its in C++)!
This is just a snippet of my source:
PHP Code:

class Glitzi
{
public:
    
Glitzi() {}
    ~
Glitzi() {}
    
string id,x,y,visible;
};

//[...]

Split(Received_and_decrypted_data,"|",&(*splited));
if (
splited[0]=="E" && splited[1]=="I"  && SendMessage(Check2BM_GETCHECK00)==BST_CHECKED )
{
      
avaible=0;
      for (
short e=0e<50e++)
      if (
splited[2]==glitzi[e].idavaible=1;

      if (
avaible==0)
      {
          
SetLogtexte[36]);
          
glitzi[glitzinum].id=splited[2];
          
glitzi[glitzinum].x=splited[4];
          
glitzi[glitzinum].y=splited[5];
          
glitzinum++;
          if (
glitzinum>=50glitzinum=0;
      }
}

//[...] 
You wont get any further information because this is really enough.

Btw. I also took some things out, so it wont work well with this code. ;)
11/14/2010 21:19 P@ul4games#711
I don't want to use you're code because im not making an bot,i just want to know how this things are done because im new to programming world!
BTW i throught that you find the glitters whit the help of an image....
11/14/2010 22:03 Azzipunk#712
Ich will ja keinem was unterstellen, aber Shadow du solltest aufpassen wie viele Infos du gibst, weil die Programmierer von Bigpoint schlafen auch nicht und gucken hier bestimmt auch immer mal wieder rein.

mFg
11/14/2010 22:06 Shadow992#713
Quote:
Originally Posted by Azzipunk View Post
Ich will ja keinem was unterstellen, aber Shadow du solltest aufpassen wie viele Infos du gibst, weil die Programmierer von Bigpoint schlafen auch nicht und gucken hier bestimmt auch immer mal wieder rein.

mFg
Ach, sollen sie doch mal reinschauen.
Der Bot zeigt lediglich die Struktur des Bottes und in keinsterweise Sicherheitsrellevante Dinge.
Außerdem wer weiß, was ich so alles aus diesem Stück-Code rausgelöscht habe. ;)

Edit:
Das nächste Update wird ein großes Update, deswegen dauert es auch noch etwas.
Man wird in der nächsten Version unteranderem (endlich) Schiffe schießen können, das Grundgerüst dafür steht bereits es muss jetzt nur noch verfeinert werden. ;)
11/14/2010 22:18 sfman#714
i wished i could speak german lol.. I can't figure this bot out, can someone that knows english help me?
11/14/2010 22:26 vatrixxx#715
There is a english language config.
You must replace the german text in the config.txt file with the english text on the first page.
11/14/2010 22:27 Shadow992#716
Quote:
Originally Posted by sfman View Post
i wished i could speak german lol.. I can't figure this bot out, can someone that knows english help me?
Mate, just read the first post and read the english thing.
Then change the text of your config.txt to one of the texts in my first post.
After that your bot is english. :D
11/14/2010 22:31 iicssii11#717
ey du solltes das problem mit denn browser auch löschen also kleine erklärenung.

1.Wenn bot an ist kein browser geht alles gut aber wenn bot und browser an ist gäht erst browser nicht dann nach eienr weile bot auch nicht mehr da bleibt einfach alles stehen
11/14/2010 22:34 Shadow992#718
Quote:
Originally Posted by iicssii11 View Post
ey du solltes das problem mit denn browser auch löschen also kleine erklärenung.

1.Wenn bot an ist kein browser geht alles gut aber wenn bot und browser an ist gäht erst browser nicht dann nach eienr weile bot auch nicht mehr da bleibt einfach alles stehen
Im nächsten Update wird einiges ausgebessert werden, unteranderem (hoffentlich) auch dieses Problem.
Einfach warten, da ich wohl schlecht einen halbfunktionierenden Bot releasen kann bzw. einen Bot mit soviel unnötigem Zeugs (womit ihr nichts anfangen könnt), will ich ihn zuerst komplett fertig machen und dann releasen. ;)
Also ich denke 1-3 Tage werdet ihr schon nocheinmal aushalten können. ;)
11/14/2010 22:35 sfman#719
yes i did that shadow, but I can't get it to work! i got it to convert to english but can't get the bot to work at all :( i bought one from a buy on here but it seems that it doesn't pick up what it should for the money lol
11/14/2010 22:36 Shadow992#720
Quote:
Originally Posted by sfman View Post
yes i did that shadow, but I can't get it to work! i got it to convert to english but can't get the bot to work at all :(
So please describe what you are doing, which OS you are using and some pics would be nice, too.