Thread: [508]Help with an interface...[508]

Results 1 to 4 of 4
  1. #1 [508]Help with an interface...[508] 
    Pandemic Scape
    Guest
    Hey everyone, I am having a problem... I have decided to make a interface fully work, and I got the string child ids by running a loop of setString() to find them. That worked perfect, but now I need to figure out another part. There is a picture and I can't seem to find it's child id. I've tried to loop it with setItems() in Frames.java but it just crashes every time I call it. It's in a try { } catch (Exception e) format but it doesn't say anything... And yes I put the Misc.println("Exc: "+e+"!"); but it still doesn't say anything... I guess what I am asking for help on is the setItems() method... I need someone to explain the parameters. I know it is:
    Code:
     
    public void setItems(Player p, int interfaceId, int childId, int type, int[] itemArray, int[] itemAmt)
    But I don't know what the int type part is.. What is that? I have all of the others and I get an error in my client:
    Code:
     
    Error: PacketParser:2060 Class14:33 Class90:143 client:784 Applet_Sub1:485 Apple
    t_Sub1:156 java.lang.Thread.run | java.lang.NullPointerException | T2 - 255,179,
    179 - 1508,3092,3503 - 0,105,0,0,0,94,1,-12,127,43,2,127,51,2,127,52,2,127,44,2,
    127,45,2,127,53,2,127,46,2,127,47,2,127,55,2,127,116,35,127,48,2,127,49,2,127,50
    ,2,-128,0,0,
    I went to PacketParser line 2060 and all it was was (weird) a for loop...

    Anyone help please? I will rep++ if I can...

    Thanks for your time,

    Brandon

    ---------- Post added at 01:34 AM ---------- Previous post was at 01:32 AM ----------

    BTW the line 2060 in PacketParser.java is this loop:
    Code:
    for (int i_236_ = 0; i_236_ < class45.anIntArray795.length; i_236_++) {
    		    class45.anIntArray795[i_236_] = 0;
    		    class45.anIntArray774[i_236_] = 0;
    		}
    I honestly have no idea what it is...
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2008
    Age
    31
    Posts
    60
    Thanks given
    0
    Thanks received
    0
    Rep Power
    6
    It's an error with the client. Not the server.
    Reply With Quote  
     

  3. #3  
    Pandemic Scape
    Guest
    I thought that because the runserver.bat didn't catch any exception... But I don't know what it is... I think it doesn't have the right int type like I talked about...

    ---------- Post added at 02:07 AM ---------- Previous post was at 01:44 AM ----------

    Anyone else know a fix to this?
    Reply With Quote  
     

  4. #4  
    Pandemic Scape
    Guest
    Anyone?
    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
  •