Jump to content

Pink Guy

Members
  • Content Count

    34
  • Joined

  • Last visited

Posts posted by Pink Guy


  1. hi guys i try to use @changesex command and it has message saying "Disconnecting to perform change-sex request." then I get dc but my sex doesn't change.  I do not have bard or dancer in my account so it's something different causing this problem.  can anyone pls help? thanks you.


  2. Really need help with this guys.  It's literally the only skill that somehow has delay even tho I have 0 delay on skill.conf and 0 cd delay for hiding and shadow jump.  I also notice the other 255/120 server I play on who has herc emulator has this delay.


  3. I have exact same problem like this.

     

    But what happen is shadow jump has 1 sec delay. My server is pre renewal and max level is 255/120.  Max attackspeed 197.  0 overall delay on skill.conf.  It is not local host.  I can use all skill fine it is just shadow jump for some reason.  I am talking about hiding + shadow jump combo in case u wondering.

    My skill_db.conf below.

    	Id: 529
    	Name: "NJ_SHADOWJUMP"
    	Description: "Shadow Leap"
    	MaxLevel: 5
    	Range: {
    		Lv1: 7
    		Lv2: 9
    		Lv3: 11
    		Lv4: 13
    		Lv5: 15
    		Lv6: 17
    		Lv7: 19
    		Lv8: 21
    		Lv9: 23
    		Lv10: 25
    	}
    	Hit: "BDT_SKILL"
    	SkillType: {
    		Place: true
    	}
    	SkillInfo: {
    		AllowReproduce: true
    	}
    	DamageType: {
    		NoDamage: true
    	}
    	AfterCastActDelay: 0
    	CoolDown: 0
    	Requirements: {
    		SPCost: 10
    		State: "Hiding"
    	}

    Also hiding skill db

    	Id: 51
    	Name: "TF_HIDING"
    	Description: "Hiding"
    	MaxLevel: 10
    	Range: 1
    	Hit: "BDT_SKILL"
    	SkillType: {
    		Self: true
    	}
    	DamageType: {
    		NoDamage: true
    	}
    	SkillData1: {
    		Lv1: 30000
    		Lv2: 60000
    		Lv3: 90000
    		Lv4: 120000
    		Lv5: 150000
    		Lv6: 180000
    		Lv7: 210000
    		Lv8: 240000
    		Lv9: 270000
    		Lv10: 300000
    	}
    	CoolDown: 0
    	Requirements: {
    		SPCost: 10
    	}

    Anyone can help with this plz? ty in advance


  4. 30 minutes ago, bWolfie said:

    Search skill.c for SG_HATE.  Target is emperium mob then skill fails. Add the mobs you need.

    case SG_HATE: if (sd) { clif->skill_nodamage(src,bl,skill_id,skill_lv,1); // mobs which cannot be hated int class_ = status->get_class(bl); if (class_ == MOBID_EMPELIUM) { clif->message(sd->fd, msg_sd(sd, 1551)); // Hatred cannot be cast on this mob. clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); break; } if (!pc->set_hate_mob(sd, skill_lv-1, bl)) clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); } break;

    
    		case SG_HATE:
    			if (sd) {
    				clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
    				// mobs which cannot be hated
    				int class_ = status->get_class(bl);
    				if (class_ ==   MOBID_EMPELIUM) {
    					clif->message(sd->fd, msg_sd(sd, 1551));  // Hatred cannot be cast on this mob.
    					clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
    					break;
    				}
    
    				if (!pc->set_hate_mob(sd, skill_lv-1, bl))
    					clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
    			}
    			break;

      

    I tried that but it's giving me error when I recompile and I can still hatred emp.

    z4bSPtt.png


  5. Hello guys I tried copying this post. I also made it as close as the current coding (copied feelings then modified it to make sure it's the current coding syntax). I also added the 1552 entry to conf/messages.conf but when I type @hatereset in my server nothing happens and the message that appears is "??".

    Here are my current codes.

    src/map/atcommand.c

    /*==========================================
     * Feel (SG save map) Reset [HiddenDragon]
     *------------------------------------------*/
    ACMD(feelreset)
    {
    	pc->resetfeel(sd);
    	clif->message(fd, msg_fd(fd,1324)); // Reset 'Feeling' maps.
    
    	return true;
    }
    
    ACMD(hatereset)
    {
    	pc->resethate(sd);
    	clif->message(fd, msg_fd(fd,1552));
    
    	return true;
    }

    conf/message.conf

    1552: Reset Hatred.

    src/map/pc.c

    /*==========================================
     * /resetfeel [Komurka]
     *------------------------------------------*/
    static int pc_resetfeel(struct map_session_data *sd)
    {
    	int i;
    	nullpo_ret(sd);
    
    	for (i=0; i<MAX_PC_FEELHATE; i++)
    	{
    		sd->feel_map[i].m = -1;
    		sd->feel_map[i].index = 0;
    		pc_setglobalreg(sd,script->add_variable(pc->sg_info[i].feel_var),0);
    	}
    
    	return 0;
    }
    
    static int pc_resethate(struct map_session_data *sd)
    {
    	int i;
    	nullpo_ret(sd);
    
    	for (i = 0; i < MAX_PC_FEELHATE; i++) {
    		sd->hate_mob[i] = -1;
    		pc_setglobalreg(sd,script->add_variable(pc->sg_info[i].hate_var),0);
    	}
    	return 0;
    }

    Anyone can help me fix this?

    This is what I get after typing @hatereset.

    EadQngK.png

     

    Also how do I disable Hatred to emperium?


  6. 19 hours ago, bWolfie said:

    In static int status_get_sc_def() you can add code.

    Right below this,

    //Aegis accuracy if (rate > 0 && rate%10 != 0) rate += (10 - rate%10);

    
    		//Aegis accuracy
    		if (rate > 0 && rate%10 != 0) rate += (10 - rate%10);

    You can add your code:

    //Aegis accuracy if (rate > 0 && rate%10 != 0) rate += (10 - rate%10); // Gain all status immunity by LUK stat. Caps at 99 (100% immunity) // change both 99 values to what you want if (st->luk >= 99) rate = 0; else rate -= rate * st->luk / 99 + 10;

    
    		//Aegis accuracy
    		if (rate > 0 && rate%10 != 0) rate += (10 - rate%10);
    
    		// Gain all status immunity by LUK stat. Caps at 99 (100% immunity)
    		// change both 99 values to what you want
    		if (st->luk >= 99)
    			rate = 0;
    		else
    			rate -= rate * st->luk / 99 + 10;

     

    Thanks this fixed it.


  7. Hey guys I just want to ask how to make more luk = less time you're affected by statuses and also 300 luk = immune to all status?  I tried googling and the threads I found so far didn't fix my problem. 

    I tried these but no luck.  Might be due to these threads being 2+ years old.

     


  8. Hello people.  I have a question regarding skill cooldown and delay.  I had a server which I bought from a RO VPS reseller wherein I have these settings:

    skill.conf

    // Delay time after casting (Note 2)
    delay_rate: 0
    
    // Minimum allowed delay for ANY skills after casting (in milliseconds) (Note 1)
    // Note: Setting this to anything above 0 can stop speedhacks.
    min_skill_delay_limit: 30

    player.conf

    // Maximum atk speed. (Default 190, Highest allowed 199)
    max_aspd: 197

    Then I put all skills cooldown to 70 in skilldb.

     

    In that server with that reseller hosting company, after using these settings, I am able to spam skills as long as I have max attack speed.  However, I bought an unmanaged server and hired a developer to install my server in the latest herc trunk then I added the same settings above.  But for some reason, I cannot spam skills like before. It seems that skill spam keeps stopping and you cannot spam skill without using macro. The servers are both in LA.  The only difference is in my old server I had 2015-11-04 client while on this new one, I am using 2018-05-30 client.  Anyone can help me with this?  Is there any way for me to fix the delay or do I really have to switch back to 2015 client?  Will it really fix the problem if I switch the client? 

    Thank you.

     

    EDIT:
    To give more context.  I will put a gif of the skill spam difference between my servers.  The first one is my old one (from reseller hosting) and the other one is the new server.

    * Note They are both in LA and settings are the same as above.  These gifs are skill spam with me manually pressing the keys (not macro).  Both servers use latest herc trunk (at that time).

    Reseller RO hosting (skill spam is still fast even manually)

    9bGbEyZ.gif

     

    Current server (skill spam keeps stopping when spammed manually)

    9KuumJ9.gif

     

     

×
×
  • Create New...

Important Information

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