Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[TUT] Jak konfigurować Config.lua w swoim ots ! - Zieloni


Kaltha

Rekomendowane odpowiedzi

Opublikowano

 

-------- config.lua --------
-- Config file for OTServ --
----------------------------

-- data directory location
datadir = "data/"

-- map location
map = "data/world/mazur.otmb" <-Mapa jakiej ma szukać nasz "silnik"
-- mapkind
-- options: OTBM for binary map, XML for OTX map
mapkind = "OTBM" <- tutaj zawsze ustawiamy OTBM

-- map store location (for XML only)
mapstore = "data/world/evolutions-mapstore.xml"

-- house store location (for XML only)
housestore = "data/world/evolutions-housestore.xml"

-- bans storage (for XML only)
banIdentifier = "data/bans.xml"

-- server name
servername = "Evolutions 8.0 RPG" <- Nazwa naszego Ots'a

-- server location
location = "Poland" <- Nazwa Kraju w jakim znajduje się Hoster

-- server ip (the ip that server listens on)
ip = "auto" <- nasze ip ew "auto" wtedy samo wyszukuje

-- server port (the port that server listens on)
port = "7171" <- domyślny port , można zmienić np 7272 itp

-- server url
url = ""

-- server owner name
ownername = "Lepus" <- Nazwa Hosya

-- server owner email
owneremail = "" <-Wpisujemy e-mail

-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp" <- Ustawiamy jaki ma byc typ swiata PVP, Enfo, No Pvp

-- exhausted time in ms (1000 = 1 second)
exhausted = 1000 < - Jaki ma byc exhausted

-- exhausted time in ms for non-aggressive spells (1000 = 1 second)
exhaustedheal = 1000

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1 second)
exhaustedadd = 200

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 60*1000 <- ile trwa pz po ataku na innego gracza

-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "weekly" <- na ile gracz kupuje domek

-- motd (the message box that you sometimes get before you choose characters)
motd = "Welcome to Evolutions 7.92 RPG. Please choose your character."
motdnum = "1"

-- login message
loginmsg = "" <- wiadomość powitalna

-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
logintries = 0

-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 60*1000

-- how long the player need to wait until the ip is allowed again
logintimeout = 0

-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 1

-- max number of players allowed
maxplayers = "100" <- ile osób w jednej chwili może być zalogowanych na serwie (zależy od sprzętu)

-- SQL type
-- options: mysql, sqlite
sql_type = "mysql"

--- MySQL part (ignore if you are using SQLite)
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "otserv"

--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"

-------------------------------------------------------------------------------------------------
---------------------------- Evolutions Basic Configuration ----------------------------
-------------------------------------------------------------------------------------------------

-- world name (shows in the character list)
worldname = "Evolutions 7.92 RPG" <- Nazwa Otk'a

-- time to save the server (default = 5)
autosave = 2 << co ile minut ma byc save

-- do you want to enable cap system? (yes/no)
capsystem = "no" <<< Cap system

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15 << Co ile minut ma kickac ludzi na afku

-- how many summons player can have
maxsummons = 2 <- ile potworów można stworzyć (sork)

-- maximum items in depot
maxdepotitems = 1000 <- pojemność depo (itemami)

-- learn spells (yes/no)
learnspells = "no" <- musimy uczyc sie czarów bądź nie

-- do you want everyone to have premium
freepremium = "yes" <0 Darmowe Premium Account albo nie

-- remove ammunation? (bolts/arrows)
removeammunation = "no" <- ograniczone strzały bądź nie
-- remove rune charges? (sd/hmm/gfb)
removerunecharges = "yes" <- wieczne runy bądź nie

-- use item hotkeys? (yes/no)
itemhotkeys = "yes"

-- shoot trough battle window on players? (yes/no)
battlewindowplayers = "yes"

-- use account manager? (yes/no)
accountmanager = "yes"

-- summon follows master everywhere
summonsfollow = "yes"

-- allow outfit change
outfitchange = "yes" <<< czy mozna zamieniac outfit

-- damage to players with the same feet
feetdamage = "yes"

-- guild system type (SQL only)(ingame/online)
-- online guild system requires the latest Swelia AAC
guildsystem = "ingame"

-------------------------------------------------------------------------------------
----------------------------------- Multipliers -----------------------------------
-------------------------------------------------------------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 45 <- exp w porównaniu do rl

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 2 <- doświadczenie za ludzi (jeżeli jest enfo)

-- monster lootrating (how much faster you get items from monsters)
lootmul = 11 <- co ile wypadnie lepszy loot

-- skill multiplier (another multiplier in data/vocations.xml)
skillmul = 70 <- szybkość skilli

-- manaspent multiplier (another multiplier in data/vocations.xml)
manamul = 1000 <- szybkość regeneracji many

-- how many monsters spawn at a time in 1 spawn
spawnmul = 1 <<Spawn Potworów

-- Price for each SQM when buying a house
houseprice = 200

-- level to buy a house
houselevel = 20 <- lvl od którego gracz może kupić domek

-- maximum death entries per player
maxdeathentries = 10

-- max message buffer (default = 4)
-- how fast you get muted
messagebuffer = 4

-- minimum action interval (default = 200)
minactioninterval = 200

-- protection for those under this level
protectionlimit = 50 <- pvp od danego lvl'a

-- critical damage and chance {chance, extra damage percent}
criticaldamage = {"0", "0"}

---------------------------------------------------------------------------------------
-------------------------- Skull System configuration -------------------------
---------------------------------------------------------------------------------------

-- time to lose a white skull (1 = 1 minute)
whitetime = 2 << Na ile minut ma byc WHITE SKULL

-- time to lose one frag (1 = 1 minute)
fragtime = 1*60

-- ban unjust, how many frags you need to get banned (1 = 1 frag)
banunjust = 6 << Co ile fragow ma byc ban

-- red skull unjust, how many frags you need to get a red skull (1 = 1 frag)
redunjust = 3 <- ilu zabijamy ludzi by uzyskać red skulla

-- bantime, for how long the player is banned (1 = 1 hour)
bantime = 24*1 <- czas bana za zabijanie

--------------------------------------------------------------------------------------
------------------------------- GM access rights --------------------------------
--------------------------------------------------------------------------------------

-- access to walk into houses and open house doors
accesshouse = 3

-- access to login without waiting in the queue or when server is closed
accessenter = 1

-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 3

-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1

-- access to move distant items from/to distant locations
accessremote = 3

-- access to see id and position of the item you are looking at
accesslook = 2
Opublikowano

Poradnik na pewno przyda się dla zielonych, jednakże mogłabyś go poprawić wizualnie, tzn. tam gdzie jest Twój komentarz, to mogłabyś to pogrubić, albo zmienić kolor.

I usuń te code, bo moim zdaniem za ładnie to nie wygląda.

surprise motherfucker


 

Opublikowano

sama mam dziwny problem , nie moge edytować tekstu itp .

żeby napisac post muszę wchodzić w "dodaj odpowiedź" ta szybsza opcja mi nie działa , no ale cóż , mod dodał w code :P

 

@Never

 

to tak przykładowo , dla kompletnie zielonych

 

@LUDZIE

jeżeli coś wam potrzebne , pytać:P

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...