Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dragon Eclipse 2.0


Draco.exe
 Share

Recommended Posts

@Jumpahead:

> Have you managed to look into the walking through Events?.

**Just for  dragon eclipse dx7**
ok here is a fix
**Client side**
find in modGameLogic:
```

    ' Check to see if a npc is already on that tile
    For i = 1 To Npc_HighIndex
        If MapNpc(i).num > 0 Then
            If MapNpc(i).x = x Then
                If MapNpc(i).Y = Y Then
                    CheckDirection = True
                    Exit Function
                End If
            End If
        End If
    Next
If Map.Moral = MAP_MORAL_SAFE Then Exit Function
```
and replec all that whit this

```

    ' Check to see if a npc is already on that tile
    For i = 1 To Npc_HighIndex
        If MapNpc(i).num > 0 Then
            If MapNpc(i).x = x Then
                If MapNpc(i).Y = Y Then
                    CheckDirection = True
                    Exit Function
                End If
            End If
        End If
    Next
```it works for me !!
sry i edite it try now!
Link to comment
Share on other sites

  • Replies 498
  • Created
  • Last Reply

Top Posters In This Topic

@Vus:

> Could you please explain this to me? I do not understand, do event take place in NPCs? Also, you could just type that you should remove the last line, couldn't you? :)

that code was blocking walktrought events …
ps:i type all code biz new ppl here
Link to comment
Share on other sites

try my bug-fix
Client side
find in modGameLogic:

 ```
  ' Check to see if a npc is already on that tile
    For i = 1 To Npc_HighIndex
        If MapNpc(i).num > 0 Then
            If MapNpc(i).x = x Then
                If MapNpc(i).Y = Y Then
                    CheckDirection = True
                    Exit Function
                End If
            End If
        End If
    Next
If Map.Moral = MAP_MORAL_SAFE Then Exit Function
```

and replec all that whit this

 ```
  ' Check to see if a npc is already on that tile
    For i = 1 To Npc_HighIndex
        If MapNpc(i).num > 0 Then
            If MapNpc(i).x = x Then
                If MapNpc(i).Y = Y Then
                    CheckDirection = True
                    Exit Function
                End If
            End If
        End If
    Next
```
Link to comment
Share on other sites

i'll check that in some mins, thx for the info

Update:
I tested the last update of the Dragon Eclipse 2.0 i i'm not having errors with the walkthrough over NPCs and/or Events…you should make a backup of your npc and maps folders and then delete all the content of that folders in the server data files folder (dont delete the folders, just the .dat files)

test if that work
Link to comment
Share on other sites

well…i'm not having errors with the events, so is not a code bug. maybe you can check and uncheck the walkthrough of each event and see if that works for stoping the walkthrough of events...and the NPCs, maybe you can delete the NPCs of the map and then adding them again
Link to comment
Share on other sites

Error 9 - subscript out of range for placing resources now. :'( (after update to newest release)
it worked in last relase - when i went to place a resource it gave me the above listed error immediately
and now wont let me into the server console even - it crashes with same error at startup.
Link to comment
Share on other sites

hmmmm, now it seems as though changing map size created the same error after i got back into the server and made a tree resource with what you said in last post. :'( - I am able to get bak into the server but changing map size crashes the client, i will try it in a brand new map just to be sure and post back, I am using a map from before you made the fix -  thanks for your input. 

update:  must have been the old pre-fix map, went to a blank map and it resized. thanks for reading again, as well as doing an epic job at giving feedback and being so very patient. =)
Link to comment
Share on other sites

Okay, I tried everything out with blank maps and whatnot - I did come across a possible error  when creating a merchant - I make the npc, then go to "Show choices" and set text then 2 different options, for option one i go to "open shop" for what happens when people select that option and it either gives me a runtim error 7 (out of memory) or it just closes and says "eclipse origins  has stopped working" or whatnot -). Thanks again for reading, my apologies in advance if its something I forgot to delete, but i think i got everything. It works if i just make him open shop from the get go - is this an error on my part? (it very well might be - in fact i think it probably is, but i figured i'd ask to be safe, you know way more about this than i do at the moment =P)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...