Author |
Message |
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Mon Jan 20, 2003 5:13 pm Post subject: |
|
|
|
|
What bot core are you using, since this makes a huge difference in how to fix the problem.
Also, Notify me when a reply is posted = send you an email when someone replies. I'll change the text later after i get home from work. Bookmark just stores a history of topics you like, and may want to find again later. You can clikc the Bookmark button at the top of the screen to view all the topics you bookmarked before. I use it whenever i find a thread that has practical information i'll probably end up coping and pasting again later into someone else's question.
|
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Tue Jan 21, 2003 2:31 am Post subject: |
|
|
|
|
I've attached the code as .txt since it is a bot I'm making.
error.txt - 2.93 KB
File downloaded or viewed 60 time(s)
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Tue Jan 21, 2003 6:33 am Post subject: |
|
|
|
|
Are you encrypting the packet correctly? _________________ 3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku"
|
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Tue Jan 21, 2003 2:37 pm Post subject: |
|
|
|
|
SOS wrote: | Are you encrypting the packet correctly? |
What what? Hmm I'll have to work this out some how...~walks off shaking head saying "encryption, and in Java"~
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Jan 21, 2003 4:13 pm Post subject: |
|
|
|
|
Hmm, a Java bot? Way cool! Will you be releasing it to the public? _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Tue Jan 21, 2003 4:15 pm Post subject: |
|
|
|
|
Wait a bit, and soon all you have to do is open a TCP/IP connection to the server for a chat program/bot. Be much easier for things like Java. Till then, i recommend you playing around with someone else's bot, and learning new languages. After you learn one, its pretty simple to pick up on the next 27 languages, including things like Brainfuck.
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Jan 21, 2003 4:41 pm Post subject: |
|
|
|
|
Mine GO BOOM wrote: | Be much easier for things like Java. |
Is that an insult?
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Tue Jan 21, 2003 5:18 pm Post subject: |
|
|
|
|
Dr Brain wrote: | Is that an insult? |
Yes :)
Anyways, Java can do this all, since Dock> did it after lots and lots of testing.
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Jan 21, 2003 5:55 pm Post subject: |
|
|
|
|
The myth about Java's speed should have been long ago dispeled, but it continues to this day. Java is interpeted, meaning that it is not possible for it's speed to surpass the speed of a compiled language such as C++. However that does NOT mean that it is slow. Java's speed is acceptable for all but the most graphicly intense application (bots and severs do not fall into this category). And even this graphics limitation is not as much as it used to be, with the integration of DirectX and OpenGL into Java.
Yes, the Swing Set's UIs look bad, but they are desigend to look OK on all platforms, not to look great on some, and horrible on the rest of them. But that is not a big deal, as Java's primary function today is no longer in the world of applets and applications, but in the world of servers and databases.
Defender of peace and justice,
Dr Brain
|
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Wed Jan 22, 2003 2:50 am Post subject: |
|
|
|
|
Mine GO BOOM wrote: | Wait a bit, and soon all you have to do is open a TCP/IP connection to the server for a chat program/bot. Be much easier for things like Java. |
You mean no encryption? Or on a .dll or something (where is the dll that Coconut Emulator made with the encryption in it?). To me UDP in Java is dead easy, just 3 or 4 lines to send a packet to any address. (I haven't looked at the TCP/IP API's yet, but I think it's going to get complicated). The only thing with Java is that I haven't figured out callbacks, so my program is constantly checking for incoming packets and can't take user input :( Also it can't tell you how big the received packet is.
@Dr Brain
Don't get your hopes up, it can't read ACK'ed packets and bails on clusters.
@SOS
Do I encrypt the whole packet? Or just the name and password in the login packet?[/i]
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Wed Jan 22, 2003 5:46 am Post subject: |
|
|
|
|
All packets are fully encrypted, except the packet type (and the 0x00 for special packets).
|
|
Back to top |
|
|
Dustpuppy Server Help Squatter
Age:39 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Thu Feb 06, 2003 9:27 am Post subject: |
|
|
|
|
Mine GO BOOM wrote: | Wait a bit, and soon all you have to do is open a TCP/IP connection to the server for a chat program/bot. Be much easier for things like Java. Till then, i recommend you playing around with someone else's bot, and learning new languages. After you learn one, its pretty simple to pick up on the next 27 languages, including things like Brainfuck. |
Befunge > Brainfuck
|
|
Back to top |
|
|
|