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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

Hello guys, can anyone help me?
I would like to create an NPC who sells runes with 100 charges?

I used this code:
shopModule:addBuyableItem({'uh'}, 2273, 40)

But the NPC does not sell me a rune with 100 charges, but 100 runes with 1 charge each...
I need one rune with 100 charges, :/
 
Added change target strategies, it's better explained here https://realotsblog.wordpress.com/2015/09/30/realots-monster-strategies/#comments, in summary
ranged monsters will change target correctly now (always picking the closest one), also all monsters have correct chance to change target and strategies as they work in real tibia, they can pick the nearest target, the one with the lowest % health, the one that did the most damage and also a random one.

https://github.com/TwistedScorpio/OTHire/commit/5abc8c58073cd24ddb13d4b0c0dbc20a6f9e2221
https://github.com/TwistedScorpio/OTHire/commit/8e567570eec5a2d4570a376bb7431ee280d36513

Please test if it's working as intended.
 
I found this bug ;(

giphy.gif
 
Why isPremium is not real time?
Like:
Code:
bool isPremium() const { return (hasFlag(PlayerFlag_IsAlwaysPremium)) ? true : premiumEnd >= std::time(NULL); }
 
@Nottinghster or @Ezzz

Hiho i have problem in house i change my 7.6 map to 7.7 and now house not completely work ;d house is but the door is emptyin rme have all house good position etc in console no have error house.xml or other related house
look my error in screen :

errorhouse.jpg

I have the same problem.... what i have to do to solve?
 
Back
Top