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

Remove Frag Rune

szatan1x

Professional Lua
Joined
May 10, 2011
Messages
803
Reaction score
27
Location
Poland
Siemka,
Mam problem z remove frag runa usuwa rsa i fragi ale także ze strony czy jest możliwosc zeby usuwal ale tylko z gry?
 
@szatan1x
A powiedz jak to ma kasowac jezeli zapewne twoje frag remover kasuje rekordy w mysql z ktorego korzysta twoj gesior? .....

@Potar
On napewno ma gesiorka, wiec powinienes wiedziec ocb.
 
@Potar
On napewno ma gesiorka, wiec powinienes wiedziec ocb.

Skąd niby mam to wiedzieć? ^_^

A nawet jak Gesior to skąd mam wiedzieć jakiego kodu używa czy sprawdza zabicia graczy przy dedach czy nowa tabela w strukturze, czy w storage po zabiciu tego jest masa, a ja nie jestem jasnowidzem.
 
Last edited:
Pokaż skrypt ze strony....
Jaki Kurwa skrypt ;p?
On napewno ma gesiorka, wiec powinienes wiedziec ocb.
No mam
A na stronie jak działa?

Na jakiej zasadzie?
Dziala jak normalna runa ktora usuwa fragi i rsa tylko ja chcialem zeby te fragi znikaly tylko z gry a na stronie w top fragger i w gildii zostawaly proste ;p
 
Skąd niby mam to wiedzieć? ^_^

A nawet jak Gesior to skąd mam wiedzieć jakiego kodu używa czy sprawdza zabicia graczy przy dedach czy nowa tabela w strukturze, czy w storage po zabiciu tego jest masa, a ja nie jestem jasnowidzem.

bo 90% ots pro skrypterow mysli, ze tylko gesior jest uzyteczny i tylko 1 skrypt na caly swiat jest ;s
 
use this

Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Frag Remover" version="1.1" author="" contact="otland.net" enabled="yes">
	<action itemid="9969" event="script"><![CDATA[
		local noRemove = {SKULL_WHITE, SKULL_YELLOW}
		local playerSkull = getPlayerSkullType(cid)
		if isInArray(noRemove, playerSkull) then
			doPlayerSendCancel(cid, "You can't remove this type of skull.")
			doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
			return true
		elseif playerSkull == SKULL_NONE then
			doPlayerSendCancel(cid, "You don't have skull.")
			doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
			return true
		else
			db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
			doPlayerSendTextMessage(cid, 27, "Your frags & your skull have been removed!")
			doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED)
			doSendAnimatedText(getPlayerPosition(cid), "POFF!", 180)
			doCreatureSetSkullType(cid,0)
			doPlayerSetSkullEnd(cid, 0, playerSkull)
			doRemoveItem(item.uid, 1)
		end
		return true
	]]></action>
</mod>
 
Back
Top