Kara Posted March 20, 2018 Posted March 20, 2018 Hello, i want to ask someone who know from Freya or previous the Map Regions are in SQL as you see bellow With some sec1, sec2, sec3 which i don't understand what they are. I've noticed that in H5 they dropped this and move the regions to xmls in mapregion/ and now they are like this: <region name="aden_town" town="Aden Castle Town" castle="5" locId="924" bbs="13"> <respawnPoint X="146494" Y="30584" Z="-2420" /> <respawnPoint X="146038" Y="30519" Z="-2420" /> <respawnPoint X="148112" Y="30439" Z="-2420" /> <respawnPoint X="148565" Y="30463" Z="-2420" /> <respawnPoint X="150227" Y="29104" Z="-2420" /> <respawnPoint X="144626" Y="29145" Z="-2420" /> <respawnPoint X="144635" Y="26664" Z="-2220" /> <respawnPoint X="144526" Y="24661" Z="-2100" /> <respawnPoint X="144559" Y="22835" Z="-2100" /> <respawnPoint X="145686" Y="21114" Z="-2100" /> <respawnPoint X="148946" Y="21121" Z="-2070" /> <respawnPoint X="148010" Y="27996" Z="-2256" /> <respawnPoint X="147970" Y="27040" Z="-2191" /> <respawnPoint X="146814" Y="27108" Z="-2189" /> <respawnPoint X="146819" Y="28063" Z="-2252" /> <respawnPoint X="136398" Y="28901" Z="-3582" isChaotic="true" /> <respawnPoint X="137292" Y="28485" Z="-3290" isChaotic="true" /> <respawnPoint X="155925" Y="28554" Z="-3164" isChaotic="true" /> <respawnPoint X="157608" Y="23866" Z="-3760" isChaotic="true" /> <respawnPoint X="157463" Y="28770" Z="-3371" isChaotic="true" /> <respawnPoint X="159348" Y="28561" Z="-3400" isChaotic="true" /> <respawnPoint X="160236" Y="14119" Z="-3892" isChaotic="true" /> <respawnPoint X="156764" Y="13774" Z="-3960" isChaotic="true" /> <respawnPoint X="161426" Y="23055" Z="-3670" isChaotic="true" /> <respawnPoint X="136380" Y="21899" Z="-3647" isChaotic="true" /> <respawnPoint X="137708" Y="15640" Z="-3800" isChaotic="true" /> <respawnPoint X="136629" Y="28127" Z="-3258" isChaotic="true" /> <map X="23" Y="18" /> <map X="24" Y="17" /> <map X="24" Y="18" /> <map X="24" Y="19" /> <map X="25" Y="17" /> <map X="25" Y="18" /> <map X="25" Y="19" /> </region> I need someone to enlight me. What are those numbers? Why H5 has different numbers than freya? If i want to drop SQl and move them to xml regions as H5 did how should i write down? Thanks. Quote
SweeTs Posted March 20, 2018 Posted March 20, 2018 Why don't you ask, directly, to someone from L2J team? I guess it's your only option. 1 Quote
Kara Posted March 20, 2018 Author Posted March 20, 2018 (edited) 13 minutes ago, SweeTs said: Why don't you ask, directly, to someone from L2J team? I guess it's your only option. Tell me 1 person from L2J who talk directly? Sdw? This guy is like he took marijuana all day. Only if i add anime girls and kawai photos he will enter to comment. :D Really i need drop this SQL since is ugly sec1,sec2,sec3 and make it in XML but i dont know what those numbers mean or how it should be the structure of it. http://www.youtube.com/watch?v=ykcn1OL-8eg&t=1m06s Edited March 20, 2018 by Evie Frye Quote
protoftw Posted March 20, 2018 Posted March 20, 2018 (edited) 10 minutes ago, Evie Frye said: Tell me 1 person from L2J who talk directly? Sdw? This guy is like he took marijuana all day. Only if i add anime girls and kawai photos he will enter to comment. :D Really i need drop this SQL since is ugly sec1,sec2,sec3 and make it in XML but i dont know what those numbers mean or how it should be the structure of it. I'm not a master (actually, I don't know sh1t about it) but can't you see the whole problem backwards? Check the table's variables, what's their module, etc...Check your source to see the way the table is created and also how the xml file and the table are connected. It might lead you somewhere.. Edited March 20, 2018 by protoftw 1 Quote
Kara Posted March 20, 2018 Author Posted March 20, 2018 (edited) 7 minutes ago, protoftw said: I'm not a master (actually, I don't know sh1t about it) but can't you see the whole problem backwards? Check the table's variables, what's their module, etc...Check your source to see the way the table is created and also how the xml file and the table are connected. It might lead you somewhere.. Aww so kind that you answered. I'll suggest you for moderator instead of this nab @SweeTs who send me cat's nude everyday on skype. Well the problem is that i want to transfer those values to xml no change the code. So example H5 right now have a dedicated folder data/mapregion/ and inside has few xml like elf_town.xml , fantasy_island.xml, dwarf_town.xml which each one contains respawnPoint data and map X-Y. I guess those X-Y are the region's. So in freya i want basically to move the regions to TownZones xmls or idk but i dont even know which values should be there. Ps. i dont know why Freya has different values than H5 regions. I mean i check H5 X-Y and i try find similar to Freya's SQL but for example 34 does not exist. Does H5 has different region than Freya? o.O Edited March 20, 2018 by Evie Frye Quote
protoftw Posted March 20, 2018 Posted March 20, 2018 (edited) 8 minutes ago, Evie Frye said: Aww so kind that you answered. I'll suggest you for moderator instead of this nab @SweeTs who send me cat's nude everyday on skype. Well the problem is that i want to transfer those values to xml no change the code. So example H5 right now have a dedicated folder data/mapregion/ and inside has few xml like elf_town.xml , fantasy_island.xml, dwarf_town.xml which each one contains respawnPoint data and map X-Y. I guess those X-Y are the region's. So in freya i want basically to move the regions to TownZones xmls or idk but i dont even know which values should be there. I don't want to rework the whole system of Respawn and blabla. I'm lazy. Well, I'm confused even reading this. Nah, nah I get it :) . I guess in order to have a folder in data/xxxx there should be a path in java to read it and allow you to use it..Check the source of h5 and the way they implemented this and follow their steps.Take a town that is the same in both clients (h5,freya) , copy its xml which h5 is currently using in data/mapregion/ and paste it to your data/mapregion. Do all the lazy work you have to do when it comes to java and the most important , I wish you luck and may you find a solution :P Edited March 20, 2018 by protoftw Quote
Celsas Posted March 21, 2018 Posted March 21, 2018 I dont know how to say it in words :) but i make a image, maybe you understand something ;) 1 Quote
Kara Posted March 21, 2018 Author Posted March 21, 2018 9 hours ago, protoftw said: Well, I'm confused even reading this. Nah, nah I get it :) . I guess in order to have a folder in data/xxxx there should be a path in java to read it and allow you to use it..Check the source of h5 and the way they implemented this and follow their steps.Take a town that is the same in both clients (h5,freya) , copy its xml which h5 is currently using in data/mapregion/ and paste it to your data/mapregion. Do all the lazy work you have to do when it comes to java and the most important , I wish you luck and may you find a solution :P Np ill check Celsa's photo thanks for ur respond little. 8 hours ago, Celsas said: I dont know how to say it in words :) but i make a image, maybe you understand something ;) Oh i kinda start getting the idea, thanks ill check it tonight and tell you. Quote
Tryskell Posted March 23, 2018 Posted March 23, 2018 The SQL table is simply a matrice X/Y, similar to mapRegions.xml of aCis. It references point of teleport when you die or use a SoE. If the point is valid, it uses the associated list of teleport locations - karma list if you're PK, regular list otherwise. Quote
Kara Posted March 23, 2018 Author Posted March 23, 2018 8 hours ago, Tryskell said: The SQL table is simply a matrice X/Y, similar to mapRegions.xml of aCis. It references point of teleport when you die or use a SoE. If the point is valid, it uses the associated list of teleport locations - karma list if you're PK, regular list otherwise. Thanks. So the 1st cell is the Y value and all the other is the X? Quote
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.
Note: Your post will require moderator approval before it will be visible.