SillverShadow Posted June 14, 2018 Posted June 14, 2018 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 displayhttp://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
UgliBiBagli Posted June 16, 2018 Posted June 16, 2018 you cant just ask the server for those stats, unless its implemented on servers side
Sdw Posted June 16, 2018 Posted June 16, 2018 (edited) I have no idea what you think it's going to display, critical damage have no base unlike critical rate Edited June 16, 2018 by Sdw
SillverShadow Posted June 16, 2018 Author Posted June 16, 2018 i will manage to do it one way or another, thank you for your input
UgliBiBagli Posted June 16, 2018 Posted June 16, 2018 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
SillverShadow Posted June 16, 2018 Author Posted June 16, 2018 i did manage to do it "one way or another" and it shows me my lifesteal amount , critical damage and others :)
xxdem Posted June 17, 2018 Posted June 17, 2018 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 ? 1
ntellos Posted June 17, 2018 Posted June 17, 2018 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
SillverShadow Posted June 17, 2018 Author Posted June 17, 2018 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. 1
UgliBiBagli Posted June 17, 2018 Posted June 17, 2018 So its resolved server side and doesn't address the question you raised. Who would've thought...
SillverShadow Posted June 17, 2018 Author Posted June 17, 2018 it was resolved in a way i cant tell you, i didnt say it was server side. thank you for your input though, it didnt help at all.
xxdem Posted June 18, 2018 Posted June 18, 2018 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 1 1
Recommended Posts