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.

Author
Message
MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 22nd Feb 2006 00:49
funny, 51- sorry 52 posts and still my question hasnt been answered. Is there any source code or tutorials on making a client server connection for the client and the server if only one server is present with a set ip???
SirFire
19
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 22nd Feb 2006 08:51 Edited at: 22nd Feb 2006 14:59
@"MMORPG programs"
This code was thrown together by me roughly a few weeks after I got DBP. It's thrown together from tutorials, code snippets and some of my own experimenting. It is poorly formatted, with little or no remarks, and is very messy. It does however work for client and server on same machine. I haven't messed with directplay networking since this bit of code, mainly b/c directplay is so slow and the number of connections is limited.

But if you must have it, here is what I've got.

Again: * WARNING * Ugly code ahead:

(dbp)

This thing works, but isn't very functional.
Just run two instances of the compiled EXE.

MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 26th Feb 2006 07:13
then how are my questions going to be answered? its not like i just post "im making an mmorpg"
MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 26th Feb 2006 23:12
1st- i get about 35%, 2nd. it doesnt work. 3rd i dont even know what the thing is supposed to do.
SirFire
19
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 26th Feb 2006 23:39 Edited at: 26th Feb 2006 23:43
You get 35% of what?
I just compiled it and ran it fine.
The first instance sets up a server. The second instance detects that the server is running and connects to it, then you can exchange messages back and forth.

Kansas
18
Years of Service
User Offline
Joined: 6th Jan 2006
Location: Kent, UK.
Posted: 26th Feb 2006 23:45
@MMORPG Programs

I bought darkbasic pro a couple of months ago, I have played with it a bit, and to be honest, I probably know more than you in terms of programming in it, im not boasting because I really do only know the BASICS. You will not be able to create a MMO with less, or about the same knowledge as me in DBP, sure you said you know Html and Javascript, but they are total different languages designed for total different things, mainly web programming. I would never dream of trying to create an MMO with the amount of knowledge I have. You should learn ALOT more about the code and then attempt to make an RPG, if thats succesful move on to learning about networking (Obviosuly I have gained this information from others, but it is what I would do in your position).

Another thing is the professionalism, your name is 'MMORPG Programs' this shows that when you bought the software, you thought 'I'll make an MMO straight away with no long-term research into the language' as you decided your name before even getting your hands on the product.

You are also complaining about the fact that people wont answer your questions regarding to YOUR game in a W.I.P thread, I think they wont answer the questions because once your passed the step your asking help on, you'll only get stuck on the next. Take it from me , a beginner at dark basic that you cannot create this MMO in the position I am in (Which you are also in). Its like learning to swim, would you start in the shallow end or dive out of a helicopter into the middle of the pacific with sharks circling below?

This is not a flame, just some advice
The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 27th Feb 2006 04:01
If you were capable of making a mmorpg you wouldnt need to ask questions so this is really showing your not ready. Just be patient youll be able to make cool games one day but right now you need to learn alot more and practice on some smaller games.

The admiral
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Feb 2006 04:24
you should read the DarkTOPIA thread, we were almost there but then it sorta fell thru. My EZServ app was sort of spawned from the ashes of the dt project.

DarkTOPIA thread:
http://forum.thegamecreators.com/?m=forum_view&t=36335&b=8

EZ_Serv and my other stuff:
http://www.mod2software.com/dbp/dbp.htm

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 27th Feb 2006 05:35
1st, let me review-
Quote: "and this is more for me learning.
"

Quote: "I'm just trying to learn online things and using a client/server database"

Quote: "don't insult me for my lack of darkbasic knowledge"


After i get it all ill probably start over from scratch. this is for me learning, im just trying to learn how to do it, dont flame me.
The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 28th Feb 2006 06:06
I understand your trying to learn but its one of the more advanced types of programming and you need to learn the basics before you jump into the hard stuff otherwise you just wont understand.

The admiral
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 28th Feb 2006 14:20
I have to agree, its like saying "Im just trying to learn about space so I'm going to create a spaceship". You gotta start smaller.

MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 5th Mar 2006 00:14
okay. To put it bluntly i dont care. What do you mean by the basics anyway? the basics of programming? because i am trying 2 learn the basics- but of online connection. Also bluntly- shutup. let me review again
-
Quote: "and this is more for me learning.
I'm just trying to learn online things and using a client/server database
don't insult me for my lack of darkbasic knowledge
shutup
i dont care
learn the basics- but of online connection
"

okay? i am learning the basics but not of making the actual game just the connections. All i need is help. thats why i asked for help, thats why i want help, and thats why im trying to get help
I am only asking for help. Not to be flamed, not to be told i cant do it, not to be critisized but for help. So either dont respond or help okay? I learn fast, im trying so dont say i cant try. If your not going to help then shutup, aka be quiet, shut your pie hole and put a sock in it. Please and thank you
The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 5th Mar 2006 00:32
I know but we get people here exactly like you especially with your attitude to. You want to learn connections but 1) wont understand it as its quite advanced and b)dbpro networking isnt at a working level so it can produce a mmorpg anyway. You can learn to use multisync but it has some issues. And for the record I taught myself how to do multiplayer coding so why cant you?? What your tring to do is run before you know how to walk and that just doenst work. Any further insults or foul language and this thread will be directed to the admin where you will be banned or noobslapped.

The admiral
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 5th Mar 2006 00:47 Edited at: 5th Mar 2006 01:04
@MMORPG programs:

Show me something. Show me you can, in DBPro, make a program that listens for an incomming packet.

THEN

I will tell you whatever you want to know.

