Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Multisync 0.1 - Multiplayer plugin for DarkBASIC Professional

Author
Message
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 20th Feb 2005 06:37
oo 3D IM... the future...

anyhow, I still can't get this working!!!
If i enter in a random IP, it always instantly fails. However, when I use my own, the program freezes and I have to kill it with Ctrl-Alt-Del !!!

Does anyone have a solution for poor old me?

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 20th Feb 2005 07:39
How long does it freeze for? Have you let it run more than a good 7 seconds before trying to close it? Tell me exactly what you are trying to do. For instance, are you trying to run the host example, or the client?


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 20th Feb 2005 22:51
Im trying the host. And it freezes forever - I have tried leaving it for 5 minutes or more.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 20th Feb 2005 23:10
Ah, what version of windows are you running on?


"Lets migrate like bricks" - Me
Turoid
20
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 20th Feb 2005 23:36 Edited at: 20th Feb 2005 23:41
Quote: "EDIT: What does ingeshakeld mean?"


if something is 'ingeschakeld' it is on, in use.

Quote: "Then you can set port forwarding"


yea i know. I already forwarded some ports.
I have a ftp server running. For that i must forward port 21 to my computer , 192.168.8.2

Which ports do i have to forward to my pc for multisync?
and when i run the host .exe, which ip do i have to enter? the one from my pc, 192.168.8.2 or from my router 80.126.62.62?

look at the attachy for my forwarded ports.

Attachments

Login to view attachments
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 20th Feb 2005 23:43
27015 is the port it uses by default. You can change it with:

call dll 1,net_setport,portNumberHere

Note that when changing port, you must make sure the server and the client app set to the same port.


"Lets migrate like bricks" - Me
Turoid
20
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 21st Feb 2005 00:09 Edited at: 21st Feb 2005 00:21
Okay, I forwarded that port now. And tryed your example with osmania. It didn't worked really correct. Osmania did connect, i think. But he didn't saw me moving and i him.

but uuhm ..
Quote: "and when i run the host .exe, which ip do i have to enter? the one from my pc, 192.168.8.2 or from my router 80.126.62.62?
"


which ip ?

EDIT: Oh i already know! it works now!! I LOVE THIS !!!!! I LOVE YOU!! first time in 4 years that i see a db game working online..

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Feb 2005 04:50
It works? Good.


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 21st Feb 2005 05:29
I am on windows ME
I have AOL
I have tried again and again...

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Feb 2005 05:39
You aren't using some sort of firewall are you? Also, check your system32 folder for Ws2_32.dll, just incase its missing.


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 21st Feb 2005 05:44
In all of my tests I disabled my firewall totally.

woah... I just checked my system32 folder -- there is no sign of ws2_32.dll !!!
Maybe this is why AVP2 doesn't like going online either... Can you post your copy on here? else I'll just search the internet.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Feb 2005 05:54
Theres your problem. The DLL is attached to this post.


"Lets migrate like bricks" - Me

Attachments

Login to view attachments
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 22nd Feb 2005 00:33 Edited at: 22nd Feb 2005 00:45
It did not solve my problems one bit. Not at all. I ran all the same tests.

Looking at that DLL's version history etc. it says it is an xp client - no wonder I didn't have it. If your DLL is limited to using xp's functions then, well, lots of people won't be able to use it. "Is there any way to make it compatible?" is the question.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 22nd Feb 2005 00:59
Technically it should work on even Win95 computers, so I'm not sure of the problem now. My DLL is almost compatible with winsock 1, so I'm gonna look for a way to completely make it use it.


"Lets migrate like bricks" - Me
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 22nd Feb 2005 04:16
Actually, try remming out all networking code in the main loop and see what happens..


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 22nd Feb 2005 06:02
With the "enter IP" section but no networking in main loop : didn't work
Without any use of your plugin at all : worked but not online (duh)

I can't find anywhere to update my winsock to version 2...

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 22nd Feb 2005 06:23
My point is, other than acting as host, most of the other functions would cause the program to freeze because of the nature of winsock 1. I had a search for winsock upgrades, and managed to find something, but it says its for Win95. Have a look anyway:

