L2J Server Emulator C3 Guide-German

07/23/2005 00:18 Makaveli#1
so nun poste ich meine C3 guide :D

Die guide beinhaltet den neusten server und das neuste datapack ;)

Downloadet euch folgendes

[Only registered and activated users can see links. Click Here To Register...] (hier klickt ihr auf "» No thanks, just take me to the downloads!")
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]


1. MySql und Java installieren
installiert euch MySql und Java, danach startet ihr den rechner neu.

2. Navicat Installation
1. Installiert navicat an einen beliebigen ort, am besten lasst den standart installations pfad drinnen den das programm vorgibt
2. Nun öffnet Navicat und drückt auf den grossen button auf dem "Connection" steht
3. Nun öffnet sich ein fenster, dort überprüft ihr ob folgendes eingetragen ist:
Connection Name: "localhost"
Host Name / IP Address: "localhost"
Port: "3306"
Username: "root"
Password:
(sollte natürlich alles ohne " eingetragen sein)

password lasst ihr frei, dort tragt ihr nichts ein, nur bei "Save Password" macht ihr einen haken rein und drückt auf "Test Connection". Wenn die MySQL korrekt läuft müsste sich nun ein pop-up öffnen und sagen "Connection Successfull" nun auf "Ok"

4. nun drückt ihr links bei der seiten box wo "Connections" steht auf "localhost" und der rote blitz sollte grün werden
5. Nun macht ihr einen rechtsklick auf "localhost" und wählt dort "New Database" aus
6. In dem fenster das nun kommt schreibt ihr "l2jdb" rein und drückt auf "Ok"
7. Wenn ihr es korrekt gemacht habt müsste unter "localhost" nun "l2jdb" stehen
8. nun könnt ihr navicat wieder schliessen

3. Server Installation
1. Entpackt den L2j Server an einen beliebigen ort (am besten C:\L2jserver)
2. nun öffnet ihr den L2jserver ordner, dort geht ihr dan in den config ordner und öffnet mit dem editor die "server.properties"
3. dort ändert ihr folgendes (ich markiere nur die wichtigen punkte):

Quote:
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => [Only registered and activated users can see links. Click Here To Register...]
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit [Only registered and activated users can see links. Click Here To Register...]
# ================================================== =================================================

# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=192.168.1.100 <----- (wenn ihr über lan spielen wollt tragt ihr dort eure LanIp ein, wenn ihr über internet spielen wollt tragt ihr eure WanIp ein die ihr [Only registered and activated users can see links. Click Here To Register...] checken könnt und wenn ihr alleine spielen wollt, also nur zum testen, dann schreibt ihr 127.0.0.1 rein )
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=192.168.1.100 <----- (hier schreibt ihr 127.0.0.1 rein, falls ihr nen router habt sollte da eure LanIp rein)


# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
Login=root
Password=root <---- (dort macht ihr root weg und lasst es einfach leer)
MaximumDbConnections=5

#Datapack root directory, defaults to current directory from which the server is started
#DatapackRoot = C:/Work/tmp/DataPackC3 <---- (sehr wichtig, hier nichts ändern, lasst das so stehen!!!)

# Useable values: "true" - "false", use this option to choose whether accounts will be created
# automatically or not. If not, you have to put it in the logins.txt in the data folder
AutoCreateAccounts=true <---- (falls ihr die accounts manuel erstellen wollt oder ein Php Account Registrierungsscript habt solltet ihr das auf "false" stellen)

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers=100<---- (hier stellt ihr eine wieviele maximal zocken können)

#Global/Trade Chat usablitly - ON, OFF, GM
GlobalChat=ON

#AutoLoot enable... True to enable, False to disable
AutoLoot = true

Debug = false
Assert = false
Developer = false
EverybodyHasAdminRights = false <---- (das hier sollte auf "false" bleiben, da sonst jeder der sich nen account macht die admin/gm rechte hat ^^)

# If XP loss (and deleveling) is enabled, default is 'true'
Delevel = true

# Alternative crafting rules:
# - crafting takes time
# - players get EXP/SP for crafting
AltGameCreation = false

# Alternative skill learn rules:
# - all classes can learn all skills
# - skills of another class costs x2 SP
# - skills of another race costs x2 SP
# - skills of fighters/mages costs x3 SP
AltGameSkillLearn = false

# Alternative cancel of attack (bow, cast, all)
AltGameCancelByHit = cast

# Alternative rules for shields - if they block, the damage is powerAtk-shieldDef,
# otherwice it's powerAttak / (shieldDef + powerDef)
AltShieldBlocks = false

# Spell Book needed to learn skills
SpBookNeeded = true

#Logging ChatWindow
LogChat = true

#Configure GM AccessLevels
GMAccessLevel = 100
GMMinLevel = 100
GMCanAnnounce = 100
GMCanBan = 100
GMCanShop = 100
GMCanDelete = 100
GMCanKick = 100
GMMenu = 100
GMGodMode = 100
GMCanEditChar = 100
GMCanEditNPC = 100
GMCanTeleport = 100
GMCanRestart = 100
GMMonsterRace = 100
GMRider = 100
GMFastUnstuck = 100
GMResurectFixed = 100

# Rate control, float values
RateXp = 3
RateSp = 3
RateDropAdena = 5
RateDropItems = 5
RateDropSpoil = 5
RateQuestsReward = 1.

# Maximum range mobs can randomly go from spawn point
MaxDriftRange = 300

# Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef),
# A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3."
# diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1
# diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2
# diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17
# diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16
#AltGameExponentXp = 0
#AltGameExponentSp = 0
AltGameExponentXp = 0
AltGameExponentSp = 0

# Use tiredness (instead of combat points)
AltGameTiredness = false

# Allow L2Walker client (Deafult False)
# Can be True, False, GM
# Note: L2Walker
AllowL2Walker = GM
L2WalkerRevision = 552

# Activate the position recorder
# valid 3D points will be recorded and written to data/universe.txt on shutdown
ActivatePositionRecorder = False

# Warehouse is disabled until dupe bugs are fixed.
# If you wish to still use them then set this to True
AllowWarehouse = False

# show level of character to others in Community Board
ShowLevelOnCommunityBoard = False

# movement speed for strider and wyvern
WyvernSpeed = 100
StriderSpeed = 80

# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 551
MaxProtocolRevision = 553

# Minimum and maximum variable in seconds for npc animation delay.
# You must keep MinNPCAnimation <= MaxNPCAnimation.
# "0" is default value.
MinNPCAnimation = 0
MaxNPCAnimation = 0
4. Jython Installation
öffnet die Jython.rar die ihr euch geladen habt und zieht den Jython ordner auf C, das es dan so ausieht C:&#092;Jython, und überprüft ob es nur C:&#092;Jython ist und nicht C:&#092;Jython&#092;Jython

5. Datapack Installation
1. Entpackt das datapack an einen beliebigen ort
2. Kopiert den Data ordner der bei dem datapack dabei ist in den L2jserver ordner und überschreibt ihn
3. Geht in den ordner tools der bei dem datapack dabei ist und macht rechts click auf die "full_install.bat" und klickt auf Bearbeiten
4. nun solltet ihr das sehen, dort ändert ihr folgendes:

Quote:
@echo off

REM ############################################
REM ## You can change here your own DB params ##
REM ############################################

set mysqlBinPath=C:&#092;mysql&#092;bin<---- (hier den genauen pfad zu eurem MySql&#092;bin ordner)
REM set mysqlBinPath=C:&#092;Program Files&#092;MySQL&#092;MySQL Server 4.1&#092;bin<---- (hier genau das selbe)
set user=root
set pass=
set DBname=l2jdb

REM ############################################

set mysqldumpPath="%mysqlBinPath%&#092;mysqldump"
set mysqlPath="%mysqlBinPath%&#092;mysql"

echo.
echo Making a backup of the original database.
%mysqldumpPath% --add-drop-table -u %user% --password=%pass% %DBname% > l2jdb_backup.sql
echo.
echo Deleting tables for new content.
%mysqlPath% -u %user% --password=%pass% -D %DBname% < full_install.sql
echo.
echo Installling new content.
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/accounts.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/armor.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_macroses.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/char_templates.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_friends.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_quests.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_recipebook.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_shortcuts.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/character_skills.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/characters.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/clan_data.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/class_list.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/droplist.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/etcitem.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/henna_trees.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/henna.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/items.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/locations.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/lvlupgain.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/mapregion.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/merchant_areas_list.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/merchant_buylists.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/merchant_lease.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/merchant_shopids.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/merchants.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/minions.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/npc.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/npcskills.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/pets.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/siege_clans.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/skill_learn.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/skill_trees.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/skill_spellbooks.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/spawnlist.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/teleport.sql
%mysqlPath% -u %user% --password=%pass% -D %DBname% < ../sql/weapon.sql
pause
5. speichern und schliessen
6. nun führt ihr die full_install.bat aus und wartet kurz, wenn keine errors kommen passt alles

So fertig mit dem server setup nun zum client setup

6. Client Installation
1. installiert euch den C3 Client und Updated ihn
2. wenn er fertig ist geht ihr auf C:&#092;Windows&#092;System32&#092;drivers&#092;et c und öffnet dort den hosts file mit dem editor
3. so sollte euer host file ausehen, dort tragt ihr dan folgendes ein:

Quote:
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
*********** L2authd.lineage2.com<---- (dort wo die sterne sind macht ihr eure LanIp rein wenn ihr daheim zocken wollte oder eure WanIp wenn ihr im internet zocken wollt)
Ok nun seit ihr fertig, jetzt einfach nur noch die startServer.bat starten die im L2jServer ordner ist und ihr könnt zocken :)

