Jump to content

Recommended Posts

Posted

Γειά σας . Αποφάσισα να κάνω αυτό το guide γιατί τα περισσότερα guide που υπάρχουν σε αυτο το είδος δεν ειναι και πολύ αναλυτικά.. Ας αρχήσομυ λοιπόν..

 

 

1.

Αρχικά διαλέγουμε μια buffer που μας αρέσει .. Θα βρείτε αρκετές εδώ ---> http://maxcheaters.com/forum/index.php?topic=248637.0

Εγώ κατέβασα την buffer του l2jteon απο εδώ ---> http://maxcheaters.com/forum/index.php?topic=114080.0

 

2.

Αφού έχουμε κατεβάσει την buffer θα δούμε κάτι τέτοιο

 

wt0l.png

 

3.

Τώρα πρέπει να την περάσουμε πρώτα στο navicat. Ανοίγου με το navicat μετά το database μας και πατάμε δεξί κλικ και execute batch file κάπως έτσι or88.png

 

Μετά κάνουμε αναζήτηση το sql αρχείο της buffer που κατεβάσαμε και πατάμε start κάπως έτσι

fv69.png

 

4.

Αφού έχουμε περάσει την buffer στην database μας τώρα πρέπει να περάσουμε και τα αρχεία στο server side. Αρχινάμε με το html αρχείο. Πάμε στον αρχικό φάκελο της buffer που κατεβάσαμε και μπαίνουμε στο φάκελο HTML . Μετά στο φάκελο default και μετά θα δούμε το αρχείο 40005 ή όποιο άλλο αρχείο έχετε εσείς εάν κατεβάσατε άλλη buffer. Αφού βρούμε το αρχείο το κάνουμε αντιγραφή και μετά πάμε στον server μας για να το κάνουμε επικόλληση. Πάμε στο server/gameserver/data/html/default και το κάνουμε επικόλληση κάπως έτσι

bet9.png

 

 

 

5.

Αφού το κάναμε και αυτό πάμε να περάσουμε και το script. Πάμε πάλι στον αρχικό φάκελο της buffer και μπαίνουμε στο φάκελο scripts. Μετά μπαίνουμε στον φάκελο custom και μετά θα δούμε ένα φάκελο 9999_NPCBuffer. Κάνουμε όλο το φάκελο αντιγραφή και όχι τα αρχεία που έχει μέσα και μετά πάμε server/gameserver/data/scripts/custom και κάνουμε επικόλληση τον φάκελο εκεί κάπως έτσι

ufyu.png

 

6.

Αφού το κάναμε και αυτό τώρα πάμε να αλλάξουμε τα imports γιατί είπαμε το npc είναι απο l2jteon. Μπαίνουμε στο φάκελο που κάναμε επικόλληση πριν τον 9999_NPCBuffer ΠΡΟΣΟΧΗ όχι αυτόν που βρίσκεται στα downloads μας αλλά αυτόν που βάλαμε στον server δηλαδή εδώ server/gameserver/data/scripts/custom/9999_NPCBuffer και ανοίγουμε το αρχείο __init__.py

και μετά αλλάζουμε τα imports πάνω πάνω και βάζουμε αυτά εδώ

import sys
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jfrozen.gameserver.datatables import SkillTable
from com.l2jfrozen.util.database import L2DatabaseFactory
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest

 

και μετά πάμε κάτω κάτω και αντικαθηστούμε αυτά του l2jteon με αυτά εδώ

def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   htmltext = "<html><head><body>I have nothing to say to you</body></html>"
   st.setState(STARTED)
   return InitialHtml

QUEST       = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
CREATED=State('Start',QUEST)
STARTED=State('Started',QUEST)
COMPLETED=State('Completed',QUEST)

QUEST.setInitialState(CREATED)

for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

 

κάπως έτσι

 

hg7j.png

 

 

 

7.

Τώρα για να δουλέψει σωστά πρέπει να την τοποθετήσουμε στα scripts.cfg Κατεβάζουμε το notepad ++ απο εδώ ---> http://notepad-plus-plus.org/download/v6.4.2.html

και μετά κάνουμε εγκατάσταση. Αφού τελείωσε η εγκατάσταση πάμε server/gameserver/data ανοιγουμε με notepad++ το scripts.cfg κάπως έτσι

xk.png

 

Αφού το ανοίξαμε βρίσκουμε την κατηγορία #custom και πάμε κάτω κάτω και κάνουμε επικόλληση αυτό εδώ

custom/9999_NPCBuffer/__init__.py

  ΠΡΟΣΟΧΗ το 9999_NPCBuffer είναι για αυτόν τον buffer και δεν είναι πάντα το ίδιο οπότε ανάλογα με το τι λέει ο δικός σας το αλλάζετε. Θα γίνει κάπως έτσι

avse.png

 

