Jump to content
  • 0
Kakaroto

Verification on an instantiated map.

Question

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 "[email protected]" not found in index list!
[Error]: npc_parsesrcfile: Unknown map '[email protected]' in file 'npc/custom/test/test_script.txt', line '102'. Skipping line...

 

I define the map here:

    OnPCLoadMapEvent:
    set(.maps$,"[email protected]");
    set(@map$,strcharinfo(3));

 

Check:

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

 

And load:

[email protected]    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
14 minutes ago, Kakaroto said:

[Debug]: (npc_parsesrcfile) mapindex_name2id: Map "[email protected]" 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

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.