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

Paralyze Rune, Map Tracker and !frags problem

AchTung

Member
Joined
Nov 12, 2009
Messages
1,352
Reaction score
7
Location
Germany
Hello,
I'm not sure if it should be lua or source edit but I want to edit the paralyze rune.

How should it work?
Since I'm working on a Server, I'm focusing on my PVP-System. Since Bot's destroys PVP with their Anti Paralyze, I want to have a modifed Paralyze Rune script.

Steps

1. A guy is using a paralyze Rune on someone.
2. The paralyzed guy use haste to remove the paralyze condition.
3. The condition should disappear but Haste condition shouldn't be added.

This should disable the dashing away with anti paralyze feature. Of course there is a simple way to disable it with custom client but since custom clients can be only made by trustworthy good servers, I can't afford it yet. Maybe in the future.

Right now I'm searching for such a modified System. Hope guys can bring ideas and solutions. I would really appreciate it.
----------------------------------------------------------------------------------------------------------------------------------------
Map Tracker 8.54 by Ian
My second Question is kinda simple.I downloaded the newest Map Tracker from the tools-section.

Problem

Afterwards I tried to track some parts of Real Tibia. My problem is, that I always get debugs while tracking, and not only me, some other guys got the same problem aswell. So I want to ask, is there any way to prevent these debugs?
---------------------------------------------------------------------------------------------------------------------------------------
My third Problem:
My !frags talkaction ain't working properly. Some people have the problem to check their current frags due to an unkown bug which I couldn't fix.

Bug
[Warning - ProtocolGame::sendFYIBox] Trying to send an empty or too huge message.

I'm not sure how to fix it. That's why I hope you guys could help me out.

//AchTung
 
Long time ago i crate this script for my paralyze rune

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 2)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 400)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

It make exhausted on player who is paralyzed :p so he can't use any spells for some time

It's not good script but may help, on my server players like it :p
 
Long time ago i crate this script for my paralyze rune

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 2)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 400)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

It make exhausted on player who is paralyzed :p so he can't use any spells for some time

It's not good script but may help, on my server players like it :p

Thanks for the script but thats not what I'm searching since I want to make it like explained above. They should be allowed to cast spells since it would be crazy to die by paralyze runes aswell for the one who get always paralyse spammed.
 
Haven't tested it but hopefully it should perform adequately;

Lua:
-- Standard haste functionality.
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 33000)
setConditionFormula(condition, 0.3, -24, 0.3, -24)
setCombatCondition(combat, condition)

-- Cure paralyze effect but don't add haste.
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat2, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onCastSpell(cid, var)
	
	if (getCreatureCondition(cid, CONDITION_PARALYZE)) then
		-- Player is paralyzed, cure only.
		return doCombat(cid, combat2, var)
	else
		-- Not paralyzed, perform standard haste.
		return doCombat(cid, combat, var)
	end
end
 
About the !frags, do you use:
advancedFragList = false
?

I use:

Code:
advancedFragList = "yes"

Haven't tested it but hopefully it should perform adequately;

Lua:
-- Standard haste functionality.
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 33000)
setConditionFormula(condition, 0.3, -24, 0.3, -24)
setCombatCondition(combat, condition)

-- Cure paralyze effect but don't add haste.
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat2, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onCastSpell(cid, var)
	
	if (getCreatureCondition(cid, CONDITION_PARALYZE)) then
		-- Player is paralyzed, cure only.
		return doCombat(cid, combat2, var)
	else
		-- Not paralyzed, perform standard haste.
		return doCombat(cid, combat, var)
	end
end

I will try the script tomorrow since I'm tired to test it right now on my computer.
 
Sorry, my fault, I have added in paralyze rune.lua which was wrong. I had to add this into the haste spell lol....So I only need to add this in all spells with haste condition and change the speed of it?

Rep for rexxar

@Helga, Didn't tried it out yet. xD
 
Last edited:
Back
Top