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.

Dark GDK / New DarkEngine release - Version 0.1.0

Author
Message
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 5th Mar 2007 16:04 Edited at: 5th Mar 2007 16:12
Hi Guys,

I'm finally here to announce a new release of DarkEngine, although this releases still do not come with 100% of DGDK.NET commands. It's just to add some command that were missing (like the ones James Bondo told me).

One of the missing command was the one to display on a windows forms' PictureBox. With DGDK.NET you have to add lots of lines to make it work, but now it's as simple as DarkDisplay.DisplayOnPictureBox(myForm.myPictureBox)

I'll be trying to put up a small webpage for DarkEngine, the layout and images have been ready for almost 2 months but it was not possible as I am struggling my time. Right now MudBug is pursuing other things (I wish you best luck!) so this has been almost a one man job. Not only that, I have to share my time with a lot ot things: My job, my university classes of computers science, my band (as I'm the guitarrist/singer/songwriter) and my passion of writing novels. That's just too much things for a 21yo guy And, unfortunately, add to that some problems me and my family have been going through (a lot of financial, some emotional), and that's been bad. :/

Anyways, I was extending myself too much. I'll try to make more progress on DarkEngine, because although I don't get any money for this, is a a lot of fun to code it! I hope you enjoy this release.
Happy Coding!

-Thiago

EDIT: Oh, and I forgot something!

I'll ask everyone that tries this to tell me about missing commands. While coding DarkEngine I'll be trying to add Every command that has comments on DGDK.NET help. Some of them are uncommented and really obscure (I have no clue what it does), so these will be left out, but I will add the needed ones to DarkEngine if someone points me out, ok? I hope I can have "helping hands" to make DarkEngine always better.

Attachments

Login to view attachments
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 8th Mar 2007 05:00
Another thing I forgot, I'd like everyone who downloads and tests it to post an opinion. I'd like to know how many of you guys have been using (or at least trying) DarkEngine. That give developers motivation to work.

For now, the only ones I know that have been using it are Niels and J.Bondo. Any one else?

Happy codding!

-Thiago

PS: Working on v 0.2.0 right now, and hope to have a Preview of DarkUI by the end of the month. Stay tuned
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 9th Mar 2007 14:50
ehm.... previous release was 1.0.0.0

Im getting this error when removing the old version and adding the new

Indirect reference is being made to assembly BlueOrb.DarkEngine version 1.0.0.0, which contains 'BlueOrb.DarkEngine.Plugins.DarkEmReL.New'. This Project references a prior version of BlueOrb.DarkEngine version 0.1.0.0. To use 'BlueOrb.DarkEngine.Plugins.DarkEmReL.New', you must replace the reference to BlueOrb.DarkEngine with version 1.0.0.0 or higher.

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 9th Mar 2007 14:51
BTW: If you need help with DarkEngine, then just say when

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 9th Mar 2007 15:05
Hmm... now the error is gone ???

Strange...

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 07:20
Hi Niels!

Firstly: Yes, I didn't make a right number when I released the preview, that was really bad. I'm just re-starting with 0.1 as I want the 1.0 version to be the "final" one.

Secondly: I have to release a new version of DarkEmReL, but it is such a tiny plugin that I thought about making it part of basic DarkEngine methods. Will decide it this week.

Also, are you still having any errors? I'd ask you to send me e-mails of any errors you come to, and also with new ideas. They will all be very much appreciated

Thanks for making a good use of DarkEngine.
Happy coding!

-Thiago
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Mar 2007 10:23
Hi Thiago

I still have problems. It's when I'm adding DarkEngine to my project (I dont want to code without that )

In References I have:
BlueOrb.DarkEngine 0.1.0.0
DGDK 1.0 Type Library 1.0.0.0
DGDKPlugins 1.0.2.0
Interop.DGDKLib.1.0 1.0.0.0

The error is in dgdkGlobals.vb where it says that [var] is ambigous in the namespace 'DGDKLib'

[var] is all the variables with oDB.

Public oDBP As New DGDKLib.dgdkApp
Public oDBAnimation As New DGDKLib.dgdkAnimation
Public oDB2D As New DGDKLib.dgdkBasic2D
Public oDB3D As New DGDKLib.dgdkBasic3D
Public oDBBitmap As New DGDKLib.dgdkBitmap
Public oDBCamera As New DGDKLib.dgdkCamera
Public oDBCore As New DGDKLib.dgdkCore
Public oDBDisplay As New DGDKLib.dgdkDisplay
Public oDBFile As New DGDKLib.dgdkFile
Public oDBFTP As New DGDKLib.dgdkFTP
Public oDBImage As New DGDKLib.dgdkImage
Public oDBInput As New DGDKLib.dgdkInput
Public oDBLight As New DGDKLib.dgdkLight
Public oDBMatrix As New DGDKLib.dgdkMatrix
Public oDBMemBlock As New DGDKLib.dgdkMemblock
Public oDBMultiplayer As New DGDKLib.dgdkMultiplayer
Public oDBMusic As New DGDKLib.dgdkMusic
Public oDBParticles As New DGDKLib.dgdkParticles
Public oDBSound As New DGDKLib.dgdkSound
Public oDBSprite As New DGDKLib.dgdkSprite
Public oDBSystem As New DGDKLib.dgdkSystem
Public oDBTerrain As New DGDKLib.dgdkTerrain
Public oDBText As New DGDKLib.dgdkText
Public oDBWorld As New DGDKLib.dgdkWorld
Public oDBMath As New DGDKLib.dgdk3DMaths

