Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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 did you test it? This will only enable you to move items around at a distance. You can still not move an item to a bag and not from different levels.
And just in case, I just have to ask... Did you actually compile the code? =P
Ok, a lot has changed since 0.2.14 I guess. Changing it in groups.xml is probably the new way of doing it though.
Thinking about it you could probably go with:
if (!Position::areInRange<1, 1>(playerPos, mapFromPos) && !player->isAccessPlayer())
and skip the player flag.
Sorry, I should be more specific.
You can add player flags in const.h.
The last one should be:
PlayerFlag_IsAlwaysPremium = 137438953472
Just after it you can add:
PlayerFlag_CanMoveItemsFromFar = 274877906944
To add the new flag to your GM/GOD group go to the groups table in your database...
In game.cpp you can find:
if (!Position::areInRange<1, 1>(playerPos, mapFromPos)) {
//need to walk to the item first before using it
std::list<Direction> listDir;
if (player->getPathTo(item->getPosition(), listDir, 0, 1, true, true)) {...
Thank you for testing it =)
Maybe you got some internet security software that is blocking larger files from being downloaded? You could check the settings in your security software to see if there is a setting that may be blocking downloads. Or you can try temporarily disabling the software...
Have you tried moving the npc more than one sqm with selfMoveTo(pos)? If i remember correctly it dosn't move if it's standing right next to the target.
I would like to share it, but I have gotten my software stolen renamed and reuploaded before. And as if that wasn't enough I got accused of stealing the software lol. I was thinking I should release it when I don't feel like updating it anymore? I'm not sure. I know how annoying it can be to not...
Apple has introduced a new programming language that is as easy to type as say Lua and as fast as well written c++ code.
This got me pretty excited! So what do you guys think about it? ^^
@therrax I saw your pm with the link to this thread. So I guess you want an answare from me.
I tested the npc on a 0.2.14 server and it worked fine. I can't see any problem with the script or xml. Not sure what's happening. Maybe WibbenZ is right and the server version has a bug in its source code.