Jump to content
  • 0

Verification on an instantiated map.


Kakaroto

Question


  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

Hello, I'm trying to do a check on an instance map, however I get an alert on the map_server because the map does not exist, the same is generated when you start the instance:

[Debug]: (npc_parsesrcfile) mapindex_name2id: Map "0011@tower" not found in index list!
[Error]: npc_parsesrcfile: Unknown map '0011@tower' in file 'npc/custom/test/test_script.txt', line '102'. Skipping line...

 

I define the map here:

    OnPCLoadMapEvent:
    set(.maps$,"0011@tower");
    set(@map$,strcharinfo(3));

 

Check:

        for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) {
        }

 

And load:

0011@tower    mapflag    loadevent

 

The problem is when I define loadmapevent, that's where the error happens.

Can someone please help me with this?

 

Thanks in advance!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  431
  • Reputation:   164
  • Joined:  12/12/17
  • Last Seen:  

14 minutes ago, Kakaroto said:

[Debug]: (npc_parsesrcfile) mapindex_name2id: Map "0011@tower" not found in index list!

It means your map is not listed in your mapache/server files. Make sure your map is listed in trunk/db/map_index.db and mapcache. 

 

I think you are trying to make a custom endless tower. You just cant edit the name of the map. The map 'should' exsist.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   22
  • Joined:  10/24/14
  • Last Seen:  

Hey, have you added your custom instance to the db/(pre-)re/instance_db.txt ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...