-
Posts
46 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by jonsan
-
thank you for your words man ...We are trying to offer good gameplay for players :) we had the 3 beta phases with one goal, good and stable server ......
-
I like your ideas good luck :)
- 88 replies
-
- l2euphoria
- euphoria
-
(and 3 more)
Tagged with:
-
just another fail :D
-
Source L2Tales Original Source Old
jonsan replied to kingbill's topic in Server Shares & Files [L2J]
:D l2royalle High Five man -
[Help]How To Add Skills To Npc
jonsan replied to expll0's question in Request Server Development Help [L2J]
Npc skill seller ........... http://www.maxcheaters.com/topic/186349-skill-seller/ -
;) http://www.4shared.com/file/68458605/4658a821/L2J_C3.html
-
Type : Mid Rate PvP Server XP: 250x LoL btw good luck
-
how ?
-
bitch please :troll:
-
lol too many fake players
-
Playingon Lineage II West isn't a right, is a privilege! OmG why everyone copy this motto from l2dex :you serious?:
-
www.l2rebort.net.ve WTF man really
- 6 replies
-
- Html
- Server Private
-
(and 4 more)
Tagged with:
-
Hi guys i need help to adapt this code for l2j Index: java/com/descja/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/descja/gameserver/model/actor/instance/L2PcInstance.java (revision 38) +++ java/com/descja/gameserver/model/actor/instance/L2PcInstance.java (revision 38) private long _chatBanTimer = 0L; private ScheduledFuture<?> _chatBanTask = null; private boolean _isOffline = false; + private boolean _isFakePlayer = false; public void setOffline(boolean set) { _isOffline = set; } + public boolean isFakePlayer() + { + return _isFakePlayer; + } =================================================================== Index: java/com/descja/FakePlayers.java =================================================================== --- java/com/descja/FakePlayers.java (revision 0) +++ java/com/descja/FakePlayers.java (revision 0) package com.descja; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.descja.Config; import com.descja.gameserver.model.actor.instance.L2PcInstance; import com.descja.gameserver.network.L2GameClient; import com.descja.gameserver.network.L2GameClient.GameClientState; import com.descja.gameserver.thread.LoginServerThread; import com.descja.util.ResourceUtil; import com.descja.util.database.L2DatabaseFactory; public class FakePlayers { private static final Log _log = LogFactory.getLog(FakePlayers.class.getName()); private static final String CLEAR_OFFLINE_TABLE = "DELETE FROM fake_players"; private static final String LOAD_OFFLINE_STATUS = "SELECT * FROM fake_players"; private static FakePlayers _instance; public static FakePlayers getInstance() { if(_instance == null) { _instance = new FakePlayers(); } return _instance; } private FakePlayers() { storeFakePlayers(); } public static void storeFakePlayers() { _log.info("FakePlayers: Activated"); Connection con = null; int nPlayers = 0; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement stm = con.prepareStatement(LOAD_OFFLINE_STATUS); ResultSet rs = stm.executeQuery(); while(rs.next()) { L2PcInstance player = null; try { L2GameClient client = new L2GameClient(null); player = L2PcInstance.load(rs.getInt("charId")); client.setActiveChar(player); client.setAccountName(player.getAccountNamePlayer()); client.setState(GameClientState.IN_GAME); player.setClient(client); player.isFakePlayer(); player.spawnMe(player.getX(), player.getY(), player.getZ()); LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client); if(Config.FAKE_PLAYERS_SIT) { player.sitDown(); } player.setOnlineStatus(true); player.restoreEffects(); player.broadcastUserInfo(); nPlayers++; } catch(Exception e) { _log.error("Fake Players Engine: Error loading player: "+player,e); if(player != null) { player.deleteMe(); } } } rs.close(); stm.close(); _log.info("Loaded: " +nPlayers+ " Fake Players"); } catch(Exception e) { _log.error("Fake Players Engine : Error while loading player: ",e); } finally { ResourceUtil.closeConnection(con); } } } =================================================================== Index: java/com/descja/gameserver/GameServer.java =================================================================== --- java/com/descja/gameserver/GameServer.java (revision 53) +++ java/com/descja/gameserver/GameServer.java (revision 53) +import com.descja.FakePlayers; private static void loadCharacters() { Util.printSection("Characters"); ClanTable.getInstance(); CharTemplateTable.getInstance(); LevelUpData.getInstance(); } + //DescJa Fake Players// + private static void loadWhiteAttack() + { + if(Config.FAKE_PLAYERS) + { + Util.printSection("Fake Characters"); + FakePlayers.getInstance(); + } + } + //DescJa Fake Players// =================================================================== Index: java/com/descja/Config.java =================================================================== --- java/com/descja/Config.java (revision 162) +++ java/com/descja/Config.java (revision 162) + /*DescJa*/ + public static boolean FAKE_PLAYERS_SIT; + public static boolean FAKE_PLAYERS; + //FakePlayers.ini// + public static void FakePlayersConfig() + { + try + { + L2Properties p = new L2Properties(ConfigFiles.FakePlayers_INI); + + FAKE_PLAYERS = TypeFormat.parseBoolean(FakePlayers.getProperty("FakePlayers", "False")); + FAKE_PLAYERS_SIT = TypeFormat.parseBoolean(FakePlayers.getProperty("FakePlayersSit", "False")); + + p.clear(); + } + catch(Exception e) + { + _log.warn("Failed to load " + ConfigFiles.FakePlayers_INI); + } + } + /*DescJa*/ =================================================================== Index: java/com/descja/util/services/ConfigFiles.java =================================================================== --- java/com/descja/util/services/ConfigFiles.java +++ java/com/descja/util/services/ConfigFiles.java + public static final String FakePlayers_INI = "./config/FakePlayers.ini"; =================================================================== Index: config/FakePlayers.ini =================================================================== --- config/FakePlayers.ini +++ config/FakePlayers.ini +#============================================ +# Fake Players Mod # +#============================================ + +# Enable Fake Players System +# Default: False +FakePlayers = False + +# Fake Players Sit Down +# Default: False +FakePlayersSit = False
-
gl :) I like your site ;)
-
good luck :)
-
wtf bro what do you mean tales soft is not tales soft its russian soft (old tales source =Fandc+Rebellion+L2CCP) and new Tales + l2-scripts
-
L2Off Interlude Server - Ready To Go (Rent)
jonsan replied to ΑκΑλυπτος*'s topic in Marketplace [L2Packs & Files]
GL man .. Price its ok -
Edited systemmsg for IL and Freya/H5(see screenshots)
jonsan replied to |Ambra|'s topic in Client Development Discussion
reshare pls link is death :( -
Source L2Tales Original Source Old
jonsan replied to kingbill's topic in Server Shares & Files [L2J]
1.7 -
100% :D give me the money yo yo oy
-
Same shit GM`s sell items ++++
- 21 replies
-
- no farm
- instant pvp
-
(and 1 more)
Tagged with:
-
Old Tales pack (Fandc+Rebellion+L2CCCP) ................. even you have same welcome info
-
Check Forum:http://l2finitiupdate.com/forums/index.php for more info about (changes and fixes)
-
tnx for system ;) and good luck
-
I try to connect to your website -----------> Reported Unwanted Software Page!