Jump to content
  • 0

Verification on an instantiated map.


Question

Posted

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!

2 answers to this question

Recommended Posts

  • 0
Posted
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...