Jump to content

rtcxool

Members
  • Posts

    45
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About rtcxool

Profile Information

  • Gender
    Male
  • Country
    United Kingdom

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

rtcxool's Achievements

Contributor

Contributor (5/16)

  • One Year In Rare
  • Dedicated Rare
  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges

2

Reputation

  1. 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!
  2. 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!
  3. Thank you guys so much. You're both right. Solved.
  4. 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!
  5. 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!
  6. 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).
  7. @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.
  8. 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.
  9. 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?
  10. 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!
  11. 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!
  12. 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.
  13. 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
  14. 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.
  15. 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.
×
×
  • Create New...