Jump to content

Cydh

Developer
  • Posts

    2,285
  • Joined

  • Last visited

  • Days Won

    72

Posts posted by Cydh

  1. imho, I don't like this script. better you use quest_db and add monster's objectives

    OnNPCKillEvent:
    	if(anthell) end;
    	if(killedrid == 1176) // = Vitata
    	{
    		set VitataKills,VitataKills + 1;
    		if (VitataKills < 10) {
    			dispbottom "You killed "+VitataKills+"/10 Vitata.";
    		}
    		else if(VitataKills == 10) {
    			dispbottom "You have killed all Vitatas.";
    		}
    	}
    	else if (killedrid == 1097) // = Ant Egg
    	{
    		set AntEggKills,AntEggKills + 1;
    		if (AntEggKills < 55) {
    			dispbottom "You killed "+AntEggKills+"/55 AntEgg.";
    		}
    		else if(AntEggKills == 55) {
    			dispbottom "You have killed all AntEggs.";
    		}
    	}
    	else if (killedrid == 1005) // = Familiar
    	{
    		set FamiliarKills,FamiliarKills + 1;
    		if (FamiliarKills < 5) {
    			dispbottom "You killed "+FamiliarKills+"/5 Familiar.";
    		}
    		else if(FamiliarKills == 5) {
    			dispbottom "You have killed all Familiars.";
    		}
    	}
    	if(anthell == 0 && FamiliarKills >= 5 && AntEggKills >= 55 && VitataKills >= 10) {
    		announce " You have killed every Monster. Come back to me to !",bc_self;
    		set anthell,1;
    	}
    	end;

     

  2. 9 hours ago, redlightliu said:

    Custom npc sprite:unsure:

    a new ID too? I guess because your NPC id is out of range based on this check. https://github.com/rathena/rathena/commit/f42c2ff21171ac48fec329d6ff0dfdbbd2f0ea59#diff-301256667588bcb9a1bbf9b2ab500229R1094 try change the ID (<-- better this) or add/edit the range urself

    // Old NPC range
    #define MAX_NPC_CLASS NPC_RANGE2_END
    // New NPC range
    #define MAX_NPC_CLASS2_START NPC_RANGE3_START
    #define MAX_NPC_CLASS2_END NPC_RANGE3_END
    
    //Checks if a given id is a valid npc id. [Skotlex]
    //Since new npcs are added all the time, the max valid value is the one before the first mob (Scorpion = 1001)
    #define npcdb_checkid(id) ( ( (id) > NPC_RANGE1_START && (id) < NPC_RANGE1_END ) || (id) == JT_HIDDEN_WARP_NPC || ( (id) > NPC_RANGE2_START && (id) < NPC_RANGE2_END ) || (id) == JT_INVISIBLE || ( id > NPC_RANGE3_START && id < NPC_RANGE3_END ) )

     

    or can u paste here what's u write on const.txt and in ur script definition?

  3. On 8/11/2017 at 7:31 PM, MelMel said:

    hi i have problems with the one on rathena it self.

    i make an npc so that player can choose if they wanted to on which channel they want to be when they login.

    the first parts works player able to choose which channel they want to be in the command i use for the script is @channel join #main and it works

    but when it want to leave the channel using the npc which i script in and put the command @channel leave #main it does not work. 

    the command @channel leave #main works only on GM char itself and from npc it does not make the char leave the channel.

    i have also set the channel.cnf to be able to leave channel and autojoin:false.

     

    anyone know how to fix this issues?

     

    Thank you in advance

    why use atcommand through script when there are script commands?

  4. 21 hours ago, danielps said:

    Like!!
    But 2 questions:

     

    1- Does it work for a especific job? is not are you planning to implemment that?

    2- can i set negative values? 

     

    thanks good job!

    1. No

    2. The values are in percentage, if you want to reduce it just put number less than 100

  5. On 3/18/2017 at 6:38 PM, mjonrest said:

    I got some problems. the items drops from monster not having any random options.. i just kill several monster but all drops the same (no random option)

     

     

     

    errorss.png

    check your db/[pre-]re/item_randomopt_group.txt maybe has same issue with post above when you merge this manually

    https://rathena.org/board/topic/108189-monster-drop-with-item-random-option-yet-for-item-random-option/#comment-320003

  6. I've been pushed to add this on rAthena officially.

    • First, I just simply bring this expansion to new rAthena branch.
    • Then, actually I was planned to add script command to retrieve joined members on specified channel.
    • I can add the 'whisp' to the new joined player so the channel name will be appeared in 'name' column on chat bar.
    • Well, maybe the 'channel_disable' or is interesting idea. But why I have to that command? Why I have to add channel on config but remove it? doesn't make any sense *yet*. However, you can make it 'disabled' by delete the channel first if it's player-made channel, or kick all members then set the password. It's 'disabled'.
    • Upvote 1
  7. On 12/23/2016 at 7:59 PM, Valor said:

    helow, cari yg jualan database instance lengkap tinggal colok ke server dimana ya? ato ada ga si? thx

    ga ada, mending bkin instance sndiri

    17 hours ago, ladylourie said:

    Halo, saya member baru, salam kenal :D
    sempet tertarik juga sih sama translation project...

     

    selamat bergabung.

  8. 18 hours ago, Beret said:

    Nothing against the implementation of the system, but all the information about the system I posted on hercules, posted here, at least a thank you for showing the packet that niguem realized and knew how the system worked.

    I have this system since 2015 that one of my friends former Administrator of brAthena Megasantos created this system for my server. I then passed the packets to dev hercules and all system information, now copied the topic and posted here in rathena

    niguem, Megasantos, who? which post?

    hmmm

    Do u refer to 

    or to this? https://rathena.org/board/topic/107674-cash-shop-control-panel/

     

    At least I know why u felt "I shared, but u mentioned nothing about me". There are some possibilities, but... ahsudahlah

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.