• Welcome to Valhalla Legends Archive.
 

A problem, help plz

Started by EviL_MarinE, October 24, 2004, 03:55 PM

Previous topic - Next topic

MyndFyre

Are you capable of debugging it yourself?  So basically what you're telling us is, since you know it, you won't be coming to us with your problems if/when it doesn't work right?
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.

EviL_MarinE

Hmm, well i think i CAN do logging onto to bnet myself, might need some help

But the only thing im not sure on is, Hmm maybe the "Packetclass" in my case, The .Insertdword ect... And the Socket_DataArrival, maybe i can do it, but if i cant i might ask :)

- if you dont mind!  ;D

Warrior

Well if your going to do this correctly and do your homework on Battle.net then I think we would be glad to help.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

LivedKrad

Quote from: EviL_MarinE on October 28, 2004, 10:46 AM
Hmm, well i think i CAN do logging onto to bnet myself, might need some help

But the only thing im not sure on is, Hmm maybe the "Packetclass" in my case, The .Insertdword ect... And the Socket_DataArrival, maybe i can do it, but if i cant i might ask :)

- if you dont mind!  ;D

.Insertdword? I wasn't aware this was an intrinsic function/method to Visual BASIC.  But, looking upon others' code has revealed to me that .Insertdword has come to be a function in many people's packet parsing modules. It looks like  nothing more than a small piece of code calling an additional function to shift certain bytes of data to create a "DWORD". So, I don't understand your supposed "small problem" with two different things that are completely unrelated to each other, such as this "Packetclass" and the method .Insertdword. So, if you could reply back with more... customized versions of these procedures, then I would also be more than happy to help in any way I can.

EviL_MarinE

ah LivedKrad thx thx, now i understand!

Btw "PacketClass" is my class module with Inserting dwords, words, bytes, byte ect......

Thx for helping me out, i started my bot like 10 mins ago and kinda doing good @_@

Only thing stuck on, Data Arrival, what to put for it? :(

MyndFyre

#35
Quote from: EviL_MarinE on October 28, 2004, 01:05 PM
Btw "PacketClass" is my class module with Inserting dwords, words, bytes, byte ect......
Just as an editorial note, I think it's at best redundant and at worst poor practice to prepend or append a name of a class with "Class."  If someone, including yourself, is using your class, knowing full well that it is a class, then doesn't it somewhat defeat the point of naming it "-Class"?

Quote from: EviL_MarinE on October 28, 2004, 01:05 PMi started my bot like 10 mins ago and kinda doing good @_@

Only thing stuck on, Data Arrival, what to put for it? :(
So....  by "doing good(sic)" you mean you've managed to drag and drop controls onto a form?  What is hard about understanding what to put for the DataArrival event?  You put code there that processes data that has arrived....
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.

EviL_MarinE

Hmm yeah thx MyndFyre, thx for help :)

Now doing Data Arrival but gtg so bye lol

LivedKrad

So, what exactly do you plan to do with this magical "PacketClass"? And also, you've resolved to start on your Data_Arrival event, what then, are you planning to do for that? Code would be appreciated BTW. :P

R.a.B.B.i.T

The closest any Visual BASIC programmer should get to looking at other people's code is looking at the examples in API-Guide (http://www.allapi.net/) when looking at an API call for the first time.

shadypalm88

Quote from: R.a.B.B.i.T on October 31, 2004, 04:31 PM
The closest any Visual BASIC programmer should get to looking at other people's code is looking at the examples in API-Guide (http://www.allapi.net/) when looking at an API call for the first time.
Well... that is how I learned Visual Basic.  I started tinkering around with a fully-working bot.  I knew the author so I could ask questions about it along the way.

After messing with it a lot I started to feel comfortable with VB.  Then I wrote my own bot from scratch.

Although, keep in mind:
1. VB was not my first [programming] language.  (PHP was.)
2. The bot I wrote was organized very differently than the original one I played with (mine was more OO, for one).  I wasn't just recoding the original (or copying and pasting).  I made an effort to understand what was going on, and then tried to do it better.

So I guess it can work for some people.  My VB "skillz" didn't turn out too bad, if I do say so myself.

LivedKrad

Yes they did Eric, you're horrible! :p

Eric

#41
Quote from: R.a.B.B.i.T on October 31, 2004, 04:31 PM
The closest any Visual BASIC programmer should get to looking at other people's code is looking at the examples in API-Guide (http://www.allapi.net/) when looking at an API call for the first time.
So you're saying that learning through example is frowned apon now?  Pretty soon people will be flamed because they learned how to program by reading a book or taking a class.

Quote from: R.a.B.B.i.TMore of a sidenote: you should use (Grok's?) DebugOutput(), which is available on the BotDev page, it will make life so much easier later on.

Quite contradicting views.

MyndFyre

Quote from: LoRd[nK] on November 02, 2004, 02:00 AM
Quote from: R.a.B.B.i.T on October 31, 2004, 04:31 PM
The closest any Visual BASIC programmer should get to looking at other people's code is looking at the examples in API-Guide (http://www.allapi.net/) when looking at an API call for the first time.
So you're saying that learning through example is frowned apon now?  Pretty soon people will be flamed because they learned how to program by reading a book or taking a class.

No, I don't think that's the issue.  I think the issue is this process:

1.) Take someone else code example, if the example is actually a product.
2.) Change things around, play with it, examine the changes.
3.) Package it as your own product, giving no credit to the original author.

Nobody publishes the "Hello, world" example as their own.  But, say I make my bot open-source, someone downloads it, changes the title and some cosmetic things, and recompiles it, publishes it himself as ]sC4M[b0t (ph33r I33t h4x0rz!), then yes, there is a problem.  I would be making it open-source so people could learn, NOT so that they could do exactly what I just described.
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.

Minux

Which is why you need to do what Stealth did, when he released one of his VERY early version sources. He removed a bunch of items, changed a few names on different controls and suddenly any idiot would just say "not worth it" and move on to the next source. I envy him for that.

Eric

#44
Quote from: MyndFyre on November 02, 2004, 09:09 AM
Quote from: LoRd[nK] on November 02, 2004, 02:00 AM
Quote from: R.a.B.B.i.T on October 31, 2004, 04:31 PM
The closest any Visual BASIC programmer should get to looking at other people's code is looking at the examples in API-Guide (http://www.allapi.net/) when looking at an API call for the first time.
So you're saying that learning through example is frowned apon now?  Pretty soon people will be flamed because they learned how to program by reading a book or taking a class.

No, I don't think that's the issue.  I think the issue is this process:

1.) Take someone else code example, if the example is actually a product.
2.) Change things around, play with it, examine the changes.
3.) Package it as your own product, giving no credit to the original author.

Nobody publishes the "Hello, world" example as their own.  But, say I make my bot open-source, someone downloads it, changes the title and some cosmetic things, and recompiles it, publishes it himself as ]sC4M[b0t (ph33r I33t h4x0rz!), then yes, there is a problem.  I would be making it open-source so people could learn, NOT so that they could do exactly what I just described.
You should be aware of all possible risks and be prepared to accept them before releasing your product as open-source because you can't just leave something like that in the public's eye and then get mad because they don't use it exactly how you expected them to.

You claim to release open-source products to help people understand, however, here you are, refusing to help someone understand and patch up a piece of someone's open-source product.  Rather than deeming him a leecher and criticizing him because of it, wouldn't it be better to just try and help him understand it?

QuoteQuote from: Minus on Today at 01:11:46 PM
Which is why you need to do what Stealth did, when he released one of his VERY early version sources. He removed a bunch of items, changed a few names on different controls and suddenly any idiot would just say "not worth it" and move on to the next source. I envy him for that.
Releasing faulty code is hardly an answer.

|