Jump to content

Help L2jmobius C4 follow problem


Recommended Posts

Hello, Im running l2jmobius c4 server on Linux, and I encountered a problem, when running in dualbox the character on inactive l2 window doesn't follow the main one properly, it comes close and than snaps back to where it was.... server is running with original geodata, also tried switching to L2OFF geodata, didn't help... Any ideas?

Edited by FlatroON
Link to comment
Share on other sites

9 hours ago, FlatroON said:

Hello, Im running l2jmobius c4 server on Linux, and I encountered a problem, when running in dualbox the character on inactive l2 window doesn't follow the main one properly, it comes close and than snaps back to where it was.... server is running with original geodata, also tried switching to L2OFF geodata, didn't help... Any ideas?

There is a follow method, I don't know how it works on a mobius, but perhaps you should pay attention to it.

If, of course, you understand programming

Link to comment
Share on other sites

On 9/27/2021 at 1:47 AM, Psygrammator said:

There is a follow method, I don't know how it works on a mobius, but perhaps you should pay attention to it.

If, of course, you understand programming

 No I don't, nor I can find anything related to this problem online. That is the main problem I came across with this server, it really is a pain is the a.. for people playing with dualbox on my server, hope there is a fix for this.

Link to comment
Share on other sites

This is related with movement system (FOLLOW behavior part). Doubt what Mobius have enough knowledge to fix it. Possible it will be fixed as soon as he find where it could be taken as working code.

Link to comment
Share on other sites

Try this:

 

AbstractAI.java

 

_accessor.moveTo(_actor.isPlayable() ? pawn : null, pawn.getX(), pawn.getY(), pawn.getZ(), offset);

 

to

 

_accessor.moveTo(pawn.getX(), pawn.getY(), pawn.getZ(), offset);

 

  • Upvote 1
Link to comment
Share on other sites

13 hours ago, Trance said:

Try this:

 

AbstractAI.java

 

_accessor.moveTo(_actor.isPlayable() ? pawn : null, pawn.getX(), pawn.getY(), pawn.getZ(), offset);

 

to

 

_accessor.moveTo(pawn.getX(), pawn.getY(), pawn.getZ(), offset);

 

There is no such file on C4, found one on interlude from same developer but not on c4.

Link to comment
Share on other sites

13 hours ago, FlatroON said:

There is no such file on C4, found one on interlude from same developer but not on c4.

 

I took it from c4, it just could be with _actor for you.

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Trance said:

 

I took it from c4, it just could be with _actor for you.

Still can't find it, there are these 3 folders inside AI folder, and this is the list of all .java files

 

maxaction.jpg

maxaction3.jpg

maxcheat2.jpg

maxcheat4.jpg

Link to comment
Share on other sites

11 hours ago, FlatroON said:

Still can't find it, there are these 3 folders inside AI folder, and this is the list of all .java files

 

maxaction.jpg

maxaction3.jpg

maxcheat2.jpg

maxcheat4.jpg

 

AbstractAI.java is inside the core, not in the scripts.

org.l2jmobius.gameserver.ai

Edited by Trance
Link to comment
Share on other sites

12 minutes ago, Trance said:

 

AbstractAI.java is inside the core, not in the scripts.

org.l2jmobius.gameserver.ai

Ah, inside the source... Found one, there are two lines beginning with "_accessor.moveTo" and it's exactly set to what you suggested, so I guess it shouldn't be the problem. 

		// Calculate movement data for a move to location action and add the actor to movingObjects of GameTimeController
			_accessor.moveTo(pawn.getX(), pawn.getY(), pawn.getZ(), offset);


