Jump to content

Rin4A's Scheme Buffer Fully Working Updated To Highfive


Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 2 weeks later...

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

  • 2 weeks later...

Problem with unclose connection ! :/ any solution? i will upload images later from server error !

Close them.. :troll:

Link to comment
Share on other sites

  • 4 weeks later...

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

  • 2 weeks later...
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

Link to comment
Share on other sites

  • 2 months later...
  • 9 months later...
  • 1 month later...
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

Link to comment
Share on other sites

  • 1 month later...

 

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.

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

    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
    • L2LIVE.PRO- Dynamic Mid-rates Essence Seven Signs GRAND OPENING - July 5, 20:00 GMT+3 (EEST) TEST SERVER IS OPEN - COME AND CHECK IT OUT TODAY! Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu   Server description * EXP/SP: Dynamic (x1- x100 based on your level, *before* Sayha and EXP buffs * Adena: x50 / Item Drop: x10 / Fishing EXP increased / Attribute EXP increased * Simplified gameplay to stay in the loop while not spending hours and hours farming * Starter Pack containing very useful items for beginners * MP replenishing potions with auto-consumption * No overpowered donations L2LIVE shop * All spellbook coupons, pet spellbook coupons and master books are sold via Game Assistant * Additionally you can buy SP pouches, enchanted talismans, pet training guides and various other consumables for Adena and L-Coin * More items such as cloaks, more talismans, agathions, belts, pendants, enchantment scrolls of various grades, evolution stones, etc will be added! Shop server as a shortcut, and all retail-like ways of earning items are still here! L-Coins * Drops with small change and in random amounts from Lv60+ monsters  * All raidbosses drop random amount of L-Coin Pouches generating up to 420 Lcoin per unit. **Grand Olympiad and Events** * Grand Olympiad is held week day * Format is 1v1, unlimited weekly fights  * Heroes are declared weekly at Sunday * There are three automated events - TvT, CTF and Deathmatch, running at evenings * Orc Fortress, Battle with Balok, Keber Hunter, Archievements Box, Daily Gift Calendar provisional events are active too Custom user commands * .offlineplay command, your character will keep playing till death or server restart * .offlineshop command, keeps your shop sitting until all items are purchased * .apon / .apoff - enable/disable HP/MP autoconsume And lots of other small improvements are waiting for you!   Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu
  • Topics

×
×
  • Create New...