l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com

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

0 Members and 1 Guest are viewing this topic.

OfflineEglezakioc

  • Full Member
  • ***
  • Posts: 205
  • L2topzone Votes: 0
  • Servers reviews: 4
  • Reputation: +661/-0
    [Guide]Make your buffer works on your project
    « on: March 16, 2011, 02:00:37 PM »
    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/index.php?topic=2686.0

    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com

    OfflineSweeTs

    • Full Member
    • ***
    • Posts: 167
    • L2topzone Votes: 55
    • Servers reviews: 0
    • Reputation: +290/-0
      Re: [Guide]Make your buffer works on your project
      « Reply #1 on: March 17, 2011, 08: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, 08:44:09 AM by G4mB1t »

      OfflineEglezakioc

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

        OfflineSweeTs

        • Full Member
        • ***
        • Posts: 167
        • L2topzone Votes: 55
        • Servers reviews: 0
        • Reputation: +290/-0
          Re: [Guide]Make your buffer works on your project
          « Reply #3 on: March 17, 2011, 10:27:13 AM »
          this is not a trick

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

           

          Sitemap