The only idea I have right now is UI . I want to be able to make windows, progressbars, buttons etc. in my game like they have in WoW, EVE Online, SWG and like that

It happend after I was updating both DGDK and DarkEngine

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 13:41
Niels, is the error something like this?

"Error 1 The type 'DGDKLib.dgdkApp' exists in both 'c:\GameProjects\DarkEngine\DarkTest\obj\Release\Interop.DGDKLib.dll' and 'c:\GameProjects\DarkEngine\DarkTest\bin\Release\Interop.DGDKLib.1.0.dll' C:\GameProjects\DarkEngine\DarkTest\dgdkGlobals.cs 20 27 DarkTest"

Try removing the reference to "DGDK 1.0 Type Library 1.0.0.0"

-Thiago
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Mar 2007 18:22
I have removed that dll and now it says:

NullReferenceException at DarkDisplay.SetDisplayMode(1024,768,32)

I have to remove dgdkPlugins.vb because there was a lot of errors in the

.m_pDGDK3DMaths = oDBMath
.m_pDGDK3D......
.m_pDGDK3D......
.m_pDGDK3D......

because it cant find the dll I have removed....

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 20:15
Strange...
The references that should exist in the project are:

BlueOrb.DarkEngine
DGDKPlugins
Interop.DGDKLib.1.0 (this one should be referenced from the dll in the package, you shouldn't reference COM directly, as it also adds this and it gave me errors before).

Let me try it here. I'll keep you informed.

-Thiago
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 20:38 Edited at: 10th Mar 2007 20:43
I've made a test, I'll try to describe every step I took:

-Downloaded DarkEngine (Just to be sure I'm using only the dlls I've gave you)
-Opened VS
-Created new VB App
-Imported Globals and Plugins .vb
-Referenced the 3 Dll's included in DarkEngine's zip (Only them, didn't reference DGDK.NET COM Library directly)
-Coded a small spinning cube demo
-Authenticated
-HIT F5... Voilá! Running just fine!

And that's it. I don't know exactly what's going wrong, but here it was just fine. I think I'll have to further investigate it.

Edit:
Just for a further investigation, I've removed the reference to Interop.DGDKLib.1.0.dll and referenced the DGDK.NET 1.0 Type Library COM, just got errors. Removed it and added reference to Interop. Again it compiled just fine!

Have you tried removing every single reference related to DGDK.NET and DarkEngine? Do this and add reference only to the Dlls on the package, then tell me your results. I hope this helps. Oh, and thanks for using DE

Best regards,
Thiago
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Mar 2007 21:20
Hm....

I did as you wrote (also put ref to System.Windows.Forms
Did the dgdk-file thing

And are getting this now "Unable to initialize the DarkGDK.NET library".

I have attached my project as rar... hope you can see it

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/

Attachments

Login to view attachments
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 22:05 Edited at: 10th Mar 2007 22:06
Downloaded. Got the error.

Just removed all references, added them again and recompiled. Running just fine. Strange! I don't know what went wrong, maybe any dll was corrupt? CRC are equal. Very strange.
Anyway, here's the project running (Attached).

Oh, and there was a line missing: Dim DarkEngine As New DarkEngine(GetDGDKGlobals)

Hope it run. Get in touch if anything goes wrong

Thiago

Attachments

Login to view attachments
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Mar 2007 22:32
wow... now its working... nice.. thank you

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 10th Mar 2007 22:41
Niels Henriksen, I downloaded your project to see what was going on. First off, can you ensure that you have the latest update to DGDK.NET, which is 1.0.8.0. Also, after rebuilding and Re-authenticating your application, the key was shorter, which is consistant with changes in the security of DGDK.NET. Can you make sure that you Authenticate the ProjectX.EXE, and not the VShost exe. This rid the problem of the DGDK.NET initialization error, but I did still get a problem in instanciating the DarkEngine object after the call to InitializeDGDK. This may be a problem with DE requiring updating for 1.0.8.0, but I don't know.

Anyway, hope this helps.

Paul.


322 is the time that the world will change.... forever!
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Mar 2007 23:16
Hi Paul

DGDK.NET 1.0.8.0 - Check
First time I was authenticating the app I was using vshost.exe by mistake, but I took the right file then.

But everyting is working now

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 10th Mar 2007 23:35
Niels' code was missing 'Dim DarkEngine as New DarkEngine()'
Just that, I forgot to mention.

Thiago
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 11th Mar 2007 03:45
Ok cool Glad to hear it's all working again.

Paul.


322 is the time that the world will change.... forever!

Login to post a reply

Server time is: 2024-11-19 12:43:48
Your offset time is: 2024-11-19 12:43:48