Thread: Swats emote system for Refractored! (fixed)

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43
  1. #1 Swats emote system for Refractored! (fixed) 
    Registered Member
    Join Date
    Aug 2009
    Posts
    168
    Thanks given
    5
    Thanks received
    2
    Rep Power
    12
    Ok this guide is for Refractored clients
    It was tested on Galkons refractored : Works 100%

    do galkons current guide on this :
    [Only registered and activated users can see links. ]

    1. Go into your cache or Cache folder and make a folder called anim (make sure it is lower cased a)
    add these in that folder : [Only registered and activated users can see links. ] I have been told uppit doesnt work for some people so i put it on media fire------------> [Only registered and activated users can see links. ]

    now to fix the errors that will happen:

    2.open your new Animation.java, search for this:
    (if you did his guide correctly and replaced it this will be right at the top)

    Code:
        public static int FrameStart[] = new int[1800];
    now change that into this:
    Code:
       public static int FrameStart[] = new int[10000];
    what you have done: Now your Animation.java loads .dat files up to 10000 rather then 1800.dat fixing unpacking 86 error (only in refractored doesnt work with [hardcoding] New emote system)

    2.open Class36.java and find:
    Code:
    abyte0 = FileOperations.ReadFile(signlink.findcachedir() + "/anim/" + file + ".dat");
    now replace that line with this:
    (if your cache is not capital C change it to lower cased duh...)
    Code:
    abyte0 = FileOperations.ReadFile("./Cache/anim/"+file+".dat");
    4.you will need this file: [Only registered and activated users can see links. ] if the link doesnt work copy paste this in the address bar [Only registered and activated users can see links. ] Mediafire link cuz i heard uppit was being stupid ------------> [Only registered and activated users can see links. ]
    -now to add emotes for example swats dclaws for 317 open Animation.java
    under this:
    Code:
                    setAnimBase(j);
    and add this :

    Code:
    if(j == 6000){
    int file = 1919;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames  = {75,75,62,62,93,93,93,82,82,57,57,71,71,66,66,66,61,92,73,73,65,65,89,89,70,70,81,81,67,67,67,84,59,63,63,99,99,78,69,69,96,96,74,74,74,79,90,90,94,94,58,0};
    aClass20Array351[j].anInt352 = frames.length-1;
    aClass20Array351[j].anIntArray353 = new int[frames.length-1];
    aClass20Array351[j].anIntArray354 = new int[frames.length-1];
    aClass20Array351[j].anIntArray355 = new int[frames.length-1];
    aClass20Array351[j].anInt363 = 0;
    aClass20Array351[j].anInt364 = 0;
    for(int i2 = 0; i2 < frames.length-1; i2++){
    aClass20Array351[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
    aClass20Array351[j].anIntArray354[i2] = -1;
    aClass20Array351[j].anIntArray355[i2] = 1;
    }
    }
    Now this works for non Refractored but not Refractored, so What we do is change all of the:
    aClass20Array351 into anims
    so it ends up
    looking like this:
    Code:
    if(j == 6000){
    int file = 1919;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames  = {75,75,62,62,93,93,93,82,82,57,57,71,71,66,66,66,61,92,73,73,65,65,89,89,70,70,81,81,67,67,67,84,59,63,63,99,99,78,69,69,96,96,74,74,74,79,90,90,94,94,58,0};
    anims[j].anInt352 = frames.length-1;
    anims[j].anIntArray353 = new int[frames.length-1];
    anims[j].anIntArray354 = new int[frames.length-1];
    anims[j].anIntArray355 = new int[frames.length-1];
    anims[j].anInt363 = 0;
    anims[j].anInt364 = 0;
    for(int i2 = 0; i2 < frames.length-1; i2++){
    anims[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
    anims[j].anIntArray354[i2] = -1;
    anims[j].anIntArray355[i2] = 1;
    }
    }
    now last but not least take dumped.dat:
    rename it to 1919.dat and then add it to the anim folder. your done real dclaws emote on Galkons Refractored. the claw emote is set to ::emote 6000

    to change your ::emote so that it works with the new emote system open your source find the command in client.java
    your ::emote command and depending on what type of source you have it will show some thing like this in your ::emote (using delta as my example)

    Code:
    		if (emote < 3999 && emote > 0)
    Change the 3999 to 10001.
    Code:
    		if (emote < 10001 && emote > 0)
    this tells it emotes less then 10001 are not bad emote id's

    Credits:
    50% Swat
    30% Galkon
    20% Pr4y3r
    I'm making a devolution called universal rs

    update:
    Step 5:
    Make a new folder called Cache unless you already have one, in there you add another folder called anim, in there you add these files:
    [Only registered and activated users can see links. ]

    make sure the folder you make called anim has a lower cased A

    thats from swats so he gets 50% creds ty to Apower for reminding me to put this for people who havent read the original [hardcoding] new emotesystem (its for the non refractored but the anim folder is the same)
    Reply With Quote  
     

  2. #2  
    Registered Member
    DaraX's Avatar
    Join Date
    Apr 2009
    Posts
    1,183
    Thanks given
    18
    Thanks received
    29
    Rep Power
    262
    You just leeched this out of a Galkon's client.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2009
    Posts
    168
    Thanks given
    5
    Thanks received
    2
    Rep Power
    12
    dude your an idiot... i didnt leech it out of galkons... I fixed the errors that happen with his guide.... that was the point of this... he got 30% creds moron ... its not leech of anything..
    Especially when i put down the credits?
    l2read? does it say 100% to me? no..
    Reply With Quote  
     

  4. #4  
    JohnK
    Guest
    Thank you for this, I just started a battlescape client I really needed this, Thanks
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2009
    Posts
    168
    Thanks given
    5
    Thanks received
    2
    Rep Power
    12
    welcome
    Reply With Quote  
     

  6. #6  
    Registered Member
    Apower's Avatar
    Join Date
    Sep 2008
    Age
    27
    Posts
    824
    Thanks given
    7
    Thanks received
    15
    Rep Power
    94
    Explain the Dumped.dat file please.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Aug 2009
    Posts
    168
    Thanks given
    5
    Thanks received
    2
    Rep Power
    12
    its simple you just rename it from
    Code:
    dumped.dat
    to
    Code:
    1919.dat
    then put it in your anim folder

    if you dont have a folder called anim make one.

    edit: read step 5
    Step 5:
    Make a new folder called Cache or if you have one already capital or lower case C, in there you add another folder called anim. in there you add these files:
    [Only registered and activated users can see links. ]

    make sure it is lowercase A when you make anim.
    "anim"
    Reply With Quote  
     

  8. #8  
    Registered Member
    Apower's Avatar
    Join Date
    Sep 2008
    Age
    27
    Posts
    824
    Thanks given
    7
    Thanks received
    15
    Rep Power
    94
    ohh.. now i maybe finally understand how they system works lol.
    Never been good at client-sided, but i started with it yesterday.. done some interfaces etc. but never got this working. Thanks you very much. repped
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Aug 2009
    Posts
    168
    Thanks given
    5
    Thanks received
    2
    Rep Power
    12
    bumpage
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Sep 2009
    Posts
    1,723
    Thanks given
    45
    Thanks received
    81
    Rep Power
    269
    ty for credits


    Web Hosting | VPS | CDN | DDoS Protected Solutions
    Reply With Quote  
     

Page 1 of 5 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •