Jump to content

Tachi

Members
  • Posts

    174
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Tachi

  1. call looking for a website with scripts player online serveronline login online top pvp
  2. i got this error when i made geodata on my server... GeoData: Initializing... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at net.sf.l2j.gameserver.geoengine.geodata.GeoDriverArray.loadComplexBlo ck(GeoDriverArray.java:221) at net.sf.l2j.gameserver.geoengine.geodata.GeoDriverArray.loadGeoBlocks( GeoDriverArray.java:130) at net.sf.l2j.gameserver.geoengine.geodata.GeoDriverArray.<init>(GeoDriv erArray.java:66) at net.sf.l2j.gameserver.geoengine.GeoData.initialize(GeoData.java:52) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:225) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:465) and in gameserver.bat i make 3gb of ram +
  3. The problem is that blue circle not always work, and the red did not work
  4. so code pvp circle work but after flag going off pvp circle is on ..and he wont remove.. what i need to to this is code on l2pcinstance public void updatePvPStatus(L2Character target) { final L2PcInstance player = target.getActingPlayer(); if (player == null) return; if (EventManager.getInstance().isRegistered(this) && EventManager.getInstance().isRunning()) return; if (isInDuel() && player.getDuelId() == getDuelId()) return; if ((!isInsideZone(ZoneId.PVP) || !target.isInsideZone(ZoneId.PVP)) && player.getKarma() == 0) { PvpFlagTaskManager.getInstance().add(this, System.currentTimeMillis() + ((checkIfPvP(player)) ? Config.PVP_PVP_TIME : Config.PVP_NORMAL_TIME)); if (getPvpFlag() == 0) { target.setTeam(2); player.setTeam(1); updatePvPFlag(1); } else { target.setTeam(0); player.setTeam(0); } // 1 of those 3 should work but only 1 broadcastRelationsChanges(); broadcastCharInfo(); broadcastUserInfo(); } } charinfo.java code if (_activeChar.getTeam() == 1 || (Config.PLAYER_SPAWN_PROTECTION > 0 && _activeChar.isSpawnProtected())) writeC(0x01); // team circle around feet 1= Blue, 2 = red else if (_activeChar.getTeam() == 2) writeC(0x02); // team circle around feet 1= Blue, 2 = red else writeC(0x00); // team circle around feet 1= Blue, 2 = red userinfo.java code if (_activeChar.getTeam() == 1 || (Config.PLAYER_SPAWN_PROTECTION > 0 && _activeChar.isSpawnProtected())) writeC(0x01); // team circle around feet 1= Blue, 2 = red else if (_activeChar.getTeam() == 2) writeC(0x02); // team circle around feet 1= Blue, 2 = red else writeC(0x00); // team circle around feet 1= Blue, 2 = red l2character.java code private int _team = 0; public void setTeam(int team) { _team = team; } public int getTeam() { return _team; } }
  5. i make the code..but i have some problems where to add 0x00 in when players are with circle whats the correct broadcast to make all players able to see the color circles and where to place it
  6. l2character.txt i fixed problem with gameserver ..but now nothing happened..no circle with yuo code ...
  7. i add your code and when i hit don't have animations but dmg give... and after make karma get red cirlce if i change karma to 0 red cirlce don't disappear but pvp blu circle won't work and same problem no have animation :(
  8. i don't know a lot of java ..someone can help me to adapted this code for acis :(
  9. who can help me to import pvp/pk circle on 1 private project ..source acis video with code done but not mine :( this is code ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer_tests Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 488) +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -5845,6 +5845,7 @@ } setPvpFlag(0); // Clear the pvp flag + setTeam(0); // Unsummon Cubics if(_cubics.size() > 0) @@ -6698,6 +6699,7 @@ } //Update the character's title color if they reached any of the 5 PK levels. + setTeam(2); updatePkColor(getPkKills()); broadcastUserInfo(); Index: head-src/com/l2jfrozen/gameserver/model/L2Character.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/L2Character.java (revision 488) +++ head-src/com/l2jfrozen/gameserver/model/L2Character.java (working copy) @@ -189,6 +189,7 @@ private double _hpUpdateDecCheck = .0; private double _hpUpdateInterval = .0; private boolean _champion = false; + private int _team = 0; /** Table of Calculators containing all used calculator */ private Calculator[] _calculators; @@ -8161,6 +8162,7 @@ { _pvpFlagLasts = time; } + public long getPvpFlagLasts() { @@ -8170,10 +8172,24 @@ public void startPvPFlag() { updatePvPFlag(1); + setTeam(1); _PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 1000, 1000); } + /** + * @param i + */ + public void setTeam(int team) + { + _team = team; + } + + public int getTeam() + { + return _team; + } + public void stopPvpRegTask() { if(_PvPRegTask != null) @@ -8185,7 +8201,7 @@ public void stopPvPFlag() { stopPvpRegTask(); - + setTeam(0); updatePvPFlag(0); _PvPRegTask = null;
  10. hello guys today i tested my pc on nfs rivals but stil cap fps 50..we make another video in few days with 60+max fps http://www.youtube.com/watch?v=sje06v4BCVc
  11. Server is officially ONLINE ! [Website] : www.linezone.us/ [forum] : www.linezone.us/forum ===================================================================== ===================================================================== Rates # XP: x1000 # SP: x1000 # Max Enchant +16 # Safe Enchant +3 # Normall Enchant: 70% (up to +14) # Blessed Enchant: 90% (up to +14) # Crystal Enchant: 50% (from +14 to +16) ===================================================================== Raid Boss ===================================================================== Grand Boss Spawn Time #Antharas = 4h+1 #Valakas = 4h+1 #Baium = 3h+1 #Core = 2h+1 #Orfen = 2h+1 #Queen Ant = 3h+1 #Zaken = 3h+1 #Frintezza = 4h+1 ===================================================================== Farm Zone ===================================================================== Farm Zone #Talking Island Western #The Forbidden GateWay #Raid Boss (there are 8 raid boss custom) ===================================================================== Custom Features ===================================================================== Full NPC Buffer: # Max buffs: Normal – 36+4 divine inspiration; D # All buffs: PP,SE,EE,WC,OL,BD,SWS,Pet Buff! # All buffs are free. GM Shop: # Up to S Weapons, armors, Jewels # Shots, Potions, Consumables # Quest items for Clan level 3, 4, 5, & others. # Pets, Event reward items & more… # Custom Clan Reputation Coins Server Events : # Auto Event: TvT,CTF, # Events managed by the GMs. More Information: # Sub-classes are without quest. Max 3 subclasses are allowed.Subclass start lvl 80. # Start lvl 80. # Clan war rewards increased. # All skills are auto-learned. # All Skills 99% work. # Geodata 100% work # Siege 100% work # Clan Leveling needs 5,10,15 members for lvl 6,7,8 # Olympiad every one week. # All skills can be used again after olympiad match end. # Vote system with reward. # You can obtain boss jewelers with vote reward (expensive) or by killing epic boss. # Crystal scrolls can be obtain from vote/events/boss. # Olympiad ranking update after every match ===================================================================== Custom Items ===================================================================== Custom Armoor/Weapons/Items: #Seraph Armor #Tauti Weapons #Seraph Shield #Coin of luck(vote coin) #Gold Coin (farm item) ===================================================================== Custom Commands ===================================================================== Custom Commands #.report #.menu #.pvpmenu #?rb ===================================================================== Some Screens ===================================================================== ]
  12. website work fine ceck now !
  13. Vote reward hopzone fixed . dagger skills fixed . aura flare fixed. have fun
  14. server is online can check it pll online www.l2retro.us
  15. check it now .. no comment
  16. Ddos was fixed just re-run autoupdater and have fun ! "sorry for down time"
×
×
  • Create New...