Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • OracleScape: Bump my server and play [link]
      Today at 06:08:29 PM
    • OracleScape: BUMP my thread please [link]
      Today at 06:08:00 PM
    • stCky: idk man im just a chat bot
      August 22, 2017, 11:14:52 PM
    • symantec: is this forum
      August 22, 2017, 09:02:56 PM
    • symantec: what the fudge
      August 22, 2017, 09:02:52 PM
    • symantec: I just joined to download datmaker, the links are broken and a user named i nelson i has a fudgeing weird signature
      August 22, 2017, 08:59:33 PM
    • stCky: ur so cool and edgy
      August 22, 2017, 04:15:50 PM
    • Deathspirit: anyways, i'm un ip banned now.. but don't even want to be that at this point lmfao
      August 22, 2017, 01:58:14 PM
    • Deathspirit: now it's some sell out half leeched server :')
      August 22, 2017, 01:57:53 PM
    • Deathspirit: gf moparscape, was the best rsps community i've been on since 2006
      August 22, 2017, 01:57:31 PM
    • stCky: yeah, nah. it's cooked. [link] might help u with a backup or something idk man im just a chat bot
      August 22, 2017, 12:13:25 AM
    • flew420: I sure hope someone has a copy of the forum before it was recked
      August 21, 2017, 11:40:52 PM
    • flew420: O wow i see now, just read thru all the news articles. :(  i've been out of the game for a couple years so coming back to this shit is sad.
      August 21, 2017, 11:39:46 PM
    • flew420: Huh?
      August 21, 2017, 10:49:51 PM
    • stCky: got bought by a russian dude, he put a shitty rsps on it for donations, now no one cares
      August 21, 2017, 10:48:30 PM
    • flew420: I came on for some nostalgic reading in old classic development, and it only goes back to 2014 wtf.
      August 21, 2017, 10:43:09 PM
    • flew420: what happened to this site??
      August 21, 2017, 10:42:36 PM
    • Sean56:[link]
      August 21, 2017, 05:33:45 PM
    • kb010: how can i play? i downloaded the client and it doesnt open.
      August 21, 2017, 10:52:56 AM
    • wodkode: shut it down or fix it
      August 20, 2017, 10:11:28 PM

    Author Topic: [PI] Adding Korasi Sword Special! [PI]  (Read 21602 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinemikeyboy09

    • Member
    • ****
    • Posts: 265
    • Thanks: +0/-0
      • View Profile
    [PI] Adding Korasi Sword Special! [PI]
    « on: April 18, 2011, 04:03:06 PM »
    Well I didn't see this anywhere else, searched for a long time on google and found nothing, eventually I started picking up the pieces of peoples comments on how to do this and figured it out. (When I say pick up the pieces I mean I saw topics like "My korasi spec doesn't drain", looked at some of the comments and found PARTS of the code) :P

    Difficulty: 1/10 (COPY & PASTE FTW? :D )

    First thing you want to do is go into ItemAssistant.java and find the following
    Code: [Select]
    case 1215:// dragon dagger
             case 1231:
             case 13899:
             case 10887:
             case 5680:
             case 13905:
             case 5698:
             case 1305: // dragon long
             case 11694:
             case 11698:
             case 11700:
              //SOL
             case 11730:
             case 11696:
             c.getPA().sendFrame171(0, 7574);
             specialAmount(weapon, c.specAmount, 7586);
             break;
    This Could look different depending on what base you use... (Thanks to darknessxd for spec bar fix :) )

    Inbetween any of those cases add this.

    Code: [Select]

    case 13350: //korasi
    Now that gives it the working spec attack bar.


    Next you want to go into CombatAssistant.java and find the following...

    Code: [Select]
    case 11694: // ags
    c.startAnimation(7074);
    c.specDamage = 1.25;
    c.specAccuracy = 1.85;
    c.gfx0(1222);
    c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    break;

    Underneath that, add this...

    Code: [Select]
    case 13350:
    c.gfx100(1224);
    c.startAnimation(1872);
    c.specAccuracy = 5.00;
    c.specDamage = 2.00;
    c.ssSpec = true;
    c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    break;
    This gives you an animation for the spec, how much damage, accuracy and GFX... (Ofc...)

    Next go to line 2897 (ctrl+G)

    Underneath
    Code: [Select]
                case 11694:
    Just add
    Code: [Select]
                case 13350:

    AND THAT SHOULD DO IT! :D

    Here are the stats that I have in my item.cfg
    Code: [Select]
    item = 13350Korasi's_swordA_Void_Knight_Sword1116070-20001000700

    Enjoy and if you think/know I missed something please let me know, I'm sure I missed a step but whatever :D

    - Mikey :cool:
    « Last Edit: May 25, 2011, 04:00:26 AM by mikeyboy09 »


    OfflineLoveandpower

    • Member
    • ****
    • Posts: 12,005
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #1 on: April 18, 2011, 05:11:15 PM »
    I just don't care anymore.


    OfflineSun Chips

    • Member
    • ***
    • Posts: 129
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #2 on: April 18, 2011, 05:14:00 PM »
    I really hate that copy and paste tutorials exist as it makes the follower not once have to use his/her head, but they do so as one, I guess ill say, this isn't bad.
    I'm aiming for 0 rep.

    Offlinemikexd5

    • Member
    • ***
    • Posts: 104
    • Thanks: +0/-0
      • View Profile
      • Whoot.. pwnage server.
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #3 on: April 18, 2011, 10:12:30 PM »
    I get an error when i try to run the server i get this



    please help
    You only succeed with succession and with out succession you cannot succeed.

    Owner of M4x Scape - Soon To Be PK SERVER.
    my RSPS

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #4 on: April 18, 2011, 10:20:42 PM »
    Mike when you added the stats for the weapon did you use spaces or tabs in between each?
    If you can't write commands. You sir are a worthless pile of shit.

    Offlinemikexd5

    • Member
    • ***
    • Posts: 104
    • Thanks: +0/-0
      • View Profile
      • Whoot.. pwnage server.
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #5 on: April 18, 2011, 10:41:13 PM »
    i used what he has posted
    You only succeed with succession and with out succession you cannot succeed.

    Owner of M4x Scape - Soon To Be PK SERVER.
    my RSPS

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #6 on: April 18, 2011, 10:43:19 PM »
    Yes I get that, but putting spaces rather than tabs on the equipment stats would give you an error like that. So go into your item.cfg and redo that with tabs.
    If you can't write commands. You sir are a worthless pile of shit.

    Offlinemikexd5

    • Member
    • ***
    • Posts: 104
    • Thanks: +0/-0
      • View Profile
      • Whoot.. pwnage server.
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #7 on: April 18, 2011, 10:47:35 PM »
    i fixed it, now how do i get the item in my models?
    You only succeed with succession and with out succession you cannot succeed.

    Owner of M4x Scape - Soon To Be PK SERVER.
    my RSPS

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #8 on: April 18, 2011, 10:53:19 PM »
    Go to this topic:
    Download that model, place it in your model folder. Open up class8.java and add the ints from the above link, or if you have itemdef.java you are going to need to convert the ints. Now you need to compile.Now log in and type in ::add model *Id*, replace the *Id* with the model id.
    If you can't write commands. You sir are a worthless pile of shit.

    Offlinemikexd5

    • Member
    • ***
    • Posts: 104
    • Thanks: +0/-0
      • View Profile
      • Whoot.. pwnage server.
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #9 on: April 18, 2011, 11:42:28 PM »
    Go to this topic:
    Download that model, place it in your model folder. Open up class8.java and add the ints from the above link, or if you have itemdef.java you are going to need to convert the ints. Now you need to compile.Now log in and type in ::add model *Id*, replace the *Id* with the model id.

    i uh... i dont have a class8.java

    Screenshot.

    You only succeed with succession and with out succession you cannot succeed.

    Owner of M4x Scape - Soon To Be PK SERVER.
    my RSPS

    Offlinemikeyboy09

    • Member
    • ****
    • Posts: 265
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #10 on: April 19, 2011, 04:41:32 AM »

    Thats for delta. This Is PI

    Thanks for all the comments everybody and if it worked for you please post a screenshot :D
    Also If anybody needs any help adding it PM me ;)

    - Mikey :cool:

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #11 on: April 19, 2011, 09:27:20 AM »
    Mike use itemdef.java when you convert the ints, someone in client help might help you do that.
    If you can't write commands. You sir are a worthless pile of shit.

    Offlinewildskiller

    • Member
    • ****
    • Posts: 1,434
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #12 on: April 19, 2011, 09:47:11 AM »
    Can you find a way to put the korasi spec on a 508? ive got the sword just not the spec

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #13 on: April 19, 2011, 09:59:49 AM »
    Well the korasi sword has 634 animations and gfx's for sepcial. So you are going to need those. If you get those I will do it for you.
    If you can't write commands. You sir are a worthless pile of shit.

    Offlinemikeyboy09

    • Member
    • ****
    • Posts: 265
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #14 on: April 19, 2011, 01:26:38 PM »
    Wild skiller maybe you could just use the same anim and GFX as sara sword until somebody releases for 508?

    I never tried 508 so I have no idea... :)

    - Mikey :cool:

    OfflineUntrimmed

    • Member
    • ****
    • Posts: 263
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #15 on: April 19, 2011, 02:27:52 PM »
    I think most people use the dragon scimitar for regular attacking. The saradomin sword animation for the special would look pretty nice. Same thing for the special.
    If you can't write commands. You sir are a worthless pile of shit.

    OfflineEraa

    • Member
    • **
    • Posts: 77
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #16 on: April 19, 2011, 05:32:05 PM »
    No special attack shows up when i do this?
    any idea

    Offlinemikeyboy09

    • Member
    • ****
    • Posts: 265
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #17 on: April 20, 2011, 03:57:07 AM »
    Sometimes doesn't work for people...
    Try compiling, running server then restarting client and server.

    Thats what I did and it worked for me. ;)

    - Mikey :cool:

    OfflineAssualtX

    • Member
    • ***
    • Posts: 151
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #18 on: April 20, 2011, 08:05:32 AM »
    GJ = Good Job

    Offlinemikeyboy09

    • Member
    • ****
    • Posts: 265
    • Thanks: +0/-0
      • View Profile
    Re: [PI] Adding Korasi Sword Special! [PI]
    « Reply #19 on: April 20, 2011, 08:19:09 AM »
    Thanks man ;)

    - Mikey :cool:

     

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