• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

7.6 server

Gubailovo

Well-Known Member
Joined
Dec 19, 2013
Messages
407
Solutions
2
Reaction score
62
please give a link to the server 7.6

I can not find
found only 7.4 ((((
 
Last edited by a moderator:
where you can lay out?

I just do not understand anything in MYSQl
 
Last edited by a moderator:
8r5p41
 
and there are 7.72 server without using mysql ?

very well conceived system of crafting, fishing, making things by prescription (remelting of metals), the system of professions, quests, new mobs, items, trading system, much more
http://dropmefiles.com/m4VNp

I can not run ((

Code:
-- getKraftSkillLevel(cid,skillID); Возвращает уровень скила по его ID

function getKraftSkillLevel(cid,skillID)
      storage = 8000 + skillID+((skillID-1)*2)
      return getPlayerStorageValue(cid,storage)
end


-- doAddKraftSkillTry(cid,skillID,trys)  Прибавляет траи к скилу крафта, возвращает 1 - если скил вырос,  0 - если нет

function doAddKraftSkillTry(cid,skillID,trys)
       storage = (8000 + skillID+((skillID-1)*2)) + 1
       skill_storage = 8000 + skillID+((skillID-1)*2)
       nextrystorage = (8000 + skillID+((skillID-1)*2)) + 2

       tryTo = getPlayerStorageValue(cid,storage)
       nexttry = getPlayerStorageValue(cid,nextrystorage)
       skill_level = getPlayerStorageValue(cid,skill_storage)

       setPlayerStorageValue(cid,storage,tryTo+trys)
       if tryTo+1 >= nexttry then
            NextTry = 40 * math.pow(3.5,skill_level)
            setPlayerStorageValue(cid,nextrystorage,NextTry)
            setPlayerStorageValue(cid,skill_storage,skill_level+1)
            return 1
       end
       return 0
end

function addMasterLvl(cid,skillID)
    storage = 7000 + skillID+((skillID-1)*2)
    mlvl = getPlayerStorageValue(cid,storage)
    if mlvl > 0 then
        setPlayerStorageValue(cid,storage,mlvl+1)
        return 1
    else
        setPlayerStorageValue(cid,storage,1)
        return 1
    end
    return 0
end
 
function getMasterLvl(cid,skillID)
      storage = 7000 + skillID+((skillID-1)*2)
      return getPlayerStorageValue(cid,storage)
end
 
function exhaust(cid, storevalue, exhausttime)
-- Returns 1 if not exhausted and 0 if exhausted
    
    newExhaust = os.time()
    oldExhaust = getPlayerStorageValue(cid, storevalue)
    if (lastexhaust == nil or lastexhaust < 0) then
        lastexhaust = 0
    end
    if (exhausttime == nil or exhausttime < 0) then
        exhausttime = 1
    end
    diffTime = os.difftime(newExhaust, oldExhaust)
    if (diffTime >= exhausttime) then
        setPlayerStorageValue(cid, storevalue, newExhaust)
        return 1
    else
        return 0
    end
end


function doSendMagicEffectArea(pos, radius, effect)
-- Создает эффект с радиусом radius
    doSendMagicEffect(pos,effect)
    for areax = -radius,radius do
        for areay = -radius,radius do
            areapos = {x=pos.x+areax, y=pos.y+areay, z=pos.z}
            doSendMagicEffect(areapos,effect)
        end
    end

Code:
----------------- KRAFTS------------------------------- --oven--
<action script="melting.lua" itemid="1787"/>

<action script="melting.lua" itemid="1789"/>

<action script="melting.lua" itemid="1791"/>

<action script="melting.lua" itemid="1793"/>
--kotel-------------------
<action script="kotel.lua" itemid="5623"/>
--menu book----
<action script="kraft_book.lua" itemid="2217"/>

<action script="recipe_book.lua" itemid="5540"/>

<action script="pers_book.lua" itemid="1984"/>

<action script="spell_book.lua" itemid="2175"/>

<action script="kills_book.lua" itemid="5222"/>

<action script="ore_mining.lua" itemid="2553"/>
-- +
<action script="gem_mining.lua" itemid="2422"/>
-- +
<action script="Flour.lua" itemid="1381"/>

<action script="Flour.lua" itemid="1382"/>

<action script="Flour.lua" itemid="1383"/>

<action script="Flour.lua" itemid="1384"/>

<action script="QMetall_book.lua" itemid="1977"/>

<action script="ElWork_book.lua" itemid="1962"/>

<action script="KnQDur_book.lua" itemid="1963"/>

<action script="KnLabel_book.lua" itemid="1965"/>

<action script="Jewelr_melting.lua" itemid="5572"/>

<action script="Jewelr_stocking.lua" itemid="2557"/>
--weapon_done
<action script="Jewelr_done.lua" itemid="5574"/>

<action script="Armor_done.lua" itemid="5573"/>

<action script="Cook_done.lua" itemid="2562"/>

<action script="Znah_done.lua" itemid="5624"/>

<action script="Alchem_done.lua" itemid="5715"/>

<action script="Carpen_done.lua" itemid="2558"/>

<action script="Traps_done.lua" itemid="5635"/>

<action script="Gunery_done.lua" itemid="5575"/>

<action script="weapon_durab.lua" itemid="2321"/>

<action script="weapon_label.lua" itemid="2556"/>

<action script="weapon_sharpen.lua" itemid="5571"/>

<action script="tree_craft.lua" itemid="5118"/>
 
Last edited by a moderator:
Back
Top