hakuren Posted January 29, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 29, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Patskie Posted January 29, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: November 10, 2024 Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted January 30, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.