[SR_GameServer] crashing after i added item to item mall

Results 1 to 9 of 9
  1. #1
    Apprentice tmann05 is offline
    MemberRank
    Sep 2012 Join Date
    21Posts

    [SR_GameServer] crashing after i added item to item mall

    Hi all,

    I used refshopgenerator to get my lines required for adding new item to item mall. I have done it in the past with many items but having problems with the unicorn. I added the correct lines to media and DB but something in the refshop is crashing the gameserver when it tries to load. I set service to 0 on the refshopgoods line in DB and then the gameserver loads fine Also I set the cashitem = 1 in DB and media. Please someone tell me what I am doing wrong.

    Another small question, how do I change the HP and speed (in meters) of the unicorn?


    itemdata_25000.txt
    Code:
    1	22720	ITEM_COS_C_UNICORN	??? ?????	xxx	SN_ITEM_COS_C_UNICORN	SN_ITEM_COS_C_UNICORN_TT_DESC	1	0	3	3	3	2	180000	3	0	1	1	1	0	0	1	0	0	1	0	0	0	0	0	0	0	1	5	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_scroll.bsr	cos\item_cos_c_unicorn.ddj	xxx	xxx	50	2	0	0	5	0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0	0	0	0	0	0	0	0	0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0	COS_C_UNICORN	0	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	0	0
    refscrapofpackageitem.txt
    Code:
    1	15	PACKAGE_ITEM_COS_C_UNICORN	ITEM_COS_C_UNICORN	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	89045
    refpackageitem.txt
    Code:
    1	15	90065	PACKAGE_ITEM_COS_C_UNICORN	0	EXPAND_TERM_ALL	SN_ITEM_COS_C_UNICORN	SN_ITEM_COS_C_UNICORN_TT_DESC	cos\item_cos_c_unicorn.ddj	-1	xxx	-1	xxx	-1	xxx	-1	xxx
    refpriceofpolicyofitem.txt
    Code:
    1	15	PACKAGE_ITEM_COS_C_UNICORN	16	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx
    refshopgoods.txt
    Code:
    1	15	MALL_PET_C_VEHICLE	PACKAGE_ITEM_COS_C_UNICORN	5	-1	xxx	-1	xxx	-1	xxx	-1	xxx
    Last edited by tmann05; 13-09-12 at 02:01 AM.


  2. #2
    Apprentice tmann05 is offline
    MemberRank
    Sep 2012 Join Date
    21Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    Bump could use some help anyone have an idea?

  3. #3
    Member nuocda is offline
    MemberRank
    Oct 2007 Join Date
    63Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    make sure in refobjcommon rows "CanTrade","CanSell","CanBuy" is 1
    make sure slot in refshopgoods.txt is not duplicate
    and in media itemdata_25000.txt is wrong

  4. #4
    Mahna Mahna...m MuP is offline
    MemberRank
    Aug 2008 Join Date
    344Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    The Unicorn, is a magical creature my friend ! You can not simply add it on the item mall.

  5. #5
    Apprentice tmann05 is offline
    MemberRank
    Sep 2012 Join Date
    21Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    Thank you guys I got it working now. How can I edit the HP and speed of this vehicle?

  6. #6
    Member nuocda is offline
    MemberRank
    Oct 2007 Join Date
    63Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    speed in refobjcommon look row speed1 and 2 ( 45 120), look link id in refobjcommon and u can edit hp in objchar

  7. #7
    Apprentice tmann05 is offline
    MemberRank
    Sep 2012 Join Date
    21Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    Quote Originally Posted by nuocda View Post
    speed in refobjcommon look row speed1 and 2 ( 45 120), look link id in refobjcommon and u can edit hp in objchar
    You sure? The link ID of the unicorn (22720) is (10448) and that ID in objchar the HP is 35661 which is wrong its like 8800.

    RefObjCommon
    Code:
    1	22720	ITEM_COS_C_UNICORN	??? ?????	xxx	SN_ITEM_COS_C_UNICORN	SN_ITEM_COS_C_UNICORN_TT_DESC	1	0	3	3	3	2	180000	3	0	1	1	1	0	0	1	0	0	1	0	0	0	0	0	0	0	1	5	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_scroll.bsr	cos\item_cos_c_unicorn.ddj	xxx	xxx	10448
    Refobjchar
    Code:
     10448	56	0	35661	0	83	83	83	83	83	83	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	591	655	56	56	133	0	133	2	0	336860180	3	3000	24125	24265	0	0	0	0	0	0	0	0	0	8	0	0	0	0	0	0	0	0	0	0

  8. #8
    Member nuocda is offline
    MemberRank
    Oct 2007 Join Date
    63Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    no item

    22873 COS_C_UNICORN

  9. #9
    Apprentice ntabkpro is offline
    MemberRank
    Jun 2019 Join Date
    6Posts

    Re: [SR_GameServer] crashing after i added item to item mall

    Quote Originally Posted by nuocda View Post
    no item

    22873 COS_C_UNICORN
    I have problem same his. But don't know how to fix. I used tool: Silkroad Shop Generator to get code for DB and automatic added them to SQL. SR_Gameserver is not loading. When I change service 1-0 on _refpackageitem. Everything is working. Please help me..



Advertisement