hakuren Posted January 29, 2014 Posted January 29, 2014 i got error i just testing this script by Vincent i try new_1-4 map but i get error and then crash i search for solution they say duplicate the map but it already duplicated by new_zone04.rsw/gat/gnd and i already recompile it to mapcache. what should i do with this? prontera,156,174,5 script testing 873,{ set .@instance, instance_create("Training", getcharid(1)); if( .@instance < 0 ) { mes "Failed to create the instance!"; close; } if( instance_attachmap("new_1-4", .@instance) == "" ) { instance_destroy(.@instance); mes "Failed to attach the map!"; close; } instance_attach(.@instance); instance_set_timeout(3600, 300, .@instance); instance_init(.@instance); warp "new_1-4",0,0; } Quote
AnnieRuru Posted January 29, 2014 Posted January 29, 2014 the old instance system, the map name has to be <single digit number>@<seven characters long>example 1@tower 2@cash 2@g_vs //For Map Names, which the client considers to be 16 in length including the .gat extension #define MAP_NAME_LENGTH (11 + 1) #define MAP_NAME_LENGTH_EXT (MAP_NAME_LENGTH + 4) maximum map name without .gat is 12 the server will create 001 as the unique instance ID means there's only 9 character left for your map name new_1-4 will definitely crash your client try something like 4@novice Quote
Patskie Posted January 29, 2014 Posted January 29, 2014 If you are using late rA version ( r17386+ ). The following commands are removed : instance_attachmap instance_attach instance_set_timeout instance_init instance_detachmap has_instance therefore your script would cause an error. Maybe you can give the error message on your console? Quote
hakuren Posted January 30, 2014 Author Posted January 30, 2014 If you are using late rA version ( r17386+ ). The following commands are removed : instance_attachmap instance_attach instance_set_timeout instance_init instance_detachmap has_instance therefore your script would cause an error. Maybe you can give the error message on your console? no error at all just that client crash the old instance system, the map name has to be <single digit number>@<seven characters long>example1@tower 2@cash 2@g_vs //For Map Names, which the client considers to be 16 in length including the .gat extension #define MAP_NAME_LENGTH (11 + 1) #define MAP_NAME_LENGTH_EXT (MAP_NAME_LENGTH + 4) maximum map name without .gat is 12the server will create 001 as the unique instance ID means there's only 9 character left for your map name new_1-4 will definitely crash your client try something like 4@novice thanks annie it works now your the best Quote
Question
hakuren
i got error i just testing this script by
Vincenti try new_1-4 map but i get error and then crash
i search for solution they say duplicate the map but it already duplicated by new_zone04.rsw/gat/gnd and i already recompile it to mapcache.
what should i do with this?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.