SSZone

Hello..
It takes only 1 minute to register!

Join the forum, it's quick and easy

SSZone

Hello..
It takes only 1 minute to register!

SSZone

Would you like to react to this message? Create an account in a few clicks or log in to continue.

5 posters

    [Fun]Coding help? :)

    Poll

    Did you manage to fix it/see it?

    [ 2 ]
    [Fun]Coding help? :) I_vote_lcap100%[Fun]Coding help? :) I_vote_rcap [100%] 
    [ 0 ]
    [Fun]Coding help? :) I_vote_lcap0%[Fun]Coding help? :) I_vote_rcap [0%] 
    [ 0 ]
    [Fun]Coding help? :) I_vote_lcap0%[Fun]Coding help? :) I_vote_rcap [0%] 

    Total Votes: 2
    Poll closed
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty [Fun]Coding help? :)

    Post by undefinedz Sun Aug 12, 2012 3:28 am

    if anyone helps me to fix this you'll get a cookie Wink

    switch(itemId) {
    case 2717;
    c.getItems().deleteItem(itemId, 1);
    casket.addCasketreward(c, 2);
    break
    }


    This has just been posted for fun, you'll also get a cookie if you know what it is/does Smile

    A bit harder: it gives a compile error it points at the lowercase c in casket and says "variable c not declared"

    Rojeh if you know the answer don't tell Wink

    NOTE: This is Project Insanity's (PI) source its 317 and not delta's source Wink


    Last edited by undefinedz on Mon Aug 13, 2012 2:58 pm; edited 1 time in total
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by undefinedz Mon Aug 13, 2012 12:59 am

    Aww nobody????

    Come on do a guess Razz
    Rojeh
    Rojeh
    Owner of SSZone
    Owner of SSZone


    Posts : 550
    Join date : 2012-08-02
    Age : 27
    Location : Everywhere

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by Rojeh Mon Aug 13, 2012 2:12 am

    nice one Wink
    deadresident
    deadresident
    Member
    Member


    Posts : 225
    Join date : 2012-08-03
    Age : 29
    Location : Canada

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by deadresident Mon Aug 13, 2012 4:23 am

    Twisted Evil that isnt for changing background?
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by undefinedz Mon Aug 13, 2012 2:57 pm

    deadresident wrote:Twisted Evil that isnt for changing background?

    Hmm it has nothing to do with background or any visual effects and is for runescape itself 1 tip its uhmm, a "reward" system Razz
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by undefinedz Mon Aug 13, 2012 5:29 pm

    meh i'll post the fix soon. guess nobody likes java lol.
    deadresident
    deadresident
    Member
    Member


    Posts : 225
    Join date : 2012-08-03
    Age : 29
    Location : Canada

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by deadresident Mon Aug 13, 2012 5:33 pm

    fuck java no time to spend there Razz
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by undefinedz Mon Aug 13, 2012 7:53 pm

    deadresident wrote:fuck java no time to spend there Razz


    Hahaha xD this is the fix:

    switch(itemId) {
    case 2717:
    c.getItems().deleteItem(itemId, 1);
    Casket.addCasketreward(this, 2);
    break;
    }

    what it is,
    is when you click on the item.
    c.getItems().deleteItem(itemId, 1);
    that happens, wich makes you get an item and delete the item you clicked on, the Casketreward sounds pretty self explaining then.

    so its a reward system:

    you click on the casket the casket gets deleted and you get an item.

    just like the mystery boxes in soulsplit Very Happy
    Extreme Saan
    Extreme Saan
    Member
    Member


    Posts : 42
    Join date : 2012-08-05

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by Extreme Saan Mon Aug 13, 2012 10:50 pm

    Undefindz when will soulscape be up? looking forward to playing:P

    deadresident
    deadresident
    Member
    Member


    Posts : 225
    Join date : 2012-08-03
    Age : 29
    Location : Canada

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by deadresident Mon Aug 13, 2012 10:53 pm

    im waiting till he send me beta but i fking hope its not on rsps.org

    or i will simply not play :S
    dr4goncl5ws
    dr4goncl5ws
    Active member
    Active member


    Posts : 406
    Join date : 2012-08-08
    Location : United States

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by dr4goncl5ws Tue Aug 14, 2012 1:35 am

    Omg I don't even know that much coding and I think i know what it is, isn't it for the casket reward you get after like a treasure trail or something?
    deadresident
    deadresident
    Member
    Member


    Posts : 225
    Join date : 2012-08-03
    Age : 29
    Location : Canada

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by deadresident Tue Aug 14, 2012 2:22 am

    answer got already telled lol
    dr4goncl5ws
    dr4goncl5ws
    Active member
    Active member


    Posts : 406
    Join date : 2012-08-08
    Location : United States

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by dr4goncl5ws Tue Aug 14, 2012 2:34 am

    Yeah haha I see that now Razz
    undefinedz
    undefinedz
    Member
    Member


    Posts : 241
    Join date : 2012-08-03
    Location : Netherlands

    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by undefinedz Thu Aug 16, 2012 4:06 am

    oh forgot to close the topic oops

    -topic closed

    Sponsored content


    [Fun]Coding help? :) Empty Re: [Fun]Coding help? :)

    Post by Sponsored content


      Current date/time is Sun Apr 28, 2024 5:19 am