• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

The Forgotten Server v0.2 (Mystic Spirit)

Status
Not open for further replies.
I just got a question, why does it always freeze every 20 mins freezes, any help? it doesnt crash, it just freezes, thank you.

How does the Guild Command works? how do I invite people or how do I xpel or xclude them?
Auto save every X minutes or Auto clean map every X minutes?
 
I have got this erro:

Sheyck has logged out.
> MySQL ERROR mysql_real_query: INSERT INTO `player_items` (`player_id`, `pid`, `sid`, `itemtype`, `count`, `attributes`) VALUES (5402373, 1, 101, 2497, 1, ''), (5402373, 2, 102, 2173, 1, ''),(5402373, 3, 103, 2003, 1, ''),(5402373, 4, 104, 2487, 1, ''),(5402373, 5, 105, 2520, 1, ''),(5402373, 6, 106, 7367, 9, ' ' ),(5402373, 7, 107, 2488, 1, ''),(5402373, 8, 108, 2195, 1, ''),(5402373, 103, 1 09, 2003, 1, ''),(5402373, 103, 110, 2152, 94, '^'),(5402373, 103, 111, 2160, 5, ''),(5402373, 103, 112, 2795, 6, ''),(5402373, 103, 113, 2002, 1, ''),(5402373, 103, 114, 7368, 44, ','),(5402373, 103, 115, 7368, 100, 'd'),(5402373, 103, 116 , 7368, 100, 'd'),(5402373, 103, 117, 7368, 100, 'd'),(5402373, 109, 118, 2293, 1, '\0'),(5402373, 109, 119, 2293, 3, '\0'),(5402373, 109, 120, 2293, 3, '\0'),( 5402373, 109, 121, 2293, 3, '\0'),(5402373, 109, 122, 2293, 3, '\0'),(5402373, 1 09, 123, 2293, 3, '\0'),(5402373, 109, 124, 2293, 3, '\0'),(5402373, 109, 125, 2 293, 3, '\0'),(5402373, 109, 126, 2293, 3, '\0'),(5402373, 109, 127, 2293, 3, '\ 0'),(5402373, 109, 128, 2293, 3, '\0'),(5402373, 109, 129, 2293, 3, '\0'),(54023 73, 109, 130, 2293, 3, '\0'),(5402373, 109, 131, 2293, 3, '\0'),(5402373, 109, 1 32, 2293, 3, '\0'),(5402373, 109, 133, 2293, 3, '\0'),(5402373, 113, 134, 2002, 1, ''),(5402373, 113, 135, 2003, 1, ''),(5402373, 113, 136, 2003, 1, ''),(540237 3, 113, 137, 2003, 1, ''),(5402373, 113, 138, 2002, 1, ''),(5402373, 113, 139, 2 002, 1, ''),(5402373, 113, 140, 2002, 1, ''),(5402373, 113, 141, 2003, 1, ''),(5 402373, 113, 142, 2003, 1, ''),(5402373, 134, 143, 2273, 2, '\0'),(5402373, 134, 144, 2273, 3, '\0'),(5402373, 134, 145, 2273, 3, '\0'),(5402373, 134, 146, 2273 , 3, '\0'),(5402373, 134, 147, 2273, 3, '\0'),(5402373, 134, 148, 2273, 3, '\0') ,(5402373, 134, 149, 2273, 3, '\0'),(5402373, 134, 150, 2273, 3, '\0'),(5402373, 134, 151, 2273, 3, '\0'),(5402373, 134, 152, 2273, 3, '\0'),(5402373, 134, 153, 2273, 3, '\0'),(5402373, 134, 154, 2273, 3, '\0'),(5402373, 134, 155, 2273, 3, '\0'),(5402373, 134, 156, 2273, 3, '\0'),(5402373, 134, 157, 2273, 3, '\0'),(540 2373, 134, 158, 2273, 3, '\0'),(5402373, 134, 159, 2273, 3, '\0'),(5402373, 134, 160, 2273, 3, '\0'),(5402373, 134, 161, 2273, 3, '\0'),(5402373, 134, 162, 2273 , 3, '\0'),(5402373, 136, 163, 2268, 2, '\0'),(5402373, 136, 164, 2268, 3, '\0') ,(5402373, 136, 165, 2268, 3, '\0'),(5402373, 136, 166, 2268, 3, '\0'),(5402373, 136, 167, 2268, 3, '\0'),(5402373, 136, 168, 2268, 3, '\0'),(5402373, 136, 169, 2268, 3, '\0'),(5402373, 136, 170, 2268, 3, '\0'),(5402373, 136, 171, 2268, 3, '\0'),(5402373, 136, 172, 2268, 3, '\0'),(5402373, 136, 173, 2268, 3, '\0'),(540 2373, 136, 174, 2268, 3, '\0'),(5402373, 136, 175, 2268, 3, '\0'),(5402373, 136, 176, 2268, 3, '\0'),(5402373, 136, 177, 2268, 3, '\0'),(5402373, 136, 178, 2268 , 3, '\0'),(5402373, 136, 179, 2268, 3, '\0'),(5402373, 137, 180, 2268, 3, '\0') ,(5402373, 137, 181, 2268, 3, '\0'),(5402373, 137, 182, 2268, 3, '\0'),(5402373, 137, 183, 2268, 3, '\0'),(5402373, 137, 184, 2268, 3, '\0'),(5402373, 137, 185, 2268, 3, '\0'),(5402373, 137, 186, 2268, 3, '\0'),(5402373, 137, 187, 2268, 3, '\0'),(5402373, 137, 188, 2268, 3, '\0'),(5402373, 137, 189, 2268, 3, '\0'),(540 2373, 137, 190, 2268, 3, '\0'),(5402373, 137, 191, 2268, 3, '\0'),(5402373, 137, 192, 2268, 3, '\0'),(5402373, 137, 193, 2268, 3, '\0'),(5402373, 137, 194, 2268 , 3, '\0'),(5402373, 137, 195, 2268, 3, '\0'),(5402373, 137, 196, 2268, 3, '\0') ,(5402373, 137, 197, 2268, 3, '\0'),(5402373, 137, 198, 2268, 3, '\0'),(5402373, 137, 199, 2268, 3, '\0'),(5402373, 138, 200, 2273, 2, '\0'),(5402373, 138, 201, 5906, 1, ''),(5402373, 138, 202, 2002, 1, ''),(5402373, 139, 203, 2273, 3, '\0' ),(5402373, 139, 204, 2273, 3, '\0'),(5402373, 139, 205, 2273, 3, '\0'),(5402373 , 139, 206, 2273, 3, '\0'),(5402373, 140, 207, 2273, 3, '\0'),(5402373, 140, 208 , 2273, 3, '\0'),(5402373, 140, 209, 2273, 3, '\0'),(5402373, 140, 210, 2273, 3, '\0'),(5402373, 140, 211, 2273, 3, '\0'),(5402373, 140, 212, 2273, 3, '\0'),(54 02373, 140, 213, 2273, 3, '\0'),(5402373, 140, 214, 2273, 3, '\0'),(5402373, 140 , 215, 2273, 3, '\0'),(5402373, 140, 216, 2273, 3, '\0'),(5402373, 140, 217, 227 3, 3, '\0'),(5402373, 140, 218, 2273, 3, '\0'),(5402373, 140, 219, 2273, 3, '\0'),(5402373, 140, 220, 2273, 3, '\0'),(5402373, 140, 221, 2273, 3, '\0'),(5402373 , 140, 222, 2273, 3, '\0'),(5402373, 140, 223, 2273, 3, '\0'),(5402373, 140, 224 , 2273, 3, '\0'),(5402373, 140, 225, 2273, 3, '\0'),(5402373, 140, 226, 2273, 3, '\0'),(5402373, 141, 227, 2268, 3, '\0'),(5402373, 141, 228, 2268, 3, '\0'),(54 02373, 141, 229, 2268, 3, '\0'),(5402373, 141, 230, 2268, 3, '\0'),(5402373, 141 , 231, 2268, 3, '\0'),(5402373, 141, 232, 2268, 3, '\0'),(5402373, 141, 233, 226 8, 3, '\0'),(5402373, 141, 234, 2268, 3, '\0'),(5402373, 141, 235, 2268, 3, '\0' ),(5402373, 141, 236, 2268, 3, '\0'),(5402373, 141, 237, 2268, 3, '\0'),(5402373 , 141, 238, 2268, 3, '\0'),(5402373, 141, 239, 2268, 3, '\0'),(5402373, 141, 240 , 2268, 3, '\0'),(5402373, 141, 241, 2268, 3, '\0'),(5402373, 142, 242, 2268, 3, '\0'),(5402373, 142, 243, 2268, 3, '\0'),(5402373, 142, 244, 2268, 3, '\0'),(54 02373, 142, 245, 2268, 3, '\0'),(5402373, 142, 246, 2268, 3, '\0'),(5402373, 142 , 247, 2268, 3, '\0'),(5402373, 142, 248, 2268, 3, '\0'),(5402373, 142, 249, 226 8, 3, '\0'),(5402373, 142, 250, 2268, 3, '\0'),(5402373, 142, 251, 2268, 3, '\0' ),(5402373, 142, 252, 2268, 3, '\0'),(5402373, 142, 253, 2268, 3, '\0'),(5402373 , 142, 254, 2268, 3, '\0'),(5402373, 142, 255, 2268, 3, '\0'),(5402373, 142, 256 , 2268, 3, '\0'),(5402373, 142, 257, 2268, 3, '\0'),(5402373, 142, 258, 2268, 3, '\0'),(5402373, 142, 259, 2268, 3, '\0'),(5402373, 142, 260, 2268, 3, '\0'),(54 02373, 142, 261, 2268, 3, '\0'),(5402373, 202, 262, 2273, 3, '\0'),(5402373, 202 , 263, 2273, 3, '\0'),(5402373, 202, 264, 2273, 3, '\0'),(5402373, 202, 265, 227 3, 3, '\0'),(5402373, 202, 266, 2273, 3, '\0'),(5402373, 202, 267, 2273, 3, '\0' ),(5402373, 202, 268, 2273, 3, '\0'),(5402373, 202, 269, 2273, 3, '\0'),(5402373 , 202, 270, 2273, 3, '\0'),(5402373, 202, 271, 2273, 3, '\0'),(5402373, 202, 272 , 2273, 3, '\0'),(5402373, 202, 273, 2273, 3, '\0'),(5402373, 202, 274, 2273, 3, '\0'),(5402373, 202, 275, 2273, 3, '\0'),(5402373, 202, 276, 2273, 3, '\0'),(54 02373, 202, 277, 2273, 3, '\0'),(5402373, 202, 278, 2273, 3, '\0'),(5402373, 202 , 279, 2273, 3, '\0'),(5402373, 202, 280, 2273, 3, '\0'),(5402373, 202, 281, 227 3, 3, '\0') Lost connection to MySQL server during query
> MySQL ERROR mysql_real_connect: Can't connect to local MySQL server through so cket '/var/run/mysqld/mysqld.sock' (111)
> MySQL ERROR mysql_real_connect: Can't connect to local MySQL server through so cket '/var/run/mysqld/mysqld.sock' (111)
Error while saving player: Sheyck

What I need do?
 
I have problems with the server, Other people can't login they just come to the character list then when they try to log on a character it just says Connection Refused or Connection timeout :/

It has to do with patch 11 :/ Where can i get the EXE in patch 10 :S
 
I have problems with the server, Other people can't login they just come to the character list then when they try to log on a character it just says Connection Refused or Connection timeout :/

It has to do with patch 11 :/ Where can i get the EXE in patch 10 :S

Enter www.whatismyip.org

then enter config.lua

then write the correct global ip in config.lua


and your problem is fixed.

:P

I had same problem once, portforwarded and everything should work fine, but you get to charlist and cant connect further means wrong ip in config.lua
 
Why players can copying items in game?
I don't know how.
Maybe TFS rev 1082 have big bug?
 
I will be asking until I'll get answer:
How to edit items.otb in new TFS?
 
I will be asking until I'll get answer:
How to edit items.otb in new TFS?

Latest otitemeditor 0.3.1 For client 8.1
https://sourceforge.net/project/showfiles.php?group_id=32523&package_id=202862&release_id=565698

Latest graphics.dat (Use "Save link as" to download it)
http://opentibia.svn.sourceforge.net/viewvc/*checkout*/opentibia/otitemeditor/trunk/graphics.dat

Latest items.otb (Use "Save link as" to download it)
http://opentibia.svn.sourceforge.net/viewvc/*checkout*/opentibia/otserv/trunk/data/items/items.otb

