
Guma!
Members-
Posts
75 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Guma!
-
it is possible to make this announcement with a different color?
-
[Project] L2J-Eclipse Interlude
Guma! replied to Cod3x's topic in Server Development Discussion [L2J]
child? 21 years is to be a child then you should have at least some 50 years I Chamales of grandparents then .. why not go take care of their lives (if it has one) instead of being taking care of the lives of others! -
creditos : Ahmed
-
good I am looking for developer who really care about. the project is l2jbrasil svn: http://svn6.assembla.com/svn/L2j-Brasil/ We are dedicating this project as much infeslismente but I'm working when folded and not want to leave the project to stop! look for active people, many guys ask to enter the project and two commitaro vesess and stopped geito that I do not want ... always active developers looking for new terms if revisions. interested send me an mp ok. sory my english.
-
Config.java @@ -497,6 +497,7 @@ public static boolean ALT_OLY_ANNOUNCE_GAMES; public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new FastList<Integer>(); public static int ALT_OLY_ENCHANT_LIMIT; + public static byte ALT_OLY_WAIT_TIME; public static int ALT_MANOR_REFRESH_TIME; public static int ALT_MANOR_REFRESH_MIN; public static int ALT_MANOR_APPROVE_TIME; @@ -2259,6 +2260,8 @@ LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id)); } ALT_OLY_ENCHANT_LIMIT = Integer.parseInt(olympiad.getProperty("AltOlyEnchantLimit","-1")); + ALT_OLY_WAIT_TIME = Byte.parseByte(olympiad.getProperty("AltOlyWaitTime","120")); + if (ALT_OLY_WAIT_TIME != 120 && ALT_OLY_WAIT_TIME != 60 && ALT_OLY_WAIT_TIME != 30 && ALT_OLY_WAIT_TIME != 15 && ALT_OLY_WAIT_TIME != 5) ALT_OLY_WAIT_TIME = 120; } catch (Exception e) { OlympiadGame.java @@ -1218,7 +1218,7 @@ SystemMessage sm; // Waiting for teleport to arena byte step = 60; - for (byte i = 120; i > 0; i -= step) + for (byte i = Config.ALT_OLY_WAIT_TIME; i > 0; i -= step) { sm = new SystemMessage(SystemMessageId.YOU_WILL_ENTER_THE_OLYMPIAD_STADIUM_IN_S1_SECOND_S); sm.addNumber(i); olympiad.properties -110,3 +110,9 @@ # Log all Olympiad fights and outcome to olympiad.csv file. # Default: False AlyOlyLogFights = False + +# Time to wait before teleported to arena. +# Possible choices are: 120, 60, 30, 15, or 5. +# If any other number is entered, the time will be set to 120 seconds. +# Default: 120 +AltOlyWaitTime = 120 Credit : l2jserver
-
[Help]Installing L2 Server on Linux Ubuntu
Guma! replied to Alexi's question in Request Server Development Help [L2J]
[GUIDE]Creating server in Linux http://www.maxcheaters.com/forum/index.php?topic=23953.0 -
is the same thing There is only one project l2jbrasil and is alive
-
http://www.maxcheaters.com/forum/index.php?topic=113165.0 Q: I want help for L2j Archid/Dot/Brazil/Umbrella/Jenova/Oneo/Equal. A: Well, do not ask for help if you are using any of these projects. They are dead, so you can't find support. L2Jbrazil dead ? Please straighten it there. tnx.
-
Navicat in Table droplist look for the id of mob and remove all drop and add the drop what you want .. sorry my english
-
tnx but I think I will not participate..
-
Disable Weight Penalty Config: Disable Grade Penalty Config: L2JBrasil
-
Properties: +# List of Skills that arent allowed on RaidBosses +ForbiddenRaidSkills = 1064,100 + Config.java @@ -1078,5 +1078,6 @@ /** Death Penalty chance */ public static int DEATH_PENALTY_CHANCE; - + public static String FORBIDDEN_RAID_SKILLS; + public static FastList<Integer> FORBIDDEN_RAID_SKILLS_LIST = new FastList<Integer>(); /** Player Protection control */ public static int PLAYER_SPAWN_PROTECTION; @@ -1873,5 +1874,11 @@ DEATH_PENALTY_CHANCE = Integer.parseInt(otherSettings.getProperty("DeathPenaltyChance", "20")); - } + + FORBIDDEN_RAID_SKILLS = otherSettings.getProperty("ForbiddenRaidSkills", "1064,100"); + for (String id : FORBIDDEN_RAID_SKILLS.trim().split(",")) + { + FORBIDDEN_RAID_SKILLS_LIST.add(Integer.parseInt(id.trim())); + } + } catch (Exception e) Formulas.java @@ -1548,5 +1548,6 @@ && (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE || type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP - || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)) + || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF) + || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId())) return false; // these skills should have only 1/1000 chance on raid, now it's 0. @@ -1734,5 +1735,6 @@ && (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE || type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP - || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)) + || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF) + || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId())) return false; // these skills should not work on RaidBoss L2Weapon.java @@ -23,4 +23,5 @@ import javolution.util.FastList; +import net.sf.l2j.Config; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.handler.ISkillHandler; @@ -323,5 +324,5 @@ for (L2Skill skill : _skillsOnCrit) { - if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT)) + if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId( )))) continue; // These skills should not work on RaidBoss Source: http://trac6.assembla.com/L2j-Brasil/changeset/282
-
does not understand very well ex: title [Competition - Share] name server on restart? so I'll be participating?
-
Properties: +# Defines whether NPCs are attackable by default +# Retail: False +AltAttackableNpcs = False Config.java @@ -857,4 +857,5 @@ public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + public static boolean ALT_ATTACKABLE_NPCS; /** Ilegal Skills Checker */ public static boolean CHECK_SKILLS_ON_ENTER; @@ -2098,7 +2099,8 @@ L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + ALT_ATTACKABLE_NPCS = Boolean.parseBoolean(L2JModSettings.getProperty("AltAttackableNpcs", "False")); CHECK_SKILLS_ON_ENTER = Boolean.parseBoolean(L2JModSettings.getProperty("CheckSkillsOnEnter", "False")); ALLOWED_SKILLS = L2JModSettings.getProperty("AllowedSkills", "541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,617,618,619"); L2NpcInstance.java @@ -324,5 +324,5 @@ public boolean isAttackable() { - return false; + return Config.ALT_ATTACKABLE_NPCS; }
-
Properties: +#Abort/Restart/Shutdown Setting +#When the server restarts/aborts shutdown-restart/shutdowns it will say , Server "x" is restarting/shutdowning +AbortRestart = L2Jbrasil Config.java @@ -973,6 +973,8 @@ public static String PM_TEXT1; public static String PM_TEXT2; + public static String ABORT_RR; public static boolean ENABLE_ONLINE_COMMAND; public static boolean ENABLE_STATINFO_COMMAND; + /** L2J BRasil Custom - End */ @@ -1287,4 +1289,5 @@ PM_TEXT1 = L2JBrasil.getProperty("PMText1", "Welcome to our server"); PM_TEXT2 = L2JBrasil.getProperty("PMText2", "Visit our web http://Your.Web.Adress"); + ABORT_RR = L2JBrasil.getProperty("AbortRestart", "L2JBrasil"); ENABLE_ONLINE_COMMAND = Boolean.parseBoolean(L2JBrasil.getProperty("EnableOnlinePlayersCommand", "False")); ENABLE_STATINFO_COMMAND = Boolean.parseBoolean(L2JBrasil.getProperty("EnableStatusInfoCommand", "False")); @@ -2652,5 +2655,7 @@ else if (pName.equalsIgnoreCase("TvTEventRunningTime")) TVT_EVENT_RUNNING_TIME = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("TvTEventParticipationNpcId")) TVT_EVENT_PARTICIPATION_NPC_ID = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("AbortRestart")) ABORT_RR = (pValue); // PvP settings else if (pName.equalsIgnoreCase("MinKarma")) KARMA_MIN_KARMA = Integer.parseInt(pValue); Shutdown.java @@ -83,5 +83,5 @@ { _an.announceToAll("Attention players!"); - _an.announceToAll("Server is " + MODE_TEXT[_shutdownMode] + " in "+seconds+ " seconds!"); + _an.announceToAll("Server is " + Config.ABORT_RR + " aborts" + MODE_TEXT[_shutdownMode] + " in "+seconds+ " seconds!"); if(_shutdownMode == 1 || _shutdownMode == 2) {
-
clan level up animation Index: /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/actor/instance/L2VillageMasterInstance.java =================================================================== --- /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 649) +++ /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 708) @@ -44,4 +44,6 @@ import com.it.br.gameserver.serverpackets.ActionFailed; import com.it.br.gameserver.serverpackets.AquireSkillList; +import com.it.br.gameserver.serverpackets.MagicSkillLaunched; +import com.it.br.gameserver.serverpackets.MagicSkillUser; import com.it.br.gameserver.serverpackets.NpcHtmlMessage; import com.it.br.gameserver.serverpackets.SystemMessage; @@ -155,4 +157,8 @@ } player.getClan().levelUpClan(player); + { + player.broadcastPacket(new MagicSkillUser(player, 5103, 1, 0, 0)); + player.broadcastPacket(new MagicSkillLaunched(player, 5103, 1)); + } } Index: /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/L2Clan.java =================================================================== --- /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/L2Clan.java (revision 706) +++ /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/L2Clan.java (revision 708) @@ -2206,15 +2206,15 @@ } - public void levelUpClan(L2PcInstance player) + public boolean levelUpClan(L2PcInstance player) { if (!player.isClanLeader()) { player.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT)); - return; + return false; } if (System.currentTimeMillis() < getDissolvingExpiryTime()) { player.sendPacket(new SystemMessage(SystemMessageId.CANNOT_RISE_LEVEL_WHILE_DISSOLUTION_IN_PROGRESS)); - return; + return false; } @@ -2402,5 +2402,5 @@ break; default: - return; + return false; } @@ -2409,5 +2409,5 @@ SystemMessage sm = new SystemMessage(SystemMessageId.FAILED_TO_INCREASE_CLAN_LEVEL); player.sendPacket(sm); - return; + return false; } @@ -2421,4 +2421,5 @@ changeLevel(getLevel() + 1); + return true; } credit: l2jserver
-
Index: /TrunK/L2JBrasil_CORE/java/com/it/br/Config.java =================================================================== --- /TrunK/L2JBrasil_CORE/java/com/it/br/Config.java (revision 849) +++ /TrunK/L2JBrasil_CORE/java/com/it/br/Config.java (revision 850) @@ -27,9 +27,12 @@ import java.util.ArrayList; import java.util.List; +import java.util.Map; import java.util.Properties; import java.util.logging.Logger; import javolution.util.FastList; +import javolution.util.FastMap; import com.it.br.gameserver.model.actor.instance.L2PcInstance; +import com.it.br.gameserver.util.StringUtil; /** @@ -721,5 +724,7 @@ public static byte TVT_EVENT_MIN_LVL; public static byte TVT_EVENT_MAX_LVL; - + public static Map<Integer, Integer> TVT_EVENT_FIGHTER_BUFFS; + public static Map<Integer, Integer> TVT_EVENT_MAGE_BUFFS; + public static boolean OFFLINE_TRADE_ENABLE; public static boolean OFFLINE_CRAFT_ENABLE; @@ -1974,5 +1979,52 @@ } } - + + propertySplit = L2JModSettings.getProperty("TvTEventFighterBuffs", "").split(";"); + if (!propertySplit[0].equals("")) + { + TVT_EVENT_FIGHTER_BUFFS = new FastMap<Integer, Integer>(); + for (String skill : propertySplit) + { + String[] skillSplit = skill.split(","); + if (skillSplit.length != 2) + _log.warning(StringUtil.concat("TvTEventEngine[Config.load()]: invalid config property -> TvTEventFighterBuffs \"", skill, "\"")); + else + { + try + { + TVT_EVENT_FIGHTER_BUFFS.put(Integer.parseInt(skillSplit[0]), Integer.parseInt(skillSplit[1])); + } + catch (NumberFormatException nfe) + { + if (!skill.isEmpty()) + _log.warning(StringUtil.concat("TvTEventEngine[Config.load()]: invalid config property -> TvTEventFighterBuffs \"", skill, "\"")); + } + } + } + } + + propertySplit = L2JModSettings.getProperty("TvTEventMageBuffs", "").split(";"); + if (!propertySplit[0].equals("")) + { + TVT_EVENT_MAGE_BUFFS = new FastMap<Integer, Integer>(); + for (String skill : propertySplit) + { + String[] skillSplit = skill.split(","); + if (skillSplit.length != 2) + _log.warning(StringUtil.concat("TvTEventEngine[Config.load()]: invalid config property -> TvTEventMageBuffs \"", skill, "\"")); + else + { + try + { + TVT_EVENT_MAGE_BUFFS.put(Integer.parseInt(skillSplit[0]), Integer.parseInt(skillSplit[1])); + } + catch (NumberFormatException nfe) + { + if (!skill.isEmpty()) + _log.warning(StringUtil.concat("TvTEventEngine[Config.load()]: invalid config property -> TvTEventMageBuffs \"", skill, "\"")); + } + } + } + } TVT_EVENT_TARGET_TEAM_MEMBERS_ALLOWED = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventTargetTeamMembersAllowed", "true")); TVT_EVENT_POTIONS_ALLOWED = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventPotionsAllowed", "false")); Index: /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/entity/TvTEventTeleporter.java =================================================================== --- /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/entity/TvTEventTeleporter.java (revision 642) +++ /TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/model/entity/TvTEventTeleporter.java (revision 850) @@ -21,5 +21,7 @@ import com.it.br.Config; import com.it.br.gameserver.ThreadPoolManager; +import com.it.br.gameserver.datatables.SkillTable; import com.it.br.gameserver.model.L2Effect; +import com.it.br.gameserver.model.L2Skill; import com.it.br.gameserver.model.L2Summon; import com.it.br.gameserver.model.actor.instance.L2PcInstance; @@ -84,7 +86,5 @@ _playerInstance.doRevive(); - _playerInstance.setCurrentCp(_playerInstance.getMaxCp()); - _playerInstance.setCurrentHp(_playerInstance.getMaxHp()); - _playerInstance.setCurrentMp(_playerInstance.getMaxMp()); + _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], false); @@ -93,4 +93,33 @@ else _playerInstance.setTeam(0); + L2Skill skill; + if (_playerInstance.isMageClass()) + { + if (Config.TVT_EVENT_MAGE_BUFFS != null && !Config.TVT_EVENT_MAGE_BUFFS.isEmpty()) + { + for (int i : Config.TVT_EVENT_MAGE_BUFFS.keySet()) + { + skill = SkillTable.getInstance().getInfo(i, Config.TVT_EVENT_MAGE_BUFFS.get(i)); + if (skill != null) + skill.getEffects(_playerInstance, _playerInstance); + } + } + } + else + { + if (Config.TVT_EVENT_FIGHTER_BUFFS != null && !Config.TVT_EVENT_FIGHTER_BUFFS.isEmpty()) + { + for (int i : Config.TVT_EVENT_FIGHTER_BUFFS.keySet()) + { + skill = SkillTable.getInstance().getInfo(i, Config.TVT_EVENT_FIGHTER_BUFFS.get(i)); + if (skill != null) + skill.getEffects(_playerInstance, _playerInstance); + } + } + } + + _playerInstance.setCurrentCp(_playerInstance.getMaxCp()); + _playerInstance.setCurrentHp(_playerInstance.getMaxHp()); + _playerInstance.setCurrentMp(_playerInstance.getMaxMp()); _playerInstance.broadcastStatusUpdate(); Index: /TrunK/L2JBrasil_CORE/config/l2jmods.properties =================================================================== --- /TrunK/L2JBrasil_CORE/config/l2jmods.properties (revision 817) +++ /TrunK/L2JBrasil_CORE/config/l2jmods.properties (revision 850) @@ -112,4 +112,13 @@ TvTDoorsToOpen = TvTDoorsToClose = +# Fighter-class participants will be buffed with those buffs each respawn +# Format: skill1Id,skill1Level;skill2Id,skill2Level... +# Example: 1504,1;1501,1;1502,1;1499,1 +TvTEventFighterBuffs = + +# Mage-class participants will be buffed with those buffs each respawn +# Format: skill1Id,skill1Level;skill2Id,skill2Level... +# Example: 1504,1;1500,1;1501,1;1085,3 +TvTEventMageBuffs = # --------------------------------------------------------------------------- Source: http://trac6.assembla.com/L2j-Brasil/changeset/850 Creditos: _DS_
-
only showed the way for him to modify
-
l2pcinstance.java: public int getAccessLevel() { if (Config.EVERYBODY_HAS_ADMIN_RIGHTS && _accessLevel <= 200) return 200; return _accessLevel; }
-
[Share] L2jEqual Compiled Rev's
Guma! replied to rullezz's topic in Server Development Discussion [L2J]
project is stopped. -
[Share]NPC Query Converter 1.0
Guma! replied to CriticalError's topic in Server Development Discussion [L2J]
only to miss l2jbrasil, I'm kidding is the same as l2jserver, should work tnx for share. -
copy my post, and also copy wrong ¬¬