General Discussions

To anyone online: – lava

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
what's up?

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
not much just trying to figure out where to get help on something i am working on... that and reading this post!!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
what are you working on?

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
well, it's actually 2 sort of connected things.... it's like a chat-room sort of thing, but made for a specific thing... one is a debate machine that allows for turn-for-turn debates between (for now) 2 people, so they can have a debate... and the other is for the ancient art (lol yeah right) of Chat Wars!...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
Hey guys and gals,

Happy new year.

I'm currently working on adding multiple-language support for a screen saver I'm finishing up.

------------------
Brian

"OOP programmers have a lot of class"

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
that's cool! what is the screensaver?

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
im.... looking adn waiting to see what ppl think about my two most recently updated showcases! lol. since PONG: HOMEWORLD ASSAULT is finished, i've got nothing to do! lol.

------------------
(yes, i know im stupid)

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

PM ME YOUR DESCRIPTION OF ME! ILL PUT IT HERE!

Here's all the comments!

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
if you want you could help me!! i did help you a little on your Xmas lights thing after all...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

crazyishone

Member

Posts: 1685
From:
Registered: 08-25-2004
im reading this ridiculous thread....which i find quite entertaining.

im also downloading and installing software for my new WinXP installation and trying to figure out why Kubuntu is saying my wifi network is out of range when windows readily uses it.

and telling myself i should get to work on my program...but im just too. eh.

i wish i had the energy and motivation of RealmMaster.

------------------
"quote" -quote man.

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
Realm check your private messages

------------------

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
Since the saver is almost complete, I'll tell you. Short version: it's a stained glass screen saver. Long version: it's a stained glass screen saver, which animates in 3D (using OpenGL) when transitioning between images. It is extensible, in that it comes with an editor tool to allow anyone (even in other languages) to create more images for the saver to use, and also an API (in C++) to allow programmers to create more transitions. I'm just working out the last few bugs in the image editor, then I'll be working on some screen shots. Then an installer and website (which is half-done), and it will be ready for public consumption. Just before I make it public, I'll see if anyone here wants to give it some last-minute testing for me.

------------------
Brian

"OOP programmers have a lot of class"

firemaker103

Member

Posts: 643
From:
Registered: 07-13-2005
quote:
Originally posted by lava:
what are you working on?


Tagret, SelfServer, misc.

------------------
"Be nice to the nerds because later on, you'll be working for them" - Bill Gates

[This message has been edited by firemaker103 (edited December 31, 2005).]

crazyishone

Member

Posts: 1685
From:
Registered: 08-25-2004
rm, checky jo private messages. if u feel like reading aot. it was quite long. O.o

------------------
"quote" -quote man.

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
i don't mind doing any testing for you BrianT, i have nothing better to do lol!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
soooo, does anybody want to help me on what i am working on? i seriously need it, lol!!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
Well, first state what you need help on.

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
like, the whole thing lol!! i want to just get out like a commandline version as fast as i reasonably can (is it possible to do a commandline chat program?) and then take the rest of the way slowly and get a GUI and stuff, you know... but i need help on the coding, and that is about all i am working on at the moment, because, if i get help on the coding, i can learn how to do the chat part of it, and then i can sorta take it from there, but still work with somebody... did you mean what i was working on?

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
That's better.

A very detailed list of what you need is very helpful, take a look at job listings, they are very detailed of what they want.

Here's an example:
http://www.gamedev.net/directory/careers/

------------------

[This message has been edited by lava (edited December 31, 2005).]

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
huh? why would i want a job? plus, i can't get one (not old enough!!) i'm confused here....
oh, duh!! you meant that i should give a detailed description!! ok, i need somebody who knows C++ enough to help me code an instant messenger-like program that's designed to be for Chat Wars, which is something people do for fun. It will need to have the ability to make somebody wait until the other person says something before they talk again, to allow for turn-based battle. It will be command-line at first, hopefully eventually have a GUI... nothing real advanced like AIM or MSN (obviously, that's asking a LOT)
------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

[This message has been edited by buddboy (edited December 31, 2005).]

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
have you used BlitzPlus\3d\Max?

------------------

Jari

Member

Posts: 1471
From: Helsinki, Finland
Registered: 03-11-2005
buddboy, sounds like you want to go for network programming, that isn't the easiest place to start if you are beginner programmer.
But anyhow here's link to networking guide/tutorial: Beej's Guide to Network Programming Using Internet Sockets

It is bossible to do the chat program in console.

------------------
There are many devices in a man's heart; nevertheless the counsel of the LORD, that shall stand.
- Pro 19:21
Trust in the LORD with all thine heart; and lean not unto thine own understanding.
- Pro 3:5

[VoHW] (Help needed) [Blog] - Truedisciple (mp3)

[This message has been edited by jari (edited December 31, 2005).]

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
console?

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

crazyishone

Member

Posts: 1685
From:
Registered: 08-25-2004
as in...a command line console....
u know...like command prompt or dos. the console is the window. (usually black bg)

------------------
Instant Messengers are the scourge of productivity.

HeardTheWord

Member

Posts: 224
From: Des Moines, IA
Registered: 08-16-2004
I think I may have some old code lying around that handles sockets in C++. I'm assuming you are talking about peer to peer chatting? Or is this more of a chat room type of idea?

The major hurdle is deciding what networking architecture you are going to use and how packets will be handled. My guess is that you would want to use TCP/IP instead of UDP since it has reliable packet sending (best for chat programs).

I might also have the code in managed C++ so you can use it in VB or C#...

Happy New Year!!

[This message has been edited by HeardTheWord (edited January 01, 2006).]

kiwee

Member

Posts: 578
From: oxfordshire, england
Registered: 04-17-2004
what a nice topical (not tropical) topic :P

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
yah HeardTheWord it would be like P2P chatting. and that C++ code would be great! now i just have to figure out the rest of what you were saying...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
buddboy how far is your project, specifically?

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
how far? you mean, how much i have done? i dunno, not much... i don't really know where to start...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
ok, well have you made a working chat system before?

------------------

[This message has been edited by lava (edited January 02, 2006).]

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Im browsing the web from a console installing xorg-x11 and KDE under gentoo and doing school.

------------------
All Your Base Are Belong To Us!!! chown -r us ./base

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
I'm just working on my game, listening to music and chatting on Trillian.

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
Whoa! I haven't been on in about 5 days... I missed a lot!! Uh, no, in answer to your question lava. I'm kinda in over my head.

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
How much do you know Blitzbasic? Max, 3D, Plus, it doesn't matter. And do you have any of the versions? Demo or full version dosen't matter.

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
i'm probably going to be accosted with angry comments for this, but i know enough of Blitz to be tired of it and sick of the dumb errors... sorry but it just makes me mad... i used to have the BlitzPlus demo... oh, and btw, i won't be able to work on this anyway for a while unless i do it with blitz (which makes me suicidal cuz i want to do it a lot) because my pc with all my C++ stuff on it got taken out of my room (parents!) and i haven't been able to get ANYTHING off it yet... aagh....

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
If it's done in Blitz, I might help you with it, as it could give me experience with a chat system if I ever want to make an online game someday.

------------------

firemaker103

Member

Posts: 643
From:
Registered: 07-13-2005
Example from the samples from blitzbasic(notice, no tcp or udp, which you should use..):

;Very simple demo showing the basics of a network game
; Verified 1.48 compliant: 4/18/2001
AppTitle "Blitz Multiplayer demo"

Const width=640,height=480

Global send_freq=5 ;send every fifth update
Global smoothing=5
Global Ping_time

Type Info
Field txt$
End Type

Type Player
Field x#,y#,r# ;where ship appears on screen
Field dx#,dy#,dr# ;speeds - (recvd pos-current pos)/smoothing
Field name$,net_id

End Type

If Not StartNetGame() Then End

Graphics width,height

send_cnt=1

;get player name
Repeat
Cls
Color 0,48,0
For x=0 To width-1 Step 32
Rect x,0,1,height
Next
For y=0 To height-1 Step 32
Rect 0,y,width,1
Next
Color 255,255,255
Locate 16,height/4
name$=Input$( "Player name? " )
Until name$<>""

;create a local player
Global player.Player=New Player
player\x=width/2
player\y=height/2
player\r=0
player\name=name$
player\net_id=CreateNetPlayer( name$ )

Global chat$

SetBuffer BackBuffer()

While Not KeyDown(1)

UpdateNetwork()

send_cnt=send_cnt-1
If send_cnt=0
send_cnt=send_freq
send=True
Else
send=False
EndIf

UpdatePlayers( send )

RenderAll()

Flip
Wend

End

;update incoming network messages...
Function UpdateNetwork()
While RecvNetMsg()
Select NetMsgType()
Case 1:
p.Player=FindPlayer( NetMsgFrom() )
If p<>Null Then UnpackPlayerMsg( NetMsgData$(),p )
Case 2:
info( NetPlayerName$( NetMsgFrom() )+":"+NetMsgData$() )
Case 3:
SendNetMsg 4,"Pong!",player\net_id,0,0
Case 4:
t=MilliSecs()-Ping_time
info( "Ping: "+t+"ms" )
Case 100:
p.Player=New Player
p\net_id=NetMsgFrom()
p\name=NetPlayerName$( NetMsgFrom() )
info( p\name+" has joined the game. " )
Case 101:
p.Player=FindPlayer( NetMsgFrom() )
If p<>Null
info( p\name+" has left the game. " )
Delete p
EndIf
Case 102:
info( "I'm the new host! " )
Case 200:
EndGraphics
Print "The session has been lost!"
WaitKey
End
End Select
Wend
End Function

Function UpdatePlayers( send )

