Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • ASDss: where do u download source and clients now
      August 18, 2017, 10:39:31 PM
    • ASDss: yo
      August 18, 2017, 10:39:20 PM
    • dan v jad: click me 4 da fun ;)[link]
      August 18, 2017, 04:39:58 PM
    • stCky: Palidinho is your OpenGL (was it OpenGL?) stuff open source anywhere?
      August 16, 2017, 09:07:22 PM
    • Travas:BUILD THE WALL
      August 15, 2017, 09:28:49 PM
    • Travas: i have ass cancer
      August 15, 2017, 09:23:29 PM
    • stCky: what are the fudge are you tryna ask?
      August 15, 2017, 08:21:35 PM
    • bader: what are the rsps community alive ?
      August 15, 2017, 05:46:16 PM
    • bader: yo guys
      August 15, 2017, 05:46:08 PM
    • Spacehost:[link] Updated our thread :)
      August 15, 2017, 09:40:34 AM
    • Adaro: The client is in Download section at Homepage
      August 15, 2017, 01:09:20 AM
    • FaTe_Of_GoDs: where do i get the client?????????????
      August 14, 2017, 05:23:14 PM
    • stCky: can anyone help me? I cant login to the shoutbox
      August 13, 2017, 05:45:15 PM
    • drubrkletern: appeal denied
      August 13, 2017, 02:35:27 PM
    • King_Trout:[link]
      August 13, 2017, 11:17:12 AM
    • Cole1497: no sorry
      August 13, 2017, 10:27:14 AM
    • ayz: yo can anyone explain something to me
      August 13, 2017, 08:08:51 AM
    • coolking12: Hi
      August 13, 2017, 04:16:06 AM
    • stCky: n+1
      August 11, 2017, 06:09:24 PM
    • PalidinoDH: How many more pages are going to show errors before this dude gets on and fixes shit
      August 11, 2017, 04:57:00 PM

    Author Topic: Tradeable/Untradeable  (Read 206 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineQold

    • Member
    • **
    • Posts: 9
    • Thanks: +0/-0
      • View Profile
    Tradeable/Untradeable
    « on: May 27, 2015, 09:44:38 PM »
    Okay, So I'm using the source Rune-evo 3 Source and I might say it's a pretty nice source, But I have one problem that even I can't seem to figure out.
    How do I make the Partyhats Tradeable. I've tried everything and I can't seem to figure it out :/ I would greatly appreciate your help =]

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Tradeable/Untradeable
    « Reply #1 on: May 27, 2015, 11:33:37 PM »
    Have you really tried everything?
    Because "everything" would imply you tried the actual solution... which would mean you had fixed it at some point.

    https://www.rune-server.ee/runescape-development/rs-503-client-server/snippets/455063-718-fixing-tradeable-untradeable-items.html
    ^Try that.

    OfflineQold

    • Member
    • **
    • Posts: 9
    • Thanks: +0/-0
      • View Profile
    Re: Tradeable/Untradeable
    « Reply #2 on: May 28, 2015, 12:17:10 PM »
    Have you really tried everything?
    Because "everything" would imply you tried the actual solution... which would mean you had fixed it at some point.

    https://www.rune-server.ee/runescape-development/rs-503-client-server/snippets/455063-718-fixing-tradeable-untradeable-items.html
    ^Try that.
    Yeah, I already tried that. Didn't work ;/

    Offlinesorecheeny

    • Member
    • ****
    • Posts: 495
    • Thanks: +0/-0
      • View Profile
    Re: Tradeable/Untradeable
    « Reply #3 on: May 28, 2015, 12:32:21 PM »
    If you had an IDE it'd probably be heaps easier? Most likely in some sort of item definition..
    First go into client.jar (client sided)

    LOL.

    OfflineStr mage123

    • Member
    • **
    • Posts: 42
    • Thanks: +0/-0
      • View Profile
    Re: Tradeable/Untradeable
    « Reply #4 on: June 01, 2015, 07:46:10 AM »
    Go in a file called ItemConstants.java
     Find
    Code: [Select]
    public static boolean isTradeable(Item item) {
    It should be something like this
    Code: [Select]
    public static boolean isTradeable(Item item) {
    if (item.getDefinitions().getName().toLowerCase()
    .contains("flaming skull"))
    return false;
    String name = ItemDefinitions.getItemDefinitions(item.getId())
    .getName().toLowerCase();
    if (name.contains("lucky")
    || name.contains("arcane stream")
    || name.contains("quickfire")
    || name.contains("Boss Token")
    || name.contains("doomcore")
    || name.contains("rusty")
    || name.contains("chaotic")
    || name.contains("primal longsword")
    || name.contains("primal maul")
    || name.contains("primal rapier")
    || name.contains("fezs")
    || name.contains("farseer kiteshield")
    || name.contains("mercenary")
    || name.contains("eagle-eye")
    || name.contains("tokhaar-kal")
    || name.contains("fire cape")
    || name.contains("curry")
    || name.contains("defender"))
    return false;
    switch (item.getId()) {
    case 6529: // tokkul
    case 24155:
    case 20767: //max cape
    case 20768:
    case 7453: //Culin Gloves Start
    case 7454:
    case 7455:
    case 7456:
    case 7457:
    case 7458:
    case 7459:
    case 7460:
    case 7461:
    case 7462: //Culin Gloves End
    case 20748:
    case 20749:
    case 20752:
    case 20753:
    case 773:
    case 20754:
    case 20769:
    case 20770:
    case 20771:
    case 20772:
    case 24154:
    case 18201:
    case 18351:
    case 18349:
    case 18357:
    case 18355:
    case 18353:
    case 17293:
    case 24575:
    case 16955:
    case 16425:
    case 16403:
    case 12852:
    case 6382:
    case 6383:
    case 18361:
    case 18363:
    case 18347:
    case 23659:
    case 23660:
    case 23661:
    case 6570:
    case 2011:
    case 2012:
    return false;
    default:
    return true;

    If it says || name.contains("partyhat") Then delete the whole line, if its still untradeable look for codes here in the "case" bits. I mean partyhat codes.
     For example
     case 1042 < Thats blue partyhat, remove it from the method.. Just remove everything thats got to do with partyhats in that method.. It should be tradeable.
    « Last Edit: June 01, 2015, 07:47:44 AM by Str mage123 »

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal