Jump to content

[Share] NPC Buffer - Gracia Final [CT2.3] [UPDATE ver.0.5]


Recommended Posts

Posted

Try :

Change  in python :

import sys

from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from net.sf.l2j.gameserver.datatables import SkillTable

from net.sf.l2j       import L2DatabaseFactory

from net.sf.l2j.gameserver.model.quest import State

from net.sf.l2j.gameserver.model.quest import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

To

 

import sys

from com.l2jfree.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from com.l2jfree.gameserver.datatables import SkillTable

from com.l2jfree       import L2DatabaseFactory

from com.l2jfree.gameserver.model.quest import State

from com.l2jfree.gameserver.model.quest import QuestState

from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

 

and check the skills Id's if are correct.

 

Hope that helped you.

 

Posted

Try :

Change  in python :

import sys

from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from net.sf.l2j.gameserver.datatables import SkillTable

from net.sf.l2j       import L2DatabaseFactory

from net.sf.l2j.gameserver.model.quest import State

from net.sf.l2j.gameserver.model.quest import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

To

 

import sys

from com.l2jfree.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from com.l2jfree.gameserver.datatables import SkillTable

from com.l2jfree       import L2DatabaseFactory

from com.l2jfree.gameserver.model.quest import State

from com.l2jfree.gameserver.model.quest import QuestState

from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

 

and check the skills Id's if are correct.

 

Hope that helped you.

 

 

didn't work for me =/

Posted

didn't work for me =/

 

Look at the L2JFREE SVN and cheack imports patch to the classes ... and correct them..simple.

Posted

Some things i want to say :) :

1. no works cancel buffs on last l2offcial rev

2. can and and heal at buffer ?

 

Posted

Look at the L2JFREE SVN and cheack imports patch to the classes ... and correct them..simple.

 

i dont know if that what you mean but... i add this line on scripts.cfg

 

# Custom

custom/60551_NPCBuffer/__init__.py

 

its working perfect now

thx

 

Btw i have recreated all npc buffs for working by template on mysql table and HP/cancel/CP function by script...but cp function isnt work

can someone help me with script code?

im using l2jfree gracia 2.2

 

thx anyway =)

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
Reply to this topic...

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




  • Posts

    • Yeah, that's fair. I'll create a full AI-based fake player engine out of this to see how far it can go.
    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • Don't get me wrong, I have no hate for AI. The potential for LLMs in gaming, especially for creating dynamic NPC dialogues or complex, adaptive game masters, is immense. The point of my previous post wasn't to dismiss AI as a whole, but to question its practical application for this specific, solved problem.   However, the example given (basic farming) is the worst possible use case to demonstrate this potential. It's the equivalent of using a fusion reactor to power a desk lamp. The overhead is astronomical compared to the task. The core of my argument is about efficiency and the right tool for the job. For the predictable, loop-based behavior of auto-farming, a state machine is not just adequate; it is superior. It is lightweight, incredibly fast, reliable, and consumes negligible resources.   To prove it's not about the volume of code but the efficiency of execution, here is the entirety of the auto-play logic for my server: AutoPlayTaskManager 400 lines of code: AutoUseTaskManager 470 lines of code: This code provides full, retail-like auto-play support for all classes, including offline play. It runs on any standard VPS without a dedicated GPU, using a tiny fraction of CPU cycles. An LLM-based solution for this same task, even a "weaker" one, would: -Introduce significant latency (response time) for each decision. -Require expensive GPU hardware to run locally or incur API costs for cloud services. -Add immense complexity for parsing natural language responses back into game actions. -Be inherently less reliable than a simple "if mob dead -> loot" check. So, while I agree the research is "quite cool" as a proof-of-concept, championing it as a practical solution for auto-farming is where the "AI hype" label fits. The real innovation would be applying that LLM power to a problem a state machine can't easily solve, not one it already solves perfectly.
    • Ofc it does 🙂 . All it was trained on was farming for levelling. It's not about doing something unpredictable. It's about potential. Feed it a bigger context and train it on class-specific fighting patterns, buffing, item values, trading, chatting in L2 lingo, reading trade chat, party-based farming, crafting goals, etc, and you have something that a normal deterministic bot would take a really long time coding to achieve.   Add that to all of the work being offloaded to a model instead of the gameserver, and you have a much better solution that feels way more natural. Ofc you can do pretty much everything with a state machine but you'd have to write insane amounts of code. It's a waste of time. Don't be blindsided by your hate for AI. There is considerable potential here.
    • AI hype from dumb AF devs at it's best. The video shows a character doing the most predictable loop imaginable attack, loot, repeat. You don't need a "reasoning" LLM for that. A lightweight task scheduler or even a basic script can handle it with a fraction of the resources and zero GPU overhead.   Spinning up a big language model to decide "hit the mob and pick up the drop" isn’t clever, it is wasteful. It's like hiring a rocket scientist to flip a light switch: impressive hardware, pointless job.
  • Topics

×
×
  • 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