If KeyHit(59)
Ping_time=MilliSecs()
SendNetMsg 3,"Ping!",player\net_id,0,0
EndIf
If KeyHit(60) And send_freq>0 Then send_freq=send_freq-1
If KeyHit(61) Then send_freq=send_freq+1
If KeyHit(62) And smoothing>0 Then smoothing=smoothing-1
If KeyHit(63) Then smoothing=smoothing+1

For p.Player=Each Player
If NetPlayerLocal( p\net_id )

;L/R rotation
If KeyDown( 203 )
p\r=p\r-5
Else If KeyDown( 205 )
p\r=p\r+5
EndIf

;Thrust
If KeyDown( 200 )
p\x=p\x+Cos(p\r)*5
p\y=p\y+Sin(p\r)*5
EndIf

;Chat stuff
key=GetKey()
If key
If key=13
If chat$<>"" SendNetMsg 2,chat$,p\net_id,0,0
chat$=""
Else If key=8
If Len(chat$)>0 Then chat$=Left$(chat$,Len(chat$)-1)
Else If key>=32 And key<127
chat$=chat$+Chr$(key)
EndIf
EndIf

;transmit player position and rot
If send
SendNetMsg 1,PackPlayerMsg$(p),p\net_id,0,0
EndIf
Else
p\x=p\x+p\dx
p\y=p\y+p\dy
p\r=p\r+p\dr
EndIf
Next
End Function

Function RenderPlayers()
For p.Player=Each Player
x1=p\x+Cos(p\r)*8
y1=p\y+Sin(p\r)*8
x2=p\x+Cos(p\r+150)*8
y2=p\y+Sin(p\r+150)*8
x3=p\x+Cos(p\r-150)*8
y3=p\y+Sin(p\r-150)*8

Color 255,255,255
Line x1,y1,x2,y2:Line x2,y2,x3,y3:Line x3,y3,x1,y1

Color 0,0,255
Text p\x+12,p\y,p\name,0,1
Next

End Function

Function info( t$ )
i.Info=New Info
i\txt$=t$
Insert i Before First Info
End Function

Function RenderAll()
;render everything!
Cls
Color 0,255,0
Text 0,FontHeight()*0,"Multiplayer!"
Text 0,FontHeight()*1,"F1 ing, type to chat"
Text 0,FontHeight()*2,"Send freq:"+send_freq+" (F2-, F3+)"
Text 0,FontHeight()*3,"Smoothing:"+smoothing+" (F4-, F5+)"
Text 0,FontHeight()*4,">"+chat$
y=FontHeight()*5
r=255
For i.Info=Each Info
If r>0
Color r,r/2,0
Text 0,y,i\txt$
y=y+FontHeight()
r=r-12
Else
Delete i
EndIf
Next

RenderPlayers()

End Function

;pack player details into a string.
;Not very elegant at present...more funcs coming!
Function PackPlayerMsg$( p.Player )
Return LSet$( Int(p\x),6 )+LSet$( Int(p\y),6 )+LSet$( Int(p\r),6 )
End Function

;unpack player details from a string
Function UnpackPlayerMsg( msg$,p.Player )
x=Mid$( msg$,1,6 )
y=Mid$( msg$,7,6 )
r=Mid$( msg$,13,6 )
p\dx=(x-p\x)/smoothing
p\dy=(y-p\y)/smoothing
p\dr=(r-p\r)/smoothing
End Function

;find player with player id
Function FindPlayer.Player( id )
For p.Player=Each Player
If p\net_id=id Then Return p
Next
End Function

------------------
"Be nice to the nerds because later on, you'll be working for them" - Bill Gates

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
Thanks Firemaker!

------------------

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
well, i'm trying to decide... scrap the project, or do it in blitz... i am probably not going to be able to do it in Blitz due to the fact that i am not allowed to download stuff without permission, and my dad rules that area of the hard-drive (downloads) with a tight fist... i will have a hard time convincing him to allow me to download it when i just got the C++ compiler... ah well...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
I have the full version of Blitz, so any compiling I can do.

------------------

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by buddboy:
i will have a hard time convincing him to allow me to download it when i just got the C++ compiler... ah well...


It gets annoying when you have trouble downloading something beneficial. My restrictions were due to dial up and anything over 3 megs was unreachable. Now i have satellite and i have brushed dial-up away.

------------------
All Your Base Are Belong To Us!!! chown -r us ./base

[This message has been edited by CPUFreak91 (edited January 08, 2006).]

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
quote:
Originally posted by buddboy:
well, i'm trying to decide... scrap the project, or do it in blitz... i am probably not going to be able to do it in Blitz due to the fact that i am not allowed to download stuff without permission, and my dad rules that area of the hard-drive (downloads) with a tight fist... i will have a hard time convincing him to allow me to download it when i just got the C++ compiler... ah well...


quote:
Originally posted by lava:
I have the full version of Blitz, so any compiling I can do.


But if you are stiil interested tell me.

------------------

[This message has been edited by lava (edited January 08, 2006).]