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

The Forgotten Server v0.2rc9 (Mystic Spirit)

Status
Not open for further replies.
I added some monsters from another distro I had, and I was hoping they would work since the original didnt. They exist ingame, but their spells aint working.. (frost drag, gs, stalker, ps, mino arch/mage, shaman, all cults, all poi, demon, banshee etc etc. How long does we have to wait for working monsters?
And yes, I did add the spells aswell..

Btw, if anyone has strong mana/healing potion script, let me know ;)

replace the old
Code:
Summons max
in every affected monster script with
Code:
Summons MaxSummons
and it will work again
 
Oh man, it was sooo simple .. thanks a lot Jonern!

I am a God now!!!!! hehe ;)
 
Hey guys.. I use TheForgottenServer v0.2.8 but I don't know where I can change the time to leave red skull and injust.. someone know? if you know post here.. please I need :p
 
Is it just me or is the healings bugged? It doesn't work as it should and I've tried everything.

This is my script:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onGetFormulaValues(cid, level, maglevel)
	voc = getPlayerVocation(cid)
	if voc == 10 or voc == 21 then
		min = (level * 2 + maglevel * 3) * 0.3015
		max = (level * 2 + maglevel * 3) * 0.522
		
		if min < 23 then
			min = 23
		end
	elseif voc == 20 then
		min = (level * 2 + maglevel * 3) * 0.402
		max = (level * 2 + maglevel * 3) * 0.696
		
		if min < 30 then
			min = 30
		end
	elseif voc == 26 then
		min = (level * 2 + maglevel * 3) * .670
		max = (level * 2 + maglevel * 3) * 1.16
		
		if min < 50 then
			min = 50
		end
	else
		min = (level * 2 + maglevel * 3) * .335
		max = (level * 2 + maglevel * 3) * .58
		
		if min < 25 then
			min = 25
		end
	end
	return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

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

And if I change
PHP:
return min, max
into
PHP:
doTargetCombatHealth(0, cid, COMBAT_PHYSICALDAMAGE, min, max, CONST_ME_NONE)

It heals full hp. If I change into COMBAT_HEALING it starts to take dmg again.

I have also tried the normal one:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0.08, 0, 0.33, 0)

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

Neither works, they just take hp, like dmging yourself.
 
Last edited:
Hey guys.. I use TheForgottenServer v0.2.8 but I don't know where I can change the time to leave red skull and injust.. someone know? if you know post here.. please I need :p

Actualy you can only change this on sources.

Check this thread: http://otland.net/showthread.php?t=3014

Is it just me or is the healings bugged? It doesn't work as it should and I've tried everything.

This is my script:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onGetFormulaValues(cid, level, maglevel)
    voc = getPlayerVocation(cid)
    if voc == 10 or voc == 21 then
        min = (level * 2 + maglevel * 3) * 0.3015
        max = (level * 2 + maglevel * 3) * 0.522
        
        if min < 23 then
            min = 23
        end
    elseif voc == 20 then
        min = (level * 2 + maglevel * 3) * 0.402
        max = (level * 2 + maglevel * 3) * 0.696
        
        if min < 30 then
            min = 30
        end
    elseif voc == 26 then
        min = (level * 2 + maglevel * 3) * .670
        max = (level * 2 + maglevel * 3) * 1.16
        
        if min < 50 then
            min = 50
        end
    else
        min = (level * 2 + maglevel * 3) * .335
        max = (level * 2 + maglevel * 3) * .58
        
        if min < 25 then
            min = 25
        end
    end
    return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
I have also tried the normal one:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0.08, 0, 0.33, 0)

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
Neither works, they just take hp, like dmging yourself.

Ultimate healing on svn:

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onGetFormulaValues(cid, level, maglevel)
    min = (level * 1 + maglevel * 4) * 2.08
    max = (level * 1 + maglevel * 4) * 2.7
    if min < 250 then
        min = 250
    end
    return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
 
Last edited:
u guys now how to fix, i put the correct temple position in the config, but when i run it and want to login, its says wrong temple position..

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 117
newPlayerSpawnPosY = 106
newPlayerSpawnPosZ = 8
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"
 
When version 0.3.0 gonna be release? I wanna make a 8.1 server but with this version is not possible <_<
 
When version 0.3.0 gonna be release? I wanna make a 8.1 server but with this version is not possible <_<

For 0.3 you might have to wait a few months, but 0.2 (the final vesion) will be released in some days, still waiting for more bug reports so that they all can be fixed when it's released.
 
For 0.3 you might have to wait a few months, but 0.2 (the final vesion) will be released in some days, still waiting for more bug reports so that they all can be fixed when it's released.

roxor :thumbup:
 
Found some bugs (don't know if they are already reported):

>> If you summon something when u log in, the monsters nearby will not detect the summon.

>> if you selected a monster to atk and summon something, you need to select the target again

>> can't invite players to guild if they are logged (online) and if they logout and then login again, the invite is deleted from the database.
OBS: Invite a player when he's offline, works.

>> Noticed a bug in some skill of monsters, they are spamming like crazy the skills sometimes when distant to the target:
an example:
Code:
    <attack name="physical" interval="10000" chance="100" radius="5" target="1" min="-500" max="-600">
      <attribute key="areaEffect" value="mortarea"/>
    </attack>
the monster when are distant to the target use this skill like every 0.2 seconds and when is closed to the player, skill work properly, using each 10seconds

>>Some problems with the NPCSystem

>>if you close the server (tested with winconsole only) with players online, they will not be saved.

Other bugs founded is already been fixed :)
 
Last edited:
For 0.3 you might have to wait a few months, but 0.2 (the final vesion) will be released in some days, still waiting for more bug reports so that they all can be fixed when it's released.

I know a bug you can fix. If you put exp rate inside config.lua to 5 and on stages.xml on 10 then you will only get 5x exp when you kill monster with your summons.

You get 10x exp if you kill with wand, but when you summon and remove your wand, killing with only summons, you get only 5x exp.
 
Błąd

zapytanie SQL:

DELIMITER | CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `account` = OLD.`id` ;

MySQL zwrócił komunikat: Dokumentacja
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER |

CREATE TRIGGER `ondelete_accounts`
BEFORE DELETE
ON `accounts`
' at line 1

Help please.
 
I am trying to report bugs on the SF place, but dunno how so I'll write it here.

1. Stages.xml
I explained it 2 posts up, check there.

2. Healing
Don't know if its only me, but it doesn't work to heal yourself. Check this thread out for more detailed information:
http://otland.net/showthread.php?t=3337

3. Monsters
Probably reported but monsters don't do any damage when they attack you and if you use manashield you gain mana. It will write "You loose -500 mana by blocking a dragon lord." or something. Also, the monsters react VERY wierd.


There we go :p
 
For 0.3 you might have to wait a few months, but 0.2 (the final vesion) will be released in some days, still waiting for more bug reports so that they all can be fixed when it's released.

Final 0.2 will be for 8.0 or 8.1?;>
 
Status
Not open for further replies.
Back
Top