Author Topic: [VB] Final Project?  (Read 11895 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
[VB] Final Project?
« on: December 01, 2005, 07:26:31 pm »
Yeah, as you all (probably) know, I'm taking a class on VB. Midquarter is coming up next week, then we have about four weeks until the semester is over, and I start "learning" Java.

Anyhow, naturally, we're doing a final project. I want to end this class with a bang, because stuff that explodes (but not RTEs) is cool. I'm thinking of just showing JBBE, but..

1) OCX files are not distributed to all the computers (they have a weird network-installation of VB), so the RTB, ChannelList, etc, will crash VB upon loading. Running it, however, will work fine (I tried my BNLS thing from school once).
2) It's not illegal, but neither is it ethical, if you look at it from the standpoint of a Blizzard developer.
3) Its not all my code. The majority of it is, but BNCSUtil and a few lines from WiReS, Grok, etc, aren't.

Despite all that, I think I might use it anyhow, because I've devoted a good 20+ hours into it.

What do you think? If you think I shouldn't do this, what do you think I should do instead?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #1 on: December 01, 2005, 08:04:12 pm »
What do you think? If you think I shouldn't do this, what do you think I should do instead?

Do something like what I did with NP Server. Write a server/client with some really neat protocol over TCP. (NOT UDP, YOU ANUS FUCK.)

Of course, I had a huge flaw in NP Server. Mostly thanks to Raihan. The packet header, ID, length, etc, were supposed to be in hexadecimal, but at the time, I sucked at life, and Raihan told me to make it "GG" as a joke, and I did. :X
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: [VB] Final Project?
« Reply #2 on: December 01, 2005, 08:15:24 pm »
Midquarter is coming up next week, then we have about four weeks until the semester is over,
I suggest you actually create a server/client like newby said. Make it have chat, file transfer, etc.. etc.. Something complicated. You have 4 weeks~!
JBBE is not good from what ive seen.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #3 on: December 01, 2005, 10:07:07 pm »
@Hdx: You haven't seen the latest release. Feel free to view the changelog, then rejudge.

@Sidoh: Having trouble comprehending the meaning of "final"? I mean end-of-term project, I never said I was quitting VB. Well, I did, but oh well?

EDIT -
Upon re-reading my comment to Sidoh, it looks like a flame. It wasn't intended that way, so eh?
« Last Edit: December 01, 2005, 10:16:37 pm by Joe[e2] »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: [VB] Final Project?
« Reply #4 on: December 02, 2005, 08:47:39 am »
I wrote a Pacman game for my final project in VB.  It was so totally elite, but I don't have it anymore.  *sniffle*

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: [VB] Final Project?
« Reply #5 on: December 02, 2005, 12:12:48 pm »
Yeah!! Make a game!  That would be awesome!
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #6 on: December 02, 2005, 12:28:35 pm »
Pacman would be fun and easy, but time consuming and not for the lazy. I may do it, but I think JBBE might be better. =/.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #7 on: December 02, 2005, 10:16:01 pm »
I'm making a chat thingy. Server will be in Java, for.. no reason, and client will be in Visual Basic. I might write a VC++ backbone DLL if I get bored.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #8 on: December 03, 2005, 01:10:12 am »
I'm making a chat thingy. Server will be in Java, for.. no reason, and client will be in Visual Basic. I might write a VC++ backbone DLL if I get bored.

Write the server and client in VB, if you're in a VB class.

See the relation?
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #9 on: December 03, 2005, 01:20:49 am »
We're doing Java next semester anyhow. Besides, you're too late.

I'm finished, and I support open source.

Yes, my name is William.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #10 on: December 03, 2005, 01:21:32 pm »
We're doing Java next semester anyhow. Besides, you're too late.

I'm finished, and I support open source.

Yes, my name is William.

Ehh... I'd figure you'd have to code the project in VB during school, seeing as how a compiler for VB is $$$++, and most kids can't afford to blow money on it, especially at your grade level. :p

EDIT -- I fail to see where this shows 9 weeks of programming skills. Maybe the public school system sucks, but if it doesn't, this will net you a failing grade.

Again, listen:

Write a chat client and server. Both in VB. Make it a fairly advanced protocol, and involve some parsing. Add some packets. This sucks. This really sucks.

Look at NP Server... that's something that doesn't suck. Well, it's just above borderline suck, but it beats this. At least it has packets && parsing.

