Jump to content


Photo
* * * * * 1 votes

My widely-known 39dll Tutorial!


  • Please log in to reply
18 replies to this topic

#1 lukeescude

lukeescude

    GMC Member

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

Posted 30 July 2012 - 12:13 AM

  • Title: Popular 39dll Tutorial
  • Description: Many people have used my tutorial and loved it!
  • GM Version: :GM81: :GM8: :GM7: :GM6: :GM5: and Studio
  • Registered: Yes, for use with DLLs
  • File Type: .gmk
  • File Size: roughly 60kb
  • File Link: several different files, view the tutorial: http://www.lukeescud...nline-tutorial/
  • Required Extensions: None
  • Required DLLs: 39dll, included in tutorial
Summary

Hello all! I'd like to share my 39dll tutorial - it has been read by many, many, people and I've received tons of great feedback on it. I've been programming with 39dll for years, and I've created some really incredible stuff with it, like Nexus, my MMORPG VirtuaLife, current GMechanism, and some other cool stuff.

Here's a link to the tutorial: http://www.lukeescud...nline-tutorial/

Let me know what you think! Example GMKs and foundation code are downloadable.

Edited by lukeescude, 31 July 2012 - 09:38 PM.

  • 4

#2 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 17025 posts
  • Version:GM:Studio

Posted 31 July 2012 - 09:57 PM

Nice tutorial. Well written and presented! Staff pick Posted Image.
  • 0

#3 djk164

djk164

    GMC Member

  • GMC Member
  • 51 posts
  • Version:GM8

Posted 03 August 2012 - 10:16 PM

very nice and clean explanations
  • 0

#4 Sam_Man_5000

Sam_Man_5000

    GMC Member

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

Posted 09 August 2012 - 01:56 PM

  • Title: Popular 39dll Tutorial
  • Description: Many people have used my tutorial and loved it!
  • GM Version: :GM81: :GM8: :GM7: :GM6: :GM5: and Studio
  • Registered: Yes, for use with DLLs
  • File Type: .gmk
  • File Size: roughly 60kb
  • File Link: several different files, view the tutorial: http://www.lukeescud...nline-tutorial/
  • Required Extensions: None
  • Required DLLs: 39dll, included in tutorial
Summary

Hello all! I'd like to share my 39dll tutorial - it has been read by many, many, people and I've received tons of great feedback on it. I've been programming with 39dll for years, and I've created some really incredible stuff with it, like Nexus, my MMORPG VirtuaLife, current GMechanism, and some other cool stuff.

Here's a link to the tutorial: http://www.lukeescud...nline-tutorial/

Let me know what you think! Example GMKs and foundation code are downloadable.



May I turn this into a YouTube video? It will include your name and links to everything you link to in the tut itself.
  • 0

#5 lukeescude

lukeescude

    GMC Member

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

Posted 09 August 2012 - 01:57 PM

Yeah, absolutely! :) be sure to post the link up here when you're done!
  • 0

#6 Sam_Man_5000

Sam_Man_5000

    GMC Member

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

Posted 10 August 2012 - 06:29 AM

Awesome, I will start working on that ASAP! Thank you!
  • 0

#7 johnkapid

johnkapid

    Lead of hEOLiX

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

Posted 11 September 2012 - 11:44 AM

Well, this is very helpful. Very helpful indeed.
  • 0

#8 kamikaze21

kamikaze21

    GMC Member

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

Posted 12 September 2012 - 07:47 AM

Nice tutorial dude!, but with GM:Studio i have a critical msg and can't compile, idk why :confused:

Edit: I found the problem, remove from "included files" the 39dll, compile and put the 39dll manually in the folder where's the game executable.

Edited by kamikaze21, 12 September 2012 - 08:08 AM.

  • 0

#9 lukeescude

lukeescude

    GMC Member

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

Posted 12 September 2012 - 02:40 PM

Glad you found the issue, and thanks, johnkapid!
  • 0

#10 webber17

webber17

    GMC Member

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

Posted 21 December 2012 - 01:44 PM

Tut looks awesome! I'm going to follow the entire thing and try to make my first online game.
One thing, when I imported it to Studio I get an error saying:

Error defining an external function.
ERROR!!! :: ERROR in
action number 1
of Create Event
for object server_init:

  • 0

#11 lukeescude

lukeescude

    GMC Member

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

Posted 21 December 2012 - 03:43 PM

That error looks incomplete, is that the whole thing?

You may not be able to correctly import a GMK file into Studio. It may be necessary to open the GMK with Game Maker 8, export the scripts to a GML file, then drag and drop the scripts into your project.
  • 0

#12 Canuckles

Canuckles

    GMC Member

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

Posted 22 December 2012 - 01:25 PM

It's because 39dll wasn't included in your export folder.
  • 0

#13 NightGrader

NightGrader

    Game Maker Hobbyist

  • GMC Member
  • 31 posts
  • Version:GM8

Posted 15 April 2013 - 07:09 AM

The tutorial really helped me understand 39Dll. Thanks! +1 rep.

 

Edit: Oops didn't mean to necro post! Sorry!


Edited by NightGrader, 15 April 2013 - 07:11 AM.

  • 0

#14 Ruub

Ruub

    GMC Member

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

Posted 15 April 2013 - 11:57 AM

Could you redo one for faucet networking  :P  :P


  • 0

#15 lukeescude

lukeescude

    GMC Member

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

Posted 15 April 2013 - 11:24 PM

I'll look into Faucet and check it out :)

 

I'm not doing much 39dll anymore though, since most of my time is spent on GMechanism, which is async-PHP.


  • 1

#16 NightGrader

NightGrader

    Game Maker Hobbyist

  • GMC Member
  • 31 posts
  • Version:GM8

Posted 16 April 2013 - 10:27 AM

I'll look into Faucet and check it out :)

 

I'm not doing much 39dll anymore though, since most of my time is spent on GMechanism, which is async-PHP.

 

Can't wait for that. :D


  • 0

#17 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 502 posts
  • Version:Unknown

Posted 13 June 2013 - 01:20 AM

I can't get this to work on Game Maker Studio Standard I get this error when i try to run it out of this tutorials example and it says it supports studio. Help?

 

Error:


___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object server_init:

Error defining an external function.
 at gml_Script_dllinit (line 8) - external_call(external_define(global._39dll, "dllInit", dll_cdecl, ty_real, 0));
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_dllinit (line 0)
called from - gml_Object_server_init_Create_0 (line 1) - Initializes the dll. 


  • 0

#18 lukeescude

lukeescude

    GMC Member

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

Posted 13 June 2013 - 02:07 AM

To make it work with Studio, replace all dll_cdecl with dll_stdcall

 

There are garbage differences between each, and Studio only works with Standard Call with 39dll.


  • 0

#19 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 502 posts
  • Version:Unknown

Posted 13 June 2013 - 09:39 PM

Okay now this error after doing so.  After replacing all dll_cdecl with dll_stdcall.

 

Eror:

___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object server_init:

Error defining an external function.
 at gml_Script_dllinit (line 8) - external_call(external_define(global._39dll, "dllInit", dll_stdcall, ty_real, 0));
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_dllinit (line 0)
called from - gml_Object_server_init_Create_0 (line 1) - Initializes the dll. 

 

Help is appreciated :)

 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users