chapterhouse Posted February 7, 2008 Posted February 7, 2008 been searching around, thought i found one once but cant find it agin little help plz
sltbnjr Posted February 7, 2008 Posted February 7, 2008 here's a cheap workaround I made it sets your SP count to your CP percentage because walker has CharStatus(sp the walker script itself is simple to do var i : integer; tempi : integer; tempi2 : integer; fieldType : integer; fieldValue : integer; selfObjID : integer; curCP : integer; maxCP : integer; cpRatio : single; begin if strcmp(copy(_gBuff,3,1),#$04) and _gFromServ then begin ScanPck5(_gBuff,20,'d',selfObjID,null,null,null,null); end; if strcmp(copy(_gBuff,3,1),#$0E) and _gFromServ then begin scanpck5(_gBuff,4,'dd',tempi,tempi2,null,null,null); if(tempi = selfObjID) then begin for i := 0 to tempi2-1 do begin scanpck5(_gbuff,12+i*8,'dd',fieldType,fieldValue,null,null,null); if(fieldType = $21) then curCP := fieldValue; if(fieldType = $22) then maxCP := fieldValue; end; end; end; if(maxCP>0) then begin cpRatio := curCP / maxCP; if(cpRatio<1) then begin GSys.EnSendC(FormatPck('%cdddd',[$0E,selfObjID,1,$0D,cpRatio*100])); end; end; end.
DNEEJ Posted February 7, 2008 Posted February 7, 2008 here's a cheap workaround I made it sets your SP count to your CP percentage because walker has CharStatus(sp the walker script itself is simple to do Where and how use this script?
divine Posted February 7, 2008 Posted February 7, 2008 Script is for PPC module of WPF http://saur.x33.ru
DNEEJ Posted February 7, 2008 Posted February 7, 2008 Script is for PPC module of WPF http://saur.x33.ru Ohh...now i am undertand more...but need something explain and then would be nice... BWt, anyone know how to lunch IG on L2Frozen server i need it really, ofc working one, cuz i can run game, but cannt log in...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now