Jump to content


Photo

Coollog's Online Engine


  • Please log in to reply
35 replies to this topic

#1 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 16 January 2010 - 12:22 AM

Im still fixing the webserver, so some downloads wont work, but the gamejolt mirrors are fine.

Coollog's Online Engine

The online engine began by revising the online engine I wrote to make my History of a Revolution game. It was originally intended to be used to make my Veggies Vs. Fruits online, but I decided to make it into an engine to help GMC users. It's key features are its separation of functions into organized scripts, the use of constants for convenient reading, and its optimized package sending. Credit is appreciated :P.

Download

GameJolt Page & Downloads
Mirror: Coollog's Online Engine

This engine is well documented with comments explaining most of the code written.
This engine also comes equipped with a GUI to rapidly develop a simple online game.
This engine was originally created in GM7, but saved now as a GM8 file. I will not be converting to earlier versions, but it'd be great if someone posted converted version mirros.

Some built in features include:
  • Multiline chatting with colors and scrolling.
  • Account registering/login.
  • Online checking of ip and serviced port.
  • Server-sided commands, such as
    • Banning
    • Kicking
    • Checking if a port is open.
  • Server closing with wait for all clients to save and disconnect.
  • Extension for 39dll with documented functions.

Support the Engine:

Place these codes on your website or forum signatures:
HTML:
<a href="http://gmc.yoyogames.com/index.php?showtopic=460883"><img src="http://theblueninja.com/images/yoyogames/coe.png" title="Optimized feature-rich GM online multiplayer engine with a 39dll extension!"></a>
BB Code (GMC):
[url="http://gmc.yoyogames.com/index.php?showtopic=460883"][img]http://theblueninja.com/images/yoyogames/coe.png[/img][/url]
Posted Image

What You Made:
If you made a game with this engine, feel free to contact me or post your game's name so I can add it to this list.

Screenshots:
Posted Image

Edited by coollog, 01 February 2010 - 09:48 PM.

  • 0

#2 garrlker

garrlker

    GMC Member

  • GMC Member
  • 349 posts

Posted 16 January 2010 - 01:12 AM

This is good. 10/10
  • 0

#3 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 17 January 2010 - 04:51 AM

This is good. 10/10


Thanks ;)
And added download options for executables. I may be hosting the server most of the time for the client.exe for you guys to chat on :D.
  • 0

#4 garrlker

garrlker

    GMC Member

  • GMC Member
  • 349 posts

Posted 17 January 2010 - 06:38 AM

This is good. 10/10


Thanks ;)
And added download options for executables. I may be hosting the server most of the time for the client.exe for you guys to chat on :D.


Whats your IP and I'l connect?
  • 0

#5 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 17 January 2010 - 06:44 AM

This is good. 10/10


Thanks ;)
And added download options for executables. I may be hosting the server most of the time for the client.exe for you guys to chat on :D.


Whats your IP and I'l connect?


U can use the client.exe i uploaded to connect directly, but its
24.24.78.244

  • 0

#6 King Chubbles

King Chubbles

    GMC Member

  • New Member
  • 1052 posts

Posted 18 January 2010 - 11:40 PM

Your accounts susspended, what about a mirror?
  • 0

#7 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 18 January 2010 - 11:51 PM

Your accounts susspended, what about a mirror?


Sorry about that, I am fixing that right now. I will upload to a mirror in the meantime.
  • 0

#8 SkippyChris

SkippyChris

    GMC Member

  • GMC Member
  • 38 posts

Posted 19 January 2010 - 12:37 AM

It says missing d39 exetension
  • 0

#9 Schyler

Schyler

    Noskcirderf Derf

  • GMC Member
  • 2677 posts
  • Version:GM:Studio

Posted 19 January 2010 - 01:00 AM

It says missing d39 exetension

39dll is the core of this engine. It's included in the download and needs to be in the same folder as the game (and server) for it to work.

