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

dedam w temple

a nie możesz zrobić tak jak ci z ersiem napisaliśmy z onLogin ? ;D

- - - Updated - - -

pewnie masz jakiś inny creaturescript, który to powoduje.. wyłączaj pokolei i testuj :D
 
na kazdej postaci tak jest ;p
eliminowanie innych creaturescriptow niec nie daje kurna dziwna sprawa
 
[video=youtube;HbTBIUkbIE8]http://www.youtube.com/watch?v=HbTBIUkbIE8[/video]

nie no jebłem XD, a on tańczy dla niej


#temat

pomyśl

--> zmarnujesz na to w chuj czasu by znaleść problem, a i tak go nie znajdziesz i wkońcu się wkurwisz i dasz nasze noobskie rozwiązanie, albo nadal będziesz szukał

to jak wolisz? dajesz teraz czy jak się wkurwisz?:D bo patrzę diath tylko napisał, że mu wyjąłeś słowa z ust, a żadnego rozwiązania nie dał, to już ciężko trochę, bo jeszcze są tacy jak elf, ale im się nie chce zwykle pomagać
 
no jak już Kamilcio nie ma rozwiazania to nie dobrze
elfy to nie zagladna nawet tu
no moze rozpatrze towja propozycje
 
no nie wiem usunalem to i nadal to samo lecz doszedl blad w konsoli
[06/02/2013 19:03:17] Lua Script Error: [CreatureScript Interface]
[06/02/2013 19:03:17] data/creaturescripts/scripts/playerdeath.lua:eek:nDeath

[06/02/2013 19:03:17] luaGetCreatureName(). Creature not found

eheh he e h eh
 
ta to jest czysty playerdeath
Lua:
local config = {
	deathListEnabled = getBooleanFromString(getConfigInfo('deathListEnabled')),
	sqlType = getConfigInfo('sqlType'),
	maxDeathRecords = getConfigInfo('maxDeathRecords')
}

config.sqlType = config.sqlType == "sqlite" and DATABASE_ENGINE_SQLITE or DATABASE_ENGINE_MYSQL

function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
	if(config.deathListEnabled ~= TRUE) then
		return
	end

	local hitKillerName = "field item"
	local damageKillerName = ""
	if(lastHitKiller ~= FALSE) then
		if(isPlayer(lastHitKiller) == TRUE) then
			hitKillerName = getPlayerGUID(lastHitKiller)
		else
			hitKillerName = getCreatureName(lastHitKiller)
		end

		if(mostDamageKiller ~= FALSE and mostDamageKiller ~= lastHitKiller and getCreatureName(mostDamageKiller) ~= getCreatureName(lastHitKiller)) then
			if(isPlayer(mostDamageKiller) == TRUE) then
				damageKillerName = getPlayerGUID(mostDamageKiller)
			else
				damageKillerName = getCreatureName(mostDamageKiller)
			end
		end
	end

	db.executeQuery("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `altkilled_by`) VALUES (" .. getPlayerGUID(cid) .. ", " .. os.time() .. ", " .. getPlayerLevel(cid) .. ", " .. db.escapeString(hitKillerName) .. ", " .. db.escapeString(damageKillerName) .. ");")
	local rows = db.getResult("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. ";")
	if(rows:getID() ~= -1) then
		local amount = rows:getRows(true) - config.maxDeathRecords
		if(amount > 0) then
			if(config.sqlType == DATABASE_ENGINE_SQLITE) then
				for i = 1, amount do
					db.executeQuery("DELETE FROM `player_deaths` WHERE `rowid` = (SELECT `rowid` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT 1);")
				end
			else
				db.executeQuery("DELETE FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT " .. amount .. ";")
			end
		end
	end
end
 
kurna no panowie beznadziejna sprawa podmienilem sobie nawet na czysty folder creaturescript i dalej pada w temple
[07/02/2013 14:40:27] Lua Script Error: [CreatureScript Interface]
[07/02/2013 14:40:27] data/creaturescripts/scripts/playerdeath.lua:eek:nDeath

[07/02/2013 14:40:27] luaGetCreatureName(). Creature not found

ale jednak Iranimes nie nie bede bral pod uwage tego rozwiazania pomecze sie zwastuje czasu ale wole dojsc do zrodla ;d
 
Back
Top