Jump to content

Recommended Posts

Posted

testing the updated ( 28/04) version

 

 

EDIT: Tested on test server, works with/without gm access smoothly.

Not tested on live server. Regarding someone above who said it would cause issues, my suggestion is to put level limit on using the buffer, so not everyone will start creating schemes at your server's launch, flooding the database. And another idea is to also put more than one buffer at every town.

 

Thanks/gz for sharing/fixing/adapting it.

  • 1 month later...
  • 1 month later...
  • 2 weeks later...
Posted (edited)

Can anyone help with this?

Game server console:

Failed executing script: C:\Lineage 2 Test Server\game\data\scripts\custom\555
_NPCBuffer\__init__.py. See __init__.py.error.log for details.

error.log

Error on: C:\Lineage 2 Test Server\game\data\scripts\custom\555_NPCBuffer\__init__.py.error.log
Line: -1 - Column: -1


Traceback (innermost last):
File "custom/555_NPCBuffer/__init__.py", line 8, in ?
ImportError: no module named jython

Thanks.

Edited by xXxJimPowerxXx
  • 2 weeks later...
  • 4 weeks later...
Posted (edited)

not working any more for latest l2jserver beta.... big changes made

 

 

L2JDP  10003
L2JSERVER  6254
 
changed getEffects to applyEffects  as specified in rev 6249
 
but still get errors on rin4a buffer _init_.py
 
Edited by Aphopis
  • 2 weeks later...
Posted
Unclosed connection! Trace: sun.reflect.GeneratedMethodAccessor22.invoke(Unknown

 Source)

java.lang.RuntimeException

        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:

273)

        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.python.core.PyReflectedFunction.__call__(Unknown Source)

        at org.python.core.PyMethod.__call__(Unknown Source)

        at org.python.core.PyObject.__call__(Unknown Source)

        at org.python.core.PyInstance.invoke(Unknown Source)

        at org.python.pycode.serializable._pyx1384304944317.buildHtml$19(custom/

555_NPCBUFFER/__init__.py:343)

        at org.python.pycode.serializable._pyx1384304944317.call_function(custom

/555_NPCBUFFER/__init__.py)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyFunction.__call__(Unknown Source)

        at org.python.pycode.serializable._pyx1384304944317.onAdvEvent$14(custom

/555_NPCBUFFER/__init__.py:827)

        at org.python.pycode.serializable._pyx1384304944317.call_function(custom

 

Help please?   L2jdp 1024

  • 2 months later...
  • 9 months later...
  • 1 month later...
Posted
Lastest HighFive beta (L2jserver.com master branch)

 

Traceback (innermost last):

  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?

ImportError: no module named jython

 

line 7 is

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

  • 1 month later...
Posted

 

Lastest HighFive beta (L2jserver.com master branch)
 
Traceback (innermost last):
  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?
ImportError: no module named jython
 
line 7 is
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

 

 

Just copy this: 

from com.l2jserver.gameserver.model.quest import Quest as JQuest

And ur next error will be in lane 10, to fix it, just type "SkillData" in the end, like this:

from com.l2jserver.gameserver.datatables import SkillData

Now buffer loaded, can spawn in game ... BUT:

f4c78ffa7d63.jpg

 

And whatewer what i press, i have same text:

 

fb4da94ff2d8.jpg

 

Anyone know where is problem? Here is my error log:

 

 

[07/03 00:01:15] C:\server\Server\game\data\scripts\custom\555_NPCBUFFER\__init_

_.py
Traceback (innermost last):
  (no code object) at line 0
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
        at com.mysql.jdbc.Util.getInstance(Util.java:383)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1062)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2840)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2082)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2212)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:430)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: com.mysql.jdbc.except
ions.jdbc4.MySQLSyntaxErrorException: Table 'l2jgs.buffer_scheme_list' doesn't e
xist
 
        at org.python.core.Py.JavaError(Unknown Source)
        at org.python.core.PyObject._jthrow(Unknown Source)
        at org.python.core.PyObject._jcall(Unknown Source)
        at org.python.proxies.main$Quest$73.onAdvEvent(Unknown Source)
        at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:520
)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.processQue
stEvent(L2PcInstance.java:1596)
        at handlers.bypasshandlers.QuestLink.useBypass(QuestLink.java:74)
        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:325)
        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:70)
        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1
134)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
 
[07/03 00:01:15] main$Quest$73: null
 

 

Thanks for answers.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • DEVELOPMENT UPDATE #4 ACCOUNT AND CHARACTER SECURITY   Vaelor includes several protection layers for accounts and characters. A personal PIN protects access to the character. PIN verification is also required for sensitive character actions. Incorrect attempts are counted across the protected actions. Repeated incorrect attempts trigger an automatic security response. Computer Lock can restrict access to an authorized device. Hardware identification is used for the game-window limit. Hardware bans are checked before protected character operations. Security settings are available through Alt+B › My Character.   These systems work alongside the normal account credentials and are intended to reduce the damage caused by shared or compromised login information.     ━━━━━━━━━━━━━━━━━━━━━━   Open Beta is currently running.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4
    • Some things that I've been working on lately. Client update A new system message window sits right above the chat. Damage, XP, pickups and system messages get their own box, so your chat stays clean. You can switch it off in the chat filter. Screenshots are now HQ and saved as PNG in dated folders. A bit of improvement from old bmp. Fixed a graphics glitch, cursor issues and the taskbar on Windows 11. Closer to retail C1 Buffs and debuffs now disappear on death, as on the original server. Clan wars last unlimited until one side surrenders. A stun is no longer broken by the hit that caused it, and Lucky no longer protects players with PKs. Doors and line of sight were checked against the original game. Sieges Castle walls can only be damaged by a Siege Golem. Players, other summons and skills cannot damage them. This is C1 mechanic so I will make a poll regarding this. Building Headquarters can be interrupted by damage, so protect your clan leader. Queen Ant and pets When Queen Ant spawns, everyone in her nest is teleported out, as on retail. Pets and servitors count as humanoid, as in C1. Original C1 bugs fixed Monsters hesitating instead of chasing you. They now finish the swing and then follow. Monsters are no longer moving while asleep or rooted. The Composite Armor set and Decrease Weight having no effect on weight fixed Anti-bot We've started building our own anti-bot system into the server itself. Bots aren't really welcome.
    • Version 0.3.0 - NPC rendering and npcpos.txt editing https://res.cloudinary.com/h4p9pew6/video/upload/v1792026335/npc-spawns-editor.mp4   A new NPC Spawns tab. Choose an L2OFF script folder and Cruma shows the server's spawns right in the game world: - Every spawn zone is a colored outline on the geodata. From high up you also see the zones far below. - NPCs stand where the server puts them. Random spawns use the same logic as the server. - Editing: move a whole zone or its corners, add and remove corners; move and turn NPCs; change the NPC, count, respawn time, AI and its parameters; add and delete zones, makers and NPCs; rename zones and makers and every reference to a zone is updated; new zones are named after the nearest zone (for example, benon_1725_07 next to benon_1725_06). - Actions: click an NPC or a zone to open its maker; double-click to start editing; search for NPCs; the focus button flies the camera to an NPC; the View menu can hide zone outlines and keep only the NPCs. - Each client remembers its own script folder, the same way it remembers its geodata folder. - Saving: only the edited lines of npcpos.txt change; before writing, you see a diff of the changes (maximum_npc 4 -> 3); every version is kept as a dated backup.   Improvements - UI changes: small fixes and a wider tool tab.   Download Link: 0.3.0
    • Why not, if you're interested I will post an update
    • UPD: New features and improvements
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..