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

Forever AOL

Joined
Jun 19, 2009
Messages
1,852
Reaction score
5
Hello!

I need a Forever AOL script for TFS 0.3.6

I searched, found MANY many scripts but none of them worked.. :S


repping,


thanks
 
i just used this on my server
PHP:
	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="charges" value="1"/>
		<attribute key="preventDrop" value="-1"/>
	</item>
 
i just used this on my server
PHP:
	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="charges" value="1"/>
		<attribute key="preventDrop" value="-1"/>
	</item>

I'm not sure if this really works.. I did what Cyko said, complied :u but what now?
 
Bugged! Fix it

Code:
local corpse_ids = {
	[0] = 3065, -- female
	[1] = 3058  -- male
}
function onPrepareDeath(cid, deathList)
	if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
		doCreatureSetDropLoot(cid, false)
		doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA)
		local corpse, killers = doCreateItem(corpse_ids[getPlayerSex(cid)], 1, getThingPos(cid)), ""		
		for i = 1, math.min(getConfigInfo('deathAssistCount') + 1, #deathList) do
			killers = killers .. (i == 1 and "" or ", ") .. (isMonster(deathList[i]) and "a " or "") .. getCreatureName(deathList[i])
		end
		doItemSetAttribute(corpse, "specialdescription", "You recognize " .. getCreatureName(cid) .. ". " .. (getPlayerSex(cid) == 0 and "She" or "He") .. " was killed by " .. killers .. ".")
	end
	return true
end

The script is bugged please fix it :D
 
Code:
local corpse_ids = {
	[0] = 3065, -- female
	[1] = 3058  -- male
}
function onPrepareDeath(cid, deathList)
	if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
		doCreatureSetDropLoot(cid, false)
		doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA)
		local corpse, killers = doCreateItem(corpse_ids[getPlayerSex(cid)], 1, getThingPos(cid)), ""		
		for i = 1, math.min(getConfigInfo('deathAssistCount') + 1, #deathList) do
			killers = killers .. (i == 1 and "" or ", ") .. (isMonster(deathList[i]) and "a " or "") .. getCreatureName(deathList[i])
		end
		doItemSetAttribute(corpse, "specialdescription", "You recognize " .. getCreatureName(cid) .. ". " .. (getPlayerSex(cid) == 0 and "She" or "He") .. " was killed by " .. killers .. ".")
	end
	return true
end
hunted
 
Back
Top