about item.enc of ep8

Results 1 to 6 of 6
  1. #1
    Apprentice Mihai Alexandru is offline
    MemberRank
    Oct 2012 Join Date
    21Posts

    big grin about item.enc of ep8

    hello again rz comunity xD after the poroblem with mob.enc of ep8 i found a new problem item.enc...

    Yamachi template is usefull now they change the structure and the template cant read it correct
    somebody know how to make it compatible with ep2 client is the same problem like mob enc...

    $f1=FileOpen("mob.dec",16)
    $fs=FileGetSize("mob.dec")
    $x=FileRead($f1,$fs)
    FileClose($f1)
    $f2=FileOpen("mob.new.dec",18)
    For $z=1 To $fs Step 166
    $tmp=BinaryMid($x,$z,164)
    FileWrite($f2,$tmp)
    Next
    FileClose($f2)


    this is the code to convert mob enc ep8 to ep2
    CREDITS: x30unlimited

    just make it with auto it xD and will work

    now somebody know how we can add ep8 item.enc to ep2 ?


  2. #2
    .:: Why so Serious ::. schneemann101 is offline
    MemberRank
    Dec 2009 Join Date
    GermanyLocation
    420Posts

    Re: about item.enc of ep8

    Do you want to add new weapons or armour?

  3. #3
    Apprentice Mihai Alexandru is offline
    MemberRank
    Oct 2012 Join Date
    21Posts

    Re: about item.enc of ep8

    no i wanna use it full but i cant bcz got another strcture like mob.enc
    i just wanna know what i need to change x-x

  4. #4
    Logged in to "The World" TriEdge is offline
    MemberRank
    Sep 2010 Join Date
    467Posts

    Re: about item.enc of ep8

    you cant use so many items anyway lol

  5. #5
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: about item.enc of ep8

    Quote Originally Posted by TriEdge View Post
    you cant use so many items anyway lol
    Wanna bet ? xD

    EDIT: structure is changed, 400 -> 404 hexbytes / item
    uint limit_reputation -> int limit_reputation
    and some bytes moved around... I think if i have time i will make an Item EP 8 converter for EP 2.

    EDIT 2: WorldSvr can load more items without problem, just load it in IDA Pro and find the function and edit it. Have fun...
    Last edited by walkernight88; 05-11-12 at 10:25 AM.

  6. #6
    .:[5kR1p7 k1dd13]:. x30unlimited is offline
    MemberRank
    Jan 2009 Join Date
    367Posts

    Re: about item.enc of ep8

    $f1 = FileOpen("item.dec", 16)
    $f2 = FileOpen("item.new.dec", 18)
    While 1
    $x = FileRead($f1, 400)
    If @error = -1 Then ExitLoop
    $y1=BinaryMid($x,1,280)
    $y2=BinaryMid($x,284,116)
    $y3=Binary("0x00000000")
    FileWrite($f2,$y1)
    FileWrite($f2,$y3)
    FileWrite($f2,$y2)
    Wend
    FileClose($f1)
    FileClose($f2)
    lang: AutoIT



Advertisement