Jump to content

sotid

Members
  • Posts

    345
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by sotid

  1. http://prntscr.com/mywmci

     

    Tryskell tried to help you but you closed the door.
    Post your errors.

    As sweets says:

    ExternalHostname = YOUR IP

    change this to your IP.
    disable firewall.

    open ports in your router.

    If that doesnt work then :
    1)You didnt open the ports correctly
    2)Your router has some other option for ports.

    To check if your ports are on ,first open the server then check one by one your ports here :

    https://www.yougetsignal.com/tools/open-ports/

     

    Post your opened ports too.

  2. 10 hours ago, Kara` said:

    @sotid Don't write bullshit please. If the majority prefer to troll and ruin a place the rest don't really need to follow.

    The problem with you guys (including me in past) is that you troll and in the end complain about trolls.@Tryskell


    I dont write bullshit , you know very well there is no respect between the majority of the forum members.

    "the problem with you guys"
    I never disrespected anyone here even when I am getting  mocked or laughed for my knowledge.

    [GR]
    Τα υπολοιπα απο skype,απο δευτερα θα σε τιμωρησω που μου μιλας ασχημα με τα fix μου.
    [/GR]
     

    • Sad 1
  3. 2 hours ago, SweeTs said:

    Same stackType won't fix that if you think about. What's happening is 

     

    Active skill, set invul true > cast new skill, set invul true > in the same time, old skill launches onExit which sets invul false.

     

    I suppose.

     

    Devilish code ]:->

     

    So yeah, looping your active buffs, checking for still type is the way, easiest way so far.

    And how do I do that?

  4. 21 hours ago, SweeTs said:

    Not sure but shouldn't one buff override another? That would solve it.

    Problem is the onExit, setting char false for invul. Not taking into consideration the second celestial.

    even when I add stacktypes and one overrides the other the problem still exists.

     

     

    20 hours ago, melron said:

    The structure is bad, but you can check the method onExit if the same skill type exists and if yes, simply don't remove the invul

    How can I fix this??

    I changed

    public void onExit()
    	{
    		getEffected().setIsInvul(false);

    to

    public void onExit()
    	{
    		getEffected().setIsInvul(true);

    and it does work even if another celestial is active but you stay invul even if the skill effect stop which is why is false I guess.

  5. L2jfrozen/1004 interlude.

    If you have celestial on and you cast sonic barrier or another celestial type , after the first celestial worn out the second one doesn't continue  giving you invulnerability.

    I guess is core sided so tell me what else I need to post.

    EffectInvincible.java
     

    /*
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2, or (at your option)
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     * 02111-1307, USA.
     *
     * http://www.gnu.org/copyleft/gpl.html
     */
    package com.l2jfrozen.gameserver.skills.effects;
    
    import com.l2jfrozen.gameserver.model.L2Effect;
    import com.l2jfrozen.gameserver.skills.Env;
    
    public class EffectInvincible extends L2Effect
    {
    	public EffectInvincible(Env env, EffectTemplate template)
    	{
    		super(env, template);
    	}
    
    	@Override
    	public EffectType getEffectType()
    	{
    		return L2Effect.EffectType.INVINCIBLE;
    	}
    
    	@Override
    	public void onStart()
    	{
    		getEffected().setIsInvul(true);
    	}
    
    	@Override
    	public boolean onActionTime()
    	{
    		//Commented. But I'm not really sure about this, could cause some bugs.
    		//getEffected().setIsInvul(false);
    		return false;
    	}
    
    	@Override
    	public void onExit()
    	{
    		getEffected().setIsInvul(false);
    	}
    }



     

  6. 16 hours ago, SweeTs said:

    Off-topic: what a stupid config.. Good luck adding all armor skill id's just to make things work as it should :happyforever:

    I would simply turn off that config. There is no reason to keep it enabled. I doubt there are holes in code to bug and get some skills. Even if there are, it's not stopping anyone to make the bug again after the relog. So yeah, such a useless config.

    Yea its a really stupid config.

  7. 5 hours ago, KIDutz said:

     

    I had this problem too .

    Its caused by this config:

    gameserver\config\protected\other.properties

    CheckSkillsOnEnter = True

    If you have it False you will have no problem. If you change it to True for extra protections the server detects the armor passives and doesn't allow them only with re-equip .

    Go here and exclude all the armor passives and you will be fine:

    gameserver\config\functions\l2jfrozen.properties

    AllowedSkills = your ids

    • Thanks 1
  8. On 2/12/2019 at 8:40 PM, kasiakas said:

    I checked it as on other running servers is written in this line

    [Auth]
    ServerAddr=127.0.0.1

    when anyway I change as you said - it doesn't work

    ServerAddr= MY IP ADDRESS

    if your server is not local , meaning other people can join , your external IP may not work . Use your internal to join from your PC if your server is opened from home.

  9. On 2/15/2019 at 1:29 AM, baksteen said:

     

    I get your both points now.

    Sorry for being an idiot, much love.

    Thanks baksteen sure developers of maxcheaters play it mighty and smart-asses but I appreciate their help even if sometimes doesn't help me in the slightest. I didn't reply cause I didn't have the time to check the code . Sweets helped me some times before , not given his best at helping me but sure he helped me . At the end I will upload my progress on the code and they will correct me as they always that's why they are in this section,even if they laugh at me or if they do it kindly . Personally I don't really care about their ways. I will get my code fixed sooner or later.
    And yes I don't ask for ready codes ever because this is how they make their money , its their choice to help people. Sure they could be better much better than they already do but I don't give a shit ,  the do help some times where they could skip us.

    Also for SweeTs

    " If you have latest aCis, use it as it's slightly modified. "

    This is laughable,  you know I have frozen for this topic and many previous, stop promoting aCis when someone asks help for another project.

  10. 5 hours ago, SweeTs said:

    Bcs all is already said. Admin bookmark has code rdy code. All you have to change is the htm display.. Which you already have from original code. So.. Put puzzles together.

    So am I adding the code to the right place? lets start from that..

     

    If yes then one more Question .

    This:

    if (_command.startsWith("DropListNpc"))


    I think is inside this:

     

     

    protected void runImpl()
        {
            L2PcInstance activeChar = getClient().getActiveChar();
    
            if(activeChar == null)
                return;
    
            if (!getClient().getFloodProtectors().getServerBypass().tryPerformAction(_command))
                return;
            
    
            try
            {
              			
                        .
                        .
                        .
                   if (_command.startsWith("DropListNpc"))

     

    To start something like this :

    private static void showItemsPage(Player activeChar, int page)

    or

    public boolean useAdminCommand(String command, Player activeChar)

    I have to start in a new line outside the {} of the code?
    Also what admincommands have anything to do with it , this code will be for players.

×
×
  • Create New...