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

How to make your server client 8.61 Tutorial

Other fix bug ...

Const.h
Code:
        ITEM_MAGICWALL          = 1497,
        ITEM_MAGICWALL_SAFE     [COLOR=#000080]=[/COLOR] [COLOR=#0000dd]11095[/COLOR],
 
        ITEM_WILDGROWTH         [COLOR=#000080]=[/COLOR] [COLOR=black]1499[/COLOR],
        ITEM_WILDGROWTH_SAFE    [COLOR=#000080]=[/COLOR] [COLOR=#0000dd]11096[/COLOR],

        ITEM_GLOWING_SWITCH    = [COLOR=blue]11060[/COLOR],
Change for --
Code:
    ITEM_MAGICWALL        = 1497,
    ITEM_MAGICWALL_SAFE    = [COLOR=blue]11098[/COLOR],

    ITEM_WILDGROWTH        = 1499,
    ITEM_WILDGROWTH_SAFE    = [COLOR=blue]11099[/COLOR],

    ITEM_GLOWING_SWITCH    = [COLOR=blue]11062[/COLOR],
 
Last edited:
Small fix...

In game your runes isn't have description about require level/mlvl?

Do...:
items.h

find
Code:
bool isRune() const {return clientCharges;}

replace

Code:
bool isRune() const {return (type == ITEM_TYPE_RUNE);}

items.cpp

find
Code:
else if(tmpStrValue == "bed")
		it.type = ITEM_TYPE_BED;

add after

Code:
	else if(tmpStrValue == "rune")
		it.type = ITEM_TYPE_RUNE;
items.h

find:
Code:
ITEM_TYPE_KEY,

add after

Code:
ITEM_TYPE_RUNE,

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

RECOMPILE_ALL();

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
items.xml

Change all rune like this:

Code:
<item id="2261"  name="destroy field rune">
		<attribute key="runeSpellName" value="adito grav" />
		<attribute key="weight" value="120" />
		[COLOR="red"]<attribute key="type" value="rune" />	[/COLOR]
	</item>

Anjoy();

Don´t work ;(
 
ok, little fixes:

1. dont forget to change the "Only clients with protocol 8.x allowed!" msgs and set the min and max protocol version allowed. (protocolgame.cpp, protocollogin.cpp)

2. In actions.cpp (i'm using tfs 0.2.x)
in functions Actions::useItem and Actions::useItemEx, find if(isHotkey) and change:
Code:
	if(isHotkey)
	{
		itemCount = player->__getItemTypeCount(item->getID(), -1, false);
		itemId = item->getID();
	}

If you know enough C++, remove the last parameter (the bool one) from __getItemTypeCount() (at player.cpp/.h) and change it on every *.cpp that uses player->__getItemTypeCount()
So, your hotkeys will work fine (Using one of X items..)
 
I have tried your version KylerXX and found it will compile fine, but When you edit in mapeditor for upgraded version you end up with mass errors in your map. The simple edit of the resource.h file isn't enough for versions after 8.54, Cip changed the format of the tibia.dat file and it makes a real diference. I will be trying this way to see if it will fix my problems, then maybe go to 8.70, 8.72. I am doing this all in Crying Damson since thay are not going to be makeing anymore updates to 3.6 for 8.54.

I post this guide before you.
And I explained better than you.

http://otland.net/f139/how-change-version-your-forgotten-server-90501/

;)
 
4vo9j7.gif
 
Back
Top