Message Board


Message Board > Fenix / Bennu / Gemix / DIV > [DLL] Network.DLL

July 15, 2006, 02:55
Sandman
F3n!x0r
1194 posts

From 0 to 65535. I wouldn't use 0 as it indicates to use an undefined port. Some ports are used for standard stuff like HTTP on 80 and FTP on 20/21. Just keep it in the thousands and you'll be fine.

:)
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
July 15, 2006, 16:04
Eckolin
Quite Whiskered
388 posts

Your network.prg only sets a value for NETID for the client. Is that intentional?
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
July 15, 2006, 16:16
Sandman
F3n!x0r
1194 posts

In line 59 the server gets the ID:
NETID = conn_counter;
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
July 15, 2006, 20:50
Eckolin
Quite Whiskered
388 posts

I see. I was searching for NETID= specifically.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
July 15, 2006, 23:04
Eckolin
Quite Whiskered
388 posts

Did some chatroom testing with Sandman. With the server at his side, it worked.

Here some Dutch ramblings:


In other news, a peculiarity was found, so Sandman has something to do!
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
July 15, 2006, 23:08
Sandman
F3n!x0r
1194 posts

Yeah and I found the error. I needed to change a > into a >=. Thanks Eckolin for finding this bug.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
July 19, 2006, 16:21
g105b
None
86 posts
great work Eckolin and Sandman I hope this chat room work carries on it looks really good so far. It would be cool to have a Fenix made chat room for fenix developers to chat in and discus coding.
____________
.g105b''
#
July 19, 2006, 17:45
Sandman
F3n!x0r
1194 posts

Fun idea indeed, but in the mean time we have #bilge at irc.allripped.net. :)
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
July 19, 2006, 18:58
PEader
お前はもう死んでいる
1486 posts

Quoting Sandman:
Fun idea indeed, but in the mean time we have #bilge at irc.allripped.net. :)

You forget the "and it pwns!"
____________
I see 57,005 people.
#
July 19, 2006, 19:53
Sandman
F3n!x0r
1194 posts

Yes, sorry. So g105b, note that it pwns. ;)
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 4, 2006, 05:07
Sandman
F3n!x0r
1194 posts

So there's that time again: I updated.

Version 1.15 is here.

New in this version, besides bug fixes and polishing work:
- Automatic message seperation (seperation string specifiable).
- Dynamic messagestack provides limitless sending and receiving.
- Maximum message size enlarged to 4096 bytes. I'm thinking of making this specifiable too.
- Sending and receiving of structs.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 4, 2006, 13:27
g105b
None
86 posts
SENDING AND RECEIVING OF STRUCTS!!!! That makes everything so ....... possible.

Great job (again), thanks!!
____________
.g105b''
#
August 4, 2006, 15:48
Eckolin
Quite Whiskered
388 posts

Seperators :thumbs:
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
August 4, 2006, 17:41
Eckolin
Quite Whiskered
388 posts

Edit #2: There used to be a link to v0.34 here.

/s To set server's address.
/c To connect
/help for a list of commands that do stuff.

Edit: And if you manage to get it to work, you're the first.

[Edited on August 6, 2006 by Eckolin]
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
August 4, 2006, 19:31
Rhovanion
Exterminated
666 posts
I don't want to sound weird, but I thought Fenix was made for games?
____________
#
August 4, 2006, 19:39
PEader
お前はもう死んでいる
1486 posts

Quoting Rhovanion:
I don't want to sound weird, but I thought Fenix was made for games?

Don't you want to talk to the other person when you're playing a game?
____________
I see 57,005 people.
#
August 5, 2006, 05:15
Sandman
F3n!x0r
1194 posts

I made a few adjustments and fixed some bugs again.

Version 1.16 is out.

One should note that sending structs with strings is bound to go wrong, because of Fenix' way of handling strings. Only these (and other variable size variables) will go wrong, the rest remains intact.
To overcome the strings bit, a byte array can be used, which is sendable inside a struct. Again, a variable size byte array using a pointer is not, because it will just send the pointer.
But hey, we don't have NET_Message( word conn , string message ) for nothing, do we. ;)

v1.16:
- Fixed NET_MessageRN() not sending the \n.
- Added missing errorcode return in NET_GetError().
- Changed some NET commands to also interact with a nonactive connection.
- Fixed NETDLL commands and Fenix messages colliding and the Fenix messages getting lost.
- Fixed NET.consolereports bug.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 5, 2006, 20:43
Rhovanion
Exterminated
666 posts
Quoting PEader:
Quoting Rhovanion:
I don't want to sound weird, but I thought Fenix was made for games?
Don't you want to talk to the other person when you're playing a game?
So I can use this program to implement in a game? it's not just for talking solely?
____________
#
August 5, 2006, 21:15
Sandman
F3n!x0r
1194 posts

Quoting Rhovanion:
Quoting PEader:
Quoting Rhovanion:
I don't want to sound weird, but I thought Fenix was made for games?
Don't you want to talk to the other person when you're playing a game?
So I can use this program to implement in a game? it's not just for talking solely?

Are you taking the piss?
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 5, 2006, 22:05
Rhovanion
Exterminated
666 posts
before more confusion comes I was talking about this: http://www.xs4all.nl/~adsprong … room%20v034.rar
____________
#
August 6, 2006, 02:50
Sandman
F3n!x0r
1194 posts

Well that program is for talking yes, so are MSN and IRC mainly, to communicate with some fellow humans or a smart parrot. Network.dll makes that and other things possible and this chatroom is one of the things it can be used for.
So the point is the /code/ of Eckolin's program can be used in games, IE the chatpart. So the chatprogram can be a research project.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 6, 2006, 22:55
Rhovanion
Exterminated
666 posts
well, if it had .prg files I could learn from it....
____________
#
August 6, 2006, 23:18
Eckolin
Quite Whiskered
388 posts

I'm running the server tonight. Feel free to try to connect.

Use :
/s 80.126.171.25 to set Server to my IP.
/c to connect.

/help for an overview of the commands.

The client is here.

Oh, and please don't hack it TOO badly...
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
August 6, 2006, 23:32
Ariel Yust
Bloodcoughted Yozik
291 posts

Yeepee !!! :P :lol: :thumbs: hi there dudes...btw that program was coded realy well good job ecko :aharr:
____________
Get bitten by a vampire or at least at my own character muhahahaha!
http://s7.bitefight.org/c.php?uid=159944
#
August 6, 2006, 23:39
Rhovanion
Exterminated
666 posts
I can't change my nick and no one can see me type... any ideas? :o
____________
#

Page 1 , 2 , 3 , 4 , 5 , 6 , 7


Message Board > Fenix / Bennu / Gemix / DIV > [DLL] Network.DLL

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!