Duplicating maps

almarket23

New member
Messages
90
Points
0
Github
nexus
Emulator
Hi guys,

How can I duplicate a map without adding any additional map in my database? lets say for example I want to duplicate the map of prontera. How can I do that without adding additional prontera map in my Database? Will you please provide to me the procedures on how to do it?

Thanks.

 
The only way i can think of is to create a instance of the map with the emulation option if the map isn't named like the standard for instance maps.

This approach is quiet limited though, since for instancing you have to provide a guild or party and people you want to use that map need to be in either.

Also you will need to create a special warp npc if you want it to look like a normal warp to enter the map and if you want a empty map you would need

to disable all scripts manually since the instancing creates copies of all npcs on the map.

 
Last edited by a moderator:
I dont get. Im sorry...

Lets say for example the first party will enter the a map and they will going to kill the monster there and at the same time the second party will going to enter the same map but they will not going to see the first party cause the second party will be warp to a duplicated map in which they will going to kill a monster as well. 

 
That is exactly what a instance does. It creates copies of a set of maps and makes them unique per party / guild. So they never see each other. 

For example Orc Memory Dungeon is a instance.

 
I dont get. Im sorry...

Lets say for example the first party will enter the a map and they will going to kill the monster there and at the same time the second party will going to enter the same map but they will not going to see the first party cause the second party will be warp to a duplicated map in which they will going to kill a monster as well. 
Check the instance_attachmap command, instance duplicates the map with the given name, so you can use map name according to party. And create as many instanced map with different names
default_smile.png
 
will you please send me a link in which i can learn how to make an instance? Please

 
will you please send me a link in which i can learn how to make an instance? Please
example:

Code:
prontera,154,175,5    script    testtestest    1002,{    set .@id,instance_create("prt dup02",0,IOT_NONE);    instance_attachmap("prontera", .@id,1,"prontera02");    instance_init .@id;    warp "prontera02",154,166;}
 
Last edited by a moderator:
Wow i didn't know it is possible to do that without a party, i allways thought it is necessary to have a guild / party.

 
What about resnametable inside client? I thought you could copy already existing maps that way.

<EDIT>Oh, without any additions to database... My bad >.< </EDIT>

Iirc you only need to add the name inside map_index.txt and add few lines inside resnametable for client.

Like bossnia_01 ~ bossnia_04 maps all use gef_dun03 map.

Code:
bossnia_01.gnd#gef_dun03.gnd#bossnia_01.gat#gef_dun03.gat#bossnia_01.rsw#gef_dun03.rsw#À¯ÀúÀÎÅÍÆäÀ̽ºmapbossnia_01.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapgef_dun03.bmp#bossnia_02.gnd#gef_dun03.gnd#bossnia_02.gat#gef_dun03.gat#bossnia_02.rsw#gef_dun03.rsw#À¯ÀúÀÎÅÍÆäÀ̽ºmapbossnia_02.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapgef_dun03.bmp#bossnia_03.gnd#gef_dun03.gnd#bossnia_03.gat#gef_dun03.gat#bossnia_03.rsw#gef_dun03.rsw#À¯ÀúÀÎÅÍÆäÀ̽ºmapbossnia_03.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapgef_dun03.bmp#bossnia_04.gnd#gef_dun03.gnd#bossnia_04.gat#gef_dun03.gat#bossnia_04.rsw#gef_dun03.rsw#À¯ÀúÀÎÅÍÆäÀ̽ºmapbossnia_04.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapgef_dun03.bmp#
 
Last edited by a moderator:
@@Garr

I already add something in resnametable and map_index and still its not working.

@@Angelmelody

Im having an error when I try to do your script.

Code:
[Error]: script error on npc/mycustom/test.txt line 3    parse_callfunc: expected ')' to close argument list     1 : {     2 : *    3 :     set .@id,instance_create("prt dup02"','0,IOT_NONE);     4 :     instance_attachmap("prontera", .@id,1,"prontera02");     5 :     instance_init .@id;     6 :      7 :     warp "prontera02",154,166;     8 : }
 
