Jump to content
  • 0

{HELP} See HP/MP/CP in PVP??


Petosaur

Question

i had posted a similar topic some time ago..but i cant find it and its not in my posts list. So here it is again.

 

Anyone has any idea how can i see the the enemy's HP/MP/CP bars on my target window? (like the windows of my group mates for example)

 

And also if possible ,is there a way to see buffs,debuffs inflicted on target? (like next to their target window).

Link to comment
Share on other sites

Recommended Posts

  • 0

about hp/mp/cp on target window i dont rly think that it is possible but look at the observation mode of olympiad fights, there is something like that, u will need to see how it all work and maybe its possible to copy it

Link to comment
Share on other sites

  • 0

Yeah that was the first thing that i thought of doin' but my knowledge in jave is still kinda poor...

So even though it might be possible i dont know exactly where and what to look for!

Thanx for taking the time to answer however :)

Link to comment
Share on other sites

  • 0

this whole question is quite general to answer.

 

There is probably a connection of client with server in some file ,that says what "window" of information should be used when targeting a monster or player.

If anyone knows where java files call "info windows" and where in client those "windows" are...well any info is welcome...

 

(This is seriously bugging me, i cant find anything relevant throughout all the gameserver or client system..)

Link to comment
Share on other sites

  • 0

I am not sure but u will probably need to play with core, like use writeC, writeH methods but i dont know how they work exactly so i cant rly help you, look at serverpackets package, you have got a lot of examples over there

Link to comment
Share on other sites

  • 0

Duels and olympiads got their own packets to see enemy's statut bars. Pick what you prefer and send it with target's infos. About condition, it could be when you're in attackstance, when you're pvp flagged,...

 

Just search for duel, code is easily readable.

 

You can use 2 differents packets, effect will be slightly different, but integration is exactly the same and you can change of packet.

 

I won't give you too much infos, else it will spoil the victory.

Link to comment
Share on other sites

  • 0

Seriously thanx a lot for help.

Now the problem is that i have already searched through serverpackets and clientpackets and it is in fact a maze of helish giberish! (means i cant make any sense :D)

Although some things do tend to point to the correct direction...im missing some very important details...

 

Also i have no idea what those writeC, writeD etc are..

(i have so many other things to do with my server that sense of victory is not one of my primary concerns! so PLZ any info is welcome.

Remember im preety much a noob when it comes to l2j and java generaly so try to be "detailfull" if you can please)

Link to comment
Share on other sites

  • 0

i was wandering is there any possibility that i should be looking for client files as well as server files?

 

Im busting my head here and although its very easy to just give status updates for hp/mp/cp and buffs,debuffs i cant see where the target window is called from...!!

Link to comment
Share on other sites

  • 0

ExDuelUpdateUserInfo, ExOlympiadUserInfo

 

You have only to give the good L2PcInstance/object ID (depending of chronicle), packet does the work alone.

 

Search on a fresh clean Freya project for use of those packets.

Link to comment
Share on other sites

  • 0

