Jump to content

[Share]L2J Server Freya Project + Source


Recommended Posts

 

+1 Gia Oti Leei O Baggos Den Einai Prencofigured Mporeis Na Kaneis Oti Thes Panw Sto Pack Egw Edw Kai Arketes Meres Doulevw Pano Se Afto, Opos Einai Fusiologiko Tha Thelei Kai Kapia Fixes...

 

kgo Kane Ta Fixes esu : ) eiparxoune xiliades bugs gia na fixaris alla ntax ; ) tha to dwkimaso kai egw an einai etsi apo periergia gj work Baggos ; )

Link to comment
Share on other sites

kgo Kane Ta Fixes esu : ) eiparxoune xiliades bugs gia na fixaris alla ntax ; ) tha to dwkimaso kai egw an einai etsi apo periergia gj work Baggos ; )

Σίγουρα υπάρχουν, αλλά είχα server με αυτό το project, οπότε κάποια είναι ήδη fixed.

Επίσης, εάν εσύ ο ίδιος θα ήθελες να ανοίξεις έναν Freya server θα διάλεγες το L2J Server, θα το έκανες Compile και θα περνούσες μέσα κώδικες, αυτό έκανα και εγώ. Είναι Based L2J Server. Απλά σε παροτρύνω από το να περάσεις μερικά από αυτά που ήδη έχει.

 

Δεν είπα πως έχω κάνει ΔΙΚΟ ΜΟΥ project, απλά πως πέρασα μέσα στο L2J μερικά πράγματα.

Από αύριο θα γίνει Update σε Java Side.

Link to comment
Share on other sites

kgo Kane Ta Fixes esu : ) eiparxoune xiliades bugs gia na fixaris alla ntax ; ) tha to dwkimaso kai egw an einai etsi apo periergia gj work Baggos ; )

 

 

''Xiliades'' Den Tha To Elega Alla Ntax, Anyway Check It.

Link to comment
Share on other sites

 

''Xiliades'' Den Tha To Elega Alla Ntax, Anyway Check It.

 

nai sry dn ta poly paw kala me ta ellinika kalitera Rwssika

Link to comment
Share on other sites

  • 5 months later...

paidia thelw help...vazw to enable modify skill duration 264,14400;265,14400;266,14400;267,14400;268,14400;\

269,14400;270,14400;271,14400;272,14400;273,14400;274,14400;275,14400;\

276,14400;277,14400;304,14400;305,14400;306,14400;307,14400;308,14400;\

309,14400;310,14400;311,14400;349,14400;363,14400;364,14400;366,14400;\

367,14400;529,14400;530,14400;1032,14400;1033,14400;1035,14400;\

1036,14400;1040,14400;1043,14400;1044,14400;1045,14400;1048,14400;\

1059,14400;1062,14400;1068,14400;1077,14400;1078,14400;1085,14400;\

1086,14400;1182,14400;1189,14400;1191,14400;1204,14400;1240,14400;\

1242,14400;1243,14400;1303,14400;1397,14400;1363,14400;1362,14400;\

1416,14400;1364,14400;1365,14400;1415,14400;1414,14400;1413,14400;\

1284,14400;1310,14400;1391,14400;1390,14400;1308,14400;\

1309,14400;1461,14400;1429,14400;1002,14400;1252,14400;1251,14400;\

 

 

 

 

 

1253,14400;1006,14400;1007,14400;\1388,14400;1519,14400;1443,14400;1259,14400;1352,14400;1353,14400;1354,14400;1392,14400;1393,14400;\4703,14400;834,14400;1444,14400;4700,14400;827,14400;\

829,14400;1232,14400;\1388,14400;1499,14400;1500,14400;\1501,14400;1502,14400;1503,14400;1504,14400;\1047,14400;1307,14400;285,14400;1238,14400;\1389,14400;830,14400;4702,14400;\

1460,14400;4699,14400;\825,14400;765,14400;915,14400;914,14400;764,14400;

\826,14400;828,14400;4699,14400

 

 

 

kai trexw xana ton server kai ta buffs einai pali ta misa 19 min ta misa ena lepto...kapoios mporei na help??  baggos esy i opoiosdipote allos mporei na me help

 

 

 

DELETE this post!

Link to comment
Share on other sites

  • 3 weeks later...
  • 5 weeks later...
