Jump to content
  • 0

Python event handler


rtcxool
 Share

Question

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. 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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. 

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock