Jump to content
  • 0

[Request]Playername in HTML


Mitjuh

Question

14 answers to this question

Recommended Posts

  • 0

I don't have Eclipse here so I'll just write with what I remember.

For getting the player count:

L2World.getInstance().getAllPlayers().count;

For the HTML do something like this:

html.replace("%playerName%", getName());

Link to comment
Share on other sites

  • 0

can we add the number of online players on NPC ?

Offcourse.

Just name the variable w/e you want %onlinecount% html.replace("%onlinecount%", L2World.getInstance().getAllPlayers().count);

Link to comment
Share on other sites

  • 0

Just name the variable w/e you want %onlinecount% html.replace("%onlinecount%", L2World.getInstance().getAllPlayers().count);

 

:D .count?

 

.size is ;p

Pretty much the same in this case ^^

Link to comment
Share on other sites

  • 0

hmm downloaded eclipse followed the guide from l2j but i dont know how to install subversion anyone can help me with this?

Help > Software Updates > Available Software > Add Site > Add your Site.

Help > Software Updates > Available Software > Expand Subeclipse (Subversion) > Install the Required Files

Thats it ^^

Link to comment
Share on other sites

  • 0

I'll try it thanks

You're welcome.

These questions should not be answered here, either at L2jFree (Where meh works) or L2j the official home of both projects, there people will be more experienced with errors,etc ^^

Link to comment
Share on other sites

  • 0

%playerName%

%npcName%

%targetName%

%playerLevel%

%targetLevel%

 

you can edit the handlers and set it to read current/max hp ... etc

 

Hey i putted in the htm file %npcName%  but it doesnt work :S

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.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • Help plz i have this error   Has anyone had this happen to you? How do I solve it?  
    • ??? error   https://ibb.co/Srn4LsX No support  :S   No support : S ? :S @Lowness  ..... error, help   hey friend were you able to solve the problem? were you able to solve the problem?
    • I also think this feature would bring more harm than good... another example is a dwarf rushing against your mobs so he takes priority, then he plays fake death and proceeds to grief the shit out of you. A minimum damage threshold is necessary, which would basically converge to what is the default feature (i.e. biggest damage dealer)
    • I bought the premium to watch the video and it's private. 😢
    • For some Majestic reason OP can't edit their topics anymore?    Let me update the potential offers, I got up to 2 spots to fill.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1     A credible team that SGuard represents is looking for java developers.    These positions is full time only i.e. your time is mostly dedicated within the team and team tasks, side gigs are fine, as long as you are able to combine your gig and main.  All necessary tools are provided.  The team is consistent with > 10 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense OR Main (GOD) knowledge is needed.  Experience with l2r/l2p/l2s. mobius is fine too for referrence only. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard, java knowledge is optional.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that. There's a small 30min interview process to demonstrate knowledge and just to meet each other.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1
  • Topics

×
×
  • Create New...