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

Solved [Problem] Monsters don't give any loot for GMS

picachu

Member
Joined
Dec 2, 2007
Messages
970
Reaction score
11
My monster's ain't giving any loot for GMS

I already tried to create a new group on groups.xml to try drop loot on gms but nothing!
how can I make monster drop loot in gms?
TFS 0.4

ty
 
Last edited:
it's a bug in 0.4 :p. something with hasFlag logic in player.cpp and many more places:
Code:
	if(hasFlag(PlayerFlag_NotGenerateLoot))
		target->setDropLoot(LOOT_DROP_NONE);
 
yeah its dumb but it seems to be the only way

one more thing
if i'm using a group with custom flag, and i kill someone, when the other player dies , the corpse doesnt appear. :p
its relationated with the

if(hasFlag(PlayerFlag_NotGenerateLoot))
target->setDropLoot(LOOT_DROP_NONE);

too?
ty :)
 
no it's something else with "hasFlag" :p. search!
Code:
	if(hasFlag(PlayerFlag_NotGainInFight) || getZone() != target->getZone())
		return true;
? :p
 
Code:
	if(getAccess() != 0 || getZone() != target->getZone())
		return true;

and if I use

Code:
	if(getAccess() != 2 || getZone() != target->getZone())
		return true;

players, tutors, and senior tutors will be right
and cm, gm, and god will not be able to kill players, right ? or..?
ty again
 

Similar threads

Back
Top