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

[EO3] Items Disappearing


Justin Knight
 Share

Recommended Posts

I use EO3 and when my players are grinding from time to time a monster will drop an item and in some cases that item will disappear in as little as a second. Any way to fix this? I have vb6 to edit code with if I need to. Maybe I'm just doing something wrong. If you know what's causing this let me know please.
Link to comment
Share on other sites

If i remember correctly, the way item despawning works in EO 3, is that all items are on one timer, meaning every item on the ground would despawn once it's time, i could be entirely wrong about this and they all would be on their own seperate timers. either way, try and look around at the item despawning on the server's logic loop, that would be the best bet.
Link to comment
Share on other sites

in modServerLoop -> Private Sub UpdateMapSpawnItems()

find:

```

' Clear out unnecessary junk
For x = 1 To MAX_MAP_ITEMS
    Call ClearMapItem(x, y)
Next

```
replace with this:

```

' Clear out unnecessary junk
For x = 1 To MAX_MAP_ITEMS
If MapItem(y, x).despawnTimer < GetTickCount Then
Call ClearMapItem(x, y)
End If
Next

```
the problem is that it is respawning (and also deleting) map items every 5 minutes (LastUpdateMapSpawnItems = GetTickCount + 300000) without checking if the item's time has come.
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...