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

Fixed 8.2 Items.xml and items.otb (With corpses and all items renamed)

ilveoncaffiene

New Member
Joined
Jun 12, 2008
Messages
19
Reaction score
0
Fixed 8.2 Items.xml and items.otb

PLEASE READ THE BOTTOM OF THIS POST FIRST!

This WILL work with the 8.2 release of TFS.
(All downloads are instant)

DOWNLOAD: Items.xml+items.otb(.rar)
SITE1
SITE2

P.S. I am also working on making monsters for 8.2
TO MAKE FOODS WORK:
data/actions/scripts/other/food.lua
Code:
local food =
{
	[2362] = {8, "Crunch."},
	[2666] = {15, "Munch."},
	[2667] = {12, "Munch."},
	[2668] = {10, "Mmmm."},
	[2669] = {17, "Munch."},
	[2670] = {4, "Gulp."},
	[2671] = {30, "Chomp."},
	[2672] = {60, "Chomp."},
	[2673] = {5, "Yum."},
	[2674] = {6, "Yum."},
	[2675] = {13, "Yum."},
	[2676] = {8, "Yum."},
	[2677] = {1, "Yum."},
	[2678] = {18, "Slurp."},
	[2679] = {1, "Yum."},
	[2680] = {2, "Yum."},
	[2681] = {9, "Yum."},
	[2682] = {20, "Yum."},
	[2683] = {17, "Munch."},
	[2684] = {8, "Crunch."},
	[2685] = {6, "Munch."},
	[2686] = {9, "Crunch."},
	[2687] = {2, "Crunch."},
	[2688] = {9, "Munch."},
	[2689] = {10, "Crunch."},
	[2690] = {3, "Crunch."},
	[2691] = {8, "Crunch."},
	[2792] = {6, "Munch."},
	[2793] = {9, "Munch."},
	[2695] = {6, "Gulp."},
	[2696] = {9, "Smack."},
	[2787] = {9, "Munch."},
	[2788] = {4, "Munch."},
	[2789] = {22, "Munch."},
	[2790] = {30, "Munch."},
	[2791] = {30, "Munch."},
	[2792] = {6, "Munch."},
	[2794] = {3, "Munch."},
	[2795] = {36, "Munch."},
	[2796] = {5, "Munch."},
	[2793] = {9, "Munch."},
	[5097] = {4, "Yum."},
	[6125] = {8, "Gulp."},
	[6278] = {10, "Mmmm."},
	[6279] = {15, "Mmmm."},
	[6393] = {12, "Mmmm."},
	[6394] = {15, "Mmmm."},
	[6501] = {20, "Mmmm."},
	[6541] = {6, "Gulp."},
	[6542] = {6, "Gulp."},
	[6543] = {6, "Gulp."},
	[6544] = {6, "Gulp."},
	[6545] = {6, "Gulp."},
	[6569] = {1, "Mmmm."},
	[6574] = {4, "Mmmm."},
	[7158] = {15, "Munch."},
	[7159] = {13, "Munch."},
	[7372] = {7, "Yum."},
	[7373] = {7, "Yum."},
	[7374] = {7, "Yum."},
	[7375] = {7, "Yum."},
	[7376] = {7, "Yum."},
	[7377] = {7, "Yum."},
	[8838] = {7, "Gulp."},
	[8839] = {5, "Yum."},
	[8840] = {2, "Yum."},
	[8841] = {3, "Urgh."},
	[8842] = {3, "Munch."},
	[8843] = {3, "Crunch."},
	[8844] = {3, "Gulp."},
	[8845] = {2, "Munch."},
	[8847] = {11, "Yum."}
}
function onUse(cid, item, frompos, item2, topos)
	if(food[item.itemid] ~= nil) then
		if (getPlayerFood(cid) + food[item.itemid][1]) >= 400 then
			doPlayerSendCancel(cid, "You are full.")
		else
			doPlayerFeed(cid, food[item.itemid][1] * 4)
			doCreatureSay(cid, food[item.itemid][2], TALKTYPE_ORANGE_1)
			doRemoveItem(item.uid, 1)
		end
		return TRUE
	end
	return FALSE
end
Insert this into data/actions/actions.xml:
Code:
	<action fromid="8838" toid="8845" script="other/food.lua"/>
	<action itemid="8847" script="other/food.lua"/>


Keep checking this topic for updates.

  • Finished adding in armors/robes
  • Finished armors and special shields
  • Finished bows
  • Finished wands/rods
  • Added in missing beds
  • Added in enchanted weapons
  • Added in a lot of missing 8.1 items
  • Added in Mage Hat and WitchHunter's Cloak
  • Added in foods (Yay!)
  • Added in a few decorations and misc. items such as Tibiacity Encyclopedia, Golden Falcon, etc.
  • Removed the tilde from jalapeño peppers (ñ) because it caused errors when loading items
  • Updated to the items.xml from the forgottenserver SVN and fixed many typos and mis-spellings. I did this because of the newer items.otb which changed many of the item IDs I had already added
  • Renamed backpacks and bags according to colors per the 8.2 update (Finally we can do this and stay in line with CIP!)
  • Updated OTB to version 3.
  • Added corpses, some more quest items, demon oak, and some wagons
  • Fixed an ID misprint on great health potion
MANY ITEM ID CHANGES YOU WILL NEED TO RUN THOSE QUERIES IN ORDER TO PREVENT YOUR SERVER FROM CRASHING! (Unless you have already updated to TFS rev 1017 or use OpenTibia)
Code:
DELETE FROM `tile_items` WHERE `itemtype` >= 8000
DELETE FROM `player_items` WHERE `itemtype` >= 8000
DELETE FROM `player_depotitems` WHERE `itemtype` >= 8000
These queries WILL cause your players to lose house items and inventory items (only ones above ID 8000, which is mostly 8.2 items. All others are safe). There is NO OTHER WAY (You have to do this to update to any recent release of TFS)!
 
Last edited:
Do you need a new distros for tfs? or just add these and it will be a 8.2 server??
 
I also just realized that this items.xml does not have beds or many other items added that old ones did. Adding those now

UPDATE! check first post
 
Last edited:
Updated with minor bugfixes, but no items will work if any part of the file has errors.

Please download again from the same link (Even if it doesn't say updated on the first post, download from that link because I will move all updates to my server's download folder under the same file name)
 
I open'd up the items with my Map Editor and they are no different from the 8.1's I had in there. Plus I updated my map editor to 8.20 :S
 
You have to add the IDs to the palette. Don't ask how to do that here, ask for that in a support section.
 
*Excuse double post, merely a bump*
UPDATED AGAIN! Check first post for what's included in the update.

Be aware of the fact that many of the older TFS servers will give errors on some of the item attributes. While I don't think these are major issues, it just means that many of the items will not be 100% correct on your server.
To fix this, please make sure your TFS version is updated to rev1008, as that was the last one I took the items.xml from.
 
Last edited:
Back
Top