To convert an old items.otb


1. Load the old items.otb in otitemeditor (> 0.3.0)
2. Menu Tools->Export items.xml. Creates items.xml containing all item properties like name, description, armor, attack, etc, of your old items.otb.
3. Menu File->Save as... Saves the items.otb with the new format

Probably you will not need to edit again items.otb ;)

Old releases:

otitemeditor 0.3.0 for 8.0
SourceForge.net: Files

otitemeditor 0.2.5 for 7.92
SourceForge.net: Files

otitemeditor 0.2.4 for 7.9
SourceForge.net: Files

otitemeditor 0.2.3 for 7.8
SourceForge.net: Files

otitemeditor 0.2.2 for 7.6/7.7
http://web.telia.com/~u49016513/otitemeditor-0.2.2.zip Broken link
No clue if it works for 8.22, but that's the only thing we got.

Jo3
 
No clue if it works for 8.22, but that's the only thing we got.

Jo3

I was trying, server crashes when loads items.otb, when I use otitemieditor there in server is a command
"Old version detected, a newer version of items.otb is required"
"ERROR: Unable to load items (OTB)!"

Anyway, thanks for trying, last 10 posts ago noone helped me

So person who made new OTB knows how to edit this file, so help please

Until we can't edit items.otb any other server it better...
 
Last edited:
I was trying, server crashes when loads items.otb, when I use otitemieditor there in server is a command
"Old version detected, a newer version of items.otb is required"
"ERROR: Unable to load items (OTB)!"

Anyway, thanks for trying, last 10 posts ago noone helped me

So person who made new OTB knows how to edit this file, so help please

Until we can't edit items.otb any other server it better...

SourceForge.net Repository - [opentibia] Index of /otitemeditor
The SVN has been updated to work with the 8.2x protocol, just download and compile.

Jo3
 
How to remove that players spawn in rook (I want them to spawn in thais temple)?


And I don't see any npcs.. whats the problem?
 
How to remove that players spawn in rook (I want them to spawn in thais temple)?


And I don't see any npcs.. whats the problem?

Open config.lua, find this:
Code:
	-- Account Manager
	accountManager = "yes"
	newPlayerChooseVoc = "yes"
[B]	newPlayerSpawnPosX = 32369
	newPlayerSpawnPosY = 32241
	newPlayerSpawnPosZ = 7[/B]
	newPlayerTownId = 5
	newPlayerLevel = 8
	newPlayerMagicLevel = 0
	generateAccountNumber = "no"
and change the bolded area to your thais temple.

Jo3
 
And I don't see any npcs.. whats the problem?
YOU! Think twice before you write anything. For sure you cant find npcs because the TFS Team release a blank server not a full game. You have to create own npcs (or find some). Nooby questions... damn!

Baba
Virgel
 
Code:
[17/09/2008  17:27:25] Lua Script Error: [Npc interface] 
[17/09/2008  17:27:25] data/npc/scripts/towns/synthia/weapons.lua:onCreatureSay

[17/09/2008  17:27:25] data/global.lua:445: Could not add money to Smurfe(100gp)
[17/09/2008  17:27:25] stack traceback:
[17/09/2008  17:27:25] 	[C]: in function 'error'
[17/09/2008  17:27:25] 	data/global.lua:445: in function 'doPlayerSellItem'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/modules.lua:697: in function 'callback'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:122: in function 'processMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/npchandler.lua:265: in function 'onCreatureSay'
[17/09/2008  17:27:25] 	data/npc/scripts/towns/synthia/weapons.lua:8: in function <data/npc/scripts/towns/synthia/weapons.lua:8>

[17/09/2008  17:27:27] Lua Script Error: [Npc interface] 
[17/09/2008  17:27:27] data/npc/scripts/towns/synthia/weapons.lua:onCreatureSay

[17/09/2008  17:27:27] data/global.lua:445: Could not add money to Smurfe(30gp)
[17/09/2008  17:27:27] stack traceback:
[17/09/2008  17:27:27] 	[C]: in function 'error'
[17/09/2008  17:27:27] 	data/global.lua:445: in function 'doPlayerSellItem'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/modules.lua:697: in function 'callback'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:122: in function 'processMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/npchandler.lua:265: in function 'onCreatureSay'
[17/09/2008  17:27:27] 	data/npc/scripts/towns/synthia/weapons.lua:8: in function <data/npc/scripts/towns/synthia/weapons.lua:8>

I am not sure, I might be using an old patch, is there any way to view what patch im using?

edit1: nvm edit2: still unsure of prob
 
Last edited:
Demon oak quest - help
When I using the Hallowed Axe on the Dead Tree or else on Demon Oak nothing happend!

And in the console it does not giving any errors.
Anyone that has noticed the same problem?


Hallowed Axe.lua
Code:
--- Made by GM Rufus ---
function onUse(cid, item, item2, fromPosition, toPosition)
--- Config --
blocktree = 32193 --- The uniqueid of the dead tree. ---
levelneeded = 120 --- How much level you need to enter the arena ---
--- First part ---
summonweak1Position = {x=32682, y=32372, z=7}
summonweak2Position = {x=32688, y=32373, z=7}
summonweak3Position = {x=32683, y=32377, z=7}
summonweak4Position = {x=32687, y=32378, z=7}
summonweakone1Position = {x=32682, y=32372, z=7}
summonweakone2Position = {x=32688, y=32373, z=7}
summonweakone3Position = {x=32683, y=32377, z=7}
summonweakone4Position = {x=32687, y=32378, z=7}
summonweaktwo1Position = {x=32682, y=32372, z=7}
summonweaktwo2Position = {x=32688, y=32373, z=7}
summonweaktwo3Position = {x=32683, y=32377, z=7}
summonweaktwo4Position = {x=32687, y=32378, z=7}
--- Second Part ---
summonnormal1Position = {x=32682, y=32372, z=7}
summonnormal2Position = {x=32688, y=32373, z=7}
summonnormal3Position = {x=32683, y=32377, z=7}
summonnormal4Position = {x=32687, y=32378, z=7}
summonnormalone1Position = {x=32682, y=32372, z=7}
summonnormalone2Position = {x=32688, y=32373, z=7}
summonnormalone3Position = {x=32683, y=32377, z=7}
summonnormalone4Position = {x=32687, y=32378, z=7}
summonnormaltwo1Position = {x=32682, y=32372, z=7}
summonnormaltwo2Position = {x=32688, y=32373, z=7}
summonnormaltwo3Position = {x=32683, y=32377, z=7}
summonnormaltwo4Position = {x=32687, y=32378, z=7}
--- Third Part ---
summonmedium1Position = {x=32682, y=32372, z=7}
summonmedium2Position = {x=32688, y=32373, z=7}
summonmedium3Position = {x=32683, y=32377, z=7}
summonmedium4Position = {x=32687, y=32378, z=7}
summonmediumone1Position = {x=32682, y=32372, z=7}
summonmediumone2Position = {x=32688, y=32373, z=7}
summonmediumone3Position = {x=32683, y=32377, z=7}
summonmediumone4Position = {x=32687, y=32378, z=7}
summonmediumtwo1Position = {x=32682, y=32372, z=7}
summonmediumtwo2Position = {x=32688, y=32373, z=7}
summonmediumtwo3Position = {x=32683, y=32377, z=7}
summonmediumtwo4Position = {x=32687, y=32378, z=7}
--- Fourth Part ---
summonhard1Position = {x=32682, y=32372, z=7}
summonhard2Position = {x=32688, y=32373, z=7}
summonhard3Position = {x=32687, y=32378, z=7}
summonhard4Position = {x=32687, y=32378, z=7}
summonhardone1Position = {x=32682, y=32372, z=7}
summonhardone2Position = {x=32688, y=32373, z=7}
summonhardone3Position = {x=32687, y=32378, z=7}
summonhardone4Position = {x=32687, y=32378, z=7}
--- Teleport Back Positions ---
back1Position = {x=32686, y=32361, z=7}
back2Position = {x=32686, y=32361, z=7}
back3Position = {x=32686, y=32361, z=7}
back4Position = {x=32686, y=32361, z=7}
back5Position = {x=32686, y=32361, z=7}
--- End Config ---
demonoak = {8288, 8289, 8290, 8291}
if item.itemid == 2717 and item.uid == 32193 and getPlayerLevel(cid) >= levelneeded and (getPlayerStorageValue(cid, 21544) == 3) == FALSE then
doTransformItem(item.uid, 3669)
doTeleportThing(cid, toPosition, TRUE)
elseif item.itemid == 8288 then
if getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == -1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21541, 1)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Vampire", summonweak1Position)
doSummonCreature("Vampire", summonweak2Position)
doSummonCreature("Vampire", summonweak3Position)
doSummonCreature("Braindeath", summonweak4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21541, 2)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Vampire", summonweakone1Position)
doSummonCreature("Vampire", summonweakone2Position)
doSummonCreature("Necromancer", summonweakone3Position)
doSummonCreature("Vampire", summonweakone4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 2 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21541, 3)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Vampire", summonweaktwo1Position)
doSummonCreature("Elder Beholder", summonweaktwo2Position)
doSummonCreature("Elder Beholder", summonweaktwo3Position)
doSummonCreature("Vampire", summonweaktwo4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
if item.itemid == 8288 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8289 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8290 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8291 then
setPlayerStorageValue(cid, item.itemid, 1)
end
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == -1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21542, 1)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Dragon Lord", summonnormal1Position)
doSummonCreature("Dragon Lord", summonnormal2Position)
doSummonCreature("Dragon Lord", summonnormal3Position)
doSummonCreature("Dragon", summonnormal4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21542, 2)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Dragon Lord", summonnormalone1Position)
doSummonCreature("Dragon Lord", summonnormalone2Position)
doSummonCreature("Dragon Lord", summonnormalone3Position)
doSummonCreature("Frost Dragon", summonnormalone4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 2 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21542, 3)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Frost Dragon", summonnormaltwo1Position)
doSummonCreature("Frost Dragon", summonnormaltwo2Position)
doSummonCreature("Frost Dragon", summonnormaltwo3Position)
doSummonCreature("Frost Dragon", summonnormaltwo4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
if item.itemid == 8288 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8289 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8290 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8291 then
setPlayerStorageValue(cid, item.itemid, 1)
end
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == -1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21543, 1)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Behemoth", summonmedium1Position)
doSummonCreature("Warlock", summonmedium2Position)
doSummonCreature("Lich", summonmedium3Position)
doSummonCreature("Lich", summonmedium4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == 1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21543, 2)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Behemoth", summonmediumone1Position)
doSummonCreature("Behemoth", summonmediumone2Position)
doSummonCreature("Behemoth", summonmediumone3Position)
doSummonCreature("Warlock", summonmediumone4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == 2 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21543, 3)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Serpent Spawn", summonmediumtwo1Position)
doSummonCreature("Serpent Spawn", summonmediumtwo2Position)
doSummonCreature("Serpent Spawn", summonmediumtwo3Position)
doSummonCreature("Lich", summonmediumtwo4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
if item.itemid == 8288 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8289 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8290 then
setPlayerStorageValue(cid, item.itemid, 1)
elseif item.itemid == 8291 then
setPlayerStorageValue(cid, item.itemid, 1)
end
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == 3 and getPlayerStorageValue(cid, 21544) == -1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21544, 1)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Warlock", summonhard1Position)
doSummonCreature("Behemoth", summonhard2Position)
doSummonCreature("Braindeath", summonhard3Position)
doSummonCreature("Demon", summonmhard4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)

elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == 3 and getPlayerStorageValue(cid, 21544) == 1 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21544, 2)
doSendMagicEffect(toPosition, 0)
doSummonCreature("Demon", summonhardone1Position)
doSummonCreature("Demon", summonhardone2Position)
doSummonCreature("Demon", summonhardone3Position)
doSummonCreature("Undead Dragon", summonhardone4Position)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
elseif getPlayerStorageValue(cid, item.itemid) == -1 and getPlayerStorageValue(cid, 21541) == 3 and getPlayerStorageValue(cid, 21542) == 3 and getPlayerStorageValue(cid, 21543) == 3 and getPlayerStorageValue(cid, 21544) == 2 then
if math.random(1, 2) == 1 then
setPlayerStorageValue(cid, 21544, 3)
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
if item.itemid == 8288 then
setPlayerStorageValue(cid, item.itemid, 1)
if getPlayerStorageValue(cid, 8288) == 1 then
setPlayerStorageValue(cid, 21545, 1)
if math.random(1, 5) == 1 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back1Position)
elseif math.random(1, 5) == 2 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back2Position)
elseif math.random(1, 5) == 3 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back3Position)
elseif math.random(1, 5) == 4 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back4Position)
elseif math.random(1, 5) == 5 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back5Position)
end
end
elseif item.itemid == 8289 then
setPlayerStorageValue(cid, item.itemid, 1)
if getPlayerStorageValue(cid, 8289) == 1 then
setPlayerStorageValue(cid, 21545, 1)
if math.random(1, 5) == 1 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back1Position)
elseif math.random(1, 5) == 2 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back2Position)
elseif math.random(1, 5) == 3 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back3Position)
elseif math.random(1, 5) == 4 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back4Position)
elseif math.random(1, 5) == 5 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back5Position)
end
end
elseif item.itemid == 8290 then
setPlayerStorageValue(cid, item.itemid, 1)
if getPlayerStorageValue(cid, 8290) == 1 then
setPlayerStorageValue(cid, 21545, 1)
if math.random(1, 5) == 1 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back1Position)
elseif math.random(1, 5) == 2 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back2Position)
elseif math.random(1, 5) == 3 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back3Position)
elseif math.random(1, 5) == 4 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back4Position)
elseif math.random(1, 5) == 5 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back5Position)
end
end
elseif item.itemid == 8291 then
setPlayerStorageValue(cid, item.itemid, 1)
if getPlayerStorageValue(cid, 8291) == 1 then
setPlayerStorageValue(cid, 21545, 1)
if math.random(1, 5) == 1 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back1Position)
elseif math.random(1, 5) == 2 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back2Position)
elseif math.random(1, 5) == 3 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back3Position)
elseif math.random(1, 5) == 4 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back4Position)
elseif math.random(1, 5) == 5 then
doSendMagicEffect(fromPosition, 10)
doTeleportThing(cid,back5Position)
end
end
end
elseif math.random(1, 2) == 2 then
doSendMagicEffect(toPosition, 0)
doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -270, -310, CONST_ME_BIGPLANTS)
end
else
doSendMagicEffect(toPosition, 2)
end
end
return TRUE
end
 
Auto save every X minutes or Auto clean map every X minutes?

Mmm dunno what it is, cuz it just freezes I do nothing, it freezes like for 10 secs.

Oh yeah ummm.. the cleaning thing, when I do it, it freezes a lot for like 10 mins or so... it bothers me, is there anyway to fix that?
 
There is a guy cloning things on my server, i'm using TFS 0.2.13. I gave him a orshabaal's brain to check, and then he cloned it too. It's something with the backpacks, does somebody know?
 
There is a guy cloning things on my server, i'm using TFS 0.2.13. I gave him a orshabaal's brain to check, and then he cloned it too. It's something with the backpacks, does somebody know?

Use 0.2 Patch 11.

Code:
[17/09/2008  17:27:25] Lua Script Error: [Npc interface] 
[17/09/2008  17:27:25] data/npc/scripts/towns/synthia/weapons.lua:onCreatureSay

[17/09/2008  17:27:25] data/global.lua:445: Could not add money to Smurfe(100gp)
[17/09/2008  17:27:25] stack traceback:
[17/09/2008  17:27:25] 	[C]: in function 'error'
[17/09/2008  17:27:25] 	data/global.lua:445: in function 'doPlayerSellItem'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/modules.lua:697: in function 'callback'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/keywordhandler.lua:122: in function 'processMessage'
[17/09/2008  17:27:25] 	data/npc/lib/npcsystem/npchandler.lua:265: in function 'onCreatureSay'
[17/09/2008  17:27:25] 	data/npc/scripts/towns/synthia/weapons.lua:8: in function <data/npc/scripts/towns/synthia/weapons.lua:8>

[17/09/2008  17:27:27] Lua Script Error: [Npc interface] 
[17/09/2008  17:27:27] data/npc/scripts/towns/synthia/weapons.lua:onCreatureSay

[17/09/2008  17:27:27] data/global.lua:445: Could not add money to Smurfe(30gp)
[17/09/2008  17:27:27] stack traceback:
[17/09/2008  17:27:27] 	[C]: in function 'error'
[17/09/2008  17:27:27] 	data/global.lua:445: in function 'doPlayerSellItem'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/modules.lua:697: in function 'callback'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/keywordhandler.lua:122: in function 'processMessage'
[17/09/2008  17:27:27] 	data/npc/lib/npcsystem/npchandler.lua:265: in function 'onCreatureSay'
[17/09/2008  17:27:27] 	data/npc/scripts/towns/synthia/weapons.lua:8: in function <data/npc/scripts/towns/synthia/weapons.lua:8>

I am not sure, I might be using an old patch, is there any way to view what patch im using?

edit1: nvm edit2: still unsure of prob

If you remember when you downloaded it, yes, but what do you lose on updating your files again just to make sure you are running Patch 11?
 
Status
Not open for further replies.
Back
Top