Jump to content
  • 0

Python event handler


Question

Posted

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. 

 

4 answers to this question

Recommended Posts

  • 0
Posted

Drop the damn useless shit python in 2022 and re-write it in java. 

 

Also why you need to implemented the whole event to the quest engine. Make a custom item handler and check upon click if the owner carries the quest and is on X state. 

  • 0
Posted (edited)
34 minutes ago, Kara said:

Drop the damn useless shit python in 2022 and re-write it in java. 

 

Also why you need to implemented the whole event to the quest engine. Make a custom item handler and check upon click if the owner carries the quest and is on X state. 

actually python is more popular and widely used than java, and probly the most used programming language

Edited by BruT
  • 0
Posted
9 minutes ago, BruT said:

actually python is more popular and widely used than java, and probly the most used programming language

On datascience or data related programming, python is used in almost 80% of the programs followed by the R-language.. Python is simply a great language, and easy to use too. But Honestly, not for L2.

But for OP, Try making an java event handler. is much beter. I dont think aCis has python support for script files. I know some older java projects have, but I doubt aCis does.

  • 0
Posted

@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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...