Jump to content

Recommended Posts

  • 3 weeks later...
Posted

Hello,

 

I took the liberty to "fix" the buffer for the latest l2jserver stable hi5.

 

Link : http://pastebin.com/4xCWwGDH

 

Note: this is only the script file, you still need to import the original .sql and create the custom NPC to make it work.

 

Thanks to all that have contributed to this up to now.

  • 3 weeks later...
Posted

Guys, thank to you advices I was able to finally deploy and make my schema buffer work!

 

Newest L2J Server / Stable Build + Rin4a-Buffer-V1.3-Edited-By-Squirtle-{Updated-to-Hi5} + CCCP's line 7 and 10 solution + lutzurule's scrip

 

Thanks!

  • 5 weeks later...
Posted (edited)

Npc not work on last master branch of L2J Server.

I'm blocked here:

4) Add into NPC table [for gs db] (id=555 idTemplate=18544 name=Buffer serverSideName=1 title=Scheme serverSideTitle=1 class=LineageNpcEV.trap_ironcastle collision_radius=8 Collision_height=24 level=85 sex=etc type=L2npc attackrange=40 hp=5555 mp=5555 *You can just tab or null through the rest*

I can't add into Npc tables because are differents, so i try this:
 

 

johanzo01 wrote:
4th open: Game -> Data -> Stats -> NPCS -> Custom -> Custom.xml
In custom xml put that.

Result: not work.
So, i have tried in different 3 ways:
 

   <npc id="555" displayId="18544" name="Buffer" usingServerSideName="true" title="Scheme" usingServerSideTitle="true" type="LineageNpcEV.trap_ironcastle">
      <collision>
         <radius normal="8" />
         <height normal="24" />
      </collision>
<npc />

----------------------------------------------------------------

   <npc id="555" displayId="18544" name="Buffer" usingServerSideName="true" title="Scheme" usingServerSideTitle="true" class="LineageNpcEV.trap_ironcastle" type="L2NpcBuffer">
      <collision>
         <radius normal="8" />
         <height normal="24" />
      </collision>
<npc />

----------------------------------------------------------------

   <npc id="555" displayId="18544" name="Buffer" usingServerSideName="true" title="Scheme" usingServerSideTitle="true" type="L2NpcBuffer">
      <collision>
         <radius normal="8" />
         <height normal="24" />
      </collision>
<npc />

Not work. Can someone give me more details plz ?

 

 

 

#FIXED
Solution: i just copy badly the code from lutzurule's pastebin. Sorry >.<

Edited by TPK
  • 1 month later...
Posted (edited)

guys can someone help me using team viewer ??

 

I can pay if needed i just want help getting npcs in my server :(

 

 

Error on: C:\Users\DanieL\Desktop\Server l2\L2jserver\L2Server\data\scripts\custom\555_NPCBUFFER\__init__.py.error.log
Line: -1 - Column: -1
 
Traceback (innermost last):
  File "__init__.py", line 4, in ?
ImportError: cannot import name Config
Edited by l1n4d
  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
Posted

Ok i managed to solve my problem, now its fully working for last high five  :

 

http://pastebin.com/k8LMUPp9

hey, finally I managed it as well but the buffer does not buff :)

no errors on the script and spawn correctly but when I click on the buff nothing happen..any idea?

  • 2 months later...
Posted (edited)

Hi guys, i really like this buffer and i combined all fixes for novice users.
I'm using this with the last L2J Server - Master (High Five stable build) and work well.

Updated: 21 Jan 2016

7z version:
https://copy.com/NH8GCfjlugNpaSfM

Zip version:
https://copy.com/8u7pFEotyY6DO1dI

Credits:

Rin4a
Squirtle
CCCP
lutzurule
fullatx91

Edited by TPK
  • 2 weeks later...
Posted (edited)

Hey, but that visual display from HTML is not like in original Rin4a buffer, can you help me please?

 

__EDITED: Fixed! Unclosed table tag
 

HTML_MESSAGE += "<table><tr><td><img src=\"Icon.skill"+format+"\" width=32 height=32></td><td><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=190 height=32 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr></table>"                                                                      
HTML_MESSAGE += "<br><button value=\"Back\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " redirect main 0 0\" width=100 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"
HTML_MESSAGE += "<br><font color=\"303030\">"+TITLE_NAME+"</font></table></center></body></html>"


 

This is bad HTML looking :(

91ex36.jpg

 

 

 

This is good ;)

2zf3khh.jpg

Edited by Irelia#1
Posted

Error on: C:\L2J_Server\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('invalid syntax', ('__init__.py', 67, 1, 'bottonA="Auto Buff Pet";bottonB="Heal My Pet";bottonC="Rem. Pet Buffs"'))
 

 

Iparxi Kapoio Fix??? Eyxaristw!!

Posted (edited)

Rin4a R.I.P !! (Pet buffs bugged!)
L2J confirmed. .py and jython NOT supported anymore.
Try u3games .java version.

Edited by Irelia#1

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.




×
×
  • Create New...