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

TFS 0.4.0 Erro while saving Player: (Help Me! Plz)

fera holy kina

Ubuntu 10.04
Joined
Jan 27, 2009
Messages
192
Reaction score
5
Help me please He got a mistake here and I'm attriste to see that my server is not going forward because if it can help me? and that the error

Blackout has logged out...
Erro while saving Player: Blackout...


mmpwur.jpg


After the Other Errors of MySQL and can connect to Demmora dinovo use xamp 1.6.7 may be some error in xamp? at information_schema ?
I'm using xampp 1.6.7 and TFS 0.4 (3684)

Actually the error and when this happens that no one else conssegue enter the account name invalid before the VPS crashed and fall now disable mods stopped overthrow the VPS continues this error more ...
2ldgmdz.jpg



Sorry my bad english hope you understand and can help me because I was already tapping it to 3 weeks
 
Last edited:
Open
data/spells/scripts/support

Open destroy field rune.lua
and now erase your Script and paste this

PHP:
UNREMOVABLE_FIELDS = {1497, 1498, 1499, 1505, 1506, 1507, 1508, 7465, 7466, 7467, 7468, 7469, 7470, 7471, 7472, 7473, 11094, 11095}

local function doRemoveField(cid, pos)
	local field = getTileItemByType(pos, ITEM_TYPE_MAGICFIELD)
	if(not isInArray(UNREMOVABLE_FIELDS, field.itemid)) then
		doRemoveItem(field.uid)
		doSendMagicEffect(pos, CONST_ME_POFF)
		return true
	end

	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	return false
end

function onCastSpell(cid, var)
	local pos = variantToPosition(var)
	if(pos.x == CONTAINER_POSITION) then
		pos = getThingPos(cid)
	end

	if(pos.x ~= 0 and pos.y ~= 0) then
		return doRemoveField(cid, pos)
	end

	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	return false
end
 
Open
data/spells/scripts/support

Open destroy field rune.lua
and now erase your Script and paste this

PHP:
UNREMOVABLE_FIELDS = {1497, 1498, 1499, 1505, 1506, 1507, 1508, 7465, 7466, 7467, 7468, 7469, 7470, 7471, 7472, 7473, 11094, 11095}

local function doRemoveField(cid, pos)
	local field = getTileItemByType(pos, ITEM_TYPE_MAGICFIELD)
	if(not isInArray(UNREMOVABLE_FIELDS, field.itemid)) then
		doRemoveItem(field.uid)
		doSendMagicEffect(pos, CONST_ME_POFF)
		return true
	end

	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	return false
end

function onCastSpell(cid, var)
	local pos = variantToPosition(var)
	if(pos.x == CONTAINER_POSITION) then
		pos = getThingPos(cid)
	end

	if(pos.x ~= 0 and pos.y ~= 0) then
		return doRemoveField(cid, pos)
	end

	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	return false
end

Thanks I've put the rune the more you attract it and I am Error while saving player:
 
@Ozico
That has nothing to do with a spell with MySql.

Your have
mysql "Running"
apache "Running"
?

no is your Advancesave.lua or save.lua bad script?

Close xampp and Open again.

Or test your config.lua
PHP:
-- Saving-related
	-- useHouseDataStorage usage may be found at README.
	saveGlobalStorage = true
	useHouseDataStorage = false
	storePlayerDirection = false
 
I think I lose conection even has something to do with the INFORMATION_SCHEMA because after I turn off the server and when I try to call back is giving error on the part of INFORMATION_SCHEMA there only minutes after algums can connect again
 
Back
Top