Dragon Eclipse 2.0

Well, this is my custom version based on the last Eclipse Origins Official Relase (event system) and lots of tutorials founded here and all the bug fixes i found here. I’ts just a compilation of that.

PLEASE don’t ask me (or send MPs) if i can add more things like pets, quests, guilds, two handed weapons, etc…i’m doing this because i want to help new guys for free, and i want to finish my own game too. So if you want to add new stuff, install VB and follow the tutorials, i’ts just practice

Version: 2.0 (Now with Directx8)

4th Relase
:Walkthrough fix + Bank Currency fix + Pet attack owner fix

Notes for Version 2.0 [4th Relase]:
->This engine is in english (maybe a future version will be in spanish)
->This engine is based on Nightly Eclipse
->I hope this version is stable, if you found a bug, please report that in this thread.
->You can edit it if you want to keep upgrading this engine with more features, just don’t forget to give credits to all the members in the list!.
->This engine doesn’t have all the other tutorials in the 1.1 version, but i think with this features you can create a good and stable MMORPG.

Next relase info [5th Relase]

! -Don’t know what to add now, thanks for Zopto for fixing the bugs with the pets and the map block bug!

Download links:

English version 4th relase:
Mediafire Link
SOURCE ONLY Mediafire Link
MEGA Link
**This is the 4th Relase of Dragon Eclipse 2.0 based on Nightly Eclipse. In this version i fixed the Walk through NPCs (now in safe zones you can’t walk through NPCs), the Pet attack owner fix, and the Bank Currency Fix .

