L2JMobius

C6 Q386_StolenDignity HTMLs and .Java

emilianoify · 6 · 2948

Offline emilianoify

  • Heir
  • **
    • Posts: 35
  • Try first after ask for help
Hi all guys :),

Q386_StolenDignity some problems with this quest:

1-Dont appear in Quest Window.
2-I cant play bingo.
3-Missing htmls.

So i adapt it from RUSacis to Mobius.

Here u can download HTMLs, .Java (Too you can delete Bingo.Java from ai.others)

**EDIT**

Mobius path and recommendations in my last posts applied.

https://mega.nz/file/WSZSEDLT#0JH-13fXiVrlRzW5wccf6lKMAlEnyXU38L9QZ5fT69U


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16085
-[this.] is not needed.

-CHANCES should be static and not be added in constructor.

-How constructor addition for Romp should look like.
Code: [Select]
addStartNpc(ROMP);
addTalkId(ROMP);

-Also created a collection method for addKillId so now you can add directly keyset as a parameter.
Code: [Select]
addKillId(CHANCES.keySet());
-Use equals instead of equalsIgnoreCase.

-Since MathUtil.MATRICE_3X3_LINES is only used by this script just add that constant in the same script.


Patch: https://pastebin.com/qp8mycpY


Offline emilianoify

  • Heir
  • **
    • Posts: 35
  • Try first after ask for help
When i try put "addKillId(CHANCES.keySet());"

I have this error: The method addKillId(int) in the type Quest is not applicable for the arguments (Set<Integer>) https://imgur.com/YcbWgMm

the another changes works fine.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16085

Offline emilianoify

  • Heir
  • **
    • Posts: 35
  • Try first after ask for help