• 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.2 (Mystic Spirit)

Status
Not open for further replies.
Any person to up the spells of party to i can download it, and work?

Thanks...
 
In my case command !Createguild <name> is crashing server : /
Is there any Guild Master NPC for this engine?

This happens when you aren't using XAMPP 1.6.6a
The only way to solve the guilds problem is to download XAMPP 1.6.6a
Note that guilds on AAC webpage won't work if you aren't using XAMPP 1.6.6a

Download it and I'll continue with the instructions.
 
Party Buff spells for TFS 0.2:

Train Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_MELEE, 3)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Protect Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Heal Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Pnchant Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICPOINTS, 1)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Add this to spells.xml, and change the corresponding script name as-it-is:
PHP:
	<!-- Party Spells -->
	<instant name="Train Party" words="utito mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/train party.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Protect Party" words="utamo mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/protect party.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Heal Party" words="utura mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/heal party.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Enchant Party" words="utori mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/enchant party.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
 
Party Buff spells for TFS 0.2:

Train Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_MELEE, 3)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Protect Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Heal Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Pnchant Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICPOINTS, 1)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Add this to spells.xml, and change the corresponding script name as-it-is:
PHP:
	<!-- Party Spells -->
	<instant name="Train Party" words="utito mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/train party.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Protect Party" words="utamo mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/protect party.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Heal Party" words="utura mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/heal party.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Enchant Party" words="utori mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/enchant party.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>

these spells are working but they should only work in party :p they are working both if u are in party and if u aren't ;p
 
I know that ;)
However, I've tried making the getPlayerParty, getPartyMembers in TFS 0.2
Altough, TFS 0.2 crashed when casting these spells with the new functions. I'd like someone who knows C++ to implement these functions to TFS 0.2 :)
 
I know that ;)
However, I've tried making the getPlayerParty, getPartyMembers in TFS 0.2
Altough, TFS 0.2 crashed when casting these spells with the new functions. I'd like someone who knows C++ to implement these functions to TFS 0.2 :)

i have the new 8.4 spells working fine on my 0.2 server with the icons showing up and exhausts working perfectly, it wasnt very hard, just go into the 0.3 source and pretty much look for where ever it says buff / subid and some other things, it takes a bit of time but i guess its worth it
 
This happens when you aren't using XAMPP 1.6.6a
The only way to solve the guilds problem is to download XAMPP 1.6.6a
Note that guilds on AAC webpage won't work if you aren't using XAMPP 1.6.6a

Download it and I'll continue with the instructions.

lol don't tell us shit!
the command !createguild "guildname has nothing to do with the fucking xampp..
IMPORT TRIGGERS!
 
i have the new 8.4 spells working fine on my 0.2 server with the icons showing up and exhausts working perfectly, it wasnt very hard, just go into the 0.3 source and pretty much look for where ever it says buff / subid and some other things, it takes a bit of time but i guess its worth it

How did you make getPlayerParty and getPartyMembers work in TFS 0.2? Or you didn't?
 
lol don't tell us shit!
the command !createguild "guildname has nothing to do with the fucking xampp..
IMPORT TRIGGERS!

But, if you're using a newer version of XAMPP, all the triggers, listed below, fail to import:
PHP:
DELIMITER |

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

CREATE TRIGGER `ondelete_guilds`
BEFORE DELETE
ON `guilds`
FOR EACH ROW
BEGIN
    UPDATE `players` SET `guildnick` = '', `rank_id` = 0 WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = OLD.`id`);
END|

CREATE TRIGGER `ondelete_players`
BEFORE DELETE
ON `players`
FOR EACH ROW
BEGIN
    DELETE FROM `bans` WHERE `type` = 2 AND `player` = OLD.`id`;
    UPDATE `houses` SET `owner` = 0 WHERE `owner` = OLD.`id`;
END|

CREATE TRIGGER `oncreate_guilds`
AFTER INSERT
ON `guilds`
FOR EACH ROW
BEGIN
    INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('the Leader', 3, NEW.`id`);
    INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('a Vice-Leader', 2, NEW.`id`);
    INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('a Member', 1, NEW.`id`);
END|

CREATE TRIGGER `oncreate_players`
AFTER INSERT
ON `players`
FOR EACH ROW
BEGIN
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 0, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 1, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 2, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 3, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 4, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 5, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 6, 10);
END|

DELIMITER ;
 
Hello.
I have some problems with extracting it.
I'm using the virus programme Telia Säker Surf and it tells me that TFS~.exe contains a trojan horse.
How do I do to "uncheck" that the .exe doesn't containts virus?

Yours,
Jeppish
 
@up

DISABLE YOUR AV WHEN EXTRACTING AND LATER ADD THIS FILE AS TRUSTED
 
Party Buff spells for TFS 0.2:

Train Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_MELEE, 3)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Protect Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, 3)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Heal Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Pnchant Party
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 120000)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICPOINTS, 1)
setCombatCondition(combat, condition)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

Add this to spells.xml, and change the corresponding script name as-it-is:
PHP:
	<!-- Party Spells -->
	<instant name="Train Party" words="utito mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/train party.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Protect Party" words="utamo mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/protect party.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Heal Party" words="utura mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/heal party.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Enchant Party" words="utori mas sio" lvl="32" mana="0" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="support/enchant party.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>

But in this party spells dont need to be in a party to cast it and i dont see the party buff :S can you change this?

Thanks!
 
actually Cykotitan was right about the !createguild problem thx to him ; )
But After i instaled newest version of xampp something strange is happening. Few of monsters that i copied from another engine based on this mystic spirit is not working properly, and they were before i updated xampp. One time they are untouchable and unattackable and another after restart everything is just fine... (in most cases there is a problem).
I dont see any connection between xampp and monsters.
Any idea?
 
actually Cykotitan was right about the !createguild problem thx to him ; )
But After i instaled newest version of xampp something strange is happening. Few of monsters that i copied from another engine based on this mystic spirit is not working properly, and they were before i updated xampp. One time they are untouchable and unattackable and another after restart everything is just fine... (in most cases there is a problem).
I dont see any connection between xampp and monsters.
Any idea?

WRONG, you have to use XAMPP 1.6.6a.
About the monsters, just delete everything from your monsters/ folder and download a nice monster pack, like this one;
http://otland.net/f83/release-complete-monster-pack-v4-4-a-12497/
 
Status
Not open for further replies.
Back
Top Bottom