Jump to content

Recommended Posts

Posted

Hi, guys~

Currently, I'm working on my high five server language translation (English -> Korean). The process was good until I faced the quest NO.419 - GetAPet.

Translation of the NPC dialog html was successful but I got stuck at the final stage which is the final 10 questions part to get the wolf.

The followings are the sample code from Q00419_GetAPet.java. Base source from l2jserver.com.

 

LINKS.put(1110001, "<a action=\"bypass -h Quest Q00419_GetAPet 30731-14.html\">Can be used for item transportation.</a><br>");

 

htmltext = getHtm(player.getHtmlPrefix(), htmltext);
htmltext = htmltext.replace("<?reply1?>", LINKS.get(linkId + replyOffset1));
htmltext = htmltext.replace("<?reply2?>", LINKS.get(linkId + replyOffset2));
htmltext = htmltext.replace("<?reply3?>", LINKS.get(linkId + replyOffset3));
htmltext = htmltext.replace("<?reply4?>", LINKS.get(linkId + replyOffset4));
htmltext = htmltext.replace("<?reply5?>", LINKS.get(linkId + 5));

 

The red colored text is the part that I want to do the translation. But when I do so, I got the text broken in the game.

 

 

 

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.

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.

×
×
  • Create New...