• 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!

1lvl po dedzie

Indenpedens

Banned User
Joined
Nov 6, 2010
Messages
584
Reaction score
39
Location
Poland
wiem wiem byly juz takie tematy
tylko nigdzie nie dostalem satysfakcjonujacaej odpowiedzi
podobno to felerny skrpty blessow tak crashuje jak tak to czy ktos posiada jakis dobry skrypt na blessy
a i w bazie mam loss experience na 100 itd
najlepsze to ze ten 1lvl jakos wyrywkowo lapie playerow bo niektorzy normalnie padaja
moj silnik tfs 0.3.4pl2
i jeszcze mam tak ze robi sie 1lvl pojawiam sie w temple i sie nie moge zalogowac co klikam ok to padam w temple xd i blad
[28/02/2012 09:39:52] Lua Script Error: [CreatureScript Interface]
[28/02/2012 09:39:52] data/creaturescripts/scripts/playerdeath.lua:onDeath

[28/02/2012 09:39:52] luaGetCreatureName(). Creature not found
 
Last edited:
na jak ustawiłes na 100% to spada mu do 1 lvl , nic w tym dziwnego xd
 
Jesli ten 1 lvl nie pojawia sie zawsze a rzadko to jest to bug w TFSie mialem takie jak uzywalem 0.3 kiedys w otservie jeszcze nigdy czegos takiego nie doswiadczylem.
 
PHP:
UPDATE `players` SET
`loss_experience` = 100,
`loss_mana` = 100,
`loss_skills` = 100,
`loss_containers` = 100,
`loss_items` = 100

domyślnie w samplach jest 0 dlatego tak się dzieje
 
sorki, w takim razie może spróbuj to playerdeath:

PHP:
function onDeath(cid, corpse, deathList)

local strings = {""}
local t, position = 1, 1

local deathType = "killed"
local toSlain, toCrushed, toEliminated = 3, 9, 15

if #deathList >= toSlain and #deathList < toCrushed then
deathType = "slain"
elseif #deathList >= toCrushed and #deathList < toEliminated then
deathType = "crushed"
elseif #deathList >= toEliminated then
deathType = "eliminated"
end

for _, pid in ipairs(deathList) do
if isCreature(pid) == true then
strings[position] = t == 1 and "" or strings[position] .. ", "
strings[position] = strings[position] .. getCreatureName(pid) .. ""
t = t + 1
else
strings[position] = t == 1 and "" or strings[position] .. ", "
strings[position] = strings[position] .."a field item"
t = t + 1
end
end

for i, str in ipairs(strings) do
if(str:sub(str:len()) ~= ",") then
str = str .. "."
end

msg = getCreatureName(cid) .. " was " .. deathType .. " at level " .. getPlayerLevel(cid) .. " by " .. str
end

for _, oid in ipairs(getPlayersOnline()) do

local aol = getPlayerSlotItem(cid, 2)
if (aol.itemid == 2173) then
doRemoveItem(aol.uid, 1)
end
end
return true
end
 
a teraz mam tak ze po kupieniu promocji do 1lvla spada hah
co z tym jest kuhvfa

Code:
UPDATE players SET loss_experience=100
UPDATE players SET loss_mana=100
UPDATE players SET loss_skills=100
UPDATE players SET loss_containers=100
UPDATE players SET loss_items=100


Elo noobie, rep++.
 
nic nie pomaga ze na 100 poustawiam
nie chcem siegac po nowy rev bo robie se pod 8.42 i korzystam z 0.3.4 i tak mi dobrze :)
no oprcz tego buga :[
no lezy chyba glebiej ten problem w sourcach =\
 
Silnik nie ma tu nic do rzeczy, ja z tego co pamiętam miałem ten problem przy promocji, sprawdź czy z promo i bez spada do 1 lvl'a, jak nie to już coś będziesz wiedział :>
 
Back
Top