Hab hier noch nen paar Gm Commands:
//admin öffnet das admin menu in dem ihr alles mögliche einstellen könnt
alt + g öffnet nen menu mit dem ihr die Player stats usw. überprüfen kann

Have Fun :D
07/23/2005 13:25 Afinda#2
Wrongt Protocol Version (client 530) only 551 blabla are supported :/ ansonsten geht alles. muss ich evtl. den client updaten?
07/23/2005 13:31 Makaveli#3
ja afinda musst du, hab ich doch geschrieben, client installieren und updaten ^^
07/23/2005 14:10 nnJIM#4
Quote:
Originally posted by Afinda@Jul 23 2005, 13:25
Wrongt Protocol Version (client 530) only 551 blabla are supported :/ ansonsten geht alles. muss ich evtl. den client updaten?
Make Fullcheck ;)
07/23/2005 14:16 Afinda#5
ok sorry maka, und danke für deine fixe antwort digger :D
EIDT: ok nach update funzt alles wunderbar!
07/23/2005 16:55 czenko#6
NICE TUT funzt, alles wunderbar *daumenhoch* ^^
07/23/2005 17:23 Fearchen#7
DAAAAAANKE!!!!


(endlich :D )^^

hast ja doch an dran gedacht :) (denk ich ma^^)

