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

[9.20 - 9.31] The Forgotten Server v0.2.11pl2 (Mystic Spirit) - WarSystem + Extras

Status
Not open for further replies.
Now all my Quests are Debugging. Dunno how to fix it. I whould be pleased if someone can tell me how to fix this script Because it have allways worked b4 this update.
Code:
-- annihilator chests

function onUse(cid, item, frompos, item2, topos)

   	if item.uid == 5097 then
   		queststatus = getPlayerStorageValue(cid,5099)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"You have found a Griffin Shield")
   			doPlayerAddItem(cid,2533,1)
   			setPlayerStorageValue(cid,5099,1)
   		else
   			doPlayerSendTextMessage(cid,22,"It is empty.")
   		end
   	elseif item.uid == 5098 then
   		queststatus = getPlayerStorageValue(cid,5099)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"You have found a Shield of honour.")
   			doPlayerAddItem(cid,2517,1)
   			setPlayerStorageValue(cid,5099,1)
   		else
   			doPlayerSendTextMessage(cid,22,"It is empty.")
   		end
   	elseif item.uid == 5099 then
   		queststatus = getPlayerStorageValue(cid,5099)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"You have found a spellbook of warding.")
   			doPlayerAddItem(cid,8901,1)
   			setPlayerStorageValue(cid,5099,1)
   		else
   			doPlayerSendTextMessage(cid,22,"It is empty.")
   		end
   	elseif item.uid == 5100 then
   		queststatus = getPlayerStorageValue(cid,5099)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"You have found a Thunder Hammer.")
   			doPlayerAddItem(cid,0,1)
   			setPlayerStorageValue(cid,5099,1)
   		else
   			doPlayerSendTextMessage(cid,22,"It is empty.")
   		end
	else
		return 0
   	end

   	return 1
end
 
Got one Question to. I cant get the blessings to work anymore either. Dunno if its the script. Because i have tried many blessings and noone wants to work anymore. Please can someone help. What kind of script i need to use. Or whats the problem is.
Code:
function onSay(cid, words, param)
local fail = 0

if getPlayerLevel(cid) < 31 then
cost = 2000
else
cost = ((getPlayerLevel(cid) - 30) * 200) + 2000
end

if cost > 20000 then
cost = 20000
end

for i = 1, 5 do
if getPlayerBlessing(cid, i) then
fail = fail + 1
else
if doPlayerRemoveMoney(cid, cost) == TRUE then
doPlayerAddBlessing(cid, i)
if i == 5 and not(fail == 5) then
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
end
else
doPlayerSendCancel(cid, "You do not have enough money to buy all the blessings!")
break
end
end
end
if fail == 5 then
doPlayerSendCancel(cid, "You already have all the blessings!")
end
return TRUE
end
 
Heya I have sort of a problem, I created a "gm" or "god" but when I try to use /a 2 or /t it doesn't work hmph.. does anyone have a tip for me how to fix this?
Thanks in advance,
 
Here is a World Editor for 9.31 just Unzip to Worldeditor folder and put the Tibia.spr from Tibia 9.31 client in the Worldeditor folder.

Enjoy
 

Attachments

I don't understand how this server is running.
I set up mysql database, i run the server, i can log in and create an account with 1/1
but none of the data is being saved to the database, so where is it going? I know the server isn't XML, because there is no players folder.
So confused
 
Nevermind got it to connect to SQL database somehow now, but people are having issues connecting now
 
thats because of your modem port forwarding or the ip that you set in the config.lua
 
Heya I have sort of a problem, I created a "gm" or "god" but when I try to use /a 2 or /t it doesn't work hmph.. does anyone have a tip for me how to fix this?
Thanks in advance,


^^^^^Werddd, i have the same shit going on for me loll and i made sure my character was a gm loll i tried it with both gm and god as well... the commands arent working for me lol if anyone can help id appreciate it!
 
Status
Not open for further replies.
Back
Top