Ramzah
Members-
Posts
60 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Ramzah
-
[Request] Account-Global Warehouse
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Well... a single warehouse for all characters would be the best way to solve my problem cuz that way you can pick an item in your warehouse from any character in your account, the freightman suggestion was only if the global warehouse wasn't possible, freightman is slightly... "limited" compared to the global warehouse idea. -
[Request] Account-Global Warehouse
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Cool! i'm looking forward to it! :D If possible i'd love to know how did you work it out, that way i might learn some coding too. ::) EDIT: I dunno if u need these informations but i guess i'd add them anyways... I'm on CT2.4 gracia epilogue. l2j version 4319 l2j datapack version 7546 -
[Request] Account-Global Warehouse
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Bump! Anybody can help? =/ -
[Help] Npc title won't change!
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Works perfectly, thank you very much! :D -
[Help] Npc title won't change!
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
That is what i did in the first place, but that way it won't change my npc titles, while changing the value next to server side title to 1 gives them the title i want, the problem is when i talk to them and the npc window pops-up they are still named Test Server Helper inside it. -
[Help] Npc title won't change!
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Thanks, the title finally changed, but when i talk with any of the 2 npc they'r still named Test Server Helper in the pop-up window. How do i fix that? -
What's wrong with my npcs? o.o Seriously... I even restarted the server and double-checked the sql db, why is it still showing me the wrong title...? :(
-
[Help]How to setup my server to join with a no-ip host
Ramzah replied to Sokal's question in Request Server Development Help [L2J]
That is because the hosts file doesn't recognize a no-ip.org adress as an IP adress in the IPs column, to make your server work with no-ip you should get your hands on file edit software from: http://www.maxcheaters.com/forum/index.php?topic=69451.0 And edit your l2.ini file in the line where u see ServerAddr=your.no-ip.org here. This is client modification, not server please move topic. :D -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Doh.... thank you very much SkyNet, yes i did enable mana potions, but i didn't pay attention to the skill Id back then cuz they were all rubbish numbers to my inexperienced eyes... =p It seems to work now, even tho it doesn't display the item name on my chat when i use mana potions, odd o.o This is my current code: <skill id="10001" levels="1" name="Custom Mana Potion"> <set name="itemConsumeId" val="728" /> <set name="itemConsumeCount" val="1" /> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="MPHOT"/> <set name="operateType" val="OP_ACTIVE"/> <set name="buffDuration" val="15000"/> <set name="reuseDelay" val="10000"/> <set name="staticReuse" val="true"/> <set name="isPotion" val="true"/> <for> <effect noicon="1" name="ManaHealOverTime" count="15" time="1" val="35" stackOrder="1" stackType="mp_recover"/> </for> </skill> -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
By playing around with xml files and testing and reading around the internet etc..etc... I developed a correct syntax for mprecovery over time: This potion will restore 50 mp each second for 15 seconds for a total of 750 mp (i might lower it a bit, if u want it lower too just change the val="50" to something like: val="30") The problem is it doesn't seem like skillid 2005 is the mana potions, unless i'm doing something wrong, this code does work if use it under elixir of mental strenght (ID 2288 in xml files), so can anyone confirm that 2005 is the mana potions ID? -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Nope, not working, it actually gives a buff icon but it gives no effect, if i move mouse over it it says: none under remaining time. -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Elixir of Mental Strenght still gives instant mp, the only difference is it has delay... Even tho adding delay to mana potions could as well fix my problem (i don't want mana potions to be spammable...) i'd rather make them slowly restore mp...So is there any way i can do that? P.S. Yeah i have l2j server version 4319, datapack version 7546 -
[Request] Account-Global Warehouse
Ramzah posted a question in Request Server Development Help [L2J]
I was wondering if there's any way to make the warehouse account-based instead of character-based, that way it doesn't matter with what char you store your items, you can pick it up with any other character of your account, that is mainly why i want to do this, so i can trade items between my characters. EDIT: I actually remember there used to be an npc called Warehouse Freightman wich is missing in my server for some odd reasons... o.o What i wanna do is basically a work around that does the job of this npc. To make it even more simple: I want char A on account 1 to be able to give items to char B on account 1 without using char X on account 2 to move the items from a char to another. -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Maybe it's different on gracia epilogue? o.o this is my xml file: <skill id="2002" levels="1" name="Healing Drug"> <set name="itemConsumeCount" val="1" /> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="HOT" /> <set name="operateType" val="OP_ACTIVE" /> <set name="isPotion" val="true" /> <set name="buffDuration" val="20000" /> <cond msgId="113" addName="1"> <player flyMounted="False" /> </cond> <for> <effect count="4" name="HealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="HpRecover" /> </for> </skill> <skill id="2003" levels="1" name="Squash Seed"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="itemConsumeCount" val="1" /> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="SPAWN" /> <set name="operateType" val="OP_ACTIVE" /> <set name="hitTime" val="1500" /> <set name="staticHitTime" val="true" /> <set name="npcId" val="12774" /> <set name="despawnDelay" val="120000" /> </skill> <skill id="2004" levels="1" name="Large Squash Seed"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="itemConsumeCount" val="1" /> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="SPAWN" /> <set name="operateType" val="OP_ACTIVE" /> <set name="hitTime" val="1500" /> <set name="staticHitTime" val="true" /> <set name="npcId" val="12777" /> <set name="despawnDelay" val="120000" /> </skill> <skill id="2005" levels="1" name="Nectar"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="NOTDONE" /> <set name="operateType" val="OP_PASSIVE" /> </skill> While in the items itemhandlers folder i have a ManaPotion.java file and this is the code inside it: package handlers.itemhandlers; import com.l2jserver.Config; import com.l2jserver.gameserver.model.L2ItemInstance; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.network.SystemMessageId; import com.l2jserver.gameserver.network.serverpackets.SystemMessage; public class ManaPotion extends ItemSkills { /** * * @see com.l2jserver.gameserver.handler.IItemHandler#useItem(com.l2jserver.gameserver.model.actor.L2Playable, com.l2jserver.gameserver.model.L2ItemInstance) */ @Override public void useItem(L2Playable playable, L2ItemInstance item) { if (!Config.L2JMOD_ENABLE_MANA_POTIONS_SUPPORT) { playable.sendPacket(new SystemMessage(SystemMessageId.NOTHING_HAPPENED)); return; } super.useItem(playable, item); } } Still not working =/ -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Fact is i can't find mana drug ID and your code didn't work at all, even after restarting server mana potions still gave 100 mp, maybe i have to edit some different files? -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
And... where can i find mana drug xml...? xD I tried replacing mana potions xml with healing potions one and playing around with it a bit but without success... (good thing i always make backups..) -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
How? I'm really new to editing these files can you please guide me in the process? -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Edited it but it's not working even after restarting the server, mana potions still give instant mp. What else can i try? -
[HELP] How to make mana potions restore mana like hp potions
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
I tried with Mana drugs but they don't restore any mp and there's not even a buff effect icon on my list... Mana potions did work tho.. =/ Rafole where can i change those code lines? what file/folder? -
This one works perfectly, thanks a lot.
-
IT was happening to me the other day, you might as well read my other topic. But to make a long story short: It is client problem. Run the Lineage2 updater. Replace system folder with gracia epilogue system folder from here: http://www.maxcheaters.com/forum/index.php?topic=69451.0 Edit L2.ini with file edit program for gracia epilogue, in the line: serveraddr=putyouriphere you can check ur ip from http://www.whatsmyip.org/ If you want to play with ur friends tho and you have a dynamic ip, i suggest you to register an account on www.no-ip.com and replace ur ip with ur no-ip adress in the above line. (serveraddr=you.no-ip.com) Hope it helps you.
-
[help] How to change server name @login
Ramzah replied to Ramzah's question in Request Server Development Help [L2J]
Exactly what i needed, it works perfectly, thank you. (I tought this was server-sided but since it's client modification this topic should be moved and locked, thanks again.) -
[help] How to change server name @login
Ramzah posted a question in Request Server Development Help [L2J]
I'm not sure what to look for in the search button to solve my problem so this question might already been answered somewhere else, please forgive me if it's like that but just as the title says, i want to replace this: With my own server name, how can i do it? I renamed the server in the file servername.xml in the login folder but it doesn't seem to work like this: <?xml version="1.0" encoding="UTF-8"?> <servers_list> <server id="1" name="My Server Name" /> <server id="2" name="Sieghardt" /> <server id="3" name="Kain" /> <server id="4" name="Lionna" /> <server id="5" name="Erica" /> <server id="6" name="Gustin" /> <server id="7" name="Devianne" /> <server id="8" name="Hindemith" /> <server id="9" name="Teon (EURO)" /> <server id="10" name="Franz (EURO)" /> <server id="11" name="Luna (EURO)" /> etc..... etc..... </servers_list> Please give detailed informations as i'm still a newbie, thanks. -
Solved by deleting my whole system folder and replacing it with the one in this topic http://www.maxcheaters.com/forum/index.php?topic=69451.0 So far no problems occurred, dunno why they did before...