Last edited by a moderator:
@@Garr

I already add something in resnametable and map_index and still its not working.

@@Angelmelody

Im having an error when I try to do your script.

[Error]: script error on npc/mycustom/test.txt line 3 parse_callfunc: expected ')' to close argument list 1 : { 2 : * 3 : set .@id,instance_create("prt dup02"','0,IOT_NONE); 4 : instance_attachmap("prontera", .@id,1,"prontera02"); 5 : instance_init .@id; 6 : 7 : warp "prontera02",154,166; 8 : }
Probably you are not using hercules

 
Not working how? You can't warp to map? You crash when you enter map? It tells you there's no such map?

Can I see that "something" that you added already?

Also, iirc rAthena doesn't have null/player/guild variants added to instance source, only party >.<

 
resnametable

nymphaeum.gnd#[email protected]#nymphaeum.gat#[email protected]#nymphaeum.rsw#[email protected]#À¯ÀúÀÎÅÍÆäÀ̽ºmapnymphaeum.bmp#À¯ÀúÀÎÅÍÆäÀ̽º[email protected]#

map_index

nymphaeum

and I already added the resnametable to

map_cache.dat
using the WeeMapCache.

When I tried to warp to the duplicated map Im getting this error though the character was warped to the duplicate map

Module Name: C:UsersahLDsDesktopNexusRO ServerNexusRO.exeTime Stamp: 0x4d7f06a5 - Mon Mar 14 23:26:45 2011Exception Type: 0xc00000050x005ca330 NexusRO.exe0x75656168 SHELL32.dll0x8b909090 eax: 0x04c2a9d8 ebx: 0x00000000ecx: 0x00000000 edx: 0x00dcb038esi: 0x0a0f7ba8 edi: 0x0a0f7ba8ebp: 0x0a0f7c14 esp: 0x0018fb28stack 0018fb28 - 0018ff280018FB28 : A8 7B 0F 0A 14 7C 0F 0A 8C FC 18 00 BF E2 75 00 0018FB38 : FF FF FF FF 30 34 5E 00 5D CE 62 A8 40 D5 7E 00 0018FB48 : 10 D5 7E 00 18 D5 7E 00 00 00 00 00 10 05 B9 02 0018FB58 : 60 01 B9 02 F0 FA 18 00 60 6D D6 04 A8 E1 52 04 0018FB68 : A8 7B 0F 0A 25 DF B6 00 B8 5B 2D 05 6C E3 13 77 0018FB78 : D2 E0 13 77 C8 7D 0F 0A 20 00 00 00 2F 00 00 00 0018FB88 : 25 DF B6 00 FE FF FF FF 6C E3 13 77 D2 E0 13 77 0018FB98 : C8 7D 0F 0A 0C 00 00 00 26 E0 13 77 50 F4 22 05 0018FBA8 : A8 7B 0F 0A A3 7B 0F 0A 00 00 00 00 18 8D C1 00 0018FBB8 : 00 00 CE 02 00 00 00 01 08 FB 18 00 4C 00 00 00 0018FBC8 : B4 FC 18 00 CD 1E 18 77 0D C5 B6 00 FE FF FF FF 0018FBD8 : 02 00 00 00 00 00 00 00 28 00 00 00 88 06 00 00 0018FBE8 : 08 FC 18 00 B8 3D BD 72 00 00 CE 02 00 00 00 00 0018FBF8 : 1C 00 00 00 C8 7D 0F 0A 00 00 00 00 FC 7D 0F 0A 0018FC08 : 20 FC 18 00 B8 3E BD 72 1C 00 00 00 0C 00 00 00 0018FC18 : 5C FC 18 00 94 5E EE 61 00 00 00 00 78 81 0F 0A Launch Info 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Job : Priest

What is the meaning of this error? Did I make something wrong in duplicating the map?

 
@@Break San

Still Im getting the same Error.... I followed everything and I did it correctly but still Im getting this Error...

 
Back
Top