Jump to content

aspd197

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by aspd197

  1. There's this line in pc.cpp

    void PlayerStatPointDatabase::loadingFinished(){
    	const uint16 trait_start_level = 200;
    	std::shared_ptr<s_statpoint_entry> level_one = this->find( 1 );

    Maybe change the 200 to any level ? 🤔
    ------------------------------------------------------------------------------------------------------------------------------------
    Also in statpoint.yml starting from 201 we can see there's TraitPoints: x .

      - Level: 200
        Points: 4099
      - Level: 201
        Points: 4099
        TraitPoints: 3
      - Level: 202
        Points: 4099
        TraitPoints: 6
      - Level: 203
        Points: 4099
        TraitPoints: 9

    Maybe also insert the TraitPoints: x to desired level ? 🤔

  2. On 12/1/2017 at 7:45 PM, Keitenai said:

    2. Patch the diff to your rAthena


    I don't understand about this part.
    All I know is patching client using WARP tool (I don't know if it's the same thing or not).
    Already read this https://github.com/rathena/rathena/wiki/diff but I still don't understand (sorry).

    Should I simply copy the codes & paste it to atcommand.cpp ?

    or is there any related post that I can read about this?

    thanks in advance!

  3. Hello @Capuche,
    It seems like I modify some numbers in Function that causing this errors.
    And yeah,
    after I double-checked my folders, it turns out that I forgot to put the modified .txt with the additional shop names, sorry! ?

    It is now fixed after I do something like this:
    - Copy script from here.
    - Add more shops as I desired (I copy paste the shop from my modified  txt).
    - Add more dummy shops in the end of the script (I don't know what's the maximum shop amount, but I add dummy up to qshop10).
    - After that, I didn't edit any functions.

    I restart my server and it is now fixed.

    Thank you!

  4. Hello,
    I would like to know about how to add more shop in quest_shop.txt.

    What I've tried to do is:
    - adding more dummy shop.
    - adding more "getarg(x)" in Function Add.

    The result:
    - Separated Shop NPC appeared in my desired location, but the items doesn't appear.
    - Already tried to input "@reloadscript" and restarting server, but items still doesn't appear.

    Can somebody please help me with the script below?

    Thanks!

    quest_shop.txt

  5. Hello,
    After read this thread by @kanashiroakira and try the script, I decided to "modify" something and create a new script.

    The concept is,
    in order to get their look changed into a new one, players must bring some items.
    But when I test this script and bring the items to the NPC, sometimes my character's look doesn't changed.

    When using normal char and doing normal way to reach 3rd job, it doesn't work.
    When using GM char and changing class by using @jobchange command, it works perfectly.

    Please help me check my script below.
    Thank you!

    StyleQuest.txt

  6. BIG THANKS, Capuche!

    It works! ?

    6 hours ago, Capuche said:

    Set your shop in

    
    // Script Core
    //============================================================
    -	script	quest_shop	-1,{ 

    Call the shop in

    
    
    // Shop NPCs -- supplying no argument displays entire menu.
    //	callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}};
    //============================================================
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop"; }			// call all shop
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop",1; }			// call shop number 1
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop",1,2; }		// call shop number 1 and 2

     

     

  7. 6 hours ago, Capuche said:

    Set your shop in

    
    // Script Core
    //============================================================
    -	script	quest_shop	-1,{ 

    Call the shop in

    
    
    // Shop NPCs -- supplying no argument displays entire menu.
    //	callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}};
    //============================================================
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop"; }			// call all shop
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop",1; }			// call shop number 1
    prontera,164,203,6	script	Quest Shop#1	998,{ callfunc "qshop",1,2; }		// call shop number 1 and 2

     

    Thank you for the reply!
    I'll try it right now

  8. Hello,

    This is my first post since the very beginning of joining rAthena. ?

    I would like to ask about how to separate shops inside npc_dynamic_shop.txt, and put each separated shop into a single NPC.

    ===========================================================

    "Is it possible to separate those shops and put it into a different NPC?"

    I already tried to copy the contents of npc_dynamic_shop.txt, put it into another NPC script, and modify:
    - changing quest_shop into quest_shop1quest_shop2, etc (so I thought if this event is different, it won't call the main event).
    - changing qshop function into qshop1, qshop2, etc.
    - deleting add(2..... and add(3.... into separate NPC script.
    but when I put these and activate the NPC, it won't open the shop.

    "Should the functions (Add, Chk, Slot, and function script qshop) also copied into that new NPC script?"

    "Should the Dummy Shop Data also copied & modified?"

     

    I already tried to google = "site:rathena.org separate shops from npc_dynamic_shop" but unfortunately there are no results for this.

    Sorry if my English is bad.
    Thank you.

×
×
  • Create New...