Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Camel

Pages: 1 ... 101 102 [103]
1531
JavaOp Support Archive / Re: Can I make JavaOp to join my game?
« on: September 05, 2007, 10:38:30 am »
2nd year CS was when I ran out of money and had to drop out/start working full time.

So, I guess you could say it's when I wrote my Java bot as well. However, Hdx did most of the heavy lifting with JBLS - I use his CD key decoder, Broken SHA-1 hasher for cd key/password hashing, and SRP module. I wrote my first battle.net bot when I was a sophomore in highschool.

[/offtopic]

1532
JavaOp Support Archive / Re: Complete newbie in need :D
« on: September 05, 2007, 10:28:30 am »
Blizzard has a tendency to leave old games to rot. Example, Diablo is rotting in the wake of Diablo II, and WarCraft II died to WarCraft III. I don't expect WarCraft II or Diablo (one) to be updated ever again.

Anyhow, I'm going to work on Warden, as soon as I get the willpower to install IDA and StarCraft on my laptop, as well as OllyDbg. And I've been at that point for about a week now.

I don't know about DRTL, but I do know that the last patch for W2BN is final. It said so in the patch notes.

1533
Botdev / Re: [Python] Packetbuffer
« on: September 05, 2007, 10:25:54 am »
I use GPL v2 because it was the first option in the drop-down when I created the Google Code project.

Honestly, I've never even read it. I do know, however, that it's infectious. That is to say, if you use any GPLv2 code, the modules that include the GPLed code have to be released with the same license.

iago, what's the difference between the license you use and no license at all?

1534
Botdev / Re: [Python] Packetbuffer
« on: September 05, 2007, 09:53:59 am »
So..someone leached your code and licensed it under GPLv2? Fucking FSF

This is correct - the dummy even left a couple lines that indicated the real author in the source. Sigh.

Fairly certain you can complain to google to have it taken down.

I'm fairly certain a cease and desist would not be uncalled for. Complaining is easier though.

Then again, can you really take a project at SVN revision 7 seriously anyways?

It takes forever to even get a "Hello, world!" application compiled and running with BF, that is, if you're actually attempting to write it yourself.  :P

Are you serious? Writing a BF interpreter is easy. Writing a BF generator is easy too.

Code: [Select]
char b[MEMORY_SIZE];
char *p = &b;
int main() {
while(true) {
char c = getch();
if(c == EOF)
return 0;
switch(c) {
case '+': *p++; break;
case '-': *p--; break;
case '>': p++; break;
...
}
}
}

Here's the modified code from ABF I used to generate the above BF code. I'd have converted it to C, but that would have required reading that god awful C++ code, so I just left it in.
Code: [Select]
/*
 * Read string from standard input and convert to Brainfuck.
 */

#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main(int argc, char** argv)
{
vector<string> stringvec;

for (string tmp; getline(cin, tmp);) {
stringvec.push_back(tmp);
}

int i = 0;
for (vector<string>::const_iterator oit = stringvec.begin();
oit != stringvec.end();
++oit) {
for (string::const_iterator iit = oit->begin();
iit != oit->end();
++iit) {
for (; i < *iit; ++i)
cout << "+";
for (; i > *iit; --i)
cout << "-";
cout << ".";
}
cout << endl;
}
}

1535
Botdev / Re: S > Clean C > dirty C
« on: September 05, 2007, 09:47:01 am »
Setup a server w/ a BNCS ad Sock5 end.
SC->Loalhost (Need a gateway editor)
SB->Proxy->Localhost->bnet!
When the proxy server gets 0x5e send to SC over the BNCS connection.
When SC sends the reply, send on the proxy.
Simple.
~Hdx

I don't believe it is that simple. From what I understand, the key to decrypt warden is based on the client/server tokens (specifically, the cd key hash), and therefore you really need to hijack SC's connection using the proxy rather than redirect just warden packets to it.

Of course, I've done no research in to this, I'm just going off of what I've read about it.

1536
Joe's Bunker of Pie / Re: My new toy..
« on: September 04, 2007, 03:20:34 pm »
I started development my bot primarily on a single-core machine. When I got my X2, I realized I was missing quite a bit of synchronization. Fortunately, it's very easy to solve those problems in Java. While it's not impossible for these types of issues to come up in a single-core operating environment, it's less likely by an extremely large factor. Before you dive in, I'd strongly recommend learning about synchronization, in addition to the aforementioned topics.

1537
Botdev / Re: [Python] Packetbuffer
« on: September 04, 2007, 12:59:43 pm »
Python is not even comparable to Brainfuck - who asks that?

topaz, continue searching for slaughter.. maybe check our irc network again - wait, you can't roflmaomfommaomrfolol

Code: [Select]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++.-.+.-------.+++++++++++++.------------------
-----------------------------------------------------------.------------.+++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.-
-------------.+++++++++++++++.--------------------------------------------------
-----------------------------------.++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++.+..-------------.

1538
Botdev / Re: FelBot!
« on: September 04, 2007, 12:40:12 pm »
I think it'd be possible with a rich plugin environment. Perhaps the ability to swap queue systems tiered more towards chat/moderation and such.

Even then, it's perfectly possible to have a somewhat decent moderation and a chat client if you're not concerned with top of the line efficiency. Not that it's much of a problem anymore though.

Top of the line efficiency? We're talking about a program that watches a socket for data indicating that people are joining/leaving/chatting in a channel. How much processing power do you really think that takes? My bot's written in java, and I've never seen a stable build spike above 2% CPU usage.

Joe: Check out my queue system. It's set very, very conservatively, so you can probably decrease the time constants.
http://bnubot.googlecode.com/svn/trunk/BNUBot/src/net/bnubot/core/ChatQueue.java

[edit] You'll also need to look at my Connection class to figure out how canSendChat() works:
http://bnubot.googlecode.com/svn/trunk/BNUBot/src/net/bnubot/core/Connection.java

1539
Botdev / Re: FelBot!
« on: August 31, 2007, 03:33:36 pm »
StealthBot tries to do everything and thus fails.  Pick chat or pick moderation.  You can't have both.

Disagree. My bot's great at both. The GUI is a plugin, so you can shut it off for a moderation deamon. Flood protection is optional, so it doesn't bother you if you're chatting.

Pages: 1 ... 101 102 [103]