Jump to content

Recommended Posts

Posted

I want to show "critical damage" STAT in the detail stat window 

i edited the interface.xdat to add the 2 things the other stats have, it shows the static text on the left but i need a way to get the value from server to client

http://prntscr.com/jup9cj

http://prntscr.com/jup8gl

 

so...how can i get the value of critical damage or skill reuse or any other stat a character has and display it as it does for patk matk etc?

 

what i found out so far :
DetailStatusWindow.uc is the one handling the stats display

http://prntscr.com/jup5vi
This one gets the info out of the packet( also in DetailStatusWindow.uc )

http://prntscr.com/jup6fb
but i cant find GetPlayerInfo ANYWHERE, i dont know how the stats are linked etc.

 

Any help is welcome

Posted (edited)

I have no idea what you think it's going to display, critical damage have no base unlike critical rate

Edited by Sdw
Posted
7 hours ago, SillverShadow said:

i will manage to do it one way or another

 

No you wont (if we speak client side only) because its not like you are allowed to grab anything you want from the server, its right there in your links. What client does is literally asking the server "what are the stats of my character?" in this case only changing the way server responds to this question is a viable solution.

 

Buuuut just for shit'n'giggles... theoretically what you could do is calculate the critical damage rate basing on the damage dealt, but then again this would require dealing the damage multiple times, it would have to be same skills/items/target etc etc - not worth it

Posted
15 hours ago, SillverShadow said:

i did manage to do it "one way or another" and it shows me my lifesteal amount , critical damage and others :)

 

can you be more specific about your research and what you've found ?

  • Upvote 1
Posted

I am willing to do some other client modifications myself, so it would be helpful if someone can show me some stuff. Even links can help me.

In example i want to hook my code in send login request ( or something relevant ).

 

Ty in advance

Posted

i found out that i dont need to even interact or use the packet that sends the stats to the client, our very skilled developer found a way to do it in an other way ( he said he would pref to keep his work to himself ) so i cant share it with you even if i wanted to :(

my idea of working around this is replacing the existing window with an html window and use that instead of detailstatuswindow since you can update values in htmlwindow on the go, but we didnt do that.

 

thanks for the help.

moderators can lock the topic since the issue was resolved.

  • Like 1
Posted
18 hours ago, SillverShadow said:

i found out that i dont need to even interact or use the packet that sends the stats to the client, our very skilled developer found a way to do it in an other way ( he said he would pref to keep his work to himself ) so i cant share it with you even if i wanted to :(

my idea of working around this is replacing the existing window with an html window and use that instead of detailstatuswindow since you can update values in htmlwindow on the go, but we didnt do that.

 

thanks for the help.

moderators can lock the topic since the issue was resolved.

 

tell him that as soon as you go live i will leach and share it without even trying to do it bymyself

  • Haha 1
  • Upvote 1
Guest
This topic is now closed to further replies.


  • Posts

    • why ban him, his name almost ressurected the forum   haiku: Kara walks in light, whispers drift like soft spring rain, time bows at his steps.   Arrays.stream(DeveloperBrain.getInstance().getThoughts()) .filter(Kara.class::isInstance) .map(Kara.class::cast) .filter(k -> Objects.nonNull(k.getCoffeeLevel())) .flatMap(k -> k.getExcuses().stream().map(e -> Map.entry(k, e))) .filter(e -> Optional.ofNullable(StackOverflow.getAnswerById( DeveloperBrain.getVariables().getInt("kara_ban_counter", 0))) .map(a -> a.isActuallyHelpful() == false) .orElse(true)) .findFirst() .filter(r -> Optional.ofNullable(Admin.getPatience()) .filter(p -> Admin.destroyPatience("KaraBanProcess", 1, true)) .isPresent()) .ifPresentOrElse(e -> { Admin.sendPacket(SystemMessage.sendString("Kara has been banned again.")); Admin.sendPacket(Sound.ITEMSOUND_ENCHANT_FAILURE.getPacket()); Admin.sendPacket(new MagicSkillUse(Admin, Kara.class, CommonSkill.BANHAMMER.getId(), 999, 1, 0)); }, () -> Admin.sendPacket(SystemMessage.sendString("Miracle! Kara survived without a ban... this time.")));
    • decrypt and encrypt is works...          
    • well,thx for your reply...i had solved my problem.its source data errors...the old Armorgrp.dat and Armorgrp-classic.dat exist errors...rly swired. about skillgrp-classic.dat,i decrypt and encrypt it,it works...but in Grand Crusade i didnot know if it exist Auto-cast.   BTW,i rly dont know why the Original .dat files exist lots errors.but my Client works good...rly sweird.   anyway,i didnot like Mobius L2ClientDat tool...but we need use it...coz there is no other tools to work with new l2 client. 客户端工具很难用,解密后加密不回去的,哪怕你不做任何修改都加密不回去。你可以试试台版客户端就知道了。
    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE LINEAGE2DEX - TOP PRICE !!!!! DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • I will search for.
  • Topics

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