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

War experienced guys check

Mindzer

!N00B!
Joined
Jun 8, 2009
Messages
100
Reaction score
0
Location
Slovenia
I have few problems

1.) How can I create that in WAR ot when player is logged on 1 character that other can't go on it and kick first player off

2.)How to create potion with unlimited charges

3.)How to make that it will auto balance 2 account that you only login with 1/1 and it will auto put you in team with less players?

Please help I'll give rep ++
 
  1. config.lua, replaceKickOnLogin = false (or "no" in older TFS)
  2. ./data/actions/scripts/liquids/potions.lua:2 -> removeOnUse = "no"
  3. script
 
whoops sorry, what you really had to do in potions script was to remove bold red:
Code:
	doAddCondition(cid, exhaust)
[B][COLOR="Red"]	if(not potion.empty or config.removeOnUse) then
		doRemoveItem(item.uid)
		return true
	end

	doTransformItem(item.uid, potion.empty)[/COLOR][/B]
	return true
end
 
Back
Top