Jump to content

kuba90

Members
  • Posts

    217
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by kuba90

  1. Not everyone should have that priviledge. Im a player, i dont know shit about dev etc. I wake up in the morning, take a piss, a breakfast, go to school. I come back at afternoon and i come in this forum to find a good server, and i have to look through 100000 garbage servers that only tell "lie" features ( 100% anti hack ! , 100% anti bot, "great features ( though they never say them ... ) ). Now im asking you, where will i , the player, get a "FUCKING VALID" information about good servers ? Ha ? tell me ... Making servers is not for everyone.
  2. Thats all ? I thought this is "a great server". Only thing it has different than others is custom noblesse path way. Like ?
  3. It is a common feature. Its not "unique". Every server has champion mobs, its a matter of setting a config to = "true".
  4. Where did you see the unique features ? Cause i dont see any ...
  5. That is a static solution. Means you already know the x,y,z. I like it when the computer picks everything. So i dont have to set any x,y,z. So in other words it should be a two step generation. 1)Find a good place to make a farming zone. 2)Inside this place, find good spots to spawn the mobs.
  6. Ya i dont have any checks for spawning yet, just to determine if a place is good. A solution to this would be to check the grad around a mobs random spawn loc and if it is big not spawn around there ( big grad = probalby some rock or some tree around there ).
  7. Ya using geodata, i pick a random point, if it is river, i discard i pick new one etc If it is land, then i check for mountains / trees/ houses/ ground anomalies, elevation etc.
  8. Here's a first implementation. Impressed how the computer can pick " flag" zone only by checking mean and gradient and requesting them to be within some limmits. So this is the old farming zone, and noone has yet voted to change it. Then i go like, a man this zone's so old i need new one but no gm online ... No problem im the only one online so you can picture how strong my "vote" is ... Now i voted, and since im the only one online my vote is enough to change it. The computer picks a new area, and a new texture for the SAME mob ( just looks different ). http://img14.imageshack.us/img14/8257/shot00047wr.jpg[/img] And here is how exactly it works, it needs geodata enabled to work. It scans X,Y axies in an area of -+ 6000 in both direction, it calculates the terrains mean and demands it to be lower than 400, then it calculates Grad in the whole surface and keeps the maximum grad and demands it to be lower than a value. http://img202.imageshack.us/img202/7843/shot00049v.jpg[/img] TODO: 1)Add rock recognition system. 2)Add tree recognition system. 3)Add window scan for ideal spawn point inside the area. 4)Add strategic pvp tests. http://img202.imageshack.us/img202/7843/shot00049v.jpg
  9. Apart from low population, the server has nothing innovative to offer. Its a preconfigured l2j pack ( and no its not l2off as he said ). 1)The server runs in home pc. 2)Free crapy host for web. 3)Nothing good feature-wise. I dont wanna jerk off with you either, thanks for the proposal though i preffer to do it alone. Thank you ill pass. Overal: 3/10.
  10. Came up with that some days ago. The goal of such a system/module is to provide a way to the computer to pick generate a farming zone automatically, without any input x,y,z from the user. In other words a computer AI that will pick random points from L2World and "decide" if the area surrounding them is good enough to be a farming zone based on its geodata. How does the procedure work: --> Lets say there is a farming zone generated already. --> Lets also say that players got bored of this farming zone. --> Players vote ingame between change zone / keep zone. --> Once enough "change zone" votes have been gathered, the computer deletes the current zone , and makes a new one, randomly. A simple algorithm: 1)If ( votes are enough ) --> Start farming zone search. 2)Pick a random point and run a series of 2D function tests ( mean, correlation, variance, Grad( x,y ) ). 3)If at least one test fails then goto 2) and do it again. 4)If all tests are sucessful, delete the old zone, spawn the new zone around that point, and inform gatekeeper/players. 5)Re-enable the voting system. Any ideas are welcome :) So basic improvement is : 1) Players decide when they want a new zone, 2)New zone is always in a new area.
  11. How many of you have thought that we are living in a capitalistic society ? ??? I wont disagree that the idea would bring a better world for l2j definitelly, but it cant really happen. The competition between devs/servers is strong enough so noone is actually going to share his work. Private projects exist cause ppl want to have things that others dont have. This is how competition works in modern society. Microsoft could work with Linux vendors, but they dont ... Its not a matter of planning and vision. Its a matter of human nature and social relations.
  12. Oops how didnt i see this topic ... And then im the guy who insults ppl and i get the karma. How can i not insult you King Seketh, when your reply is totally inacurate ? Here is the road the crest takes : Player A ---> Client --> Encoded & Stored to Crest.utx --> Sent to server encoded ! What the server receives is an array of data that is not bmp but utx texture. It sends back to clients the encoded data and the CLIENT decodes it to present it to the player. He doesnt have to look at all in the CrestChache. Yes you are a noob, - karma me for the third time, but you are infact a noob :) Sorry mate but thats the truth. So iceman either decoded it server side ( bmp extension file ), or clientside with UTPT ( open Crest.utx ).
  13. Interlude: L2JArchid > L2Brazil ( se performance ). Se features einai idia. Epilogue: L2JServer asizitito, ektos an thes lowrate server opote l2dc.
  14. If my memory doesnt fail, i have seen this exact post in hopzone .... 2 months ago.
  15. Ofcurse . "" I am looking a good java devs and ofc trustful,l for this project. ""
  16. Nice attitude ... the guy is trying to make a nice work , and first thing that comes in your mind is that "YOU" need a pack ... PS: Whats that file called "Fake_Players" ?
  17. pali malakies les re ? kamia prostasia den exei oson afora tin nomothesia. Ti einai o ote dikigoros ?
  18. alo ti "protino" allo ti einai kalo. Ayti ti stigmi ayta ta project iparxoun ti na kanoume. Den einai kala, den exoun kalous developers ( poso malon exoun poli poli kakous developers apo ta liga pragmata pou ida sto brazil ). Alla ti na kanoume etsi einai :)
  19. Giati etsi einai to lineage 2. Den mporeis na kaneis sub apo opiodipote race se opiodipote race. Ayto sou eipa kai sto proto post. Diabase sto episimo site pia race mporoun na kanoun subclass pia. Den einai thema flood protection stin periptosi sou. Eksigisa ton nox se pm kai entaksi zitise signomi gia tis malakies opote dont worry :)
  20. Esi sigekrimena apantas se ola ta topic sto l2j developing section eno den exeis idea ti sou ginete. Apla ta darkelf den mporoun na paroun kapia sublcasses ( elf nomizo ). Ti lag kai malakies tou les ? Otan den kseroume to boulonoume, thanks.
  21. Kai pos na to kano ayto re megale :) ?
  22. -Gia Interlude L2JBrazil latest revision -exei prostethei dinatotita gia polla diaforetika armor set. ### Eclipse Workspace Patch 1.0 #P L2JBrasil_CORE Index: java/com/it/br/gameserver/Custom/ArmorSet.java =================================================================== --- java/com/it/br/gameserver/Custom/ArmorSet.java (revision 0) +++ java/com/it/br/gameserver/Custom/ArmorSet.java (revision 0) @@ -0,0 +1,89 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * http://www.gnu.org/copyleft/gpl.html + */ +package com.it.br.gameserver.Custom; + +/** + * + * @author Issle + */ +public class ArmorSet +{ + private int glovesId; + private int bootsId; + private int helmetId; + private int pantsId; + private int bodyId; + + /** + * Add the ids in the following order for this set: + * + * @param _bootsId + * @param _pantsId + * @param _bodyId + * @param _glovesId + * @param _helmetId + */ + public ArmorSet(int _bootsId, int _pantsId, int _bodyId, int _glovesId, int _helmetId) + { + glovesId =_glovesId; + bootsId = _bootsId; + helmetId = _helmetId; + pantsId = _pantsId; + bodyId = _bodyId; + } + + /** + * @return Returns the helmetId. + */ + public int getHelmetId() + { + return helmetId; + } + + /** + * @return Returns the pantsId. + */ + public int getPantsId() + { + return pantsId; + } + + /** + * @return Returns the bodyId. + */ + public int getBodyId() + { + return bodyId; + } + + /** + * @return Returns the bootsId. + */ + public int getBootsId() + { + return bootsId; + } + + /** + * @return Returns the glovesId. + */ + public int getGlovesId() + { + return glovesId; + } +} Index: java/com/it/br/gameserver/GameServer.java =================================================================== --- java/com/it/br/gameserver/GameServer.java (revision 1178) +++ java/com/it/br/gameserver/GameServer.java (working copy) @@ -29,6 +29,7 @@ import com.it.br.Config; import com.it.br.L2DatabaseFactory; import com.it.br.Server; +import com.it.br.gameserver.Custom.NoblesseArmor; import com.it.br.gameserver.cache.CrestCache; import com.it.br.gameserver.cache.HtmCache; import com.it.br.gameserver.communitybbs.Manager.ForumsBBSManager; @@ -539,6 +540,7 @@ TvTManager.getInstance(); Npcbuffer.getInstance().engineInit(); NpcBufferSkillIdsTable.getInstance(); + NoblesseArmor.loadConfigurations(); if (Config.NPCBUFFER_FEATURE_ENABLED) { BufferSkillsTable.getInstance(); Index: java/com/it/br/gameserver/model/L2Character.java =================================================================== --- java/com/it/br/gameserver/model/L2Character.java (revision 1178) +++ java/com/it/br/gameserver/model/L2Character.java (working copy) @@ -36,6 +36,7 @@ import com.it.br.gameserver.GameTimeController; import com.it.br.gameserver.GeoData; import com.it.br.gameserver.ThreadPoolManager; +import com.it.br.gameserver.Custom.NoblesseArmor; import com.it.br.gameserver.ai.CtrlEvent; import com.it.br.gameserver.ai.CtrlIntention; import com.it.br.gameserver.ai.L2AttackableAI; @@ -1514,6 +1515,10 @@ if (((L2PlayableInstance)this).getCharmOfLuck()) //remove Lucky Charm if player has SoulOfThePhoenix/Salvation buff ((L2PlayableInstance)this).stopCharmOfLuck(null); } + else if(this instanceof L2PcInstance && NoblesseArmor.hasArmorNoblesse((L2PcInstance)this)) + { + //Do nothing aka do not remove effects. + } else stopAllEffects(); Index: java/com/it/br/gameserver/Custom/NoblesseArmor.java =================================================================== --- java/com/it/br/gameserver/Custom/NoblesseArmor.java (revision 0) +++ java/com/it/br/gameserver/Custom/NoblesseArmor.java (revision 0) @@ -0,0 +1,95 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * http://www.gnu.org/copyleft/gpl.html + */ +package com.it.br.gameserver.Custom; + +import java.util.LinkedList; +import java.util.logging.Logger; + +import com.it.br.gameserver.model.Inventory; +import com.it.br.gameserver.model.PcInventory; +import com.it.br.gameserver.model.actor.instance.L2PcInstance; + +/** + * + * @author Issle + */ +public class NoblesseArmor +{ + protected static final Logger _log = Logger.getLogger(NoblesseArmor.class.getName()); + private static LinkedList<ArmorSet> armorSets = new LinkedList<ArmorSet>(); + + public static void loadConfigurations() + { + //Add your custom armor sets here. A player must have + //one of these sets equiped to retain his buffs onDie. + armorSets.add(new ArmorSet(123, 234, 2356, 3456, 456)); + armorSets.add(new ArmorSet(1234, 234, 2356, 3456, 4556)); + armorSets.add(new ArmorSet(123, 2384, 2356, 34536, 456)); + + + _log.info("[NoblesseArmor]: Loaded "+String.valueOf(armorSets.size())+" armor sets."); + } + + public static boolean hasArmorNoblesse(L2PcInstance activeChar) + { + PcInventory inventory = activeChar.getInventory(); + + int _pantsId = inventory.getPaperdollItemId(Inventory.PAPERDOLL_LEGS); + int _bodyId = inventory.getPaperdollItemId(Inventory.PAPERDOLL_CHEST); + int _helmetId = inventory.getPaperdollItemId(Inventory.PAPERDOLL_HEAD); + int _glovesId = inventory.getPaperdollItemId(Inventory.PAPERDOLL_GLOVES); + int _bootsId = inventory.getPaperdollItemId(Inventory.PAPERDOLL_FEET); + + for(ArmorSet set: armorSets) + { + if(isValidArmor(set, _pantsId, _bodyId, _helmetId, _glovesId, _bootsId)) + { + activeChar.sendMessage("You maintained your buffs cause of your special armor configuration."); + return true; + } + } + activeChar.sendMessage("No special armor configuration, you lost your buffs."); + return false; + } + + /** + * @param set + * @param pantsId + * @param bodyId + * @param helmetId + * @param glovesId + * @param bootsId + * @return + */ + private static boolean isValidArmor(ArmorSet set, int pantsId, int bodyId, int helmetId, int glovesId, int bootsId) + { + if(pantsId != set.getPantsId()) + return false; + if(bodyId != set.getBodyId()) + return false; + if(helmetId != set.getHelmetId()) + return false; + if(glovesId != set.getGlovesId()) + return false; + if(bootsId != set.getBootsId()) + return false; + + return true; + } + +} Den to kano adapt gia allo l2jinterlude project giati brazil, equal, archid, teon kai den ksero ego ti alla skata einai ola projects gia klamata. Epatha otan eida ton kodika tou l2jbrazil. Oi developers tou L2JBrazil einai GIA TA KLAMATA ! Den exoun idea pos na grapsoun kodika. To leo dimosia na to akousoun metadoste to :) Tora gia to share: Prostheteis armor sets sto simeio pou grafei : + //Add your custom armor sets here. A player must have + //one of these sets equiped to retain his buffs onDie. + armorSets.add(new ArmorSet(123, 234, 2356, 3456, 456)); + armorSets.add(new ArmorSet(1234, 234, 2356, 3456, 4556)); + armorSets.add(new ArmorSet(123, 2384, 2356, 34536, 456)); Exo balei 3 tixea armor sets ta bgazete kai bazete ta dika sas. Gia na kratisei kapios ta buffs prepei na foraei ena set apo tin lista pou tha ftiaksete. I seira me tin opia mpenoun ta ID fenete ston constructor: ArmorSet(int _bootsId, int _pantsId, int _bodyId, int _glovesId, int _helmetId). As to testarei kapios an to perasei giati ego den ixa interlude na ot testaro.
  23. K katebasa to l2jbrazil tha to grapso gia brazil :)
  24. ama mou peis pou briskete o kodikas tou brazil gia na ton kano checkout :)
×
×
  • Create New...