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

Player kil

Fagnerboff

New Member
Joined
Oct 10, 2010
Messages
48
Reaction score
0
someone help

imagemzmx.png



player gets 0 out of life and not die


imagemcvk.jpg
 
Last edited:
sorry.


arenakill.lua
PHP:
function onKill(cid, target)
	local room = getArenaMonsterIdByName(getCreatureName(target))
	if room > 0 then
		setPlayerStorageValue(cid, room, 1)
		doPlayerSendTextMessage(cid,22,"You can enter next room!")
	end
	return TRUE
end


player gets 0 out of life and not die
 
Last edited:
my mistake is not in the arena.
My mistake is the player kill player.
the player gets 0 out of life
and is giving error in the distro.


imagemcvk.jpg
 
i think u have wrong shema mysql or st becouse u haven't got column frags
try to past in sql
Code:
ALTER TABLE `players` ADD `frags` INT UNSIGNED NOT NULL DEFAULT '0'
 
Last edited:
Fagnerboff, the error causing that is because your Svargrond Arena script is incorrectly setup would you mind accepting what I'm telling you instead of acting like I'm a noob? Do as I said because I've fixed all kinds of error you never could imagined.

And if you don't trust me that's the problem, just remove arenakill from creaturescripts.xml and see for yourself.
 
Thanks for listening. If you need any more help feel free to ask.
I hope you didn't remove "creaturescripts.xml" file, just that line that loads the arena.
 
Back
Top