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

Invisible for mobs as God.

anwes1

New Member
Joined
Oct 17, 2010
Messages
5
Reaction score
0
Hi. I'm playing some 8.6 on my TFS crying damson server.
And my problem is that the mobs wont attack me as God.
Have been checking through the commands in the list.
And I don't find a command that makes the mobs see me.
/ghost and /invisible are just for players.

Anyone have a clue about this?

Thanks
/ Anwes1
 
Why do you want the creatures to attack you as a god? Its not a command, you must edit the flags in groups.xml.

Or just play as a regular player.
 
Why do you want the creatures to attack you as a god? Its not a command, you must edit the flags in groups.xml.

Or just play as a regular player.
So I can use god commands ofc! :)
Fast traveling between town etc.
Ah, that explains why I couldnt find it. I'l check it out that thanks!
 
Change the access to give it to players as well then. in talkactions.xml find "access=6" and change it to 1
Since its a local server I changed everything in talkactions.xml to access"1" like this: http://pastebin.com/RQ4r4y7b so I will be able to use all commands.
But it seems thats its not working. Cant use my commands when changing my flag from 6 on my character to 1.

But the flags in group.xml I dont know what to change. Here is what it looks like right now. http://pastebin.com/NsWM6QCC
 
Yes, have been restarting it three times. Made the account flag 1 aswell.
But I didnt change anything in the group.xml dont understand completly what all settings there does.
 
can I ask you something ... ?
I need a little explain
u need all players use commands? as a god ?
like a normal player can use commands like god

or you need monster to attack GOD>?
 
can I ask you something ... ?
I need a little explain
u need all players use commands? as a god ?
like a normal player can use commands like god

or you need monster to attack GOD>?
Well, I want monsters to be able to attack GOD. But seemed easier to do it reverse since its a local server. But It didnt work. But Yeah, I want monsters to be able to attack GOD. Players with god commands works aswell. But havent figured how to do any of this yet.
 
so can I ask you something
in group.xml u put the GOD flag same as player flag?
I don't know if it work but I think u need source change because I've find this code

Source Edit Monster.cpp

Code:
bool Monster::isOpponent(const Creature* creature)
{
    if(isSummon() && getMaster()->getPlayer())
    {
        if(creature != getMaster())
            return true;
    }
    else
    {
        if((creature->getPlayer() && !creature->getPlayer()->hasFlag(PlayerFlag_IgnoredByMonsters)) ||
            (creature->getMaster() && creature->getMaster()->getPlayer()))
        {
            return true;
        }
    }
    return false;
}

I think you should delete this from code

Code:
&& !creature->getPlayer()->hasFlag(PlayerFlag_IgnoredByMonsters)

it's just thinking I never tried it :D
 
Back
Top