(Hint: it's about 3 lines of code)

-This...is my boomstick!
Support your local Riker 9 Chapter.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 5th Mar 2006 00:59 Edited at: 5th Mar 2006 01:00
As mentioned above, by basics I do not mean learning how to establish a connection with two seperate computers and manipulate data transferrs between them, no I dont mean that at all since there are even professionals on this forum asking for help with that. Just because you are trying to understand "the basics" of online, does not mean "the basics" are basic at all, they can become very complex.

So instead of throwing a hissy fit because nobody will help you conquer such a complex task, why not learn something actually useful that you can understand at the time being that will help you understand the basics of programming ANYTHING, you know, programming structure, if statements, variable manipulation, object manipulation, efficient programming, 2d principles?

The fact of the matter is, wheather you understand or not that newcommers always say they're going to create an MMORPG or some form of online game for their first project, doesn't change the fact that doing such a task is complex no matter what. Period.

So, read the dozens of excellent tutorials on programming on this site, manipulate some code base entries, create some mini-games that interest you, and then move onto "the basics" of online, if you feel confident enough.

Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 5th Mar 2006 05:59
Make an RPG first, then add online capabilities. By starting the internet connections first, you're working without a real focus.

Bjorn Krigare
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Washington, USA (yet...I\'m Swedish)
Posted: 5th Mar 2006 06:12
Quote: "Make an RPG first, then add online capabilities. By starting the internet connections first, you're working without a real focus."

That's what I'm more or less doing, but I'd suggest...
come up with an RP system before you even think about coding, I'd suggest d10 or d100 based, so it'll be easier math
or maybe finish the models and animations while you study Basic
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 5th Mar 2006 07:20
hey man,
i got dbpro for one reason: to create a turn-based strategy game.
i hadn't programmed in 15 years. i was pretty much in your shoes.
and i did it. so it IS possible.

but it is REALLY good advice to try some other small things
unrelated to your main project, to learn DBP..

maybe you can show everyone.

MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 5th Mar 2006 22:07
okay then, forget the mmorpg for right now. All i want to do is to make two cubes move around and a chat system. Okay i'll make a 3d program to show you i get the syntax and am capable of doing this kind of stuff. Also all i want to do right now is learn online connections. i dont care if they can get pretty complex. there are basic tutorials and all im asking is how to have multiple people link up to one server which i've been saying over and over again, and that i dont care if they can get pretty complex which ive been saying over and over again. i dont really care about the other stuff right now which ive been saying over and over again. I want some source code or a tutorial which i've been saying over and over again. This is for me to learn which is why im asking which ive been saying over and over again. All of those imply that i am going to make the rpg later, and work on the mo rite now. I dont really care about other noobs, i've been asking for help and i dont get it. I finally get a program but it doesnt run on my computer and i have no idea what it does, and theres virtually no explenation of the code. so just dont respond unless your going to help.. Also i've been implying that it is possible. Just because it seems you tend not to read all this, or do anything ill repeat myself

All i want to do is to make two cubes move around and a chat system. Okay i'll make a 3d program to show you i get the syntax and am capable of doing this kind of stuff. Also all i want to do right now is learn online connections. i dont care if they can get pretty complex. there are basic tutorials and all im asking is how to have multiple people link up to one server which i've been saying over and over again, and that i dont care if they can get pretty complex which ive been saying over and over again. i dont really care about the other stuff right now which ive been saying over and over again. I want some source code or a tutorial which i've been saying over and over again. This is for me to learn which is why im asking which ive been saying over and over again. All of those imply that i am going to make the rpg later, and work on the mo rite now. I dont really care about other noobs, i've been asking for help and i dont get it. I finally get a program but it doesnt run on my computer and i have no idea what it does, and theres virtually no explenation of the code. so just dont respond unless your going to help.. Also i've been implying that it is possible.
MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 6th Mar 2006 00:49
okay heres what i have so far
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 6th Mar 2006 01:30
Sorry, but what the heck is this?

-This...is my boomstick!
Support your local Riker 9 Chapter.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 6th Mar 2006 01:36 Edited at: 6th Mar 2006 06:16
Quote: "I dont really care about other noobs, i've been asking for help and i dont get it.
If your not going to help then shutup, aka be quiet, shut your pie hole and put a sock in it. Please and thank you"


Wow, chill out. You haven't even been asking for something specific, you're asking for broad and general help. If you don't understand the code provided thus far, then you aren't ready. You can't expect someone to do it for you.

I think you'll find everyone on this forum very helpful, if you aren't insulting them. Besides, nobody is even flaming you.

The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 6th Mar 2006 03:44
Well you need to decide what your going to use for multiplayer for starters. Is it online or just network if its online then you need to use a winsock dll they usually have plenty of documentation of the commands and examples whats so hard about teaching yourself??

The admiral
MMORPG programs
18
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 8th Mar 2006 03:05
i am asking how you do a multiplayer connection if you just use one server and have several people connect to that server. I cant get anymore specific than that. Also only 1 piece of code that was given to me is actually online connections by sirfire, and since it doesnt run on my computer and no one has explained it to me, i have no idea what its supposed to do or how it runs and no one has helped me with it.... there really have only been comments like- you cant do it, try to make a tutorial, its not possible for you, check out my rpg, do it yourself. and i do know if statements, i do know programming structure. I dont need anymore comments because i really havent had any help so again help me or ddont respond at all...
The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 8th Mar 2006 03:34
Nonono your looking at this all wrong I asked you what mutliplayer system you intend on using!! Interal direct x multiplayer,winsock via multisync or some other plugin or peer to peer by one of the other dlls. Look at the examples read the descriptions and break down what each command does and what you need for your game. The basic idea is for a game to be created, and data exchanged when another connects. I cant explain in details if you dont tell me what multiplayer system your using.

The admiral

Login to post a reply

Server time is: 2024-09-24 19:28:43
Your offset time is: 2024-09-24 19:28:43