bauwbas
Members-
Posts
339 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by bauwbas
-
Yes its movement with keyboard arrows. But... its very lame, becouse if you press left or right arrow character do very huge circle...:s but its no matter, important that you can walk with arrows :)
-
[Guide]How to make peace zone?
bauwbas replied to bauwbas's topic in Server Development Discussion [L2J]
Oh. Thank you panchio for correct :) -
For example we have this rectangular 1--------------------2 | | | |3-------------------4 So ok, go to 1 Point and write /loc, then go to 4 Point and write again /loc... Then we have coordinates, mine is 13818 256426 -2013 and 21550 250005 -1995 go to our zone.xml and create new town, for example: <zone id="11041" type="Town" shape="Cuboid" minZ="-1900" maxZ="-2050"> <stat name="name" val="My Cool Town" /> <stat name="townId" val="33" /> <stat name="spawnX" val="19495" /> <stat name="spawnY" val="254006" /> <stat name="spawnZ" val="-2026" /> </zone> where minZ="-1900" we write our minZ :D i explain. how we see i have Z coordinate -1995 so i write my min -1900... Where maxZ="-2050" i have coord -2013 so i write my max -2050. <stat name="spawnX" val="19495" /> <stat name="spawnY" val="254006" /> <stat name="spawnZ" val="-2026" /> These coordinates are respawn coordinates. Then player die, where they will be respawned. and the last thing what to do... Go to zone_vertices.sql in first table we add town id. mine is 11041. in second table order - 1. And where is x and y we write our x1 and y2 coord. mine is 13818 and 256426... Now create another one line and write again id. orden - 2 (i write 0. mistake :D). and write again other x2 and y2 coord. mine was 21550 250005... ok. done, now you got new town and peace zone :) Moderators correct my mistakes :P
-
so no one don't know? I know that l2jfree from c5 added falling damage, but in my server no damage :/
-
Not working.. T_T i try with gm char, non-gm and no damage. Characters alive, have full hp and they happy. But i need to do that if they fall they die.
-
oh, sorry, i wanted to say in first topic but forgot :/ Gracia Final... I'm using L2jServer pack.
-
Hallo, Merry Cristmas everyone, i want to ask how need to do, that if you fall from hill or something hight, player get damage. :)
-
Same error :)
-
Xe, no problem :) Credits only for Stefoulis15, becouse he created this code, i just changed few lines :)
-
Ok, i Wake up this old old topic, becouse i change a litle bit code for Gracia Final Sever and its important :) Ok... We can start :) Go to data\scripts\handlers\itemhandlers Create file called NobleCustomItem.java and add this code package handlers.itemhandlers; import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; public class NobleCustomItem implements IItemHandler { public NobleCustomItem() { } public void useItem(L2Playable playable, L2ItemInstance item) { if(Config.NOBLE_CUSTOM_ITEMS) { if(!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; if(activeChar.isNoble()) { activeChar.sendMessage("You Are Already A Noblesse!."); } else { activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 16)); activeChar.setNoble(true); activeChar.sendMessage("You Are Now a Noble,You Are Granted With Noblesse Status , And Noblesse Skills."); activeChar.broadcastUserInfo(); playable.destroyItem("Consume", item.getObjectId(), 1, null, false); } } } public int[] getItemIds() { return ITEM_IDS; } private static final int ITEM_IDS[] = { 7218 }; } now go to data\scripts\handlers open MasterHandler.java and find ItemHandler.getInstance().registerItemHandler(new ScrollOfResurrection()); below this add new line ItemHandler.getInstance().registerItemHandler(new NobleCustomItem()); Now go to your navicat and go to etcitem.sql find your item and where table handler add NobleCustomItem P.s. don't forget to go to first this topic page and add config :)
-
[HELP] PVP at the town
bauwbas replied to Drasius's question in Request Server Development Help [L2J]
I'm sorry, I write in Lithuanian :) Patikrink EnterWorld arba Peace zona susirask javoj. Nezinau Dzonotono paprasyk, kad sutvarkytu :D Arba pats pabandyk, padaryti, kad neitu must. :) -
[Help]'java' is not recognized...
bauwbas replied to Coolis®'s question in Request Server Development Help [L2J]
Ok do this... (I show on Windows 7, becouse I'm to lazy, go to onother pc) Press on your my computer second mouse button and properties Then find button called: "Advanced system settings" and press it... Now poped-up table like this Press on "Environment Variables..." Now find path, and press edit the last thing to do, go to last line and symbol ; and path to yout java bin folder... For example mine path: C:\Program Files\TortoiseSVN\bin;C:\Program Files\RPG4U\RPG4UEngineV010\_bin\vgame\client\dll;C:\Program Files\Java\jdk1.6.0_12\bin\ And done... Now you can launch your server :) -
Same... I changed in etc table handler to ItemSkills... added skill in same table.. but not working.
-
Same sh1t... Then i Dead ant press on item in chat show msg: Feather of Blessing cannot be used due to unsuitable terms.
-
Ok, i need really help, i want to create Feather of Blessing (There is no server packs where work it) Ok, in gameserver\data\scripts\handlers\itemhandlers I createf file with name FeatherofBlessing.java package handlers.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class FeatherOfBlessing implements IItemHandler { public void useItem(L2Playable playable, L2ItemInstance item) { L2PcInstance activeChar = (L2PcInstance) playable; if(!activeChar.isAlikeDead()) { activeChar.sendMessage("You cannot be ressurected while alive."); return; } if(activeChar.isInOlympiadMode()) { activeChar.sendMessage("You cannot use this feature during olympiad."); return; } activeChar.sendMessage("You have been ressurected!"); activeChar.getInventory().destroyItemByItemId("RessSystem", 10649, 1, activeChar, activeChar.getTarget()); activeChar.doRevive(); activeChar.broadcastUserInfo(); activeChar.sendMessage("Feather of Blessing has dissapeared."); //return; } } Then i register it in MasterHandler.java ItemHandler.getInstance().registerItemHandler(new FeatherOfBlessing()); Then, i go to etcitem.sql and where is item id 10649 (Feather of blessing) in Handler colum add "FeatherOfBlessing" and in Skill "9010-1;" And the last thing i go to gameserver\data\stats\skills Creating new skill <skill id="9010" levels="1" name="Feather of Blessing"> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="RESURRECT"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="400"/> <set name="effectRange" val="600"/> </skill> And then i everything done, my item isint working :// Then i alive, in chat i get msg "You cannot be ressurected while alive.", but then i dead and press item, its nothing. My char don't ress... Have some1 any ideas?
-
[Share]Clan community board of off servers for java
bauwbas replied to Emrys's topic in Server Shares & Files [L2J]
So what the point of this share? Hude lag ar working clan option...? Most of server have working this fuction.. -
[Guide] Announcement spawn Raid boss.
bauwbas replied to hoangnhan's topic in Server Shares & Files [L2J]
Ok, i change a little bit code by my server pack... damn stupid pack... but man its working and people like it... thank you, if i can i add you +karma :) -
[share]Loading Screen's Interlude List!! New
bauwbas replied to Devangell™'s topic in Client Development Discussion
Nice... I like first one... downloading... :) good job, i really like it :) -
Hmm.. l2jserver already have this fuction, but for other pack its very usefull. I thing so... but in other hand... Not very.. Becouse one man take all drop... Who did most damage/or a party leader... So.. Nothing good... But its my opion :) for copy/past job 8/10
-
[Share]Clan community board of off servers for java
bauwbas replied to Emrys's topic in Server Shares & Files [L2J]
Can some1 explain me... If I turn off my community board, this clan super duper fuction work? Or I need turn on community board? -
Hmm... I try to set peace zone.... My server pack is OMG how edited, so i think that is my problem of not working..
-
Sorry, my english is terrible. :D Not all your codes, but in this topic codes are wrong... P.s. i tested it on interbliude ;D and its work, i don't know, mabe my l2jserver pack don't accepts that code... I really don't know why not working for me.
-
I know sorry, for waking up old topic, but... I really need it... I used other guides, like pvp reward, but its same.. I use diff patch, but it same sh1t... Oh well, need to try again and again, and maby found my problem;/
-
L2PcInstance... Not working, all of yours code is wrong... If i add this code: addItem("Loot", 8732, 1, this, true); sendMessage("You won 1 lifestone for a pvp kill!"); and if you kill player in somewhere, you either not recive an item. So... wrong code.
-
its for my code :D