The SOURCE ONLY download includes: src folders, vbp files and the .exe files (this one is for replacing the old ones if you don’t want to download the whole engine again.

Check the features and credits for all the info of this relase.**

This version also requires the Nightly Eclipse Libraries to work (credits to JC Denton Denton):
Original download link: Nightly Eclipse Libraries
Mirror: http://www.mediafire…186klkgqojhw9qr

Screenshots

!
!

!

Features and Credits:

-> Nightly Eclipse Engine (Jscnider. Also map block bugfix by Zopto)

-> Resolution changer (GodWar)

-> Little modifications to the GUI code to work with resolution changer (Eragon2589)

-> Quest System (Alatar/Eragon2589)

-> Checkpoints (Alatar)

-> Pet System (Lighting/Ryoku. Also pet spawn next to player bugfix by Zopto)

-> Projectiles and Ranged Weapons (Whack/Capt. Wabbit)

-> Jukebox (Serenade)

-> Random Tile Placement (Serenade)

-> Player level and Tags (SpiceyWolf)

-> Exp. Rate changer (ShawnyBoy)

-> Better item interface (Xppxdd)

-> Status checker (MeGusta, modified a bit)

-> NPC name with mouse hover (Xlithan)

-> Send Items from the server (GodWar)

-> Attack anim bugfix (GuardianBR)

-> More Agility = Run faster with shift (Keny)

-> Various BugFixed mentioned in the 1.1 version (Eclipse Comunity)

Engine Bugs/Fixes
Non-fixed Bugs:

! -None (i think!)

Fixes:

! -Fix for the Pets and Map event block bug (for spawning next to the player). Credits to Zopto for fixing it! 🙂
!  
! > bug fix for pet show up next to player

just replace whole Public Sup SpawnNpc**(Server side)** with this :

tested worked for me 😄 have a nice day 😄

Public Sub SpawnNpc(ByVal mapNpcNum As Long, ByVal mapNum As Long, Optional ByVal SetX As Long, Optional ByVal SetY As Long)
Dim Buffer As clsBuffer
Dim npcNum As Long
Dim i As Long
Dim x As Long
Dim y As Long
Dim Spawned As Boolean

' Check for subscript out of range
If mapNpcNum <= 0 Or mapNpcNum > MAX_MAP_NPCS Or mapNum <= 0 Or mapNum > MAX_MAPS Then Exit Sub
npcNum = Map(mapNum).NPC(mapNpcNum)

If npcNum > 0 Then

MapNpc(mapNum).NPC(mapNpcNum).Num = npcNum
MapNpc(mapNum).NPC(mapNpcNum).target = 0
MapNpc(mapNum).NPC(mapNpcNum).targetType = 0 ' clear

MapNpc(mapNum).NPC(mapNpcNum).Vital(Vitals.HP) = GetNpcMaxVital(npcNum, Vitals.HP)
MapNpc(mapNum).NPC(mapNpcNum).Vital(Vitals.MP) = GetNpcMaxVital(npcNum, Vitals.MP)

MapNpc(mapNum).NPC(mapNpcNum).Dir = Int(Rnd * 4)

'Check if theres a spawn tile for the specific npc
For x = 0 To Map(mapNum).MaxX
For y = 0 To Map(mapNum).MaxY
If Map(mapNum).Tile(x, y).Type = TILE_TYPE_NPCSPAWN Then
If Map(mapNum).Tile(x, y).Data1 = mapNpcNum Then
MapNpc(mapNum).NPC(mapNpcNum).x = x
MapNpc(mapNum).NPC(mapNpcNum).y = y
MapNpc(mapNum).NPC(mapNpcNum).Dir = Map(mapNum).Tile(x, y).Data2
Spawned = True
Exit For
End If
End If
Next y
Next x

If Not Spawned Then

' Well try 100 times to randomly place the sprite
For i = 1 To 100

If SetX = 0 And SetY = 0 Then
x = Random(0, Map(mapNum).MaxX)
y = Random(0, Map(mapNum).MaxY)
Else
x = SetX
y = SetY
End If

If x > Map(mapNum).MaxX Then x = Map(mapNum).MaxX
If y > Map(mapNum).MaxY Then y = Map(mapNum).MaxY

' Check if the tile is walkable
If NpcTileIsOpen(mapNum, x, y) Then
MapNpc(mapNum).NPC(mapNpcNum).x = x
MapNpc(mapNum).NPC(mapNpcNum).y = y
Spawned = True
Exit For
End If

Next

End If

' Didn't spawn, so now we'll just try to find a free tile
If Not Spawned Then

For x = 0 To Map(mapNum).MaxX
For y = 0 To Map(mapNum).MaxY

If NpcTileIsOpen(mapNum, x, y) Then
MapNpc(mapNum).NPC(mapNpcNum).x = x
MapNpc(mapNum).NPC(mapNpcNum).y = y
Spawned = True
End If

Next
Next

End If

' If we suceeded in spawning then send it to everyone
If Spawned Then
Set Buffer = New clsBuffer
Buffer.WriteLong SSpawnNpc
Buffer.WriteLong mapNpcNum
Buffer.WriteLong MapNpc(mapNum).NPC(mapNpcNum).Num
Buffer.WriteLong MapNpc(mapNum).NPC(mapNpcNum).x
Buffer.WriteLong MapNpc(mapNum).NPC(mapNpcNum).y
Buffer.WriteLong MapNpc(mapNum).NPC(mapNpcNum).Dir
Buffer.WriteByte MapNpc(mapNum).NPC(mapNpcNum).IsPet
Buffer.WriteString MapNpc(mapNum).NPC(mapNpcNum).PetData.Name
Buffer.WriteLong MapNpc(mapNum).NPC(mapNpcNum).PetData.Owner
SendDataToMap mapNum, Buffer.ToArray()
Set Buffer = Nothing
UpdateMapBlock mapnum, MapNpc(mapnum).NPC(mapNpcNum).x, MapNpc(mapnum).NPC(mapNpcNum).y, True
        End If
        
        SendMapNpcVitals mapnum, mapNpcNum
    Else
        MapNpc(mapnum).NPC(mapNpcNum).Num = 0
        MapNpc(mapnum).NPC(mapNpcNum).target = 0
        MapNpc(mapnum).NPC(mapNpcNum).targetType = 0 ' clear
        ' send death to the map
        Set Buffer = New clsBuffer
        Buffer.WriteLong SNpcDead
        Buffer.WriteLong mapNpcNum
        SendDataToMap mapnum, Buffer.ToArray()
        Set Buffer = Nothing
    End If

End Sub

And

For Map Block Bug

go to server side : Sub HandleMapData and find

ReDim Map(mapNum).Tile(0 To Map(mapNum).MaxX, 0 To Map(mapNum).MaxY)

below that add

ReDim MapBlocks(mapNum).Blocks(0 To Map(mapNum).MaxX, 0 To Map(mapNum).MaxY)

thats all 😄

also sry for bumping this from 2013 but maybe someone will use this engine so i gived some bug fixs

–---------------------------------------------------------------

[OLD-Buggy/Not Supported]
Version: 1.1 (Still in Directx7)

! Download link:
English version: (i think i retranslated all to english)
http://www.mediafire…uvutfcip3j1hr8v
! Optional download link: https://rapidshare.c…pse English.zip
This version include the NPC Drop Fix (caused when a NPC with no drops selected is killed)
! The source of the english version is in english too.
! Spanish version: Todos los mensajes in-game estan traducidos al español (o casi todos)
http://www.mediafire…3iy3tpy93zw77di
Esta versio;n incluye el Fix a los “drops” de los NPCs que no tienen ningun drop seleccionado
! Fantasy theme GUI: Just replace the “Main” and “Menu” Folders with this folders (Client–>Data Files–>Graphics–>GUI)
http://www.freemmorp…42e13ed733b.zip
! Features
! > -Server status checker

-Bigger interface

-Global and map chat options

-Minimap (u can show hide it)

-New button for Pets and jukebox

-More NPCs for each map

-Run faster with Shift (more agi = more faster)

-Projectiles and ranged combat

-Craft

-Jukebox

-Transformation spell (like “costumes”)

-NPC conv. system

-Auto target

-Character levels

-GM Tags and custom colours

-Show NPC name with mouse hover

-Pets summoned with items

-Arena map attribute

-Walk through players in safe zones

-Signs

-Chest

-Enchanced item description

-Checkpoints

-NPC Spells

-NPC multi drops

-Buff/De-Buff spells

-Doors and Switches

-Text render

-Random tile

-Send messages from server

-Safe server restarter

-Experience rate changer

-Two-handed weapons

-Better store

-Animation for Traps and heal tiles

-Email for registration

-Moveable Frames

-Hide/Show Helmet

-Map Tile Animations

-Set access from server
! Credits:
! > ->Eragon2589 - Custom GUI, translations

->JC Denton Denton Denton Denton - Eclipse Origins Event system 2.7 + bugfixes

->Captain Wabbit - Projectiles

->Ryoku Hassu - Buff/Debuff, pet fix, auto-target, doors and switches

->Me Gusta - status checker

->Lightning/Niall - Pets, text render

->DJMaxus - Crafting, NPC Spells

->Boynaar - Signs and Chests

->Ballie - NPC Multi-Drop

->Sekaru - Walk through players

->Kibblez - Arena map attib

->ihero - Transformation spells, minimap

->Terraun - Interface tutorial

->Serenade - Text rendering, Minimap, Global/map chat buttons, Jukebox, Random tile

->SpiceyWolf - Player level and Tags (based on Zafi and Chuchoide’s tutorials)

->Xlithan - NPC name with mouse hover

->Xppxdd - Better item interface

->Domino - Send messages from server

->Wing - Safe server restarter

->Shawny Boy - exp rate changer (normal, x2, x3, etc.)

->Sigridunset - Two-handed weapons

->zerohero - Better store

->PenutReaper - Animation for Traps and heal tiles

->GoldSide - Email in frmMenu

->Jaxx - Crafting map tile

->blkcrow & Whack - Moveable frames

->Sotvotkong - Hide/show Helmet

->Linkmegax - Map Tile Animations

->Alatar - Checkpoints

->Robin - Security hole and hotbar fix

->Niall - Index fix

->Xlithan - messages fix

->Helladen - reloading image skills fix, NPCs high index, currency fix

->Ryoku Hasu - trade crash fix

->Joyce - healing target fix

->Sotvotkong - save NPC animation fix

->Riiicardoo - Class fix

->Scootaloo - NPC stats fix

->Terabin - Party exp fix, experience bar fix and more bugfixes

->iHero - Slide fix

->Soul - cooling time for heal skills fix

->Noth - starter skills fix and skill class restriction fix
! i think thats all the credits.

Wow. Out of nowhere this appears? The GUI looks nice. Not bad my friend. Good work!

thx! i hope this engine can help someone 🙂

Pretty nice 🙂 Looks good, I’m gonna give it a try tomorrow I think ^^

PS: Spanish? You should check the spanish board that i’m thinking on revamp http://www.touchofdeathforums.com/smf2/index.php/board,283.0.html ^^

@Alatar:

Pretty nice 🙂 Looks good, I’m gonna give it a try tomorrow I think ^^

PS: Spanish? You should check the spanish board that i’m thinking on revamp http://www.touchofdeathforums.com/smf2/index.php/board,283.0.html ^^

i’ll check that 😉

P.S: i forgot to add you to the credit list for the checkpoint attrib! 😛

I was just thinking the other day “I wonder how long it will be till an engine like this is made”, and now here it is. Nice job man I’m downloading now. If possible, I suggest updating this with Jc’s nightly releases once he is finished with it. Even if you don’t though this is a very nice addition. Thanks again.

A Stable or no?

Hmm. It seems there is not a way to make projectile weapons. Either that or I am missing something.

@Zetasis:

I was just thinking the other day “I wonder how long it will be till an engine like this is made”, and now here it is. Nice job man I’m downloading now. If possible, I suggest updating this with Jc’s nightly releases once he is finished with it. Even if you don’t though this is a very nice addition. Thanks again.

most of the nigthly are for Directx8 engine, and this still use Dx7 (so no fogs, rain, snow, and stuff like that) 😞

@farrel24:

A Stable or no?

i think yes…tested and no errors 😉

BUT with soo many edits it is nearly impossible to guarantee anything.

@Zetasis:

Hmm. It seems there is not a way to make projectile weapons. Either that or I am missing something.

it works fine for me (i think the first projectile image is blank). And if u don’t see the projectile editor in the item editor, just click in another item in the list and then click again in your first item 😉

@jcsnider:

BUT with soo many edits it is nearly impossible to guarantee anything.

It’s mostly just tutorials and bugfixes made by other people though… So if it’s unstable he didn’t follow those properly.

The interface is nice however.

Alright, now the projectile stuff is appearing on the editor. Now my only issue is all the Spanish lol.

@Stein:

It’s mostly just tutorials and bugfixes made by other people though… So if it’s unstable he didn’t follow those properly.

The interface is nice however.

i think i followed the tutorials step by step 😛

@Zetasis:

Alright, now the projectile stuff is appearing on the editor. Now my only issue is all the Spanish lol.

check the downloads, i just uploaded an english version 😉 that version have a fantasy theme (except the main.jpg) but it’s a temporal fantasy version

Nice, thanks for taking the time to translate the engine.

no problem!

I can’t understand, what this Client say? :huh:
does not anyone speak English?

I noticed that there was an English and Spanish version for the both the client and server so are the source files in English or Spanish?

@farrel24:

I can’t understand, what this Client say? :huh:
does not anyone speak English?

i uploaded an english version 😉

@Zetasis:

I noticed that there was an English and Spanish version for the both the client and server so are the source files in English or Spanish?

in the english download the source files are in english (i made the two server.exe and the two client.exe for testing the translations, and i forgot to delete the spanish exe files :P)

Log in to reply