http://www.pcworld.com/downloads/file_description/0,fid,4942,00.asp


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 23rd Feb 2005 03:39
I found win95 upgrades on the microsoft website. However, if you say acting as host should work on winsock 1, why doesn't it even host on mine??

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Feb 2005 04:27
I thought you said it does. You did leave the bit of code in that starts hosting, right?


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 23rd Feb 2005 05:07
Oh no it doesnt host. I left the coding for starting to host and it still froze. I made sure that your cube code worked on my system by disabling all use of your plugin.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Feb 2005 05:43
Oh okay..well that makes sense anyway. I just remembered that hosting infact DOES 'block' by default. Ok well all I can say is wait for the new version, in which I'll try and make compatible with winsock 1. I have a feeling its pretty easy to do, but I'll need to update the examples because I have changed the DLL a lot.


"Lets migrate like bricks" - Me
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 23rd Feb 2005 06:17
sweeettt... i love you (not that way you sicko )

"We make the worst games in the universe."

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Feb 2005 06:44
Woah, for a second there baby started to catch on .


"Lets migrate like bricks" - Me
krannock
20
Years of Service
User Offline
Joined: 19th May 2003
Location: United Kingdom
Posted: 23rd Feb 2005 08:14
Hi there

from what i have read this sounds very interesting indeed.
the only problem that i have is that the link is dead. I get "can't connect to server" after a min or so.
any chance of emailing it to me or something as i would really like to get my hands on this.

thanks

simon@carterhome.co.uk

Simon

Smile it could be worse....I smiled...it got worse!
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Feb 2005 08:41
Yeah the site sometimes does that. I've uploaded it to these forums:

http://forum.thegamecreators.com/xt/xt_apollo_download.php?i=495817


"Lets migrate like bricks" - Me
Zokomoko
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 24th Feb 2005 00:09
What is the best method to get the time it took the packet to arrive to its destination ?
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 24th Feb 2005 00:11 Edited at: 24th Feb 2005 00:13
Ok I am getting near releasing this new version of the plugin, I just have a few more things to add. The only thing I don't like is my manual document, I can't seem to make it look nice enough for my liking. Is there anyone good at designing documents that wants to help? You'll get a mention in the credits.

EDIT:

Zokomoto: I haven't added something for that yet, but it can be done by passing a float value in the message and counting the difference between messages..or something. I'll work it out later.


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 24th Feb 2005 00:24
I think I am quite good at formatting documents - email me your text and I'll do it for ya.

djchainz at hotmail.com

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 24th Feb 2005 00:51
Ok you can give it a shot. Thanks. I have sent you the current document (I have updated it with the new functions). I will probably need to add more to that document, but I can just copy the style you do.


"Lets migrate like bricks" - Me
krannock
20
Years of Service
User Offline
Joined: 19th May 2003
Location: United Kingdom
Posted: 24th Feb 2005 07:12 Edited at: 24th Feb 2005 08:03
**Benjamin

Thanks for the link to Download.
I had it up and running with a host on the left of my screen and a client on the right both connected and running at 13 packets per second ( all in 15 mins )

Thanks for this as it has renewed my enthusiasm for making a multiplayer type game of some sort.

Look forward to the new bits you mentioned



[edit] when the net_getmsgtotalsize is called what does the number returned represent eg kb KB or bits or bytes?
Thanks

Smile it could be worse....I smiled...it got worse!
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 24th Feb 2005 08:09
Quote: "Thanks for the link to Download."

Your welcome

Quote: "
Thanks for this as it has renewed my enthusiasm for making a multiplayer type game of some sort."

I'm glad to hear it. If you do make a multiplayer game let me know, I would love to see what can be achieved with the use of my plugin.

Quote: "when the net_getmsgtotalsize is called what does the number returned represent eg kb KB or bits or bytes?"

The number returned represents the total amount of bytes in a message.


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 25th Feb 2005 03:39
Okay I have sent/am sending you the document. Attached is a 1 image tutorial - read it first before you touch that formatting!!

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk

Attachments

Login to view attachments
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 25th Feb 2005 03:55
Thats better . You see I couldn't seem to find a way to make the function names look seperate from headings, but they do now.

Thanks

By the way, what version of microsoft word is that in the screenshot?


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 25th Feb 2005 04:03 Edited at: 25th Feb 2005 04:09
Tis ms word XP. It's just I'm still on windows ME.

