Jump to content

Recommended Posts

Posted

Hello, i want to ask someone who know from Freya or previous the Map Regions are in SQL as you see bellow 

yE8aO18.png

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.

Posted (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 by Evie Frye
Posted (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 by protoftw
  • Like 1
Posted (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 by Evie Frye
Posted (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 by protoftw
Posted
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.

Posted

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.

Posted
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? 

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


  • Posts

    • Hi everyone, A while ago, I needed to extract some L2 textures and found that acmi's L2Tool was a good way to do it. There might be other methods out there but I'm not aware of them, so I decided to fork this project and improve it to suit my needs. I built this using BellSoft Liberica JDK 17. Since modern Java versions no longer include JavaFX by default, I've made the app handle it automatically. You don't need any manual setup—just use the  run.bat  and it will automatically extract the required JavaFX modules on the first run. Key features of this fork: UI Overhaul: I've tweaked the interface to give it a cleaner look with Dark Mode and more detailed metadata for each texture. Export Formats: You can now extract textures in WEBP, PNG, and DDS. Individual or Batch Export: Flexible options to export a single selected texture or the entire package at once.     I'm leaving the link here in case it's useful to anyone!   Installation and Execution:     Clone the repository:   https://github.com/Ak4n1/l2tool cd l2tool          2.Build the project:   ./gradlew build              3. Run the application:         ./run.bat      Or simply double-click on run.bat.    
    • Wtb full account or items on l2 warland 
    • https://discord.gg/k53SZ4DM5z   Interlude Client L2Old Pride is a L2 Pride Interlude Based All functional skills (Not archer/mage server)   L2Old Pride Helper (Works like Woundrous Cubic) https://imgur.com/iYqmHQY Farm Zones: Cave of Trials and Elven Ruins (Chaotic) Olympiads: Every 15 days Various Cosmetic Items https://imgur.com/uoeU6Jw https://imgur.com/oCS2Zed PvP Zone: Gludin Village (No-Parties, Disguised) More than 100 new Skills https://imgur.com/6RaPsQV Max Level: 90 https://imgur.com/z4QVJKZ Gaining Xp by PVP https://imgur.com/LRqI31T Purchasable S-grade items +10 or +20 with random chance to enchant +5 Purchasable Custom Items Depends on Tier Mysterious Merchants https://imgur.com/2ZwWyPH Auto Enchant Via PvPing (with low chance) Custom Raid Bosses Siege Every Weekend (Aden, Rune, Giran) Autofarm / Drop Tracker https://imgur.com/Vz3rha6   RATES: • Start Level 80 • Max level 90  • EXP: 5000x • SP: 5000x • ADENA 6000x   ENCHANT: • Maximum enchant S Grade Items: +35. • Maximum enchant Unique/Epic Items: +25. • Maximum enchant Legendary Items: +18. • Maximum enchant Relic Items: +14. •Descriptions for rate at scrolls!   EVENTS: • TEAMS vs TEAMS • CAPTURE THE FLAG • DOMINATION • DEATH MATCH • DICE OF DEATH • CHAOTIC ZONE   OTHERS: Assistance system in pvps. Where support classes are enabled to receive pvp with a low chance, for supporting a party member during pvp. •  /sit to regen HP/MP/CP • Custom Shots Glows https://imgur.com/FLK0DmR • Achievements System • Daily Tasks System • Monthly Tasks System   CUSTOM ARMORS SETS Dread Armor/Titanium Armor Pride Armor Rykros Armor https://imgur.com/SPxoQp1   CUSTOM WEAPONS SETS Unique Weapons Pride Weapons Legendary Weapons Relic Weapons https://imgur.com/kOHNXhS   CUSTOM ACCESSORIES Standard Superior Legendary https://imgur.com/zPqNiiX   CUSTOM JEWELS/TATTOO Legendary Nightmarish https://imgur.com/gcqS28P There are many more features that you will only understand by playing and following. Beta testing server is currently open. Follow us on our discord and join our server to test it.
    • You shouldn't use rev 382, not sure why everyone keep using that.   I don't make changesets for fun, I don't make new revisions for nothing.   Follow the revisions.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock