I need help with some errors from OurStory Source 142.2

Results 1 to 10 of 10
  1. #1
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    sad I need help with some errors from OurStory Source 142.2

    I have some questions.
    1) how to fix skills? most of skill are not working or make wrong effect, or just DC from the game.
    2) how I can edit amount of cubes/hammers/gacha tickets that in Cash Shop? and how to add more pack of them ? like pack of 10/50/100/250/500 cubes.
    3)how to change the price of cash shop items?
    4)how to remove NPC from maps/?/ and how to add them in Custom map? (!npc dont save them after server restart, and there is no !pnpc commds.
    5)how to spawn Reactor? how to edit the reactors drops?
    6)how/where to edit drops from boxes that in Inveture "USE"
    7)how to fix the NX-Cash Chair Gacha Tickets(that need to double click it)
    8)how to add the command for !spawnreactor or to edit !spawn command to enable spawning reactors?
    9)how to enable Summoning Bags?(where?)
    10)how to add commands? or command !pmob
    OurStoryv142
    I used source from
    Code:
     http://forum.ragezone.com/f428/maplestory-private-server-v142-video-999819/
    Thanks to every one who will help me.
    Last edited by ByCreator; 16-11-16 at 03:08 PM.


  2. #2
    Valued Member Modify is offline
    MemberRank
    Dec 2013 Join Date
    636f6f6b696573Location
    140Posts

    Re: I need help with some errors from OurStory Source

    I will not answer all of them since I can't, I'll just answer what I can

    4) In your server files wz/map/ID.xml
    CTRL + F and look for the ID of the NPC you wish to remove, after that just reload the map and it should work, if it doesn't, it will tell you. The worst that can happen is you won't be able to reload the map, so you just need to undo what you did. Just remove everything including the <imgdir name=""></imgdir> that the NPC includes. NPCs will generally be under a "life" portion of the map XML.

    7) Not sure if that source uses the same files, but UseItemHandler maybe, an example would be
    if (itemId = gachtix) {
    NPCScriptManager.getInstance().start(c, gachid, null, null);
    }

    10) From what I believe, most sources use similar methods, so try THIS LINK, if anything, you might need to change a new things here and there to make it compatible if it isn't.

  3. #3
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    Re: I need help with some errors from OurStory Source

    Quote Originally Posted by Modify View Post
    I will not answer all of them since I can't, I'll just answer what I can

    4) In your server files wz/map/ID.xml
    CTRL + F and look for the ID of the NPC you wish to remove, after that just reload the map and it should work, if it doesn't, it will tell you. The worst that can happen is you won't be able to reload the map, so you just need to undo what you did. Just remove everything including the <imgdir name=""></imgdir> that the NPC includes. NPCs will generally be under a "life" portion of the map XML.

    7) Not sure if that source uses the same files, but UseItemHandler maybe, an example would be
    if (itemId = gachtix) {
    NPCScriptManager.getInstance().start(c, gachid, null, null);
    }

    10) From what I believe, most sources use similar methods, so try THIS LINK, if anything, you might need to change a new things here and there to make it compatible if it isn't.
    Thanks
    4)Works 100%
    7)Don't have this name of file.
    10)Don't work
    Thanks again
    Last edited by ByCreator; 16-11-16 at 03:08 PM.

  4. #4
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    Re: I need help with some errors from OurStory Source

    BUMP! Some one else? May help too =D

  5. #5
    ・ARC:+200 Yuuroido is offline
    MemberRank
    Jul 2010 Join Date
    Saitama, JPLocation
    333Posts

    Re: I need help with some errors from OurStory Source 142.2

    Quote Originally Posted by ByCreator View Post
    I have some questions.
    OurStoryv142
    I used source from
    Code:
     http://forum.ragezone.com/f428/maplestory-private-server-v142-video-999819/
    Thanks to every one who will help me.
    1) how to fix skills? most of skill are not working or make wrong effect, or just DC from the game.
    ->add effects to MapleStatEffect / update MapleBuffStat / modify giveBuff packet. or search on the forum.
    2) how I can edit amount of cubes/hammers/gacha tickets that in Cash Shop? and how to add more pack of them ? like pack of 10/50/100/250/500 cubes.
    3)how to change the price of cash shop items?
    ->edit Etc.wz/Commodity.img or Etc.wz/CashPackage.img, perhaps? (not sure if there's packet for it). or search on the forum.
    4)how to remove NPC from maps/?/ and how to add them in Custom map? (!npc dont save them after server restart, and there is no !pnpc commds.
    ->search on the forum.
    5)how to spawn Reactor? how to edit the reactors drops?
    ->find related functions on your server files. reactor's drops are usually on the database (SQL)
    6)how/where to edit drops from boxes that in Inveture "USE"
    ->edit InventoryHandler.UseScriptedNPCItem? (and add or edit scripts/item/consume_???????.js)
    7)how to fix the NX-Cash Chair Gacha Tickets(that need to double click it)
    ->modify InventoryHandler.UseCashItem or InventoryHandler.UseScriptedNPCItem?
    8)how to add the command for !spawnreactor or to edit !spawn command to enable spawning reactors?
    ->find related functions on your server files and write command.
    9)how to enable Summoning Bags?(where?)
    ->InventoryHandler.UseSummonBag?
    10)how to add commands? or command !pmob
    ->search on the forum.

  6. #6
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: I need help with some errors from OurStory Source 142.2

    @Yuuroido Using Nexon's ModifiedCommodity packet (portion within OnSetCashShop) you can modify anything and everything for each Commodity in the CS that you want :). Just needs a flag and its updated value and it'll use that, it's a nice way to make certain packages go OnSale along with taking them off. Also useful if you want to mess around with the prices/count or other stuff xD

    PHP Code:
    public void EncodeModifiedData(OutPacket oPacket) {
            
    oPacket.Encode4(dwModifiedFlag);
            if ((
    dwModifiedFlag ItemID) > 0) {
                
    oPacket.Encode4(nItemId);
            }
            if ((
    dwModifiedFlag Count) > 0) {
                
    oPacket.Encode2(nCount);
            }
            if ((
    dwModifiedFlag Price) > 0) {
                
    oPacket.Encode4(nPrice);
            }
            if ((
    dwModifiedFlag Bonus) > 0) {
                
    oPacket.Encode1(bBonus);
            }
            if ((
    dwModifiedFlag Priority) > 0) {
                
    oPacket.Encode1(nPriority);
            }
            if ((
    dwModifiedFlag Period) > 0) {
                
    oPacket.Encode2(nPeriod);
            }
            if ((
    dwModifiedFlag MaplePoint) > 0) {
                
    oPacket.Encode4(nMaplePoint);
            }
            if ((
    dwModifiedFlag Meso) > 0) {
                
    oPacket.Encode4(nMeso);
            }
            if ((
    dwModifiedFlag ForPremiumUser) > 0) {
                
    oPacket.Encode1(bForPremiumUser);
            }
            if ((
    dwModifiedFlag CommodityGender) > 0) {
                
    oPacket.Encode1(nCommodityGender);
            }
            if ((
    dwModifiedFlag OnSale) > 0) {
                
    oPacket.Encode1(bOnSale);
            }
            if ((
    dwModifiedFlag & Class) > 0) {
                
    oPacket.Encode1(nClass);
            }
            if ((
    dwModifiedFlag Limit) > 0) {
                
    oPacket.Encode1(bLimit);//nLimit post-BB
            
    }
            if ((
    dwModifiedFlag PbCash) > 0) {
                
    oPacket.Encode2(nPbCash);
            }
            if ((
    dwModifiedFlag PbPoint) > 0) {
                
    oPacket.Encode2(nPbPoint);
            }
            if ((
    dwModifiedFlag PbGift) > 0) {
                
    oPacket.Encode2(nPbGift);
            }
            if ((
    dwModifiedFlag PackageSN) > 0) {
                
    oPacket.Encode1(aPackageSN.size());
                for (
    int nPackageSN aPackageSN) {
                    
    oPacket.Encode4(nPackageSN);
                }
            }
            if ((
    dwModifiedFlag ReqPOP) > 0) {
                
    oPacket.Encode2(nReqPOP);
            }
            if ((
    dwModifiedFlag ReqLEV) > 0) {
                
    oPacket.Encode2(nReqLev);
            }
        } 
    EDIT: Oh, and this is what Nexon uses later on in replace for CategoryDiscount. They just modify the flag for the commodity. This is just from my v90, but for higher versions here's all the flags:

    PHP Code:
    public static final int
                ItemID 
    0x1,
                
    Count 0x2,
                
    Price 0x4,
                
    Bonus 0x8,
                
    Priority 0x10,
                
    Period 0x20,
                
    MaplePoint 0x40,
                
    Meso 0x80,
                
    ForPremiumUser 0x100,
                
    CommodityGender 0x200,
                
    OnSale 0x400,
                Class = 
    0x800,
                
    Limit 0x1000,
                
    PbCash 0x2000,
                
    PbPoint 0x4000,
                
    PbGift 0x8000,
                
    PackageSN 0x10000,
                
    ReqPOP 0x20000,
                
    ReqLEV 0x40000,
                
    TermStart 0x80000,
                
    TermEnd 0x100000,
                
    Refundable 0x200000,
                
    BombSale 0x400000,
                
    ForcedCategory 0x800000,
                
    GameWorld 0x1000000,
                
    Token 0x2000000,
                
    LimitMax 0x4000000,
                
    LimitQuest_ID 0x8000000,
                
    OriginalPrice 0x10000000,
                
    Discount 0x20000000,
                
    DiscountRate 0x40000000,
                
    MileageRate 0x80000000,
                
    All 0x7FFFF//0xFFFFFFFF
        


  7. #7
    ・ARC:+200 Yuuroido is offline
    MemberRank
    Jul 2010 Join Date
    Saitama, JPLocation
    333Posts

    Re: I need help with some errors from OurStory Source 142.2

    Quote Originally Posted by Eric View Post
    @Yuuroido Using Nexon's ModifiedCommodity packet (portion within OnSetCashShop) you can modify anything and everything for each Commodity in the CS that you want :). Just needs a flag and its updated value and it'll use that, it's a nice way to make certain packages go OnSale along with taking them off. Also useful if you want to mess around with the prices/count or other stuff xD

    Spoiler:
    PHP Code:
    public void EncodeModifiedData(OutPacket oPacket) {
            
    oPacket.Encode4(dwModifiedFlag);
            if ((
    dwModifiedFlag ItemID) > 0) {
                
    oPacket.Encode4(nItemId);
            }
            if ((
    dwModifiedFlag Count) > 0) {
                
    oPacket.Encode2(nCount);
            }
            if ((
    dwModifiedFlag Price) > 0) {
                
    oPacket.Encode4(nPrice);
            }
            if ((
    dwModifiedFlag Bonus) > 0) {
                
    oPacket.Encode1(bBonus);
            }
            if ((
    dwModifiedFlag Priority) > 0) {
                
    oPacket.Encode1(nPriority);
            }
            if ((
    dwModifiedFlag Period) > 0) {
                
    oPacket.Encode2(nPeriod);
            }
            if ((
    dwModifiedFlag MaplePoint) > 0) {
                
    oPacket.Encode4(nMaplePoint);
            }
            if ((
    dwModifiedFlag Meso) > 0) {
                
    oPacket.Encode4(nMeso);
            }
            if ((
    dwModifiedFlag ForPremiumUser) > 0) {
                
    oPacket.Encode1(bForPremiumUser);
            }
            if ((
    dwModifiedFlag CommodityGender) > 0) {
                
    oPacket.Encode1(nCommodityGender);
            }
            if ((
    dwModifiedFlag OnSale) > 0) {
                
    oPacket.Encode1(bOnSale);
            }
            if ((
    dwModifiedFlag & Class) > 0) {
                
    oPacket.Encode1(nClass);
            }
            if ((
    dwModifiedFlag Limit) > 0) {
                
    oPacket.Encode1(bLimit);//nLimit post-BB
            
    }
            if ((
    dwModifiedFlag PbCash) > 0) {
                
    oPacket.Encode2(nPbCash);
            }
            if ((
    dwModifiedFlag PbPoint) > 0) {
                
    oPacket.Encode2(nPbPoint);
            }
            if ((
    dwModifiedFlag PbGift) > 0) {
                
    oPacket.Encode2(nPbGift);
            }
            if ((
    dwModifiedFlag PackageSN) > 0) {
                
    oPacket.Encode1(aPackageSN.size());
                for (
    int nPackageSN aPackageSN) {
                    
    oPacket.Encode4(nPackageSN);
                }
            }
            if ((
    dwModifiedFlag ReqPOP) > 0) {
                
    oPacket.Encode2(nReqPOP);
            }
            if ((
    dwModifiedFlag ReqLEV) > 0) {
                
    oPacket.Encode2(nReqLev);
            }
        } 
    EDIT: Oh, and this is what Nexon uses later on in replace for CategoryDiscount. They just modify the flag for the commodity. This is just from my v90, but for higher versions here's all the flags:

    PHP Code:
    public static final int
                ItemID 
    0x1,
                
    Count 0x2,
                
    Price 0x4,
                
    Bonus 0x8,
                
    Priority 0x10,
                
    Period 0x20,
                
    MaplePoint 0x40,
                
    Meso 0x80,
                
    ForPremiumUser 0x100,
                
    CommodityGender 0x200,
                
    OnSale 0x400,
                Class = 
    0x800,
                
    Limit 0x1000,
                
    PbCash 0x2000,
                
    PbPoint 0x4000,
                
    PbGift 0x8000,
                
    PackageSN 0x10000,
                
    ReqPOP 0x20000,
                
    ReqLEV 0x40000,
                
    TermStart 0x80000,
                
    TermEnd 0x100000,
                
    Refundable 0x200000,
                
    BombSale 0x400000,
                
    ForcedCategory 0x800000,
                
    GameWorld 0x1000000,
                
    Token 0x2000000,
                
    LimitMax 0x4000000,
                
    LimitQuest_ID 0x8000000,
                
    OriginalPrice 0x10000000,
                
    Discount 0x20000000,
                
    DiscountRate 0x40000000,
                
    MileageRate 0x80000000,
                
    All 0x7FFFF//0xFFFFFFFF
        

    Ah, that's it!

    I almost forgot that although I had seen it on MapleShark 6 months ago.

  8. #8
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    Re: I need help with some errors from OurStory Source 142.2

    Quote Originally Posted by Eric View Post
    @Yuuroido Using Nexon's ModifiedCommodity packet (portion within OnSetCashShop) you can modify anything and everything for each Commodity in the CS that you want :). Just needs a flag and its updated value and it'll use that, it's a nice way to make certain packages go OnSale along with taking them off. Also useful if you want to mess around with the prices/count or other stuff xD

    PHP Code:
    public void EncodeModifiedData(OutPacket oPacket) {
            
    oPacket.Encode4(dwModifiedFlag);
            if ((
    dwModifiedFlag ItemID) > 0) {
                
    oPacket.Encode4(nItemId);
            }
            if ((
    dwModifiedFlag Count) > 0) {
                
    oPacket.Encode2(nCount);
            }
            if ((
    dwModifiedFlag Price) > 0) {
                
    oPacket.Encode4(nPrice);
            }
            if ((
    dwModifiedFlag Bonus) > 0) {
                
    oPacket.Encode1(bBonus);
            }
            if ((
    dwModifiedFlag Priority) > 0) {
                
    oPacket.Encode1(nPriority);
            }
            if ((
    dwModifiedFlag Period) > 0) {
                
    oPacket.Encode2(nPeriod);
            }
            if ((
    dwModifiedFlag MaplePoint) > 0) {
                
    oPacket.Encode4(nMaplePoint);
            }
            if ((
    dwModifiedFlag Meso) > 0) {
                
    oPacket.Encode4(nMeso);
            }
            if ((
    dwModifiedFlag ForPremiumUser) > 0) {
                
    oPacket.Encode1(bForPremiumUser);
            }
            if ((
    dwModifiedFlag CommodityGender) > 0) {
                
    oPacket.Encode1(nCommodityGender);
            }
            if ((
    dwModifiedFlag OnSale) > 0) {
                
    oPacket.Encode1(bOnSale);
            }
            if ((
    dwModifiedFlag & Class) > 0) {
                
    oPacket.Encode1(nClass);
            }
            if ((
    dwModifiedFlag Limit) > 0) {
                
    oPacket.Encode1(bLimit);//nLimit post-BB
            
    }
            if ((
    dwModifiedFlag PbCash) > 0) {
                
    oPacket.Encode2(nPbCash);
            }
            if ((
    dwModifiedFlag PbPoint) > 0) {
                
    oPacket.Encode2(nPbPoint);
            }
            if ((
    dwModifiedFlag PbGift) > 0) {
                
    oPacket.Encode2(nPbGift);
            }
            if ((
    dwModifiedFlag PackageSN) > 0) {
                
    oPacket.Encode1(aPackageSN.size());
                for (
    int nPackageSN aPackageSN) {
                    
    oPacket.Encode4(nPackageSN);
                }
            }
            if ((
    dwModifiedFlag ReqPOP) > 0) {
                
    oPacket.Encode2(nReqPOP);
            }
            if ((
    dwModifiedFlag ReqLEV) > 0) {
                
    oPacket.Encode2(nReqLev);
            }
        } 
    EDIT: Oh, and this is what Nexon uses later on in replace for CategoryDiscount. They just modify the flag for the commodity. This is just from my v90, but for higher versions here's all the flags:

    PHP Code:
    public static final int
                ItemID 
    0x1,
                
    Count 0x2,
                
    Price 0x4,
                
    Bonus 0x8,
                
    Priority 0x10,
                
    Period 0x20,
                
    MaplePoint 0x40,
                
    Meso 0x80,
                
    ForPremiumUser 0x100,
                
    CommodityGender 0x200,
                
    OnSale 0x400,
                Class = 
    0x800,
                
    Limit 0x1000,
                
    PbCash 0x2000,
                
    PbPoint 0x4000,
                
    PbGift 0x8000,
                
    PackageSN 0x10000,
                
    ReqPOP 0x20000,
                
    ReqLEV 0x40000,
                
    TermStart 0x80000,
                
    TermEnd 0x100000,
                
    Refundable 0x200000,
                
    BombSale 0x400000,
                
    ForcedCategory 0x800000,
                
    GameWorld 0x1000000,
                
    Token 0x2000000,
                
    LimitMax 0x4000000,
                
    LimitQuest_ID 0x8000000,
                
    OriginalPrice 0x10000000,
                
    Discount 0x20000000,
                
    DiscountRate 0x40000000,
                
    MileageRate 0x80000000,
                
    All 0x7FFFF//0xFFFFFFFF
        

    Eric & Yuuroido you confused me =D
    about what you are talking and how to use MapleShark?

  9. #9
    ・ARC:+200 Yuuroido is offline
    MemberRank
    Jul 2010 Join Date
    Saitama, JPLocation
    333Posts

    Re: I need help with some errors from OurStory Source 142.2

    Quote Originally Posted by ByCreator View Post
    Eric & Yuuroido you confused me =D
    about what you are talking and how to use MapleShark?
    I think that you will find what is "MapleShark script" and how to use them, by searching on the forum.

    As for that packet, uh, I feel you'd better search "addModCashItemInfo" on the forum (or internet).

  10. #10
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    Re: I need help with some errors from OurStory Source 142.2

    Thanks



Advertisement