Regards,
-Schyler-
  • 0

#10 Orbitguy

Orbitguy

    UNS Lead Guy

  • GMC Member
  • 348 posts
  • Version:GM:Studio

Posted 19 January 2010 - 01:03 AM

I got the same thing. 39dll is included with the game btw, and it's in the same folder.

It still says it's missing, so either the file is corrupt, or it's looking for the wrong file or in the wrong place.

Edited by CoolGamerX, 19 January 2010 - 01:05 AM.

  • 0

#11 Schyler

Schyler

    Noskcirderf Derf

  • GMC Member
  • 2677 posts
  • Version:GM:Studio

Posted 19 January 2010 - 01:08 AM

I got the same thing. 39dll is included with the game btw, and it's in the same folder.

It still says it's missing, so either the file is corrupt, or it's looking for the wrong file or in the wrong place.

Did you unzip the file?


Edit
Oh I read the first topic incorrectly, you will need this:
http://theblueninja.com/coe/d39.gex

Install it.

Edited by Schyler, 19 January 2010 - 01:09 AM.

  • 0

#12 Kingknight

Kingknight

    GMC Member

  • New Member
  • 250 posts

Posted 19 January 2010 - 01:54 AM

*cough* All your images are dead. *cough*
  • 0

#13 Orbitguy

Orbitguy

    UNS Lead Guy

  • GMC Member
  • 348 posts
  • Version:GM:Studio

Posted 19 January 2010 - 02:05 AM

Oh you're right, it is the d39 extension.

However, when I click your link it redirects me to this page: http://1sthost.org/notify/1.php

and a bunch of popup ads.
  • 0

#14 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 19 January 2010 - 05:52 AM

*cough* All your images are dead. *cough*


Sorry, theblueninja.com is experiencing some technical difficulties...

Oh you're right, it is the d39 extension.

However, when I click your link it redirects me to this page: http://1sthost.org/notify/1.php

and a bunch of popup ads.


Like the above, it is experiencing some technical difficulties... I will try to upload a mirror soon, please be patient.

EDIT: Uploaded a mirror, and you guys can also just download from GameJolt, all the files are there.

Edited by coollog, 19 January 2010 - 06:01 AM.

  • 0

#15 SkippyChris

SkippyChris

    GMC Member

  • GMC Member
  • 38 posts

Posted 20 January 2010 - 02:43 AM

It says it can't connect to the server in the chat and its on localhost
  • 0

#16 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 20 January 2010 - 03:22 AM

It says it can't connect to the server in the chat and its on localhost


r u sure u turned on the server when u ran it?
  • 0

#17 SkippyChris

SkippyChris

    GMC Member

  • GMC Member
  • 38 posts

Posted 21 January 2010 - 12:50 AM

It says it can't connect to the server in the chat and its on localhost


r u sure u turned on the server when u ran it?

Yeah I fixed it I changed the port and port forwarded nice engine
  • 0

#18 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 21 January 2010 - 01:07 AM

It says it can't connect to the server in the chat and its on localhost


r u sure u turned on the server when u ran it?

Yeah I fixed it I changed the port and port forwarded nice engine


Thanks :whistle:
  • 0

#19 True Valhalla

True Valhalla

    ಠ_ಠ

  • GMC Member
  • 5277 posts
  • Version:Unknown

Posted 21 January 2010 - 02:15 AM

I'd really recommend putting in a line 'You must extract the folder first' in your original post, otherwise you'll get that question many, many times. Could also add the basic instructions (run server, then client), otherwise you'll get people asking why it doesn't work too >.<

-Tv
  • 0

#20 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 21 January 2010 - 02:48 AM

I'd really recommend putting in a line 'You must extract the folder first' in your original post, otherwise you'll get that question many, many times. Could also add the basic instructions (run server, then client), otherwise you'll get people asking why it doesn't work too >.<

-Tv


kk thanks ill try to do that when i get time :)

