l2topzone.com
l2topzone.com

Author Topic: [Guide]Make your buffer works on your project  (Read 4647 times)

0 Members and 1 Guest are viewing this topic.

OfflineEglezakioc

  • Full Member
  • ***
  • Posts: 205
  • L2topzone Votes: 0
  • Servers reviews: 4
  • Country: Greece.
  • Reputation: +661/-0
    [Guide]Make your buffer works on your project
    « on: March 16, 2011, 03:00:37 PM »
    l2topzone.com
    Well hello l2topzoners! :P

    All projects are based to l2j
    some other project change configs/import but all are start from l2j... well
    i open this topic to show you how to make your buffer works on your project...

    L2J Imports
    Code: [Select]
    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

    Change all your files (java side)
    from net.sf.l2j. to net.sf.l2jprojectname

    when you change them go to buffer folder find imports and from
    Code: [Select]
    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

    make them to
    Code: [Select]
    import sys
    from net.sf.l2jprojectname.gameserver.model.actor.instance import L2PcInstance
    from java.util import Iterator
    from net.sf.l2jprojectname.gameserver.datatables import SkillTable
    from net.sf.l2jprojectname       import L2DatabaseFactory
    from net.sf.l2jprojectname.gameserver.model.quest import State
    from net.sf.l2jprojectname.gameserver.model.quest import QuestState
    from net.sf.l2jprojectname.gameserver.model.quest.jython import QuestJython as JQuest

    save them and gg :)

    P.S: is the same if you buy or download a project and know the imports you can change them..........

    Creadits to me!!

    Linkback: https://l2topzone.com/forum/l2-guides/6/guidemake-buffer-works-project/2686/

    OfflineSweeTs

    • Full Member
    • ***
    • Posts: 149
    • L2topzone Votes: 2
    • Servers reviews: 0
    • Country: Poland.
    • Reputation: +290/-0
    • Gender: Male
      Re: [Guide]Make your buffer works on your project
      « Reply #1 on: March 17, 2011, 09:33:57 AM »
      Indeed, its not true, cuz in some project, such like L2jFrozen, this trick doesn't work ;)
      But may help someone :D
      « Last Edit: March 17, 2011, 09:44:09 AM by G4mB1t »

      OfflineEglezakioc

      • Full Member
      • ***
      • Posts: 205
      • L2topzone Votes: 0
      • Servers reviews: 4
      • Country: Greece.
      • Reputation: +661/-0
        Re: [Guide]Make your buffer works on your project
        « Reply #2 on: March 17, 2011, 11:17:21 AM »
        this is not a trick

        OfflineSweeTs

        • Full Member
        • ***
        • Posts: 149
        • L2topzone Votes: 2
        • Servers reviews: 0
        • Country: Poland.
        • Reputation: +290/-0
        • Gender: Male
          Re: [Guide]Make your buffer works on your project
          « Reply #3 on: March 17, 2011, 11:27:13 AM »

          Heh, I know that.. :D I just say like that, but in some cases it's not enough :)


          Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
           


          Sitemap