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.

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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 Disabled AdBlock