I am one step away from giving up.....:(

 

I've tried many different things but up until now the only difference i have managed to make in the UI was:

 

Either tha lack of any target window, or

 

Showing both my hp/mp/cp bar as well as the enemy's when dueling...

 

Basically im just screwing the script doing nothing...Has anyone actually ever done what im discussing in this post?

Thanx for your patience tryskel yet still...im a noob :( (snif)

Link to comment
Share on other sites

  • 0

Be a clever noob then, check existing uses first, then code after.  ;)

 

I'm kinda busy those days, but if i got time i will test for fun.

Link to comment
Share on other sites

  • 0

Only just gave up for good...its facking impossible!!

My country is heading towards bankruptcy, i have no time to spare on undoable feats...

 

If anyone finds the EXACT way of doing this plz just share at some post..

Link to comment
Share on other sites

  • 0

Only just gave up for good...its facking impossible!!

My country is heading towards bankruptcy, i have no time to spare on undoable feats...

 

If anyone finds the EXACT way of doing this plz just share at some post..

 

If all ppl of your country are as lazy as ppl on this forum, it's normal then your country is heading to bankruptcy :P.

Link to comment
Share on other sites

  • 0

If all ppl of your country are as lazy as ppl on this forum, it's normal then your country is heading to bankruptcy :P.

wasnt nice :(

Link to comment
Share on other sites

  • 0

wasnt nice :(

 

But so true. And now they even do manifestations and stop to work to contest austerity plannings, lol. They didn't understand than stopping to work make lose money, so it adds bankruptcy to bankruptcy :P.

 


 

@topic, I gave the 2 possible packets, just understand how it is used and that's all. If you say "I don't understand" after looking at existing stuff, it's not you don't understand, it's you should stop any developement cause your logic is too low OR you're too much lazy. You can be both at same time too, that's not even worst in this case.

 

Just do some efforts and propose some code, even broken. I hate lamers.

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

    • Guys, if you'd let me be the bearer of bad news, No amount of "break from server development" can justify your complete lack of idea how things work. If it was this easy, you should've been seeing 90% of the servers of the popular old versions, such as IL and HF, running on the newest client. For this task, you would need a lot of time - think at least 2 months, if you can code, have access to all the necessary tools for client development, and you have a relatively good idea of how server<->client communication works. f you don't, then you either find yourself a well-paying job and find someone who would do it for you or you put the idea aside (for no less than 1-2 years) and start reading and learning asap. Let me give you a little preview/breakdown of what some of the work includes. The work can be split into two parts - SERVER side and CLIENT side.  The server and the client communicate through packets. Each of these packets has a defined structure. Both, the server and the client MUST know this structure and MUST use the same structure, otherwise they won't be able to "understand" each other. - The server side predominantly includes the alteration of existing packet structure and the creation (from zero) of missing packets that the client requires. Then you also have to take these changes into account and alter the existing features of your server to match the changes. A good example for this is SKILL ENCHANTING. On older chronicles, the enchant level is determined by the LEVEL value of the skill and on the new clients, it has been taken out into a separate value. What this means is that you would have to figure out a way to adapt the old system to the new requirements. - Now that we mentioned the client, you would also need to edit a bunch of files, such as Interface, UTX, UNR, as well as DAT files, including those related to ITEMS, SKILLS, QUESTS, NPCS, and AUGMENTATION STATS and DESCRIPTIONS, etc. For some of those, you would also have to figure out how to check for missing entries and how to parse data from the older client to the new. The best example, again, would be the SKILLS. On the latest clients, the skill enchanting was limited to only +20. As such, even if there were some matching skills between the two different client versions, you would still need to add the missing 10 levels to +30. And once you complete all of that, you start testing and fixing bugs and sh1t. And once you have fixed all of that, you can start adding new features from the new client, because otherwise it would be one big mess and a waste of time and/or money.
    • As far as I know, these are not linked to the server. What I mean by this is - there is no server <-> client communication for these two features. If that is indeed the case, you would need the Interface sources in order to create a custom function which you can trigger with a SERVER_TO_CLIENT packet.
    • Hello, I recently Installed the h5 Interface from emu-dev   Everything is working great but i was wondering if anyone can help me add the monster book and item book buttons on my community board to make it more accessible. Or if there is a way to add a button with HTML that calls these windows. I have xdat editor installed and i have located the relevant windows, but i don't know what to do with them. Thank you for your time.  
    • Add Support ShortCutPanel https://jumpshare.com/s/VTm9x1wvHmPokrqomNun
    • Καλησπερα μαγκες θα ηθελα εναν Dev ( που να γνωριζει καλα την δουλεια ) να ξεκινησουμε εξολοκληρου ενα Interlude PVP σερβερ που εχω στο μυαλο μου! Παρακαλω πολυ στειλτε μου προσωπικο στο προφιλ μου εδω για περαιτερω πληροφοριες! Ευχαριστω!
  • Topics

×
×
  • Create New...