Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. You should try to explain it better with a proper english, I can't get what do you want. You should say which pack do you use. Moving it to l2j dev help.
  2. http://www.maxcheaters.com/topic/170366-l2icescream-25x/ http://www.maxcheaters.com/topic/170388-l2coyote/ junk
  3. http://www.maxcheaters.com/topic/170346-l2coyote-x1000-pvp-server-just-opened/ junk sadly done
  4. Well it can worth money if the requestor has 0 knowledge and nobody code it for free. //inside code I'm not sure if it's a good idea to make a loop of all players and do the proper checks every time someone press the command, I guess it can generate lag. Probably a task should do it and then players when using the command should access to a static variable (?)
  5. This is not a request section. If you have any java knowledge and want us to help you to figure out how to do it, or to help you in some aspects, you're welcome. If you come requesting someone to code for you, you're not welcome here, go to MarketPlace.
  6. Didn't I add it in the pastebin code? I think yes :rage:
  7. on logout the variables should be saved, nothing to do with the interval :s
  8. Which devlin posted still misses sql queries and so. Try this one... http://pastebin.com/FWVTjQi4 Should work, u must add the line in MasterHandler.java to load the admincommand and modify your characters table adding customherotime field, at the end. The command should work like //admin customhero 30 -> 30 or any number (hero days) 0 to make it unlimited or without any number.
  9. Wyatt pack? wut? I guess u meant wyatt's reply xd Devlin is doing it following my steps, just wait for it.
  10. Well that was obvious and we told him that, just setHero(true) to make "fake heros", not a big deal :rage: Btw @author I explained u how to do it, practically at all, u could try to do it instead of waiting for someone to give it to you already done :rage:
  11. Then the problem can only be with your linux, that isn't loading file changes.... Wrong permissions or u messed up something, if u're good in linux u'll figure it out, if not... :/
  12. Then do it manually. Check if the id of the hexid is the same as which u have in the database.
  13. for real?... what can I explain... just read and put your coords... /loc = X, Y, Z, put your X,Y inside coords and take your MAX Z and MIN Z and put it... <zone id='15000' name='PeaceCustom1' type='PeaceZone' shape='NPoly' minZ='-4300' maxZ='-2300' /> <node X="77170" Y="147420" /> <node X="77170" Y="147420" /> <node X="77170" Y="147420" /> <node X="77170" Y="147420" /> </zone>
  14. I think using soulshot on physical skills increase the dmg, so I don't feel like doing it. If you wan't, try to do it adding the proper checks but I think that, like this, is enough for what the guy that wanted it asked for.
  15. Oh yep, in SpiritShot.java u mean, didn't remember to change it in the pacth, I just changed inside workspace q.q, updating it.
  16. Well you should do this way if(activeChar.isMageClass()) activeChar.addAutoSoulShot(getItem(activeChar).getBlessedSpiritshot)); else activeChar.addAutoSoulShot(getItem(activeChar).getSoulshot()); Or your mages will have both and fighters only one :P But I made both for fighters and mages coz it's useful for some selfbuff/heal of fighters and if mage wants to hit physically in olys coz no mana he needs shots too :rage:
  17. better peacezone, already told it xd
  18. So, get one zone and put your coords and your Z max and min, inside. <zone id='15000' type='PeaceZone' shape='NPoly' minZ='-4300' maxZ='-2300' /> </zone>
  19. I guess u must have in your pack more peace zones that aren't "Town" type, better find one and modify it.
  20. You can add one filed in characters table like "customherotime" (long) then you can create a variable in L2PcInstance with the same name, make it default -1, then you must add that variable in the UPDATE,RESTORE,CREATE character sql methods of L2PcInstance. Finally you create a command that will change the variable value of X player to X time "player.customherotime = 0;" (0 unlimited for example) and your "player.setHero(true);" or whatever it's called in your pack. To make it 30 days limited, instead of making the variable value 0, make it like player.customherotime = Calendar.getInstance().getTimeInMillis()+2592000000; Then you must create a check inside EnterWorld.java like if(player.customherotime == 0 || player.customherotime > Calendar.getInstance().getTimeInMillis()) { player.setHero(true); } else { player.customherotime = -1; } If your server is restarting every day u would be fine, if not, u coul create a task every 2-3hours that will check all players online, using the check of enterworld, modified like if(player.customherotime != 0 && player.customherotime != -1 && player.customherotime < Calendar.getInstance().getTimeInMillis()) { player.customherotime = -1; player.setHero(false); }
  21. Then create a new zone and make it type town. Take one already created and change the coords, not so difficult. Cuboid Zones: ------------- Require 2 nodes (vertices), in order to make a Square, for example: O . . . . . . . . . . . . . . O O = Node (vertice) NPoly Zones: ------------ Require 3 or more nodes (vertices), in order to make a Polygon or another geometrical model, for example: O / \ / \ / \ O - - - O O = Node (vertice) Cylinder Zones: --------------- Require 1 node (vertice) and radius, in order to make a Cylinder. * * * * * * * * * * * * * * * * O * * * * * * * * * * * * * * * * O = Node (vertice) * = Radius
  22. game/data/zones and look for your zone.xml and change "type" to "type='PeaceZone' or if your zone isn't in a .xml then go ingame take /loc and create your polygon. Moving it to dev help.
×
×
  • Create New...