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

Exp by killing

troja

SD 2014
Joined
Jan 1, 2009
Messages
2,116
Reaction score
54
I need help how to make that i gain exp by killing peoples

[ sorry for bad english ]
 
Last edited:
i dont think u can fix that in tfs without source editing, just use pvp and:
Lua:
	experienceByKillingPlayers = "yes"
Hope i helped.
 
In player.cpp at :dropLoot edit:
Code:
if(preventItem && getSkull() != SKULL_RED && g_game.getWorldType() != WORLD_TYPE_PVP_ENFORCED)
to
Code:
if(preventItem && getSkull() != SKULL_RED)
 
You download it you can find it it if you search for roxor
And if you go to sources fins player.cpp and edit that rudolf czarodziej said should work
[Sorry for bad english :p)
 
Last edited:
An easier way to do that is this. You may have to live with the skull system though.

Set

Code:
experienceByKillingPlayers = "yes"

and then set world type to PVP - If you keep it at PvP-Enforced, you will always lose items even if you have an AOL. This way, there is a skull system, but if you kill someone, you gain experience like PvP-Enforced, and AOLs work.

Otherwise, you will have to do what Rudolf Czarodziej said to do.

Red
 
try to do what Rudold Czarodziej said to you to do. and sources you can fins it here or otfans.
________________
I hope that helped
 
Back
Top