Thread: I've got a few problems with Galkons Base[REF]

Results 1 to 5 of 5
  1. #1 I've got a few problems with Galkons Base[REF] 
    TzTok

    Join Date
    Apr 2008
    Age
    30
    Posts
    1,870
    Thanks given
    20
    Thanks received
    21
    Rep Power
    432
    Well it's been ages since I last worked on RSPS as much as now.. and a lot things changed.. now. my first problem is probably simpliest one ever.. but..

    I was trying to add Deemed's Welcome screen, i added his methods(the ones needed) and replaced the ones I already had.. BUT!

    Code:
    .\RSInterface.java:240: addSprite(int,int,java.lang.String) in RSInterface canno
    t be applied to (int,java.lang.String)
                    addSprite(19001, "WelcomeB");
                    ^
    .\RSInterface.java:244: addSprite(int,int,java.lang.String) in RSInterface canno
    t be applied to (int,java.lang.String)
                    addSprite(19005, "LargeO");
                    ^
    .\RSInterface.java:245: addSprite(int,int,java.lang.String) in RSInterface canno
    t be applied to (int,java.lang.String)
                    addSprite(19006, "MediumO");
                    ^
    .\RSInterface.java:246: addSprite(int,int,java.lang.String) in RSInterface canno
    t be applied to (int,java.lang.String)
                    addSprite(19007, "SmallO");
                    ^
    .\RSInterface.java:347: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite1 = imageLoader(imageName);
                                  ^
    .\RSInterface.java:348: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite2 = imageLoader(imageName);
                                  ^
    .\RSInterface.java:382: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite1 = imageLoader(name);
                                  ^
    .\RSInterface.java:383: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite2 = imageLoader(name);
                                  ^
    .\RSInterface.java:427: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite1 = imageLoader(spriteName);
                                  ^
    .\RSInterface.java:428: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite2 = imageLoader(spriteName);
                                  ^
    10 errors
    Jatka painamalla mitä tahansa näppäintä . . .
    I've got absolutely no idea what that means. I've never seen such error.


    OK, my second error is that I tried to add fucking huge bundle of models BUT somewhy the female models WONT load. like, i changed my char to male to test if they worked, and like 80% of them worked with male.
    ^ I'm going to have a look into that myself as well as converting some other ints.

    ok.. and the last thing. where could I get HUGE bundle of methods for interfaces (addText and such) like all the ones that are useful.
    Reply With Quote  
     

  2. #2  
    Registered Member
    A nipple's Avatar
    Join Date
    Apr 2009
    Age
    28
    Posts
    426
    Thanks given
    34
    Thanks received
    22
    Rep Power
    193
    What that means is that you already have a method called addSprite and cannot be applied in this context. A way to get around this is by changing the method Deemed gave to
    Code:
    public void addSprite2
    Java is C++ without the guns, knives, and clubs
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    TzTok

    Join Date
    Apr 2008
    Age
    30
    Posts
    1,870
    Thanks given
    20
    Thanks received
    21
    Rep Power
    432
    uhm a new problem: cannot log in to 95% of servers, including delta and devolution 2,4 + 2,5. this started happening AFTER adding headicons. currently trying to find non-fucked up methods >.<
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2008
    Posts
    144
    Thanks given
    0
    Thanks received
    0
    Rep Power
    18
    Make sure you don't have the playerProps thing added in your player.java.


    Bringin' it back old School.....
    Reply With Quote  
     

  5. #5  
    Bot
    Bot is offline
    You're My Favourite!

    Join Date
    Aug 2007
    Posts
    1,282
    Thanks given
    485
    Thanks received
    72
    Rep Power
    1397
    Was you looking at the errors?
    Code:
    .\RSInterface.java:428: imageLoader(int,java.lang.String) in RSInterface cannot
    be applied to (java.lang.String)
                    tab.sprite2 = imageLoader(spriteName);
    imageloader(int, String) and you have imageloader(string) Your basicly doing that for all/most your errors


    [Only registered and activated users can see links. ]

    With Love, Bot.
    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
  •