can anyone tell me where i can find the part where the server is deciding whether the character sits on ground or on a static object?
there are two problems with sitable objects that i try to solve
- First: When Sitting on a Throne every other Character can do it as well. So you have several characters sitting on the same place. it should be possible only for the first character.....and only for the lord of a castle
- Second: Benches and Chairs on the fantasy island can be used too but with a strange sideeffect - character will float in the air + same problem as mentioned before.
So...to solve these problems we must check whether this static object is being used and also the conditions (Throne->Lord). So only one player can sit at the same time on the throne
Additionaly we have to fix the floating Problem on Fantasy Island. Ugly fix: Setting the actual colision radia to smaler ones. this fixes the floating problem but resilts in smaller player colision boxes (harder to target). to solve this we must get a check for sitting on static objects - if it is the case a players colision will become smaller to fit in the bench/chair he wants to sit on.
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.
L2jMobius has a variety of servers, that all are actively developed.
https://gitlab.com/MobiusDevelopment/L2J_Mobius
Better version if you donate 200 euros to the project? Yes.
https://l2jmobius.org
A tutorial is provided.
https://l2jmobius.org/forum/index.php?topic=3231.0
Please do not come if you cannot compile and test on your own.
MidnightSell team WTB/WTS GOLD TWW EU/US all servers
Cataclysm all servers
Payment Visa/Master/Btc/Eth/Trc-20/Erc-20 (all payments within 10 min)
For all question pls dm
Discord https://discord.gg/h8AN57qJjK
Or Telegram @MidnightSell
Question
snifi
Hello Cheaters,
can anyone tell me where i can find the part where the server is deciding whether the character sits on ground or on a static object?
there are two problems with sitable objects that i try to solve
- First: When Sitting on a Throne every other Character can do it as well. So you have several characters sitting on the same place. it should be possible only for the first character.....and only for the lord of a castle
- Second: Benches and Chairs on the fantasy island can be used too but with a strange sideeffect - character will float in the air + same problem as mentioned before.
So...to solve these problems we must check whether this static object is being used and also the conditions (Throne->Lord). So only one player can sit at the same time on the throne
Additionaly we have to fix the floating Problem on Fantasy Island. Ugly fix: Setting the actual colision radia to smaler ones. this fixes the floating problem but resilts in smaller player colision boxes (harder to target). to solve this we must get a check for sitting on static objects - if it is the case a players colision will become smaller to fit in the bench/chair he wants to sit on.
does anyone have an idea where to start? :)
4 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.
Note: Your post will require moderator approval before it will be visible.