• 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.
@TFS Developers
playerExists doesn't work anymore? I'm using 0.3.4 FIXED (posted by slawkens)

There is any equivalent function? It's for a NPC.

Nothing changed related to this function. So yes, it should work.

Post example.

About mysql bug.. Cannot reproduce, since.. 0.3.2?!
 
players which were online aren't kicked but while logging off their characters aren't saved?

why don't you just post errors.log or atleast some console errors...?
 
About mysql bug.. Cannot reproduce, since.. 0.3.2?!

i see, it's not fault from anyone, but try to see what you've changed when this came to happen
it may help

if this continues we'll have to move all to mystic spirit, and I don't know even if there's everything okay, cuz didn't tested yet
 
@slawkens

playerName[cid] = msg
if playerExists(playerName[cid]) then
talk_state[cid] = 1
else
talk_state[cid] = 0

It always talk_state[cid] = 1, even in the 'msg' I write something It is not. I also tried in this way, but it doesn't work either:

playerName[cid] = getPlayerGUIDByName(msg)
if isPlayer(playerName[cid]) == TRUE then
talk_state[cid] = 1
else
talk_state[cid] = 0
 
First of all, a big thanks for doing this server, it's really good.

2 Bugs to report.
  • If I'm hasting (utani hur), then I charge (utani tempo hur), it won't overwrite the utani hur, I'll just waste my mana.
  • The fire damage color is not right.

A request.
  • When someone gets paralyzed, add a delay like 0.2~0.3 seconds before you being able to remove it. So it will be more realistic.

A question
  • I changed the paralyze to the code below, so everytime you paralyze someone, he will have 80 of speed (just like in Tibia), and it will make a MAGIC_RED effect appear on the target, how do I do it appear a MAGIC_GREEN in the caster too?
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -1, 40, -1, 40)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

Thanks.
 
What errors?

The list of error is very long but I think that's important:
d: cannot find -lboost_regex

make.exe: *** [TheForgottenServer-console-debug.exe] Error 1

Execution terminated

Is that Devcpp version problem??
 
First of all, a big thanks for doing this server, it's really good.

2 Bugs to report.
  • If I'm hasting (utani hur), then I charge (utani tempo hur), it won't overwrite the utani hur, I'll just waste my mana.
  • The fire damage color is not right.

A request.
  • When someone gets paralyzed, add a delay like 0.2~0.3 seconds before you being able to remove it. So it will be more realistic.

A question
  • I changed the paralyze to the code below, so everytime you paralyze someone, he will have 80 of speed (just like in Tibia), and it will make a MAGIC_RED effect appear on the target, how do I do it appear a MAGIC_GREEN in the caster too?
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -1, 40, -1, 40)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

Thanks.

About the Magic Green Effect, nevermind, I did it.
 
The list of error is very long but I think that's important:
d: cannot find -lboost_regex

make.exe: *** [TheForgottenServer-console-debug.exe] Error 1

Execution terminated

Is that Devcpp version problem??

Yes, its your dev-cpp problem.
 
@Slawkens
Great job man, i think u have a great future has developper in TFS
and doing cool things for comunnity ;D
i'll test and reply all bugs founds
 
I cannot get any movements I add myself to work, they just don't register to anything :s
 
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...


wtf, 1 rune = like 20 messages, very spam
 
PLease help me :S

I said it and gives me sienguiente only Backpack Vacuum :s

"Sorry, you don't have enough money!"

and if I have money and not give me the items


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

container = doPlayerAddItem(cid, 2001, 1)

if item.itemid == 1945 and doPlayerRemoveMoney(cid,3000) == 1 then
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doTransformItem(item.uid,item.itemid+1)

elseif item.itemid == 1946 and doPlayerRemoveMoney(cid,3000) == 1 then
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doAddContainerItem(container, 7590, 7)
doTransformItem(item.uid,item.itemid-1)

else
doPlayerSendCancel(cid,"Sorry, you don't have enough money!")
end
return 1
end
 
Lua:
if item.itemid == 1945 and doPlayerRemoveMoney(cid,3000) == TRUE then

change == 1 to == TRUE.
 
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:57 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...
17:58 Using one of 253 sudden death runes...

Only me having this error?

I looked all pages and nobody have this error.
 
Status
Not open for further replies.
Back
Top