chapterhouse Posted February 7, 2008 Share Posted February 7, 2008 been searching around, thought i found one once but cant find it agin little help plz Quote Link to comment Share on other sites More sharing options...
sltbnjr Posted February 7, 2008 Share 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. Quote Link to comment Share on other sites More sharing options...
DNEEJ Posted February 7, 2008 Share 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? Quote Link to comment Share on other sites More sharing options...
h0nz1k Posted February 7, 2008 Share Posted February 7, 2008 w8 when i will come from school i pm it u ;) Quote Link to comment Share on other sites More sharing options...
divine Posted February 7, 2008 Share Posted February 7, 2008 Script is for PPC module of WPF http://saur.x33.ru Quote Link to comment Share on other sites More sharing options...
DNEEJ Posted February 7, 2008 Share 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.