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

[ES] Map resizing / deleting maps


Ginnungagap
 Share

Recommended Posts

Last question for a while, I promise.

I've researched this problem, but need clarification.
If auto-scrolling is already enabled, do I still need to delete all the maps?
I'm assuming that is the case, since I receive an error now when I try to launch the server:

```
' Spawn all the mapped items on their specified tile.
    For Y = 0 To MAX_MAPY
        For X = 0 To MAX_MAPX
            If Map(MapNum).Tile(X, Y).Type = TILE_TYPE_ITEM Then
                If (Item(Map(MapNum).Tile(X, Y).Data1).Type = ITEM_TYPE_CURRENCY Or Item(Map(MapNum).Tile(X, Y).Data1).Stackable = 1) And Map(MapNum).Tile(X, Y).Data2 <= 0 Then
                    Call SpawnItem(Map(MapNum).Tile(X, Y).Data1, 1, MapNum, X, Y)
                Else
                    Call SpawnItem(Map(MapNum).Tile(X, Y).Data1, Map(MapNum).Tile(X, Y).Data2, MapNum, X, Y)
                End If
            End If
        Next X
    Next Y

```
Just wanted to make sure before I wipe my maps.
And if so, when I delete all the map files, does it create a new map1 automatically on relaunch?
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...