• 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 i can fix 0 soul points in all characters??

Gothric

New Member
Joined
Feb 6, 2010
Messages
264
Reaction score
1
How i can fix 0 soul points in all characters??

propably its script on function on login

but i am not sure :s

it mean , player log in and he have 0 soul points he go exp and make 30 soul points he relog and he have 0 soul points again ??:D u understand ? u think yes :d
 
yea :D propably it will work but can u give me script on add 1 soul with getting frags?? it mean that i get frags and soul points go +1
:D so soul points = frags
 
onDeath would work too, but with onKill you can make so that only the player who did the last hit on the target gets a soul point.
 
cykotitan yes i want only add sp to player who give last hit :D

can u give me script??

______________
up u r propably noob? how i can fix it in config -.-?
 
data/creaturescripts/scripts/pk.lua
Code:
function onKill(cid, target, lastHit)
	if lastHit and isPlayer(target) then
		doPlayerAddSoul(cid, 1)
	end
	return true
end
data/creaturescripts/creaturescripts.xml
Code:
	<event type="kill" name="PlayerKill" event="script" value="pk.lua"/>
data/creaturescripts/scripts/login.lua
Code:
	registerCreatureEvent(cid, "PlayerKill")
 
@up

Short, and in some cases very useful. :D

Suitable for etc war servers.
 
UPDATE `players` set `soul`=0;


nvm my answer, didn't read your full post until after I posted
 
cykotitan i have one more problem :/

i have PvP-Enfo and when 1 player kill another then his soul points grow up not 1 but mhm 25? ( becouse he advanced 2 lvls) like a rl tibia :d he get exp so he get soul :s where i can fix it?
 
Back
Top