Problem to use rPR in IRO

05/04/2012 18:53 ThiagoKasper#1
Hi guys, i've been playing ragnarok in IRO for a long time
This week i was trying use rPE to spam some skills, to my surprise none skill worked
anyone know if it is possible to use in IRO? Can teach me?

Looking the IRO packages and saw that they send two packages equal to the same skill a WS1.1 and WS2.0. think this is my problem! Any solution?

See:
[Only registered and activated users can see links. Click Here To Register...]

Using this filter for Cross Impact;

Code:
library rPE_ex;

uses
  windows,
  Winsock2,
  winsock,
  rpefuncs;

function Send_WS1(s: TSocket; var Buf : PChar; len, flags: Integer; pSendWs1, pRecvWs1, pSendWs2, pRecvWs2: Pointer; var IsWorking : Boolean):Integer; stdcall;
var
  CurHex: string;
  i : integer;
begin
  CurHex := GetBufferAsHex(buf, len);
  if (pos('7200',CurHex) <> 0) and (pos('00E607',CurHex) <> 0) then
  begin
     @Send_Callback := pSendWs1;
     for i := 0 to 20 do // the number how often this packet should be send
     begin
       sleep(7);    // delay you can chhose however you like (time in ms)
       SendPacket(s,CurHex);
     end;
  end;
  result := 0;
end;

procedure DLL_Load;
begin
 IntLog('C:\rpe_log.log');
end;

procedure DLL_UnLoad;
begin
 Running := false;
 EndLog;
end;

procedure DLLMain(dwR: integer);
begin
  case dwR of
    DLL_PROCESS_ATTACH:
      DLL_Load;
    DLL_PROCESS_DETACH:
      DLL_UnLoad;
  end;
end;

exports
 Send_WS1;
begin
  Running := true;
  DLLProc := @DLLMain;
  DLLMain(DLL_PROCESS_ATTACH);
end.
Sorry for poor english :)