and 

			// Calculate movement data for a move to location action and add the actor to movingObjects of GameTimeController
			_accessor.moveTo(x, y, z);

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Posts

    • Skillgrp/skillname must edit - make space 🙂 and server side skills not work give error 🙂    
    • Hi @Hypest,   Haven't used aCis yet, what does the "augment skill chance" do and where do I find it?
    • You are really a stubborn , if you dont buy an antibot even if u do adrenaline will always be bypassed! 
    • Copy augment skill chance and it will work
    • Hey guys,   I have been having some fun on my homerun server for a while now, but Freya is not the most popular chronicle and I have put so many hours into this pack that I am really hesitant of switching to Interlude and especially to a new, virgin pack. Can any of you check if this skill works in aCis Interlude? Perhaps provide a screenshot of proof even? I would be really thankful.   Here is what it is supposed to do: If you add Divine Elevation skillID 15000 to yourself, each basic weapon attack you do will have a 20% chance to proc the next level of Divine Elevation. Each level will give you atkspd, p.atk and movement speed. Once Divine Elevation reaches lvl 5, it will stay lvl 5 and it will keep refreshing itself.   From the way it looked, the XML side of IL aCis it doesn't seem to differ too much from the way default L2J was built, so I am hopeful.   Server Side:       <skill id="15000" levels="1" name="Divine Elevation">         <set name="activationChance" val="20" />         <set name="chanceType" val="ON_HIT" />         <set name="magicLvl" val="81" />         <set name="operateType" val="OP_PASSIVE" />         <set name="skillType" val="BUFF" />         <set name="target" val="TARGET_SELF" />         <set name="triggeredId" val="15001" />         <set name="triggeredLevel" val="1" />     </skill>          <skill id="15001" levels="5" name="Divine Elevation">         <table name="#abnormalLvl"> 2 3 4 5 5 </table>         <table name="#activationChance"> 20 20 20 20 20 </table>         <table name="#triggeredLevel"> 2 3 4 5 5 </table>         <table name="#atkspd"> 50 75 100 125 150 </table>         <table name="#patk"> 100 200 300 400 500 </table>         <table name="#runspd"> 4 8 12 16 20 </table>         <set name="skillType" val="BUFF" />         <set name="target" val="TARGET_SELF" />         <set name="operateType" val="OP_ACTIVE" />         <for>             <effect name="ChanceSkillTrigger" Time="10" triggeredId="15001" triggeredLevel="#triggeredLevel" activationChance="#activationChance" chanceType="ON_HIT" stackOrder="#abnormalLvl" stackType="holy_elevation" val="0">                 <add order="0x40" stat="pAtkSpd" val="#atkspd" />                 <add order="0x40" stat="pAtk" val="#patk" />                 <add order="0x40" stat="runSpd" val="#runspd" />             </effect>         </for>     </skill>         Client Side:   skillgrp:   15000    1    2    0    -1    0    0.00000000    0            icon.skill1430    0    0    0    0    -1    -1 15001    1    1    27    -1    0    0.00000000    0    B    skill.white.1218    icon.skill1430    0    0    0    0    8    10 15001    2    1    27    -1    0    0.00000000    0    B    skill.white.1218    icon.skill1430    0    0    0    0    8    10 15001    3    1    27    -1    0    0.00000000    0    B    skill.white.1218    icon.skill1430    0    0    0    0    8    10 15001    4    1    27    -1    0    0.00000000    0    B    skill.white.1218    icon.skill1430    0    0    0    0    8    10 15001    5    1    27    -1    0    0.00000000    0    B    skill.white.1218    icon.skill1430    0    0    0    0    8    10     skillname-e:   15000    1    a,Divine Elevation Trigger\0    a,Has a 20% chance to trigger divine elevation lvl 1. Each level grants +50 attack speed, +100 P.atk and +4 movement speed.\0    a,none\0    a,none\0 15001    1    a,Divine Elevation Lvl1\0    a,Has a 20% chance to trigger divine elevation lvl 2. Grants +75 attack speed, +200 P.atk and +8 movement speed.\0    a,none\0    a,none\0 15001    2    a,Divine Elevation Lvl2\0    a,Has a 20% chance to trigger divine elevation lvl 3. Grants +100 attack speed, +300 P.atk and +12 movement speed.\0    a,none\0    a,none\0 15001    3    a,Divine Elevation Lvl3\0    a,Has a 20% chance to trigger divine elevation lvl 4. Grants +125 attack speed, +400 P.atk and +16 movement speed.\0    a,none\0    a,none\0 15001    4    a,Divine Elevation Lvl4\0    a,Has a 20% chance to trigger divine elevation lvl 5. Grants +150 attack speed, +500 P.atk and +20 movement speed.\0    a,none\0    a,none\0 15001    5    a,Divine Elevation Lvl5\0    a,Divine Elevation has reached its maximum potential, it will now slowly expire. Grants +150 attack speed, +500 P.atk and +20 movement speed.\0    a,none\0    a,none\0     P.S.: Yes, I could download IL aCis and test it myself, but I am lazy as f. and if this works, this could act as a share for whoever needs it. Thanks in advance, if any of you good-hearted, hard-working people decides to do this for me. 😛
  • 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 Disbaled AdBlock