psefti baggos kata 90% ta custom mpori na work alla ta fix pou les ine psemata ena tetio pack me tetia features exi pano apo 100 ebro kai esi to dinis jaba exw freya server l2j kai etsi nado an les alithia an perases ta fix piga na peraso kai ego afta ta dio [codeJava Force Bug.
Java CP Exploit

siga  min katso na ta kitakso ola  kai den periosan opios katexi apo java katalabeni ti leo as me sixoresi o theos pou se leo psefti tha se apantioso kai sto interlude pack pou souxa empistosini kai to ithela gia enan filo alla tora mpika stin skepsi na ton ftiakso frozen

Link to comment
Share on other sites

Auto Vote System doesn't work on topzone nor hopzone( i have l2jls and l2jgs maybe i need to bind them)! When i try to import the decompiled datapack or core in eclipse it doesnt work because it asks for  user and password!!!! Any ideea??

Link to comment
Share on other sites

Why auto vote reward doesn't work! That vote link cannot be changed! It's good that there is a source link that doesn't work!

 

 

 

// Source File Name:  AutoVoteRewardManager.java

 

package com.l2jserver.gameserver.instancemanager;

 

import com.l2jserver.Config;

import com.l2jserver.L2DatabaseFactory;

import com.l2jserver.gameserver.Announcements;

import com.l2jserver.gameserver.ThreadPoolManager;

import com.l2jserver.gameserver.model.L2World;

import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

import com.l2jserver.gameserver.network.L2GameClient;

import java.io.*;

import java.net.InetAddress;

import java.net.URL;

import java.sql.*;

import java.util.*;

import java.util.logging.Level;

import java.util.logging.Logger;

import org.mmocore.network.MMOConnection;

 

public class AutoVoteRewardManager

{

    private static class SingletonHolder

    {

 

        protected static final AutoVoteRewardManager _instance = new AutoVoteRewardManager();

 

 

        private SingletonHolder()

        {

        }

    }

 

    private class AutoReward

        implements Runnable

    {

 

        public void run()

        {

            int votes = getVotes();

            AutoVoteRewardManager._log.info((new StringBuilder()).append("AutoVoteRewardManager: We now have ").append(votes).append("/").append(getLastVoteCount() + 5).append(" vote(s). Next check in ").append(160).append(" sec.").toString());

            Announcements.getInstance().announceToAll("Vote on http://L2TopZone.com");

            if(votes >= getLastVoteCount() + 5)

            {

                Collection pls = L2World.getInstance().getAllPlayers().values();

                Iterator i$ = pls.iterator();

                do

                {

                    if(!i$.hasNext())

                        break;

                    L2PcInstance onlinePlayer = (L2PcInstance)i$.next();

                    if(onlinePlayer.isOnline() && !onlinePlayer.getClient().isDetached() && !AutoVoteRewardManager._ips.contains(onlinePlayer.getClient().getConnection().getInetAddress().getHostAddress()))

                    {

                        for(int i = 0; i < AutoVoteRewardManager.itemId.length; i++)

                            onlinePlayer.addItem("vote_reward", AutoVoteRewardManager.itemId, AutoVoteRewardManager.itemCount, onlinePlayer, true);

 

                        AutoVoteRewardManager._ips.add(onlinePlayer.getClient().getConnection().getInetAddress().getHostAddress());

                    }

                } while(true);

                AutoVoteRewardManager._log.info("AutoVoteRewardManager: Reward for votes now!");

                Announcements.getInstance().announceToAll("Reward for players! Thanks for Vote.");

                setLastVoteCount(getLastVoteCount() + 5);

            }

            if(getLastVoteCount() == 0)

                setLastVoteCount(votes);

            else

            if((getLastVoteCount() + 5) - votes > 5 || votes > getLastVoteCount() + 5)

                setLastVoteCount(votes);

            Announcements.getInstance().announceToAll((new StringBuilder()).append("We have ").append(votes).append(" vote(s). Next reward on ").append(getLastVoteCount() + 5).append(" vote.").toString());

            AutoVoteRewardManager._ips.clear();

        }

 

        final AutoVoteRewardManager this$0;

 

        private AutoReward()

        {

            this$0 = AutoVoteRewardManager.this;

            super();

        }

 

    }

 

 

    private AutoVoteRewardManager()

    {

        _log.info("AutoVoteRewardManager: Vote reward system initiated.");

        if(Config.L2JMOD_VOTE_ENGINE_SAVE)

            load();

        ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), 1000L, 0x27100L);

    }

 

    private int getVotes()

    {

        InputStreamReader isr;

        BufferedReader in;

        URL url = null;

        isr = null;

        in = null;

        int i;

        URL url = new URL("http://l2topzone.com/lineage2/server-info/5239/L2Sigmo.html");

        isr = new InputStreamReader(url.openStream());

        in = new BufferedReader(isr);

        String inputLine;

        do

            if((inputLine = in.readLine()) == null)

                break MISSING_BLOCK_LABEL_102;

        while(!inputLine.contains("moreinfo_total_rank_text"));

        i = Integer.valueOf(inputLine.split(">")[2].replace("</div", "")).intValue();

        try

        {

            in.close();

        }

        catch(IOException e) { }

        try

        {

            isr.close();

        }

        catch(IOException e) { }

        return i;

        IOException e;

        try

        {

            in.close();

        }

        // Misplaced declaration of an exception variable

        catch(IOException e) { }

        try

        {

            isr.close();

        }

        // Misplaced declaration of an exception variable

        catch(IOException e) { }

        break MISSING_BLOCK_LABEL_195;

        e;

        _log.warning((new StringBuilder()).append("AutoVoteRewardHandler: ").append(e).toString());

        try

        {

            in.close();

        }

        // Misplaced declaration of an exception variable

        catch(IOException e) { }

        try

        {

            isr.close();

        }

        // Misplaced declaration of an exception variable

        catch(IOException e) { }

        break MISSING_BLOCK_LABEL_195;

        Exception exception;

        exception;

        try

        {

            in.close();

        }

        catch(IOException e) { }

        try

        {

            isr.close();

        }

        catch(IOException e) { }

        throw exception;

        return 0;

    }

 

    private void setLastVoteCount(int voteCount)

    {

        lastVoteCount = voteCount;

    }

 

    private int getLastVoteCount()

    {

        return lastVoteCount;

    }

 

    private void load()

    {

        int votes;

        Connection con;

        votes = 0;

        con = null;

        con = L2DatabaseFactory.getInstance().getConnection();

        PreparedStatement statement = con.prepareStatement("SELECT vote FROM votes LIMIT 1");

        ResultSet rset;

        for(rset = statement.executeQuery(); rset.next();)

            votes = rset.getInt("vote");

 

        rset.close();

        statement.close();

        L2DatabaseFactory.close(con);

        break MISSING_BLOCK_LABEL_100;

        Exception e;

        e;

        _log.log(Level.WARNING, "data error on vote: ", e);

        L2DatabaseFactory.close(con);

        break MISSING_BLOCK_LABEL_100;

        Exception exception;

        exception;

        L2DatabaseFactory.close(con);

        throw exception;

        setLastVoteCount(votes);

        return;

    }

 

    public void save()

    {

        Connection con = null;

        con = L2DatabaseFactory.getInstance().getConnection();

        PreparedStatement statement = con.prepareStatement("UPDATE votes SET vote = ? WHERE id=1");

        statement.setInt(1, getLastVoteCount());

        statement.execute();

        statement.close();

        L2DatabaseFactory.close(con);

        break MISSING_BLOCK_LABEL_76;

        Exception e;

        e;

        _log.log(Level.WARNING, "data error on vote: ", e);

        L2DatabaseFactory.close(con);

        break MISSING_BLOCK_LABEL_76;

        Exception exception;

        exception;

        L2DatabaseFactory.close(con);

        throw exception;

    }

 

    public static AutoVoteRewardManager getInstance()

    {

        return SingletonHolder._instance;

    }

 

 

    private static Logger _log = Logger.getLogger(com/l2jserver/gameserver/instancemanager/AutoVoteRewardManager.getName());

    private static final String http = "http://l2topzone.com/lineage2/server-info/5239/L2Sigmo.html";

    private static final int initialCheck = 1000;

    private static final int delayForCheck = 0x27100;

    private static final int itemId[] = {

        14169, 9143

    };

    private static final int itemCount[] = {

        1, 3

    };

    private static final int votesRequiredForReward = 5;

    private static List _ips = new ArrayList();

    private static int lastVoteCount = 0;

 

 

 

 

 

 

 

 

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...