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.
×
×
  • Create New...