Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Travas: racist bigot
      January 15, 2018, 09:33:12 PM
    • stCky: wheres the fun in that you immagint synthesizer
      January 15, 2018, 09:24:14 PM
    • Travas: no trump no kkk no fascist usa
      January 15, 2018, 09:11:29 PM
    • stCky: im lit
      January 15, 2018, 07:49:10 PM
    • Travas: hi
      January 15, 2018, 07:21:21 PM
    • runerunerune: hi
      January 15, 2018, 05:44:20 AM
    • shulker: anyone selling onyx? trade me in game ill negotiate an offer for like 5 trades per person
      January 15, 2018, 12:56:09 AM
    • Travas: o shit wadup
      January 14, 2018, 11:59:49 PM
    • stCky: pass me that blunt boi u know whats up
      January 14, 2018, 06:50:41 PM
    • Travas: TITS and ASS
      January 14, 2018, 02:43:33 PM
    • stCky: the connection quality is poor and i have trouble understanding your communications due to the line quality
      January 14, 2018, 02:14:29 PM
    • TinyScape: jesus
      January 14, 2018, 10:45:28 AM
    • drubrkletern: yes
      January 14, 2018, 02:47:33 AM
    • Travas: TITS and ASS
      January 13, 2018, 11:18:29 PM
    • stCky: what do u mean
      January 11, 2018, 09:30:09 PM
    • drubrkletern: hi
      January 11, 2018, 08:33:48 PM
    • Ruger: i love TITS and ASS
      January 11, 2018, 07:40:45 AM
    • Ruger: hellooo  its me, Dallas
      January 11, 2018, 07:40:35 AM
    • stCky: i didnt
      January 09, 2018, 07:42:55 PM
    • Cole1497: do you mind if
      January 08, 2018, 11:04:27 PM

    Author Topic: I need help with combat please  (Read 488 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinedirtybubble

    • Member
    • **
    • Posts: 10
    • Thanks: +0/-0
      • View Profile
    I need help with combat please
    « on: December 09, 2015, 10:30:40 AM »
    Hello everyone. I am new to java and coding and rsps. I am wanting to learn from scratch and found a blank source with pretty much nothing added except for orbs. There's no skills or anything. One of the things i can't seem to figure out is the combat. When I kill any npc, it always trains the attack skill. Ranged trains range but it won't train def if long range is selected. Magic wont will only train if u manually select each spell. Autocast wont work and if you use a staff, it wont use the spell. I just need some guidance as to how to fix this. Thanks.
    RS2Ad banner

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: I need help with combat please
    « Reply #1 on: December 10, 2015, 02:58:39 PM »
    If you are new to Java, then the worst thing you could (RSPS-wise) do is start with a blank source.

    The reason that is, is because if there's nothing there, you have nothing to learn from.

    Example:
    A server that has the logout packet functioning correctly would be a good benefit for someone who is attempting to understand the logout packet. They'd be able to reference that code as they write their own.


    Combat is also one of the more complex sides of RSPS, so you may want to hold out on that until you know what you're doing.
    Start small. Start with the easy skills, like thieving from an object. Then move onto bigger once you're better.
    RS2Ad banner

    Offlinedirtybubble

    • Member
    • **
    • Posts: 10
    • Thanks: +0/-0
      • View Profile
    Re: I need help with combat please
    « Reply #2 on: December 11, 2015, 02:36:53 PM »
    If you are new to Java, then the worst thing you could (RSPS-wise) do is start with a blank source.

    The reason that is, is because if there's nothing there, you have nothing to learn from.

    Example:
    A server that has the logout packet functioning correctly would be a good benefit for someone who is attempting to understand the logout packet. They'd be able to reference that code as they write their own.


    Combat is also one of the more complex sides of RSPS, so you may want to hold out on that until you know what you're doing.
    Start small. Start with the easy skills, like thieving from an object. Then move onto bigger once you're better.

    ya that makes sense. I see your point there. I just figured it would be easier to have a blank source and use other sources to look off of and try to figure out how its built then make the blank one how i want it. for the combat, i think i could figure it out, i just dont know where to look. i dont know what classes and files to look in.
    RS2Ad banner

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: I need help with combat please
    « Reply #3 on: December 11, 2015, 03:07:46 PM »
    I don't know what all you'd have to edit, either.
    As servers will vary with what code they have - however, most ones that came from the same base (Ex: Delta, PI) will have the most similarities (but this does not mean two servers released will be exactly identical).

    If you're on a 317 server, I'd assume the class would have "Combat" or "CombatAssistant" in the name.

     

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