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

[8.41/42] The Forgotten Server 0.3.4PL2 (Crying Damson)

Status
Not open for further replies.
quests.lua change for this


Code:
local annihilatorReward = {1990, 2400, 2431, 2494}
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.uid > 1000 and item.uid < 10000 then
		local itemWeight = getItemWeight(item.uid, 1)
		local playerCap = getPlayerFreeCap(cid)
		if isInArray(annihilatorReward, item.uid) == TRUE then
			if getPlayerStorageValue(cid, 30015) == -1 then
				if playerCap >= itemWeight then
					if item.uid == 1990 then
						container = doPlayerAddItem(cid, 1990, 1)
						doContainerAddItem(container, 2326, 1)
					else
						doPlayerAddItem(cid, item.uid, 1)
					end
					doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(item.uid) .. '.')
					setPlayerStorageValue(cid, 30015, 1)
				else
					doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(item.uid) .. ' weighing ' .. itemWeight .. ' oz it\'s too heavy.')
				end
			else
				doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
			end
		elseif getPlayerStorageValue(cid, item.uid) == -1 then
			if playerCap >= itemWeight then
				doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(item.uid) .. '.')
				doPlayerAddItem(cid, item.uid ,1)
				setPlayerStorageValue(cid, item.uid, 1)
			else
				doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(item.uid) .. ' weighing ' .. itemWeight .. ' oz it\'s too heavy.')
			end
		else
			doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
		end
	else
		return FALSE
	end
	return TRUE
end

still the same problem :(
 
Witaj

chodzi o ostatni silnik ,jest on zajabisty tylko chcialbym do niego wzucic inna mapke jest to mozliwe (chodzi mi oto ze np:w mojej mapce sa inne npc questy a to silnik tfs i do questów czeba skrypty)
 
I can't help TFS because i can't compile with parameters __EXCEPTION_TRACER__ and i'll wait for someone gimme a way for that =/
 
ELF! DONT IGNORE THIS!:

There are 2 problems!
1: The gui version chrashes as soon as you want to start it!
2: when you import schema.mysql with the console version it doesnt create a groups table! thats a real sucky mistake from you....

PLZ FIX THIS!

~Jaroen Aka Morph
 
as i know gesior arena will crash your server!
even i try to update true - flase in npc and scripts still crash!
 
ELF! DONT IGNORE THIS!:

There are 2 problems!
1: The gui version chrashes as soon as you want to start it!
2: when you import schema.mysql with the console version it doesnt create a groups table! thats a real sucky mistake from you....

PLZ FIX THIS!

~Jaroen Aka Morph


k for everyone who has this problem here is the solution (just found a way around it^^):

donwload the console version AND the gui version....Then just use the console version but replace the schema.mysql from the console version with the gui version and import that one instead^^ ive just tested it and it works perfectly^^ and if it still doesnt work for you then just get the schema.mysql from crying damson 0.3.3 and import it. then delete all tables exept for the groups table and import the schema from the gui version^^

WORKS 100%!

(if this helped you then i would like a reputation point from you^^) thnx.

~Jaroen Aka Morph.
 
@Users complaining about loss of the groups table.
It's not used anymore, check data\XML\groups.xml
 
Ehh i'll use 0.3.2 instead of 0.3.4.
Ofc i'll post bugs if i find in the newest version.
 
>.< damn, help me don't work for me, i can't execute the server :(
errord.jpg
 
Elf said that there is propably a bug in GUI Version and he will look on it...
 
OK, listen, weirdest error ever.

isPlayer(cid) dosent work in action-scripts. dont beleive me? test yourself.
 
Guys can i use database from newest tfs in 0.3.2 version ?
I tried and my server started normally but it won't cause crashes in the future ?
Please answer :)
 
OK, listen, weirdest error ever.

isPlayer(cid) dosent work in action-scripts. dont beleive me? test yourself.

Works fine for me.

Guys can i use database from newest tfs in 0.3.2 version ?
I tried and my server started normally but it won't cause crashes in the future ?
Please answer :)

No it won't.

Yeah he will look on it when they relase tfs 3..12321.3123123123123

Go blame ur mum.
 
lol, just found the error...

PHP:
<action fromid="7131" toid="7132" event="script" value="roller/RollerCoaster.lua"/>

made isPlayer/creature not work... lol?
 
how come i cant use addevent spells, (multiple combats) it takes no mana or exaust...
 
Status
Not open for further replies.
Back
Top Bottom