nb: I saved the document in an older format to make sure people with older versions cans till open it.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 26th Feb 2005 00:20 Edited at: 26th Feb 2005 00:23
Hmm damn Microsoft Word and its spellchecker. I have decided to sort of do the manual in HTML, as more people have an internet browser than Microsoft Word, and because with notepad I won't get red lines under half my words . Its all my function names that it has problems with though, not my spelling.

I'm changing the version from v1.0 to v0.5, because before it hits v1 I want to completely recode the whole DLL using classes which will take a while. I have implemented the killplayer function, and I'm going to add a forcekill function too.

I have now written most of the french manual, which I'll get Freddix to check for spelling and grammatic errors. So, the new version of the DLL will be out soon

Heres the current progress log:




"Lets migrate like bricks" - Me
dj blackdragon3710
19
Years of Service
User Offline
Joined: 5th Nov 2004
Location: In LaLa land
Posted: 26th Feb 2005 00:45
Yes!!! The killplayer function!!HaHa! Everybodies going to love that. I hope their all as excited as I am.

It has been said that the body is a slave to the mind. Only the mind knows no freedom.
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 26th Feb 2005 17:36
Nice work! I don't see why you can't use ms word documents though - especially in the ms word 95 format. You need windows to use the plugin, and windows comes with Wordpad. And Wordpad can open ms word 95 documents..

btw, will I be able to run the plugin's latest version?

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 26th Feb 2005 22:12 Edited at: 20th Jul 2005 09:04
Ah I forgot about that..

Quote: "btw, will I be able to run the plugin's latest version?"

I couldn't seem to get it to work how I wanted. I'll keep looking for ways.


"Lets migrate like bricks" - Me
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Mar 2005 18:06
UPDATE --- v0.5
Added string tables and keywords file. Now you can use the functions as normal dbp commands. Oh and I've added some more functions and written an updated manual and example. I will convert the old example over to use the new DLL as soon as possible.

http://forum.thegamecreators.com/xt/xt_apollo_download.php?i=495817


"Lets migrate like bricks" - Me
Turoid
20
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 4th Mar 2005 19:59 Edited at: 4th Mar 2005 20:00
hmmm.. V0.5 doesnt seem to work correctly for me, i get this ( atachy) .

I changed the ip's to my ip's that work with V0.1.

Attachments

Login to view attachments
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Mar 2005 20:08
When did you download it? I think I recently fixed this and reuploaded it yesterday. If it still doesn't work, try leaving the IPs as 127.0.0.1 and see if it works then.


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 4th Mar 2005 23:50
Dont work for me. And i checked - win ME already has winsock 2 installed so i cant see the problem...

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2005 00:33 Edited at: 5th Mar 2005 07:01
Strangely enough this past half hour I've been changing the DLL to work on a lower version of winsock using slightly different methods.. well so far so good, hosting works fine. Theres a little problem client side, but I'm working on putting that right as we speak

I have attached the current version of the plugin, so you can just test if it freezes anymore. Try out the quick example with the lastest version(link above). If it works, then the client will partially connect to the host and then fail(I'm working on fixing that).

EDIT: Nevermind, download from the main link again, I just fixed that error and I've uploaded version 0.5.1. I hope it works for you this time.


"Lets migrate like bricks" - Me
Turoid
20
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 5th Mar 2005 06:46
it works already.. Port 3999 . Great stuff ben!

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2005 07:03
Yeah...port 3999, thats the one. Must remember to inform people of those kind of changes


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 5th Mar 2005 16:47
Nous Sommes Con!!!!!!!

Don't know about accessing the internet yet though.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2005 17:55
Oh so it works now? Great


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 5th Mar 2005 23:24
Anyone want to do a test run over the internet? I would like to see the 'cubes' demo working! (ill hav to convert for this new version of the plugin - why o why didnt u include it benjamin?)

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th Mar 2005 00:26
Sorry I forgot about that example. Anyway I've reuploaded the ZIP with the converted example.

We could test it online together only I'm not online much and you haven't got MSN or anything have you?


"Lets migrate like bricks" - Me
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 6th Mar 2005 15:46
Yes I do have MSN - djchainz_NOSPAM_@hotmail.com as you would say.

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk

Login to post a reply

Server time is: 2024-04-19 05:51:48
Your offset time is: 2024-04-19 05:51:48