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

    • Which file is responsible for the text in the footer on the login screen? The text at the very bottom... I've been searching for two days and I can't figure out how to edit it. Could someone help? I think I've checked almost all the files in the system and still can't find it.
    • I can see that the admins arent taking any action, yet they still seem willing to share information about various other people names and IP addresses. But when it comes to scams, no one reacts.      
    • Server Info Chronicle:  Interlude                                                                                                                                    XP: 100x | SP: 100x | Drop: 50x | Adena: 75x Enchant: Safe +3 |  Max +21 Website: Website Link Discord: Discord Link   WHY? When I was a teenager I had this idea. Build my own Lineage 2 server. My own rules. My own world. I wasn't a programmer. I had no idea how any of it worked. I tried, hit a wall, and quit. But the idea never left. I came back years later. Got further. Quit again. Watched friends try similar things. The idea stayed stuck in my head for fifteen years. I'm a developer now. I finally finished it. Not because I suddenly had more time - I have a full-time job and real responsibilities. An hour before bed if I'm lucky. That's actually exactly why I finished it.   The problem I kept running into I still love this game. But every server I tried as an adult made that one hour feel worthless. Log in, kill a few mobs, make no real progress, log out frustrated. The game was designed for someone with unlimited time. That person doesn't exist in my life anymore. I looked around. Everyone I used to play with has the same problem. Same love for the game. Same lack of time. Jobs, families, maybe an hour late at night. So I stopped waiting for someone else to build it.           WHAT? Custom starting zone in Gludin (up until 2nd profession start) Talent system - rebirth at level 80 and choose your talents Bounty hunter system - daily tasks to kill random monsters to receive great reward! Potion crafting system - custom HP/MP potions and recipes Custom 1st & 2nd class quests (shorter) Scheme buffer Shop until C grade   Visit our website to get more info: Website Link   The philosophy 95% of the game is completely soloable. No clan required. No raid schedules. No guilt when you have to log off. You are the solo director of your own session. Log in, pursue your goal for an hour, log out on your own terms. When you've conquered what you wanted - you stop naturally. A new season drops with fresh Talent Tree changes and you come back to build something completely different. No endless stretched grind. No pay-to-win. No shady admin decisions. No surprise wipes. I'm one developer who built this because I love it.                                          This is the server I needed fifteen years ago. Glad I finally had the skills to build it. Come see what I made. [Forever Lineage]
  • 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..