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.

DarkBASIC Discussion / How do you make a dba run on a server?

Author
Message
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 13th Feb 2004 21:12
From my post in team request

I am trying to install a dba on the server for a demo game. I can't make it work, I have never installed a dba on a server, much less make it work online, also do I need a copy of dark basic to make it work? Also if anybody knows how to do it and replies to this post, do you recommend a certian file structure with is perfered.

Next problem I will address after this problem is solved does the user have to have something special to make the demo work?

sincerely
Beth

Beth
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 15th Feb 2004 04:51
Come on guys, I know I'm a ditsy blonde but somebody has to know how to put one of these games on a server. I will even take guesses at this point.

Beth

Beth
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 15th Feb 2004 06:30
Hi Beth, here's a pitiful guess attemp

From what I interpret you're putting the game on a server to allow people to play it on the internet(like freearcade.com or whatever)?

If you can't load the exe directly up, then I definitely recommend making sure DarkBASIC is on the server. I don't know much about data structures, just distributing the stuff I make physically and by downloading .exe files. There are some pro coders in here who will probably provide you with a more detailed answer.

Sorry bout the long response,
Crazy Donuts

Crazy Donut Productions
Current Project: KillZone
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 15th Feb 2004 09:13
OK Crazy Dounut, yes I am uploading it so someone can play it or watch it. I see, I need a exe in machine language mounted in the server, from what you are saying, install it just like a regular image or something else? I am at serverside so I can let it run an exe. I guess I need a complier first, it will be monday before I can use one to convert the dba to a standalone. Thanks a million that makes a lot of sense.

Beth
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 15th Feb 2004 19:25
I have only ever tinkered with DB an using my machine as a server but heres my tenpennys worth.

you should just need the exe and the correct version of directx, and that may be the sticking point, many servers don`t run directx, I have tested software on my machine that acts as a simple server (slow since I am on dialup) and it worked fine, if you just can`t get the exe to run then I guess the server is running NT or something, since DB does a test for DX when it starts then no DX= no run, and as far as I know NT doesn`t have DX, why don`t you make a .net app to handle the server side of stuff?, most servers just pass info from/to machines on the net and maybe keep a numeric representation of the gameworld on the server.

what I can`t understand is why you need a compiler?, DB IS a compiler, makes an exe that runs on it`s own, you don`t need DB on the server to run any code, (and it may a breach of copyright), try porting the server code to VB.net or something, cheers.

Mentor.

System spec : Pentium 3.0Ghz, 512MB DDR, 2x160Gb HD (using icewave hd coolers ), DVD RW/CD RW (all modes), multimedia front panel, 6 way surround sound, ATI radeon 9800Pro 128mb.
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 19th Feb 2004 18:32
mentor said right... in summary, you probably can't run DB apps on a commercial server. There are other ways though. Basically, any PC can be used as a server, so as long as the PC meets all system specs and the site adim says OK and you have enough money ....

Otherwise you will need a special server app to install onto the server and possibly a special .dll for your DB app to connect to the server....

I have done it both ways, but site admins won't like loosing thier PC while your DB server just sits there waiting for users. A good server app takes up very little space or PC time slices until a game gets realy active.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 19th Feb 2004 19:24
Ok, if you want to have an .exe file on your server, then run it so people can play games from their pc's without any additional software, forget it. Even if you got so far that you could get remote comps to execute it, it would all be happening on the server itself, so it'd be like someone else starting a game on your pc, it'd show on your screen, take your input etc.

To be honest, to do what you are trying to do would more likely be better with a language like java, so it executes from your browser. You could write a server/client in DB, but people would have to download the client, and DB's net commands are sorely lacking.

I would be unstoppable if I could just get started...

Login to post a reply

Server time is: 2025-05-24 11:06:07
Your offset time is: 2025-05-24 11:06:07