Also, writing the server in Java will indicate to the teacher you don't know VB well, and regardless of what language you write the server in, if it isn't VB, the teacher will frown upon this. Going the extra mile should be done within the boundaries. If you write it in VB, he'll be impressed. If you write it in Java, he'll assume you have programming knowledge in Java, and you aren't very good in VB, and he will look down upon that.
« Last Edit: December 03, 2005, 01:27:51 pm by Newby »
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: [VB] Final Project?
« Reply #11 on: December 03, 2005, 02:01:46 pm »
I'd be impressed if someone wrote a server in another language while writing a fairly good client in VB. Listen, you have four weeks. Add some packets, a userlist, etc. Really knock his socks off.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #12 on: December 03, 2005, 02:28:18 pm »
I'd be impressed if someone wrote a server in another language while writing a fairly good client in VB. Listen, you have four weeks. Add some packets, a userlist, etc. Really knock his socks off.

But if it's a class for VB, writing a server in another language would indicate knowledge that you don't know VB very well, or that you don't like VB, or some other negatory impact on his impression of you.
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: [VB] Final Project?
« Reply #13 on: December 03, 2005, 02:59:24 pm »
I wouldn't think the entire thing would have to be in VB. You do it in Java you could post cross platform-ness and and all you'd need to do to keep up with the point of the final is to make a kickass client in VB to show him you know what you're doing. Writing a server in VB is messy and you can't do things like multithreading and you can't run it (easily) as a service.

If I was the teacher I'd mark up points on a Java server especially if it's efficient and nicely object oriented while still keeping the VB client in mind which does show off impressive organizational and logic skills. Be sure to provide nice commenting and not to write stupid code (API Calls versus other stupid workarounds).

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #14 on: December 03, 2005, 05:26:50 pm »
1) The teacher is not a guy. =p

2) Over the 18 weeks (not nine, newby), I've shown many times that (as little as I like to blow my own horn), I have at least five times as much VB knoledge as anyone else in that class. Proving my skill is not a problem. The tictactoe project we started thursday and had a week to do was turned in flawless friday morning.

3) I suppose I'll have to add a protocol to it, because the way this is done, you can only have one-word (defined by spaces) names. Hm, w3rd.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: [VB] Final Project?
« Reply #15 on: December 03, 2005, 05:38:58 pm »
1) The teacher is not a guy. =p
Is she hot?!?
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #16 on: December 03, 2005, 05:59:09 pm »
1) The teacher is not a guy. =p
Is she hot?!?

Haha, sleep with her for a good grade! :P
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #17 on: December 03, 2005, 08:09:45 pm »
She's my first programming teacher, not my first sex teacher. Get it right, damnit! Yes, pun intended.

Binary protocol = implemented. No longer using any timers in Protocol.java, so I cut that down by about 255 timers. =)

Adding listview in client, the reuploading.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: [VB] Final Project?
« Reply #18 on: December 03, 2005, 08:17:09 pm »
Tic-Tac-Toe takes about 20 minutes to make :\

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #19 on: December 03, 2005, 08:53:06 pm »
Reuploaded. Me and Warrior are talking on joex86.no-ip.org:99

EDIT -
Took me about a half-hour, Rabbit.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline wires

  • Pwnage
  • x86
  • Hero Member
  • *****
  • Posts: 1103
  • cocaine is fun!
    • View Profile
    • Weapon Of Mass Destruction
Re: [VB] Final Project?
« Reply #20 on: December 03, 2005, 11:23:00 pm »
Of course, I had a huge flaw in NP Server. Mostly thanks to Raihan. The packet header, ID, length, etc, were supposed to be in hexadecimal, but at the time, I sucked at life, and Raihan told me to make it "GG" as a joke, and I did. :X
LOL!

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #21 on: December 04, 2005, 10:35:13 pm »
http://www.javaop.com/~joe/VBFinal.zip

Ton's of changes. Now named RabbiChat, and using port 8999. Kthxbai.

Server is running at www.javaop.com:8999 (on pie), if you wanna pop in.

EDIT -
I'm RC-Test. kthx.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [VB] Final Project?
« Reply #22 on: December 04, 2005, 10:45:22 pm »
http://www.javaop.com/~joe/VBFinal.zip

Ton's of changes. Now named RabbiChat, and using port 8999. Kthxbai.

Server is running at www.javaop.com:8999 (on pie), if you wanna pop in.

EDIT -
I'm RC-Test. kthx.

Kind of annoying that you can't push a button or something to reconnect/re-enter connection information if the initial attempt fails.

Also, lock the RTB... :P

