Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Picter: Join us at Loyalty-scape.com! [link]
      Today at 12:47:35 AM
    • sedveka: bet pi
      June 20, 2018, 11:01:28 PM
    • sedveka: all join my server
      June 20, 2018, 11:01:19 PM
    • Ozank: im not gay but my boyfriend might be
      June 20, 2018, 12:28:57 PM
    • Bitsybop: and single, dtf hmu
      June 19, 2018, 02:12:12 PM
    • Travas: ur gay
      June 19, 2018, 12:44:57 AM
    • dennis7744: just so you know im master owner
      June 18, 2018, 08:49:41 AM
    • dennis7744: mopar is done
      June 18, 2018, 08:49:17 AM
    • dennis7744: il give you the response from the staff
      June 18, 2018, 08:49:10 AM
    • FightMexoxo: lol ofc not lazy asses
      June 17, 2018, 08:34:40 PM
    • FightMexoxo: banks*
      June 17, 2018, 08:27:11 PM
    • FightMexoxo: wtf happened to mopar? we all want it back and haven't got an update or response and if there are corp's everywhere.... despawn them and restore many people's bans
      June 17, 2018, 08:27:06 PM
    • FightMexoxo: why does it load up dawntained?
      June 17, 2018, 04:36:10 AM
    • rip cimanin: i did that
      June 17, 2018, 04:17:09 AM
    • FightMexoxo: What happened to Mopar?
      June 17, 2018, 03:38:53 AM
    • ipod4560: dawntaind blows, bring back mopar and my accounts!
      June 17, 2018, 01:39:36 AM
    • mona lisa: Amish you
      June 17, 2018, 01:20:03 AM
    • Cole1497: yall really asking for staff feedback like this site hasnt been dead for 5 years
      June 16, 2018, 11:48:17 AM
    • Shane1337:[link] UnleashedPk Good server
      June 13, 2018, 06:45:00 PM
    • Shane1337:[link]
      June 13, 2018, 06:44:45 PM

    Author Topic: I need help with combat please  (Read 511 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