Jump to content
  • 0

[help] Rin4a buffer's problem


Question

Posted

Hello,

 

I was looking to install Rin4a's buffer, so I made some research and I found a download link in this forum

https://rapidshare.com/files/4047889131/Rin4a_Buffer_Edited_by_ZiTioN.rar

 

When I installed it I had a problem at line 14 of the py file, so I modified it according to this post

http://maxcheaters.com/forum/index.php?topic=235809.msg2120856#msg2120856

 

The file has now been loaded correctly, but when I reload the npc's script ingame I get a long error in the gossip window and another one in the console..

ott 28, 2012 11:19:53 PM com.l2jserver.gameserver.model.quest.Quest showError
WARNING: D:\LocalServer\L2J\L2J H5 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 Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

at com.mysql.jdbc.Util.getInstance(Util.java:386)

at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)

at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)

at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2318)

at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:446)

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.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'l2jgs.buffer_scheme_list' doesn't exist

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$349.onAdvEvent(Unknown Source)
at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:579)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.processQuestEvent(L2PcInstance.java:1811)
at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:241)
at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1072)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 

Can you help me out?

So I can finally make this buffer work.. XD

I use the latest nightly from l2j (Hi5)...

 

PS: If someone's already using this version, does it buff also pets?

Recommended Posts

  • 0
Posted

I have one... gimme second...

EDIT: Link

This patch dont need file htm and insert to table npc?

And I cant find NpcBuffer ID?

 

Error when compiling

dist/game/data/scripts/custom/NpcBuffer/NpcBuffer.java

Line: 1251.

for (L2CubicInstance cubic : player.getCubics().valueCollection())

The method valueCollection() is undefined for the type FastMap<Integer,L2CubicInstance>

  • 0
Posted

This patch dont need file htm and insert to table npc?

And I cant find NpcBuffer ID?

 

Error when compiling

dist/game/data/scripts/custom/NpcBuffer/NpcBuffer.java

Line: 1251.

for (L2CubicInstance cubic : player.getCubics().valueCollection())

The method valueCollection() is undefined for the type FastMap<Integer,L2CubicInstance>

 

This is lol... i did same 1rst time before... read some guides...

don't put it as a .py file lol... you should compile it mean you should apply this with Eclipse

  • 0
Posted

This is lol... i did same 1rst time before... read some guides...

don't put it as a .py file lol... you should compile it mean you should apply this with Eclipse

Could you clarify more detail about this error? or give me link of guides.

I dont use py file in this patch.

Thanks.

  • 0
Posted

Infos inside npc's table and npc's id.. I think it's on our own, as far as I understood these files just provide the core of the npc, so the configuration and the imports in the code...

I'm newbie compiling, so I can't help you yet, because I'm still at the beginning (trying to understand Eclipse's mechanism), I always used pre-compiled emulators...

  • 0
Posted

I'm done. :)

Something had to be corrected because was not compatible with the latest STABLE l2j revision...

 

The problem you reported is in these lines (there're 3)

{
                            for (L2CubicInstance cubic : player.getCubics().valueCollection())
                            {
                                cubic.stopAction();
                                player.delCubic(cubic.getId());
                            }
                        

 

and you can fix it changing valueCollection() into values()

 

The quest will work on npc number 12 (you can change this value into npcbuffer.java), but you still need to create the npc inside your database by yourself, as I said previously... ^^

 

It is a very good buffer btw, great job to anybody who wrote this!

Guest
This topic is now closed to further replies.


×
×
  • Create New...