[img]text2schild.php?smilienummer=1&text=DAANKE!! *g* mein freund hat schon genervt^^' border='0' alt='DAANKE!! *g* mein freund hat schon genervt^^' />

*aufn karma + knopf glotz*

*draufdrück* :D
07/23/2005 17:34 Fearchen#8
Sry wegen 2 post >_< :blah:
-------------------------------------------------------------

naja... hab noch kP obs bei mir auch klappt^^

aber wenns bei afinda und czenko
und allen andren klappt denk ich ma das klappt bei mir auch ^^


--- muss man seine WindowsFireWall ausstellen?;(

.//¯¯¯&#092;&#092;
||EDIT||
.&#092;&#092;___// kann ich auch das SQL von dem L2 C2 EMU post nehmen? :D ich check das irgentwie bei dem in diesem Post hier nich(Das installieren)
07/23/2005 18:52 Makaveli#9
Quote:
Originally posted by >!Aaron!<@Jul 23 2005, 17:34
Sry wegen 2 post >_< :blah:
-------------------------------------------------------------

naja... hab noch kP obs bei mir auch klappt^^

aber wenns bei afinda und czenko
und allen andren klappt denk ich ma das klappt bei mir auch ^^


--- muss man seine WindowsFireWall ausstellen?;(

.//¯¯¯&#092;&#092;
||EDIT||
.&#092;&#092;___// kann ich auch das SQL von dem L2 C2 EMU post nehmen? :D ich check das irgentwie bei dem in diesem Post hier nich(Das installieren)
nehmen schon aber dan hast du das ganze C3 zeug nicht drinnen^^

was verstehst du den nicht?
07/23/2005 19:35 Fearchen#10
da muss ich noch so irgenwas einstellen hab nur keine ahnung was ich da einstellen muss

Quote:
Developer Mashine

Server MashineDedicated MySQL Server Mashine







Multifunktional Database

Transactional Database Only

Non Transactional Database






InnoDB Table Space Settings (Installation)







Decision Support (DSS]/OLAP

Online Transaction Processing (OLTP)

Manual Setting







Enable TCP/IP Networking






Standart Charakter Set

Best Support Multilingualism

Manual Selected Default Charakter Set / Collection






Install as Windows Service

Incline Bin Directory in Windows PATH



Modifi Security Settings




das ^^


/EDIT

ich mach ma Screens
07/23/2005 19:37 Makaveli#11
ja mach mal screen, lol
07/23/2005 19:50 Fearchen#12
da is noch mehr .. aba ich kann irgentwie kein screen mehr machn :cry:

edit: >< hab auch strg + v gedrückt .. lol

da steht server <Config. weil ich das ja schon installiert hab.. aba das kommt auch wenn ich installiere
07/23/2005 20:08 Makaveli#13
beim ersten pic nicht Detailed sondern Standard Configuration wählen, danach bei Service name MySQL41 auswählen und bei den password optionen alle haken raus, fertig^^
07/23/2005 20:16 Fearchen#14
aso o.o

danke^^ :D

aber muss sowieso noch L2 loaden^^
07/23/2005 20:35 Afinda#15
ich lass das teil auf xammp laufen, is nen mysql package was man irgentwo entpackt, die *.bat ausführt und das alles sauber installed und configged wird. läuft wunderbahr. Das mit dem *.bat install der C3 db hab ich auch ned gepeilt und es manuell über navicat alles gemacht :D

MAKA KOMM IRCÖÖÖ BIDDÖÖÖ :P