Jump to content

pajodex

Members
  • Posts

    436
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by pajodex

  1. 15 minutes ago, Outlook said:

    Thank you it's works fine but can't use NPC Script

     

    mes "[ Jellopy Lover ]";
    mes "I buy Jellopy for 50 Poring coins each.";
    close2;
    npcshopattach "JellopyShop";
    sellitem "JellopyShop",SFT_ID,909;
    end;
    mes "[ Rare Items Collector ]";
    mes "Sell me some rare items and cards";
    close2;
    .@filter |= 1 << IT_CARD;
    .@filter |= 1 << IT_ARMOR;
    .@filter |= 1 << IT_WEAPON;
    npcshopattach "CardShop";
    sellitem "CardShop",SFT_TYPE,.@filter;
    end;

    Screenshot 2024-03-30 042426.png

    Your console error tells you the problem

  2. You can fix that part by adjusting this part:
     

    	function	rnd	{
    		if(.HardBalance){
    			return rand(getarg(0),rand(getarg(0),getarg(1)));
    		}
    		return rand(getarg(0),getarg(1));
    	}

    To

    	function	rnd	{
    		if(.HardBalance){
    			return rand(getarg(0),rand(getarg(0)+1,getarg(1)));
    		}
    		return rand(getarg(0),getarg(1));
    	}

     

    This is to avoid the possibility of getting same value as per the error code.

  3. yes it is possible.
     

    prontera,150,180,0	script	One Player Only	100,{
    	if ( .npc_access ) {
    		mes "Some one is accessing.";
    		close;
    	}
    	.npc_access = true;
    	mes "You are the one only being able to access until you press 'close'";
    	close2;
    	.npc_access = false;
    	end;
    }

     

    This will come with several loop holes and you need to figure it out yourself on how to prevent it and also properly reset the variable used.

  4. you can just add a pvp_noparty mapflag..
     

    *pvp
    *pvp_noparty
    *pvp_noguild
    *pvp_nocalcrank
    
    Enables Player vs. Player mode on a map and applies the corresponding damage adjustments.
    'pvp_noparty' will ignore party alliances.
    'pvp_noguild' will ignore guild alliances.
    'pvp_nocalcrank' will disable calculation of PvP rankings.

     

  5. Pet Combination System (RO Landverse Concept)


    Hi,

    Just dropping some random scripts on my drive.

    Enjoy!

     

    Script Info: https://maxion-1.gitbook.io/ragnarok-landverse-whitepaper/beginner-guide/pets-system

     

    NOTE: This is only a replication attempt. This doesn't have the pet combination UI as per the link showing. This will use NPC Shop UI instead. This is NOT limited to pet combination, you can be creative and change this to item tier combination if you wish. If you know how to read and basic scripting knowledge, then you can edit this script without problem. Use at your own risk.


    • Submitter
    • Submitted
      12/20/23
    • Category
    • Video
    • Content Author
      pajodex

     

  6. rAthena is not same as Herc.


    You can use the pointshop we are using tho..


    Use this format:

    <map name>,<x>,<y>,<facing>%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}


    It should be straight forward from hereon. Goodluck!

  7. 3 hours ago, Yukaiii said:

    [Error]:Value for setting 'mob_max_skilllvl': 150 is invalid (min:1 max:100)! Defaulting to 100

    I believe this is not related to the script.

     

     

    3 hours ago, Yukaiii said:

    [Error]: clif_send: Unrecognized type 81

    If you follow the original thread, you should've known that this might have to do with npctalk script command. You can always disable the npctalk part if you want to not get the error. Original thread is attached below:

     

    • Like 1
  8. On 8/18/2023 at 7:46 AM, Angel said:

    Could this system work with mapflags?

    I dont really get what you mean by this question... but it should be very possible.

     

    On 8/18/2023 at 7:46 AM, Angel said:

    How could someone outside the guilds check who is at war?

    They woudn't, if they missed the announcement. Players outside the guilds at war doesn't have any reason to know if they are at war.

     

×
×
  • Create New...