EDIT: THEBLUENINJA.COM IS NOW BACK ONLINE! :whistle:

Edited by coollog, 21 January 2010 - 06:08 AM.

  • 0

#21 Dylijn

Dylijn

    GMC Member

  • New Member
  • 553 posts

Posted 24 January 2010 - 01:06 AM

I'd really recommend putting in a line 'You must extract the folder first' in your original post, otherwise you'll get that question many, many times. Could also add the basic instructions (run server, then client), otherwise you'll get people asking why it doesn't work too >.<

-Tv



People asking those questions shouldnt even be on this topic :snitch:

Can someone please make a GM7 one :GM126:

I really want to have a look at this...
  • 0

#22 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 24 January 2010 - 03:30 AM

I'd really recommend putting in a line 'You must extract the folder first' in your original post, otherwise you'll get that question many, many times. Could also add the basic instructions (run server, then client), otherwise you'll get people asking why it doesn't work too >.<

-Tv



People asking those questions shouldnt even be on this topic :snitch:

Can someone please make a GM7 one :GM126:

I really want to have a look at this...


You can first try te exe and join my hosted server.
  • 0

#23 .Hacker

.Hacker

    GMC Member

  • New Member
  • 20 posts

Posted 31 January 2010 - 11:09 PM

I still get the message that it can't find the extension? Should the gex be ged?
  • 0

#24 .Hacker

.Hacker

    GMC Member

  • New Member
  • 20 posts

Posted 01 February 2010 - 12:41 AM

Did you unzip the file?


Edit
Oh I read the first topic incorrectly, you will need this:
http://theblueninja.com/coe/d39.gex

Install it.


How do I install it?
  • 0

#25 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 01 February 2010 - 09:34 PM

Did you unzip the file?


Edit
Oh I read the first topic incorrectly, you will need this:
http://theblueninja.com/coe/d39.gex

Install it.


How do I install it?


Open Gamemaker, in the toolbar, click the Green plus thinG, then press install -> install, browse and open te d39.Gex and press ok -> ok. And ur Good to Go :medieval:
  • 0

#26 Conker5340

Conker5340

    GMC Member

  • GMC Member
  • 136 posts

Posted 13 May 2010 - 02:35 AM

___________________________________________
COMPILATION ERROR in Script: server_init
Error in code at line 8:
d39_dllinit(0,1,1);
^
at position 2: Unknown function or script: d39_dllinit

What do I do?
  • 0

#27 Conker5340

Conker5340

    GMC Member

  • GMC Member
  • 136 posts

Posted 13 May 2010 - 02:40 AM

I fixed that, so what would I do to make players walk around??
  • 0

#28 coollog

coollog

    GMC Member

  • GMC Member
  • 1154 posts

Posted 14 May 2010 - 10:02 PM

I fixed that, so what would I do to make players walk around??


Create a player object on the client and have that process the key strokes and send that via the packets to the server to be updated on the other clients.
  • 0

#29 RobertOK

RobertOK

    GMC Member

  • New Member
  • 186 posts
  • Version:GM8

Posted 30 May 2010 - 08:22 PM

Well, that's delightfully buggy! At the minute, I've gone through all the scripts on the server side editing the names as necessary, before my desk received a headbutt as I got another error on loading the client. That said, from the scripts it looks amazing. Lots of useful features and well documented. I'll get back to you tomorrow once I can properly test it.
  • 0

#30 Ace

Ace

    GMC Member

  • GMC Member
  • 372 posts

Posted 21 July 2010 - 11:19 PM

Does this support UDP and uploading/downloading/sharing files between players? If so, I could really use this engine. The only other feature I could ask for aside from those is determining whether players are in the same room as you or not and creating/destroying them as necessary.

If you haven't, do you think you can implement these basic features?

It's a good engine for basic TCP connection from what I've seen so far, but, without those features, it definitely lacks the flexibility people need from a online engine. :(
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users