
rtcxool
Members-
Posts
45 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by rtcxool
-
Help Enchange multisell for non-weapon item
rtcxool posted a question in Request Server Development Help [L2J]
Hello all, I need some help setting up the exchange multisell. I use L2j Server files for the Interlude chronicle. I've searched all over the web but cannot find a way to solve this. Maybe I can edit it in Eclipse (I'm very new to editing Java code)? In the Htm text I've used exc_multisell: [code] <center><a action="bypass -h npc_%objectId%_exc_multisell 011">Upgrade stone</a><br></center> [/code] The multisell file also seems fine: [code] <?xml version='1.0' encoding='utf-8'?> <!-- Upgrade Item --> <list> <!-- Stone --> <item id="1"> <ingredient id="stoneID" count="1"/> <ingredient id="57" count="149"/> <production id="upgradedStone" count="1"/> </item> </list> [/code] But when I come with ingredient stone on my inventory, the exchange window is blank... I'm not sure if it is true, but I read somewhere that exc_multisell works only with weapons or armor. So I tried it but again it doesn't work with any weapons or armor, as Nogr or D gr weapons don't work either... And works only with C - S special abilities, etc. Looks like it's written in Java or something on what items are acceptable to exchange. Any ideas on what and where to edit to bypass it and make my items exchangeable too? Thank you in advance for your time and answers! -
Hey guys, Looks like my problems never ending. Even trough the project 90+% done. I am stuck and couldn't find a solution for one more thing. I'm creating many guards for my protect. I mean, I don't want one and the same guard named 'Guard' or 'Security' to be spawned all over the peace areas. So I have many guards with different names to be more realistic. Some guards patrol on safe farm lands, some standing at the village gates. Everything is fine with guards who patrol, but the ones who should be standing at the gates is a bit messed up. I can't make them stand still at the spawn spots, they waking around. I tried to change their walk speed to '0' , looked like it worked but faced another problem. I pretended to be karma, they chased and killed me but then they don't go back to their spawn spots (which are village gates). They just stand at the place where they killed me. Checked all over server files, config and script files but couldn't find anything that could control guard actions. Do you have any ideas how to make guards to go back to their spawn spots after killing a karma and stand still? But at the same time leave the guards who patrol in the farm lands on the same configuration. Thank you so much for any help!
-
Thank you guys so much. You're both right. Solved.
-
Hi guys, I need help to locate a few things. First of all I need to change or delete information that is left from some previous server. See, when logging in, the server name is Island of Survivors, that's my name - all is fine. But below is a box showing l2 Atlas server information... I have looked everywhere but couldn't find how to change it. Any ideas where to find a file that contain this box information? Another thing, how to disable User agreement window. I know that it's possible to disable it but can't remember where. Thought L2.ini but checked and there is no such a function. Thank you for helping me out!
-
Hope you're all do well. I been looking for a guide on how to properly create an extractable item. Couldn't find one for a weeks so created this topic. Sorry , question may be in a wrong section as I'm not sure myself is it client side or server side needs to be done. I'm working on L2j Acis for Interlude. So what I want to make is an item that can extract the following: I know that total chance must come to exactly 100%, so I need the following: Material 1 and material 2 (two materials at the same time) - chance 30% Material 3 and material 4 (again another two materials at the same time) - chance 40% Scroll of Enchant armour - chance 20% Scroll of Enchant weapon - chance 10% The xml file with extractable_items in gameserver folder contain the following formula: #ItemID;Production1,Quantity1,Chance1[;Production2,Quantity2,Chance2... ;ProductionN,QuantityN,ChanceN] With this formula is not possible to get two items extracted at the same time (shame). I have tried many possible ways but extractable item works only according to the formula and cannot extract two (or more) items at the same time. In many topics and forums I found that I need to edit or create a new item handler. I am not familial about neither how to do it, locate it or even what the handler itself. I searched a lot but looks like there is no guides available on how to edit/ create item handler. Can someone who knows more about it, share some short guide on where to locate item handler that reads extractable_items.xml file in gameserver, and how to open it (what program needed to open/ edit it). Thank you very much for any help!
-
Guide Extractable items~Easy way
rtcxool replied to killer666's topic in Server Development Discussion [L2J]
I been looking for guide how to change or write new handler but can't find any guide about it. I am not familiar on what is the handler itself, how to locate it in order to change. And what programs I need to open a something called 'handler'. Would someone be able to explain what is a handler (is it client side, server side or how to locate it/create it). -
Help Python event handler
rtcxool replied to rtcxool's question in Request Server Development Help [Greek]
@Kara re-write in java, well I'm never edited anything java side so I think there would be a lot of learning and tools are required . Since, my project is like 95+% done, I don't really want to re write something. I'm working on passion project without real plans to open the server. I'm already made 4+ quests for the server (server side and client side) and they working perfectly. I'm just having fun creating the quests and adding more cool stuff to my project. That's why asking, is there any other event handler option that I could use writing python script. -
Hi guys, I would like to ask, is there any more functions is working on python event handler for Lineage 2 server? I mean, I want to write a quest like script but instead of writing htmltext=event (which means event will happen when someone click on named link) to make something else to trigger event. For example, double click on item in the inventory call the event. Would be good to know all possible functions that can be used inserted of htmltext. Or is it only htmltext can call event? I'm working on L2Acis, IL Thank you for your answers.
-
Guide Extractable items~Easy way
rtcxool replied to killer666's topic in Server Development Discussion [L2J]
Great guide! Explained in detail. According to the formula shared, only one item can be extracted at the time. But what to do if I want 2 or 3 items to be extracted at the same time? Fox example: 50% to get adena and potions 30% to get weapon scroll and armor scroll 20% to get special item, potions and adena Any ideas? -
Help A scroll that gives a skill attribute
rtcxool replied to rtcxool's question in Request Server Development Help [L2J]
Hi, By saying don't have access I mean I have no idea how to edit anything java side. I used to have a server, java server back in 2012. Now I'm working on a passion project, just having fun creating, have no real plans to open a server. So I'm creating everything old way, by editing data files: .htm, .xml, python and so on. Plus MariaDB. I saw lots of topics saying open a java file, open java pocket or something like.. I don't even know what is that and don't want to dive into that. I kinda have solution to my question. Scroll that can add an attribute (STR/DEX/CON/etc..) is too complicated. Instead, better to make NPC who can do the job, I just need to write a quest like script and using 'on event' python script function, if player have appropiate stone (stone of STR/DEX/etc) in inventory, the stone will disapear and attribute will be added. Sounds easy enough, but... Does anyone know what python script function working for L2 that can add a skill? Most of function used in quests is these. st.giveItems(ITEM,1) st.takeItems(ITEM,1) But is there are a function that can give a skill, not an item? Thanks for the help! -
Help A scroll that gives a skill attribute
rtcxool posted a question in Request Server Development Help [L2J]
Good morning everyone, Hope you're all fine. I need some help, not sure is that even possible in the first place but still... I want to make a scroll that gives a skill attribute. I mean, for example: Scroll of Strenght - A scroll that gives +1 STR status when you click on it. Scroll of Dexterity - A scroll that gives +1 DEX status when you click on it. Scroll of Intelligent - A scroll that gives +1 INT status when you click on it. And so on... As far as I know, just equippable items can add this attributes. But I need to be a scroll, something like extractable item, which gives such attribute when you click on it. I'm not able to edit anything java side, I mean I do not have access to java files. All I have is server datapack (GameServer/LoginServer) and manage them through MariaDB. So I'm expecting that this can be done Python script way on something. Do you have any ideas how to make such a scroll? Thanks in advance guys! -
Help Quest reward script
rtcxool replied to rtcxool's question in Request Server Development Help [L2J]
Your code didn't worked. In game ended up with script error. Anyway, thanks for reply! I have found solution myself. Here is the code that worked just fine: elif event == "30620-7.htm" and st.getQuestItemsCount(FRUIT_BASKET) == 1 : st.takeItems(FRUIT_BASKET,1) n = st.getRandom(100) if n <= 70 : st.giveItems(ADENA,500000) else : st.giveItems(MASK,1) st.unset("cond") st.playSound("ItemSound.quest_finish") st.exitQuest(1) return htmltext Topic can be locked. -
Hi everyone! I need some help on python script. I did full quest and everything is working perfectly. Just one thing I'm trying to achieve and do not know that should I write in script. I want that the quest reward to be Adena or Mask ( one or other, not both). Would be good even with a chance Adena 70% - Mask 30%. According to script I can see that reward is both. Can someone help me and provide a script that I need to achieve what I mentioned above please? Thank you in advance guys elif event == "30620-7.htm" and st.getQuestItemsCount(FRUIT_BASKET) == 1 : st.takeItems(FRUIT_BASKET,1) st.giveItems(ADENA,500000) st.giveItems(MASK,1) st.unset("cond") st.playSound("ItemSound.quest_finish") st.exitQuest(1) return htmltext
-
Yeah, that was the case! A bugged ID. I didn't shuffled the lines but did other way. Since not all but just some armour showed NoItemName, I've checked every line above in game by creating items and found that creating item ID 117 nothing appeared in inventory. Checked same line in armorgrp.dat and found the issue. The line which supposed to be ID 117, had different, misspelled ID. Corrected to 117 and all works. Thanks for replies. Can be locked now.
-
Thanks, but didn't worked. Fist I got Critical error due to general protection when tried to run game. When I tried open it in FileEdit I got other error. Then I re-encrypted it and tried to run game, worked but more then half items show NoItemName. Strange that not all of the items, but still, not working.
-
Hi all, At first when I've noticed this I though it's easy to fix problem. Unfortunately, it took hours and I still can't find what's wrong... So, there is two armour which showing NoItemName. DC heavy and Nightmare heavy. All the other items showing everything perfectly. Video (YouTube) Below you see the lines from itemname-e.dat 365 Dark Crystal Breastplate -1 365,388,512,5765,5777 Heal receiving amount +4%, chance to get Paralysis attack -50%,Atk. Spd. +10%, P.Atk. +10% STR-2, and CON+2. 641 Shield Def +18%. 0 0 6 When all set items are enchanted by 6 or higher, P. Def. and MP regeneration rate will increase. 374 Armor of Nightmare Full body armor. -1 374,2418,5771,5783 P. Atk. +14%, Atk. Spd. +10% chance to get Sleep/Hold attack -70%, CON+2, and DEX-2 2498 Inflicts 5% of damage received in close-up general physical attacks on the enemy. 0 0 6 When all set items are enchanted by 6 or higher, P. Def. and MP regeneration rate will increase. When I edit these lines, make even tiny change, in game all the items turns to NoItemName. The below line for IC breastplate which is working perfectly. 6373 Imperial Crusader Breastplate -1 6373,6374,6378,6375,6376 DEX-2, STR+2, P. Def. +8%, P. Atk. +12%, Atk. Spd. +12% and maximum HP +445. Chance to get Sleep/Hold attack -70%. 6377 Chance to get Poison/Bleed attack -80%. 0 0 6 When all set items are enchanted by 6 or higher, P. Def. and MP regeneration rate will increase. Can't understand what's wrong, but I've tried nearly every possible way to edit these lines. I've even tried to copy IC breastplate line which is working and place instead of DC breastplate just change ID. Didn't worked, all items turns to NoItemName. Also tried to take itemname-e.dat file from other system, no success. Even downloaded other system from some server and took itemname-e.dat to see what happens - all items show NoItemName. Have any idea how to sort this out? Thanks in advance for any help.
-
Help Help to locate static object texture
rtcxool replied to rtcxool's topic in [Request] Client Dev Help
Thank you very much! Video wasn't necessary but it may be helpful too. The thing I was looking for is location of texture. I've checked lots of files in systextures folder while it was in textures folder with easily findable name (world_bulletinboard_t.utx) Also, thank you @NevesOma for great guide. I have all the programs and +/- know how to work with them. Just had a difficulty locating the texture client side. Topic can be locked. -
Help Help to locate static object texture
rtcxool replied to rtcxool's topic in [Request] Client Dev Help
Thank you for this, unfortunately, I don't know much about Acis (just using Acis datapack files), know even less about java editing, java packets, etc... I want to edit this in texture client side, that's why topic is in client development section. Same as I have edited a texture of map which pop up when I click on the static object (have edited villagemap.utx in systextures) the same I want to do with the object itself as on the object between wooded borders still shown a village map which changing color when I put mouse on it. By my understanding, client side should be a button-like texture somewhere for these static objects. -
Good evening all, I need some help with hardest thing ever.. finding the location I've checked lots of textures but wasn't able to find the location of this static object (Village map) texture. I mean, I'm easily found and changed the texture of the map which pop up in a window once you click on the static object. But I need to change the texture of object itself. I don't want a village map to be shown on the stand. Really appreciate for any help. Thanks.
-
@Ehoq No, I don't have much items, but I want to make one item upgradable several times. It wouldn't look fine if all items will be visible. So that's why I want to make players do not see further upgrade if they do not have the ingredient item in their inventory. I guess I need to check Pet manager xml since pet armor and weapons upgradable similar way. Again, it's still armor and weapons and I guess would not work if I change it to material.. The topic can be locked now as the problem stated in topic header is solved and the rest part of my issue is not in client development. I'll try to solve it myself. Thanks, everyone for help.
-
That's what I did, not sure what you said PROFIT. 'Minotaur Horn' is copied from sealed armor part. But that's not what I asking for.. My problem is that exc_multisel is not working when main ingredient changed from armor section to etcitem section. In total, exc_multisell is working fine when main ingredient is Armor, Weapon or Jewell even if it's not copied from mammon. It's just NOT working when the main ingredient is not armor, weapon or jewell but it's material and it's on etcitem section on database. So here is my question, is there a way to make exc_multisell work when the main ingredient is material?
-
Sorry, my bad. I am working on L2j Acis. Chronicle - Interlude. I am creating shop on exc_multisell code in NPC html not normal multisell because I don't want shop to show what items are available if player don't have the main ingredient. Below is my multisell: And that's what I get in game: I see only the second item which upgradable from 'Amulet of Power' The first one which is upgradable from 'Minotaur Horn' is not shown even through the item is in inventory. But then, if I move item 'Minotaur Horn' from etcitem section in database to armor section, it works: Everything would be fine, but I don't want item to be in aromr section because when it's in armor section on database, item 'Minotaur Horn' show line P.Def. So, since I know that only way to remove that P.Def. line from item is to move item from armor section to etcitem in database. My question here is: Is it possible and how if yes, to make exc_multisell work when the main ingredient is material as it's not working in my way as you see. Much appreciated for any help.
-
@Ehoq Thank you, actually inventory texture was in L2UI_CH3.utx I just missed it when I viewed through L2tool my view was enlarged and I saw only part with empty icons but it was full inventory in fact (saw it when exported). @Blitzkrieg I tried your second method. Unfortunately, when I open Interface.u and decompile line ToolTip, the script I get is much different from the one you've shared. The first method I had no idea how to locate the script you're talking about. Maybe because I'm working the old way. I'm using L2j server pack (GameServer/LoginServer) and I do not edit things in Java, I get into Java only through database app (HeidiSQL to be exact). Through server side scripts I can edit only Quests or NPC's like Buffer, etc.. But not items. I have checked database armor section but there is no column which would determine it's Accessory or Armor. The closest one column called 'BodyPart' but changing from 'Necklace' to 'Chest' for example, do not make item to show P.Def. @D3X I've used this way and yes, it worked fine. I created this topic just because I wanted to understand how to edit through the stings. Now I see that strings used not for items separately but for item groups ( armor / accessory / weapons etc.. ). The thing I want to do is, to make material droppable from monsters with small chance and that material can be used to create bracelet. I had issues with exc_multisell as my shop didn't showed any of my items I put to multisell when main (the first) ingredient is in inventory. Then I did it other way. I took B grade jewel which I do not use in server and changed sealed part to my material, unsealed part to bracelet. Everything worked fine, only thing is that my item showed M.Def. while I wanted to show P.Def. (sorted now) and that material show line M.Def. also since it's reworked from jewel but I need it to show nothing, neither M.Def or P.Def. Sounds easy enough, I've deleted entry from armorgrp.dat and created new entry in etcitemgrp.dat I've copied entry from random material and changed ID to my item ID. Then I deleted my item entry from armor section server side and created new entry with my item ID in etcitem section. And also deleted stat lines for the item from armor stats as it's not armor anymore. The item now do not show neither P.Def. or M.Def. as I wanted, it's just like a material. But now this item do not work in exc_multisell... Even if I have item in inventory, multisell do not show that item can be upgraded... Means item must be in armor section server side to work in exc_multisell. That's why I wanted to make item use different string ID from sysstring-e.dat so I can change that string to any text I want instead of M.Def. without affecting other items and leave it in armor section server side (just make it not equipable). But as I already mentioned, looks like not the item using string ID's but the item groups and it's not possible to do so for just single item. I know that this topic can be closed as it's solved now and the rest part of my issue is not client side anymore but still I want to ask on the same topic, do you have any idea how to make this exc_multisell work when the main item is material? P.S. Thanks guys for reading all this and trying to help me.
-
Sorry, but you must be wrong about the first one. I took the piece of armor entry and jewel entry from armorgrp so one is showing P. Def. and other M.Def. I've checked and all variables of 0's and 1's are identical, while it should be 0 on P.Def. on jewel entry and 0 on M.Def. on the armor entry but it isn't. Also, at the top (the first line of FileEdit) have explanation what each column is for. And there is no mention about the sys strings or something similar at all. Armorgrp capable to change P.Def / M.Def. / Weight amounts shown but not the lines itself. By my understanding, it must be some other file which directs item icons to sysstring-e.dat About the inventory texture. That is what I was afraid of. L2Fonts-e.utx is one which gives me an error and I can't open it. Error says The ArrayIndexOutOfBounds exception. Looks like my computer is not powerful enough to open it. Is that true or it's some other reason that I get this error?
-
Hi all, Hope you're all well. I need some help ( once again ) I've created custom item and all is fine with it apart one thing. On the item statistics shown M.Def. but I need item to show P.Def. I found this is editable in sysstring-e.dat: id name 92 SP 93 Combat 94 P. Atk. 95 P. Def. ... 311 Active Skill 312 Passive Skill 313 Magic 314 Clan 315 M. Atk. 316 Atk. Spd. 317 DEF Rate 318 Dodge 319 M. Def. When I change ID 319 and write P.Def. instead of M.Def., the item shows P.def. as I want but this is not the right way because this way all other items who show M.Def. start showing P.Def.... Looks like my item use string ID 319 and I need to change it and make the item to use string 95. Anyone know where I can do this? (I know it's definitely not in armorgrp.dat, I have double checked every possible field and armorgrp.dat do not control which string item using from sysstring-e.dat.). And I have another problem. I can't locate the texture I want to edit. I want edit a 'Underwear' empty slot appearance. I have checked a lot of .utx files (especially L2ui and L2UI_CH3) but couldn't find this texture. I want to change this underwear empty slot appearance as cloth to something different that I will create my self. Much appreciated for any help guys.