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

freeze and crash

raweclaz

New Member
Joined
Aug 5, 2011
Messages
10
Reaction score
0
hello. well, I recently set up a server for testing purposes. It worked perfectly, until at some point the game just froze. I couldn't move or talk or log out. And in the server cmd there was no error message or crash report or something about the crash/freeze. It mostly happens when I try to attack like using spells.
Well that, if you need any kind of info ask and I will post.
P.D: from the server cmd how can I copy what it says there?
 
well yeah, but when it freezes nothing appears on the cmd. also, is there a way to hide hp bars and names and be completely invisible to everybody, including you. I am aware of the invisible command gods have, but you yourself still see an utana vid like sparkles. Its for making a camera man

edit: i also got this error
Lua Script Error: [Action Interface]
data/actions/scripts/other/changegold.lua:eek:nUse
luaDoSendAnimatedText(). Deprecated function.
stack traceback:
[C]: in function 'doSendAnimatedText'
data/actions/scripts/other/changegold.lua:9: in function <data/actions/s
cripts/other/changegold.lua:1>
 
Last edited:
data/actions\scripts\other open your script changegold.lua
and use this script

Lua:
local coins = {
	[ITEM_GOLD_COIN] = {
		to = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_YELLOW
	},
	[ITEM_PLATINUM_COIN] = {
		from = ITEM_GOLD_COIN, to = ITEM_CRYSTAL_COIN, effect = TEXTCOLOR_LIGHTBLUE
	},
	[ITEM_CRYSTAL_COIN] = {
		from = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_TEAL
	}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then
		return false
	end

	local coin = coins[item.itemid]
	if(not coin) then
		return false
	end

	if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then
		doChangeTypeItem(item.uid, item.type - item.type)
		doPlayerAddItem(cid, coin.to, 1)
		doSendAnimatedText(fromPosition, "$$$", coins[coin.to].effect)
	elseif(coin.from ~= nil) then
		doChangeTypeItem(item.uid, item.type - 1)
		doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX)
		doSendAnimatedText(fromPosition, "$$$", coins[coin.from].effect)
	end

	return true
end
 
Back
Top