Jump to content

Alexi

Members
  • Posts

    683
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Alexi

  1. Hello guys , i would like some help here please.
    I'm working on 350rev acis pack and today i implemented masterio's pvp rank system into it , it's working except from one problem!!!
    Some tables won't get their data stored on shutdown or restart and i will get an error when the scheduled table update is running.
    Note : this "pvp system" needs javolution , so i installed the jar via eclipse , *i took javolution from l2j server hi5*

    27xf8di.png

     

    L2DatabaseFactory.java

    	public Connection getConnection()
    	{
    		Connection con = null;
    		
    		while (con == null)
    		{
    			try
    			{
    Line 142		con = _source.getConnection();
    			}
    			catch (SQLException e)
    			{
    				_log.warning("L2DatabaseFactory: getConnection() failed, trying again " + e);
    			}
    		}
    		return con;
    	}
    
    

    PvpTable.java

    	public int[] updateDB()
    	{
    		int[] result = {0, 0, 0};
    		
    		int insertCount = 0;					// count of insert queries
    		int updateCount = 0;					// count of update queries
    		
    		Connection con = null;
    		Statement statement = null;
    		
    		try
    		{
    Line 362		con = L2DatabaseFactory.getInstance().getConnection();
    			statement = con.createStatement();
    

    Shutdown.java

    			// Rank PvP System by Masterio:
    			if (RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED)
    		{
    Line 225		int[] up = PvpTable.getInstance().updateDB();
    							
    			if(up[0] == 0)
    		{
    				_log.info("PvpTable: Data saved ["+up[1]+" inserts and "+up[2]+" updates].");
    		}
    		}
    
    
    

    Shutdown.java

    			// shutdown: send warnings and then call exit to start shutdown sequence
    			countdown();
    			
    			switch (_shutdownMode)
    			{
    				case GM_SHUTDOWN:
    					SingletonHolder._instance.setMode(GM_SHUTDOWN);
    					SingletonHolder._instance.run();
    					System.exit(0);
    					break;
    				case GM_RESTART:
    					SingletonHolder._instance.setMode(GM_RESTART);
    Line 277				SingletonHolder._instance.run();
    					System.exit(2);
    					break;
    			}
    

    Edit : This error appeared in console 3-4 minutes later.
    2cmoufa.png

     

     

    Any suggestions ?

     

  2. Hello guys , i would like to know how these configs are "working" with each other.
    Also how can i modify the chance to get a skill on High LS and Top LS ?
    e.g. High LS 10% and Top LS 20% 

     

     

    AugmentationNGSkillChance = 15

    AugmentationMidSkillChance = 30
    AugmentationHighSkillChance = 45
    AugmentationTopSkillChance = 60
    AugmentationBaseStatChance = 1

     

     

     

    # ================================== #

    # Chance for Augmentation bonus in % #
    # ================================== #
    AugmentBasestat = 1
    AugmentSkill = 11

    Note : L2JHellas pack

  3. Bad economy and trading value.

    Well i tested it and it's not hard nor bad , you just need brain and a party to farm :P

     

     

    Auto-attack is really bad

    True indeed , really annooying

  4. Wayyyyyy to much to farm LoL ........

    10 FA = 250 Fire/water/another

    1 Custom Weapon = 750 FA

    drop .... not so good

     

    Auto-Attack ... sometimes is stuck 

    What's the point of an easy server!!!

    I thought it was 20 FA.

  5. Ram, more, better. At least 8GB, I would say.

    Ghz, doesn't really matter which one you choose.

    SSD, ofc better than HDD.

    @SweeTs  don't you need at least a Cpu with high frequency front side bus  ? 

     

     

     

    Depends its  9-10 kb per char (when is normal) or 15-24 if he is in siege or idk what

    How can you know that mate ? i mean , what is your source of such information ?

    Just curious

×
×
  • Create New...