• Welcome to Valhalla Legends Archive.
 

Creating D2 Game

Started by OnlyMeat, July 11, 2004, 01:07 AM

Previous topic - Next topic

UserLoser.

Quote from: OnlyMeat on July 12, 2004, 11:20 PM
Seems no one on here knows how to do it//or wants to share their knowledge so ill try and hunt down some c++ source for it instead.

AFAIK, there's not much you can do about this error ("No connection could be made because the target machine actively refused it.")  Are you sure you're using a TCP socket, not UDP?

Maddox

Quote from: UserLoser. on July 13, 2004, 01:03 AM
Quote from: OnlyMeat on July 12, 2004, 11:20 PM
Seems no one on here knows how to do it//or wants to share their knowledge so ill try and hunt down some c++ source for it instead.

AFAIK, there's not much you can do about this error ("No connection could be made because the target machine actively refused it.")  Are you sure you're using a TCP socket, not UDP?

You can't get that error with UDP. UDP is "connectionless."
asdf.

MyndFyre

Quote from: OnlyMeat on July 12, 2004, 11:20 PM
Seems no one on here knows how to do it//or wants to share their knowledge so ill try and hunt down some c++ source for it instead.

Yes!  Don't try to figure it out for yourself!  Instead, copy someone else's work!
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

dxoigmn

Quote from: Myndfyre on July 13, 2004, 01:02 PM
Quote from: OnlyMeat on July 12, 2004, 11:20 PM
Seems no one on here knows how to do it//or wants to share their knowledge so ill try and hunt down some c++ source for it instead.

Yes!  Don't try to figure it out for yourself!  Instead, copy someone else's work!

I think we need to start following the mantra, "If you don't have anything nice to say, then don't say anything at all."  You, as well as other people, frequently attack (usually in some pseudo-sarcastic way) others like such and it's quite annoying, especially in the Bot Development forum.  I don't mean to moderate, but this is a place where people come to be helped not ridiculed.

MyndFyre

I usually don't do this...  but I'm in a bad mood today.

Quote from: dxoigmn on July 13, 2004, 01:39 PM
I think we need to start following the mantra, "If you don't have anything nice to say, then don't say anything at all."  You, as well as other people, frequently attack (usually in some pseudo-sarcastic way) others like such and it's quite annoying, especially in the Bot Development forum.  I don't mean to moderate, but this is a place where people come to be helped not ridiculed.
Quote from: dxoigmn on July 12, 2004, 06:12 PM
Please enlighten us with your knowledge of the protocol.

Note that in the post to which you were referring (about the protocol knowledge), I posted that 1.) I didn't know about the protocol, but 2.) I did try to attempt at a helpful suggestion.

Also, being sarcastic in this sense is an attempt to get him to do something for himself -- to better himself -- than to just dissect someone else's code.  

Granted, there are occasions where it's allright to do this.  But, we haven't begun to get in-depth and perplexed by this problem enough to warrant going to search for code.  On the other hand, this thread was dead enough to warrant bantering.  :P

On top of other stuff, don't tell me that I'm unhelpful.  I give a lot more here than I take.  So you can get off my back.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

OnlyMeat

Quote from: Myndfyre on July 13, 2004, 01:02 PM
Quote from: OnlyMeat on July 12, 2004, 11:20 PM
Seems no one on here knows how to do it//or wants to share their knowledge so ill try and hunt down some c++ source for it instead.

Yes!  Don't try to figure it out for yourself!  Instead, copy someone else's work!

Well actually searching for some source code is my last resort only, i write all my code in c++ without any help usually so it's not as if im leeching off everyone thx!!

I write all my bots/programs based on my own packet analysis and not on the back of other peoples work i detest this the only reason i came on here in the first place was because i tried every avenue of testing//trial to get the code working  ( I say code working but actually it's a sequence protocol//problem really ) and i thought maybe someone on here has had a similar problem and could give me a point in the right direction.

I certainly wont bother in the future if this is the kind of response i get.

ps. btw i was'nt trying to be sarcastic.

dxoigmn

#21
Quote from: OnlyMeat on July 13, 2004, 04:52 PM
I certainly wont bother in the future if this is the kind of response i get.

Please don't be discouraged to post.  It's always nice to have some new faces around here that have some idea of what they're trying to accomplish.

* dxoigmn reminisces of the olds days on gamersx.com (now gamers.com)

OnlyMeat

Just a note to say i figured out the problem it was down to my connection code which by default connects asynchronously, although this worked fine for the realm and bnchat servers the game servers must be not be registered with any dns servers and consequently the resolved information being returned from async dns lookup WSAXX functions was incorrect and led to the faillure.

Thx for the ideas and responses it got me thinking and helped out.