Thread: What could this be?

Results 1 to 3 of 3
  1. #1 What could this be? 
    Registered Member
    Join Date
    Jul 2010
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1


    Anyone know? source is rune fusion (project insanity)

    its coming from this piece of code:

    Code:
        public static final boolean I(int height, int currentX, int currentY, int futureX, int futureY, int j1)
        {
            if(currentY == futureX && currentY == futureY)
                return true;
            Z z = new Z(futureX, futureY, height, 0);
            Z z1 = new Z(futureX, futureY, height, 1);
            int k1 = contains(futureX, futureY);
            int l1 = equals(currentX, currentY, futureX, futureY);
            C c1 = null;
            C c2 = null;
            if(k1 > 14000)
            {
                System.out.println((new StringBuilder()).append("error in WorldMap X: ").append(currentY).append(" Y: ").append(currentY).toString());
                return false;
            }
            if(VirtualWorld.I[k1] == null)
                return true;
            if(VirtualWorld.I[k1].containsKey(z))
                c1 = (C)VirtualWorld.I[k1].get(z);
            else
            if(VirtualWorld.I[k1].containsKey(z1))
                c2 = (C)VirtualWorld.I[k1].get(z1);
            if(c1 == null && c2 == null)
                return true;
            ArrayList arraylist = null;
            if(c1 != null)
                arraylist = c1.I;
            else
            if(c2 != null)
                arraylist = c2.I;
            for(Iterator iterator = arraylist.iterator(); iterator.hasNext();)
            {
                int i2 = ((Integer)iterator.next()).intValue();
                if(l1 == B.j[25])
                    return I(height, currentX, currentY, futureX - 1, futureY, j1) && I(height, currentX, currentY, futureX, futureY - 1, j1);
                if(l1 == B.j[26])
                    return I(height, currentX, currentY, futureX + 1, futureY, j1) && I(height, currentX, currentY, futureX, futureY - 1, j1);
                if(l1 == B.j[27])
                    return I(height, currentX, currentY, futureX + 1, futureY, j1) && I(height, currentX, currentY, futureX, futureY + 1, j1);
                if(l1 == B.j[28])
                    return I(height, currentX, currentY, futureX - 1, futureY, j1) && I(height, currentX, currentY, futureX, futureY + 1, j1);
                if(i2 != -1)
                {
                    if(j1 == 1 && VirtualWorld.I[k1].containsKey(z1))
                        return true;
                    if(j1 == 0 && VirtualWorld.I[k1].containsKey(z1) && i2 == l1)
                        return false;
                    if(VirtualWorld.I[k1].containsKey(z) && i2 == l1)
                        return false;
                } else
                {
                    if(j1 == 1 && VirtualWorld.I[k1].containsKey(z1))
                        return true;
                    if(j1 == 0 && VirtualWorld.I[k1].containsKey(z1))
                        return false;
                    if(VirtualWorld.I[k1].containsKey(z))
                        return false;
                }
            }
    
            return true;
        }
    In a file called I.java
    Reply With Quote  
     

  2. #2  
    Registered Member Zylsium's Avatar
    Join Date
    Jun 2010
    Posts
    111
    Thanks given
    2
    Thanks received
    2
    Rep Power
    3
    From the looks of it, it looks like you added something for npc clipping.
    Something that didnt settle good with your compiler :/

    Hmm, if you did a tut, I suggest going back over it and making you did everything right.
    And added all the methods.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2010
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    thats not the compiler, that error gets spammed in my run.bat
    Reply With Quote  
     


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
  •