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

TFS 0.2 Mystic Spirit - accounts?

Minimii

New Member
Joined
Dec 3, 2008
Messages
749
Reaction score
3
Location
Sweden, Piteå
We (krille09 posting atm) fixed so 0.2 (mystic spirit) is able to play on, but Minimii cannot fix his acc char to example 111111
We get this error

phpmyadmin/accounts said:
Fel
SQL-fråga:

UPDATE `minisot`.`accounts` SET `id` = '111111' WHERE `accounts`.`id` =6937237 LIMIT 1

MySQL sa:

#1451 - Cannot delete or update a parent row: a foreign key constraint fails (`minisot`.`players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)
 
First do this one
PHP:
UPDATE `players` SET `account_id` = '111111' WHERE `id` = '6937237'
Then this one and if it doesn't work, let me know.
PHP:
UPDATE `accounts` SET `id` = '111111' WHERE `id` = '6937237'

May be possible to run them both at the same time, not sure.
 
First do this one
PHP:
UPDATE `players` SET `account_id` = '111111' WHERE `id` = '6937237'
Then this one and if it doesn't work, let me know.
PHP:
UPDATE `accounts` SET `id` = '111111' WHERE `id` = '6937237'

May be possible to run them both at the same time, not sure.

Thanks, thought I fixed it on another way =) I just did so you can choose your own account number instead of randomized.

Btw, I got another problem now
[23/02/2009 18:15:55] [Warning - Monsters::loadMonster] Missing summons.maxSummons. data/monster/bosses/Hellgorak.xml
What does that mean?

And how can is set the time between raids?
 
Last edited:
[23/02/2009 18:15:55] [Warning - Monsters::loadMonster] Missing summons.maxSummons. data/monster/bosses/Hellgorak.xml
This means that theres no max summons in the Hellgorak.xml file.

Goto data/monster/bosses/Hellgorak.xml and add the following line under </immunities>
Code:
    <summons maxSummons="0">
    </summons>

and at the raid for Ghazbaran, goto data\raids\ and open raid.xml

look for <raid name="Ghazbaran"
and there you paste in the following:
Code:
<raid name="Ghazbaran" file="Ghazbaran.xml" interval2="2080" margin="0" enabled="no"/>

You can also set the interval2="xxxx" for how often it should spawn(if im not wrong) and also i think using enabled="yes" makes the raid auto.
 
This means that theres no max summons in the Hellgorak.xml file.

Goto data/monster/bosses/Hellgorak.xml and add the following line under </immunities>
Code:
    <summons maxSummons="0">
    </summons>

and at the raid for Ghazbaran, goto data\raids\ and open raid.xml

look for <raid name="Ghazbaran"
and there you paste in the following:
Code:
<raid name="Ghazbaran" file="Ghazbaran.xml" interval2="2080" margin="0" enabled="no"/>

You can also set the interval2="xxxx" for how often it should spawn(if im not wrong) and also i think using enabled="yes" makes the raid auto.

Ah, On all Inq bosses it was like this
<summons max="0">
</summons>
But now it works.

One thing, how could I know what should be the numbers on all raids? I mean okey now you say 2080 on Ghazbaran, but the others? ^.-

But I got another error
[23/02/2009 18:50:18] [Warning - Monsters::deserializeSpells] Effect type "effect" does not exist.
[23/02/2009 18:50:18] [Warning - Monsters::deserializeSpells] Effect type "effect" does not exist.

When I reload monsters.
 
Ah, On all Inq bosses it was like this But now it works.

One thing, how could I know what should be the numbers on all raids? I mean okey now you say 2080 on Ghazbaran, but the others? ^.-

But I got another error

When I reload monsters.

Got no idea about how long time its between raids when u set that interval.. I dont know if its minutes, seconds or hours its set to..

And i don't know how to help you with that as i don't know where the error is..
 
I'm not sure about the raid interval either, but may be minutes? :X
About the two other errors, open all your monster files (I know it takes some time, but better solve it before your error list grows) and find "effect" and remove that line.
 
Got no idea about how long time its between raids when u set that interval.. I dont know if its minutes, seconds or hours its set to..

And i don't know how to help you with that as i don't know where the error is..

Okey well I get alot of more error messages when I start the server, like
[23/02/2009 19:00:55] Warning: [MoveEvents::addEvent] Duplicate move event found: 2210
and like
[23/02/2009 19:08:26] Duplicate uniqueId 2160
and also alot of more errors like
[23/02/2009 19:00:55] luaCreateConditionObject(). Condition not found

[23/02/2009 19:00:55] Lua Script Error: [Action Interface]
[23/02/2009 19:00:55] data/actions/scripts/liquids/containers.lua

[23/02/2009 19:00:55] luaSetConditionParam(). Condition not found
[23/02/2009 19:00:55] [Warning - Actions::registerEvent] Duplicate registered item with id: 7443

[23/02/2009 19:00:55] Lua Script Error: [Action Interface]
[23/02/2009 19:00:55] data/actions/scripts/liquids/great_spirit.lua
 
Duplicates means that you have several of the same kind. Like several of the same unique id at your map. You should make sure there is only one (check actions.xml, movements.xml etc).
 
Back
Top