Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How can i add collision to barrels from rifts?

Newbie Spellweaver
Joined
Jul 24, 2023
Messages
9
Reaction score
4
I just started with programming in emulators but a doubt arose, where can I find the ids of objects with collision to add to other objects, for example the barricades that have an id and a static_id that gives the collision and appearance
Example: Barricades of Gelkmaros
<!-- Barricade -->
<spawn npc_id="219599" respawn_time="300">
<spot x="465.5430" y="1823.3699" z="358.8571" static_id="4046"/>
<spot x="471.2525" y="1828.5531" z="358.8571" static_id="4048"/>
<spot x="662.6279" y="1857.0714" z="352.5313" static_id="4049"/>
<spot x="656.5058" y="1856.9066" z="352.7263" static_id="4051"/>
<spot x="707.0521" y="2037.0741" z="342.8170" static_id="4090"/>
<spot x="713.1741" y="2037.2389" z="342.6220" static_id="4091"/>
</spawn>
Where i find this number to add in data\static_data\spawns\Rifts\220070000_Gelkmaros.xml
Robyson can help me please :cool:
 
Last edited:
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,115
I just started with programming in emulators but a doubt arose, where can I find the ids of objects with collision to add to other objects, for example the barricades that have an id and a static_id that gives the collision and appearance
Example: Barricades of Gelkmaros
<!-- Barricade -->
<spawn npc_id="219599" respawn_time="300">
<spot x="465.5430" y="1823.3699" z="358.8571" static_id="4046"/>
<spot x="471.2525" y="1828.5531" z="358.8571" static_id="4048"/>
<spot x="662.6279" y="1857.0714" z="352.5313" static_id="4049"/>
<spot x="656.5058" y="1856.9066" z="352.7263" static_id="4051"/>
<spot x="707.0521" y="2037.0741" z="342.8170" static_id="4090"/>
<spot x="713.1741" y="2037.2389" z="342.6220" static_id="4091"/>
</spawn>
Where i find this number to add in data\static_data\spawns\Rifts\220070000_Gelkmaros.xml
Robyson can help me please :cool:
On Aion 3.5, 4.3 and 5.8 the Barricade files were added in ...\data\static_data\spawns\Npcs.
They are not in ...\static_data\spawns\Rifts\, because to work correctly the code needs to be fixed.
These fixes are only in my private files that are not shared.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 24, 2023
Messages
9
Reaction score
4
Really thank you my friend! I ended up finding it at the destination you indicated, but how are these numbers generated? Where do you get these numbers from? Thank you very much once again Robyson
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,115
Really thank you my friend! I ended up finding it at the destination you indicated, but how are these numbers generated? Where do you get these numbers from? Thank you very much once again Robyson
There are tools for this, an example is PacketSamurai and many others...


EDIT: Do some research on this, check out the threads and tutorials.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 24, 2023
Messages
9
Reaction score
4
There are tools for this, an example is PacketSamurai and many others...


EDIT: Do some research on this, check out the threads and tutorials.
I don't even have words to express my gratitude my friend! In a short time you helped me more than many I've known for years, if possible to have your contact I would be very grateful, it seems that you are Brazilian, if you have any way to send me your discord in private or whatsapp I would really like to surround myself with someone of high value like you
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,115
I don't even have words to express my gratitude my friend! In a short time you helped me more than many I've known for years, if possible to have your contact I would be very grateful, it seems that you are Brazilian, if you have any way to send me your discord in private or whatsapp I would really like to surround myself with someone of high value like you
I'm from Israel, but i have relatives in Brazil on my father's side.
Any questions if i have time, you can write here.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 24, 2023
Messages
9
Reaction score
4
I'm from Israel, but i have relatives in Brazil on my father's side.
Any questions if i have time, you can write here.
Wonderful! If you can make a step-by-step tutorial on how to add these static_id it will be of great help, I would really like to understand more in depth how to add this npc type with static_id, I also have other doubts about how to add an npc to be born at a certain time
 
Upvote 0
Back
Top