One last thing... when I tried to close it, I got RTE 40006 - Wrong protocol or connection state for the requested transaction or request.  Fix.  :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: [VB] Final Project?
« Reply #23 on: December 04, 2005, 10:51:24 pm »
[10:56:54 PM] rabbit has connected.
[10:56:54 PM] rabbit is logged on.
[10:56:54 PM] rabbit is logged on.
[10:56:54 PM] rabbit is logged on.

Can you say....owned?

[edit]
Turned Joe's client into a bomber to flood his own server.  Bad Joe.

[edit]
Found a bug, I got a short packet.
0000:  00                                                ................
« Last Edit: December 04, 2005, 11:04:32 pm by rabbit »

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #24 on: December 04, 2005, 11:14:15 pm »
Yeah, because you killed my client from the inside out. =p

Quote
One last thing... when I tried to close it, I got RTE 40006 - Wrong protocol or connection state for the requested transaction or request.  Fix.  Tongue
Fixed already.

Quote
Also, lock the RTB... Tongue
Oops.

@Reconnect:
Quote
[10:17:20 PM] RabbiChat Client by William LaFrance
[10:17:20 PM] Computer Programming 1 - Final Project
[10:17:20 PM] Connecting..
[10:17:20 PM] Connected!
[10:17:21 PM] You are position 3 in the array of client sockets.
[10:17:21 PM] joe has connected.
[10:17:22 PM] Reconnecting..
[10:17:23 PM] Connected!
[10:17:23 PM] You are position 4 in the array of client sockets.
[10:17:23 PM] joe has connected.
[10:17:28 PM] Reconnecting..
[10:17:28 PM] Connected!
[10:17:29 PM] You are position 5 in the array of client sockets.
[10:17:29 PM] joe has connected.
New command: /reconnect

EDIT -
Reuploaded.
« Last Edit: December 04, 2005, 11:17:12 pm by Joe[e2] »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: [VB] Final Project?
« Reply #25 on: December 05, 2005, 12:32:24 am »
(20:25:20) Billy: how was your shit
(20:30:48) PeeOnMyPC: Painful.
(20:30:58) Billy: nice
(20:31:16) Billy: too much pizza?
(20:31:20) Billy: ypu ate like 20 slices

Err, newby@impaler:~/Downloads/VBFinal/VBFinal/ChatClient$ wine prjRabbiChatClient.exe
fixme:ole:CoRegisterMessageFilter stub
fixme:richedit:RichEditANSIWndProc EM_SETOLECALLBACK: stub
fixme:richedit:RichEditANSIWndProc EM_GETOLEINTERFACE 0x403a4f60: stub
fixme:richedit:RichEditANSIWndProc EM_EXLIMITTEXT: stub
fixme:richedit:RichEditANSIWndProc EM_SETTARGETDEVICE: stub
fixme:richedit:RichEditANSIWndProc WM_SETFONT: stub
fixme:richedit:RichEditANSIWndProc WM_STYLECHANGING: stub
fixme:richedit:RichEditANSIWndProc WM_STYLECHANGED: stub
fixme:richedit:ME_StreamOutFlush Invalid returned written size *pcb: 0xdeadbeef (-559038737) instead of 0
fixme:richedit:RichEditANSIWndProc EM_SCROLLCARET: stub
fixme:richedit:IRichEditOle_fnInPlaceDeactivate stub 0x403a5520
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: [VB] Final Project?
« Reply #26 on: December 05, 2005, 11:51:37 am »
0xdeadbeef (-559038737) instead of 0
Lmao, WINE sucks.  :P  It can't even run Notepad.

Quote
[10:17:20 PM] RabbiChat Client by William LaFrance
[10:17:20 PM] Computer Programming 1 - Final Project
[10:17:20 PM] Connecting..
[10:17:20 PM] Connected!
[10:17:21 PM] You are position 3 in the array of client sockets.
[10:17:21 PM] joe has connected.
[10:17:22 PM] Reconnecting..
[10:17:23 PM] Connected!
[10:17:23 PM] You are position 4 in the array of client sockets.
[10:17:23 PM] joe has connected.
[10:17:28 PM] Reconnecting..
[10:17:28 PM] Connected!
[10:17:29 PM] You are position 5 in the array of client sockets.
[10:17:29 PM] joe has connected.
Why are you 1.) telling the client where in the client socket set he is, and 2.) why would you increment each time you disconnect?

I hope you're re-creating sockets after they've been closed....

Actually I hope you're closing sockets!
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: [VB] Final Project?
« Reply #27 on: December 06, 2005, 12:02:57 pm »
I wasn't at the time, but I am now.

EDIT -
Haha, VB rocks!
I'd personally do as Joe suggests

You might be right about that, Joe.