• 0
Sign in to follow this  
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!

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this