Jump to content
  • 0

3rd Job Suit Problem


eaea

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  11/02/15
  • Last Seen:  

Hi,


 


I made a 3rd job suit using this code:



OnEquipScript: <" { changebase roclass(eaclass()|EAJL_THIRD); } ">
OnUnequipScript: <" {changebase Class;} ">

Everything works fine except for the Rune Knight with mount.


I tried to equip it to a Crusader with Peco and when I equip the suit, it changes into a Royal Guard with Gryphon, when I try to do it with a Knight mounted on Peco, it displays the mounted status but the Dragon Mount is not showing.


 


I also tried to change my job into an actual Rune Knight and tried to mount and the sprites works just fine.


 


I also tried to use the class_suits v1.2 script using an NPC. Same result.


 


Here is the before and after:


 


8F9MlKW.jpg?1


 


Again, if I used an actual RK job, it shows the mount:


 


l24XA30.jpg?1


 


 


EDIT:


 


I already tried AnnieRuru's suggestion from Hercules to patch my script.c but I still got the same result.



src/map/script.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/src/map/script.c b/src/map/script.c
index 54d8d33..bac464c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11238,6 +11238,9 @@ BUILDIN(changebase) {
return true;
}

+ if ( vclass == JOB_RUNE_KNIGHT && pc->readparam(sd,SP_CLASS) == JOB_KNIGHT && sd->sc.option & OPTION_RIDING )
+ sd->sc.option |= OPTION_DRAGON;
+
if(sd->disguise == -1 && vclass != sd->vd.class_)
pc->changelook(sd,LOOK_BASE,vclass); //Updated client view. Base, Weapon and Cloth Colors.


 Anyone have ideas how to fix this? Thank you!


Edited by eaea
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

I'm having a problem with this as well. Hope it could be  fixed.

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
Answer this question...

×   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.

×
×
  • Create New...