Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • hexedss1: Anyone would like to help on client side got a variable declartion Error
      August 15, 2018, 09:06:30 PM
    • SOUPSOUP: just get a vpn
      August 13, 2018, 06:44:28 PM
    • jme: _^_ will answer all of your javascript questions
      August 12, 2018, 07:11:00 PM
    • doomsale: and where is boxman?
      August 10, 2018, 03:16:59 AM
    • doomsale: Where can i play the Moparscape MMORPG with the Metallica instrumentals?
      August 10, 2018, 03:16:47 AM
    • doomsale: no longer clicking on doors and dummies at east bank
      August 10, 2018, 03:16:07 AM
    • doomsale: were all grown up now huh?
      August 10, 2018, 03:15:58 AM
    • _^_: hey everyone look at my graphs [link]
      August 06, 2018, 01:52:16 PM
    • braedyn: Someone pl0x help me out with PI Lottery!!
      August 03, 2018, 02:12:25 AM
    • Travas: p3n1s
      July 26, 2018, 09:46:33 PM
    • Krackkid: You up :eggplant:
      July 23, 2018, 06:18:17 PM
    • DeathsChaos9: no
      July 23, 2018, 03:53:31 PM
    • Emulous: Come check out Emulous: [link]
      July 22, 2018, 03:37:19 PM
    • Emulous:[link]
      July 22, 2018, 03:37:00 PM
    • Travas: ur mom
      July 21, 2018, 06:04:50 PM
    • YNRDAB: Watcha big ballers up too?
      July 20, 2018, 11:01:06 AM
    • dark250: i need help for coding client
      July 19, 2018, 08:27:37 AM
    • Travas: yes
      July 14, 2018, 02:19:44 PM
    • drubrkletern: lmao racist and sexist much?
      July 14, 2018, 01:11:52 PM
    • Cole1497: yeah i got you lil boat give me a second
      July 13, 2018, 03:19:35 AM

    Author Topic: [Tutorial] Editing EasyRSC  (Read 68590 times)

    0 Members and 1 Guest are viewing this topic.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #200 on: May 28, 2009, 02:59:49 PM »
    Anybody want to show me how to add zoom in/zoom out in the client?

    And also how to add in different colored party hats and crap.

    I'll add the zoom when I get more time to test, etc.

    As for the party hat colours, change the mask colour in the ItemsDef.xml and Items.rscd. Also add it to the Animations.rscd.

    Posted on: May 29, 2009, 04:03:56 pm
    Due to quite a few people PMing me and sending me messages via MSN asking about how to get the adverts release by adu working, (because they didn't know where to put stuff, even though the release was VERY self explanatory), I decided to add it into the files for you, and uploaded them to megaupload.

    All you have to do is copy and paste (overwriting) your existing files with these ones for the adverts.

    =LX4ZAMBY
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project
    Runescape Gambling

    OfflineTommy Brady

    • Member
    • **
    • Posts: 61
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #201 on: May 30, 2009, 12:24:09 AM »
    Anybody want to show me how to add zoom in/zoom out in the client?

    And also how to add in different colored party hats and crap.

    I'll add the zoom when I get more time to test, etc.

    As for the party hat colours, change the mask colour in the ItemsDef.xml and Items.rscd. Also add it to the Animations.rscd.

    Posted on: May 29, 2009, 04:03:56 pm
    Due to quite a few people PMing me and sending me messages via MSN asking about how to get the adverts release by adu working, (because they didn't know where to put stuff, even though the release was VERY self explanatory), I decided to add it into the files for you, and uploaded them to megaupload.

    All you have to do is copy and paste (overwriting) your existing files with these ones for the adverts.

    =LX4ZAMBY

    I don't have to make a different sprite or nothing for it? Cause I think I tried what you said before, I may have did it wrong or something, but it was the different color in the inventory and on the ground but on your head it was orange or black or whatever sprite I used in ItemsWieldableDef

    So I take it I have to add a new sprite for it.. But how?
    « Last Edit: May 30, 2009, 11:47:22 AM by Tommy Brady »
    Runescape Gambling

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #202 on: May 31, 2009, 05:29:47 PM »
    You don't make new sprite to change the color of party hats.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project
    Runescape Gambling

    OfflineTommy Brady

    • Member
    • **
    • Posts: 61
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #203 on: June 02, 2009, 09:22:21 AM »
    You don't make new sprite to change the color of party hats.

    Then what sprite # do you put in ItemsWieldableDef? Cause if I use any other party hat sprite it shows up as that color.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #204 on: June 02, 2009, 09:50:20 AM »
    PM me your ItemWieldableDef.xml file and i'll take a look at it.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinedear god

    • Member
    • ****
    • Posts: 326
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #205 on: June 02, 2009, 10:00:08 AM »
    it's not in ItemWieldableDef, it's in ItemDef.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #206 on: June 02, 2009, 10:53:23 AM »
    it's not in ItemWieldableDef, it's in ItemDef.

    Not when the party hat has been wielded it isn't.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #207 on: June 02, 2009, 12:56:19 PM »
    Yong Min, How would I make a rank for the Adding a new Crown?I have been look, but with me graduating yesterday I haven't got a chance to look for what I have been missing.
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #208 on: June 02, 2009, 01:43:18 PM »
    Yong Min, How would I make a rank for the Adding a new Crown?I have been look, but with me graduating yesterday I haven't got a chance to look for what I have been missing.


    First of all, congratulations with your graduation :)

    On topic:

    Open your Player.java file, and search for:

    Code: [Select]
    public boolean isAdmin() {
    return rank == 4;
    }

    Under that, add:

    Code: [Select]
    public boolean isRANKNAME() {
    return rank == 7;
    }

    Change the "RANKNAME" to what ever you want your rank to be, for example: If you want your rank to be Vip, use:

    Code: [Select]
    public boolean isVip() {
    return rank == 7;
    }

    Once you've done that, save it, and open your PlayerUpdatePacketBuilder.java and search for:

    Code: [Select]
    updates.addByte((byte)(p.isAdmin() ? 3 : (p.isMod() ? 2 : (p.isPMod() ? 1 : 0))));

    Change that to:

    Code: [Select]
    updates.addByte((byte)(p.isAdmin() ? 3 : (p.isMod() ? 2 : (p.isPMod() ? 1 : (p.isVip() ? 4 : 0)))));

    Now save that, and open your Mudclient.java and search for:

    Code: [Select]
    message = message.replaceAll("\\#adm\\#", "");

    Under that, add:

    Code: [Select]
    message = message.replaceAll("\\#vip\\#", "");

    Now search for:

    Code: [Select]
           if (status == 3)
                message = "#adm#" + message;

    Under that, add:

    Code: [Select]
           if (status == 4)
                message = "#vip#" + message;

    For the #vip# part, you need to use what ever you're new crown image is ^^

    I hope that helps you, wesely. If you need anymore help, please don't hesitate to contact me.
    « Last Edit: June 02, 2009, 05:11:04 PM by yong min »
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #209 on: June 02, 2009, 01:54:55 PM »
    Thanks.
    « Last Edit: June 07, 2009, 02:46:18 PM by wesely »
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #210 on: June 02, 2009, 01:59:24 PM »
    What custom items have you made?

    Make sure your custom items have been added to the ItemWieldableDef.xml and Animations.rscd files.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #211 on: June 02, 2009, 02:03:07 PM »
    Here are some errors I get when I changed the ranks and made a new rank 7.
    'Removed pics so people dont have to scroll as far'
    « Last Edit: June 02, 2009, 06:20:55 PM by wesely »
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #212 on: June 02, 2009, 04:58:45 PM »
    For the legendary pkers axe and other items, try replace your Animations.rscd with this one:



    As for the Error, add another ")", so change:

    Code: [Select]
    updates.addByte((byte)(p.isAdmin() ? 3 : (p.isMod() ? 2 : (p.isPMod() ? 1 : (p.isVip() ? 4 : 0))));

    To:

    Code: [Select]
    updates.addByte((byte)(p.isAdmin() ? 3 : (p.isMod() ? 2 : (p.isPMod() ? 1 : (p.isVip() ? 4 : 0)))));
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #213 on: June 02, 2009, 05:27:27 PM »
    thanks a lot,this has really helped me out, now im gunna try out the new rank, Is there anything I should do to like, give the new rank some commands?

    Posted on: June 02, 2009, 04:35:39 pm
    where would I find the Id for the colours?


    Posted on: June 02, 2009, 04:39:31 pm
    would me making a new rank every time add a )?
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #214 on: June 02, 2009, 05:48:40 PM »
    thanks a lot,this has really helped me out, now im gunna try out the new rank, Is there anything I should do to like, give the new rank some commands?

    Posted on: June 02, 2009, 04:35:39 pm
    where would I find the Id for the colours?


    Posted on: June 02, 2009, 04:39:31 pm
    would me making a new rank every time add a )?

    You're more than welcome, wesely.

    If you want to add specific commands for only your new one, make sure before the commands you want to the new rank to use, that you have:

    Code: [Select]
    if(!player.isRANKNAME()) {
    return;
    }

    Let's take the "Vip" rank as an example, you'd need to make sure you had the following before the specific commands you want only that rank to use:

    Code: [Select]
    if(!player.isVip()) {
    return;
    }

    Also, if you see the from the error you posted, it says:

    Code: [Select]
    ')' expected

    If it says that, then yes, add another ")".

    Hope this helps you ;)
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #215 on: June 02, 2009, 05:53:30 PM »
    What about adding new items, would I need to make a new spirte and how would I introduce it into my server?

    Item.Def and animations?

    or do I have to make a new spirte for them or use the spirtes used for the other custom items and just recolour the item?

    So basically all I am asking is how I would go about making a new item.How could I get the items like like 1314(dragon 2h).how would I give it a certain number for me to use ::item with?

    Posted on: June 02, 2009, 04:54:40 pm
    Also, could you list the type of item id number? like where it would be positioned?
    Sorry for asking so many question, but the more you ask the more you learn :).

    Posted on: June 02, 2009, 04:57:32 pm
    And,I cant wear the dragon items.If I have to add them into my itemweildableDef.xml I dont know what spirte to use. here is where they cut off for the items. It goes from 1314-1326 should I use the spirte id's inbetween that to add for the dragon items?
    « Last Edit: June 02, 2009, 05:58:09 PM by wesely »
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #216 on: June 02, 2009, 06:07:45 PM »
    It depends what item you're wanting to add. Example. If you want to add a dragon 2h, the sprites are already created, so all you'd have to do is make sure you have it in your ItemsDef.xml, ItemWieldableDef.xml and in your Animations.rscd.

    The only time you'll have to create new sprites is if you're trying to implement another item that has never been in the original RSC before.

    As for the item ID number, each item in the ItemsDef.xml will be numbered in order. The very first item will be 0, and the item under that will be 1.

    Here is a list of IDs. Any items you have under the Scythe in your ItemsDef.xml will follow in sequence.

    Item IDs:

    As for the types to determine its wielding position, search for another item that wields in the same position.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #217 on: June 02, 2009, 06:20:02 PM »
    So What about the spirte 189, used for the custom masks and phats, couldn't I just simply just copy and paste another one, and just change the color for the hat?


    and with the rank 7, exactly how do i add commands?

    src<org<rscdaemon<server<packethandler<client<commandhandler.


    Is that where I should go to add commands to my new rank? if so, should I use this code for the new rank?If i added it as Owner
    Quote
       }
       if(!player.isOwner()) {
          return;
       }

    Do I just add that, then add commands under it?
    « Last Edit: June 02, 2009, 06:30:39 PM by wesely »
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

    Offlineyong min

    • Member
    • ****
    • Posts: 1,788
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #218 on: June 02, 2009, 06:34:49 PM »
    For all party hats, use the same sprite in ItemsDef.xml.

    As for the commands, yes. They're done in CommandHandler.java.

    If you add in:

    Code: [Select]
    if(!player.isOwner()) {
    return;
    }

    Any commands that appear under that, will be make it so that only people who are a member of that rank can use them commands.
    Skype : yongminkor
    Website : www.rsc-development.com
    Brutal Pkers 2018 Project

    Offlinewesely

    • Member
    • **
    • Posts: 75
    • Thanks: +0/-0
      • View Profile
    Re: [Tutorial] Editing EasyRSC
    « Reply #219 on: June 02, 2009, 06:37:01 PM »
    what if there is nothing under that will that rank beable to use "all" commands?
    You're entitled to your option, but keep in mind your opinion really doesn't matter.

     

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