Thread: Making an action button donator only...

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Making an action button donator only... 
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Alright so here is my code.

    case 28164:

    if (c.donator == 1) {
    c.q1help();
    } else if (c.donator != 1) {
    c.sM("Donator only quest.");
    }
    break;

    i compiled and i got no errors.

    how do i fix this?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    ugh...i even added this:

    public void q1help() {
    sendQuest("Lost city", 8144);
    clearQuestInterface();
    if(q1 == 0 && donator == 1) {
    sendQuest("I can start this quest by talking to the Warrior.", 8147);
    sendQuest("He is located outside Lumbridge castle..", 8148);
    sendQuest("You will need the following requirements:", 8149);
    sendQuest("40 Woodcutting", 8150);
    sendQuest("40 Fletching", 8151);
    sendQuest("And be able to fight a few high levels", 8152);
    }
    Still no errors when i compile and its still not working.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2008
    Posts
    842
    Thanks given
    81
    Thanks received
    53
    Rep Power
    0
    You won't have correct Donator rights on your account.
    Reply With Quote  
     

  4. #4  
    Registered Member
    PSNB's Avatar
    Join Date
    Aug 2009
    Posts
    885
    Thanks given
    8
    Thanks received
    103
    Rep Power
    590
    Are you sure you're not using the wrong buttonId?

    And why do people insist on using integers for true/false things? I've yet to understand why.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    I think it's my compiler. i just test some other stuff...nothing i change is working...here is my compiler.

    Whats wrong with it?

    @echo off
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    "%programfiles%\Internet Explorer\iexplore.exe" http://java.sun.com/javase/downloads/index.jsp
    :end
    echo Finished!
    pause
    cls
    compiler.bat
    pause
    Reply With Quote  
     

  6. #6  
    Registered Member
    PSNB's Avatar
    Join Date
    Aug 2009
    Posts
    885
    Thanks given
    8
    Thanks received
    103
    Rep Power
    590
    Quote Originally Posted by izynna View Post
    I think it's my compiler. i just test some other stuff...nothing i change is working...here is my compiler.

    Whats wrong with it?
    Compilers are so overly complicated... Why do people have to do that?

    Code:
    @echo off
    "PATH_TO_JAVAC.EXE" *.java
    pause
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Still nothing...

    for some reason it compiles...gets no errors...but nothen saves...i change the char. files rights...and as soon as i open it..my rights are 0 again...is there an anti leach in the source?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    Try this.

    Code:
    if(donator >= 1) {
        sM("SEX ME BABY!!!");
    }
    in initialize.

    If it won't work, you're calling the int incorrectly.
    Reply With Quote  
     

  9. #9  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    29
    Posts
    5,031
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Tbh that's fucked if it's not compiling. I've never seen that happen before. Try reinstalling java maybe.

    Reply With Quote  
     

  10. #10  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    Lul.. There's no way in hell Java's fucked..

    Human error is much more prevalent than mutated code..
    Reply With Quote  
     

Page 1 of 2 12 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
  •