Μετά κάνουμε ένα save και έτοιμη η  buffer.

 

Πιστεύω να το εξήγησα πλήρως και να μην ξαναχρειαστεί κάποιος βοήθεια για αυτό το πράγμα. ΔΕΝ ΕΙΝΑΙ Copy/Paste και μου πήρε ώρα να το κάνω οπότε :

All Credits To Me

 

Αν κάποιος δεν κατάλαβε κάτι και θέλει help ας κάνει ένα reply εδώ .

Δεκτά και αρνητικά και θετικά reply .

Posted

ontos einai poli analutikh kai eixa problima sto na bro mia buffer.

pisteuo oti axizei 8a tin dokimaso kai 8a po pantos

+1 apo emena

Tnx.. Δοκίμασε και αν έχεις κάποιο πρόβλημα κάνε ενα reply εδώ να το λύσουμε.
  • 3 weeks later...
  • 2 months later...
  • 1 month later...
  • 3 months later...
  • 1 month later...
Posted

Βασικά ρε φίλε, μηπως θα μπορούσες κάπως να μ έστελνες όλο το File  __init__.py Κάπως? η με link η Skype, η οτιδήποτε μπορείς.. Ευχαριστώ Btw, πολύ Χρήσιμο Guide για εμάς τους Newbies... ^^

  • 1 year later...
Posted

ontos einai poli analutikh kai eixa problima sto na bro mia buffer.

pisteuo oti axizei 8a tin dokimaso kai 8a po pantos

+1 apo emena

re paidia px emena den douleuei o server me .py alla me .java.... ti kanw se auth thn periptwsh as me vohthisei kapoios !!!

  • 1 month later...
Posted

re paidia px emena den douleuei o server me .py alla me .java.... ti kanw se auth thn periptwsh as me vohthisei kapoios !!!

pio pack exeis kai den kani support ta .py?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • i know some things from java and eclipse about coding but for sure i take one programmer to make the hard work. thank you very much for your replying 🙂
    • Forum Post:   🛡️ L2Genesis Closed Beta — Test With Us, Launch With Exclusive Rewards Join the community: https://discord.gg/mcuHsQzNCm Website: https://l2genesis.com/ Join Beta: https://cbt.l2genesis.com/     Hey everyone, We're L2Genesis — an Interlude Classic server being built with one core belief: every player matters. Not just the top clans, not just the donators — everyone. We've spent months developing, refining, and listening to community feedback. Now we're opening up our Closed Beta and we need your help to make sure this server launches rock-solid. Registration is open for one week only — after that, the doors close. Every tester who puts in the work walks into launch day with exclusive rewards that won't be available again.     Why Genesis? We're not rushing to open doors and hope for the best. We're building a community-first server where player feedback directly shapes the final product. No pay-to-win, no shortcuts — just a clean Interlude experience with thoughtful quality-of-life improvements. If you've been burned by servers that promise the world and deliver a cash shop, this one's for you. What you can expect to see on our server: - x4 rate - Player buff trade shop - Crystallization shop - Arena mode for FUN PvP     Closed Beta Rewards Rewards are tied to real participation — no freebies for just showing up. 🥉 Tier 1 The test server runs at x100 rates with a gear shop, so you won't be grinding for days just to start testing. Requirements: Register, level to S-grade, complete 3rd profession, and join one of the organized beta clans.   Launch Rewards: - Exclusive "Genesis Start" Discord rank - Beta Box — unique hat (won't be available after launch) + big-head potions, fireworks & more   Optional: Participate in the Bug Hunt for additional rewards (details below). You will have one week from CBT server launch to complete Tier 1 🥇 Tier 2 Requirements: Complete Tier 1 + participate in at least 3 events like Clan Wars, Siege and others, they will be stated during CBT in Discord. Launch Rewards: - Everything from Tier 1 - 1 Month of VIP status — quality-of-life perks handed to you for free on day one     🐛 Bug Hunt — Bonus Rewards Throughout the beta we're running a Bug Hunt — find and report bugs to earn 1 Genesis Coin (donation currency) for every confirmed bug. We'll share full details and focus areas once you're in.     Get Involved This is your chance to shape a server before it launches, not complain about it after. The testers who show up now are the ones who'll feel the difference on day one — and they'll have the exclusive rewards to prove it. Sign Up for beta test and drop in to Discord, and let's build something worth logging into. Even if you're not ready to test but you're a veteran L2 player — join the community anyway. Your experience and perspective are worth a lot to us. See you in Aden.  
    • l2jlucera the source code is not public and is not for sale. If you're going to use L2jMobius or L2jAcis, you need to know how to program or have a basic understanding, and you can ask for help from a bot, which usually won't be 100% helpful. Or you can pay a programmer to do the work for you.  
    • You need for sure some knowledge to make a good start and dont get scammed.
    • https://l2jmobiusdevclon.pp.ua/index.php
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..