<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[SphereCommunity - Script Help]]></title>
		<link>https://forum.spherecommunity.net/</link>
		<description><![CDATA[SphereCommunity - https://forum.spherecommunity.net]]></description>
		<pubDate>Thu, 16 Apr 2026 09:10:39 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Skull script shop sell, the signature does not buy]]></title>
			<link>https://forum.spherecommunity.net/Thread-Skull-script-shop-sell-the-signature-does-not-buy</link>
			<pubDate>Mon, 04 Aug 2025 13:15:52 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Skull-script-shop-sell-the-signature-does-not-buy</guid>
			<description><![CDATA[Can anyone help me with the Skull shop sell script? (link[/code]<a href="https://forum.spherecommunity.net/sshare/files/809/blizz%20-%20shop%20sell.scp" target="_blank">link</a>) Basically, even after replacing new_buy and new_sell and adding PACKET159=f_packet_0x9f to sphere.ini, when I go to buy something, the list opens, but when I go to sign the purchase, nothing happens and it freezes.<br />
Does anyone know how to fix this?]]></description>
			<content:encoded><![CDATA[Can anyone help me with the Skull shop sell script? (link[/code]<a href="https://forum.spherecommunity.net/sshare/files/809/blizz%20-%20shop%20sell.scp" target="_blank">link</a>) Basically, even after replacing new_buy and new_sell and adding PACKET159=f_packet_0x9f to sphere.ini, when I go to buy something, the list opens, but when I go to sign the purchase, nothing happens and it freezes.<br />
Does anyone know how to fix this?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NPC Caster AI]]></title>
			<link>https://forum.spherecommunity.net/Thread-NPC-Caster-AI</link>
			<pubDate>Tue, 03 Oct 2023 00:30:41 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-NPC-Caster-AI</guid>
			<description><![CDATA[Hi,<br />
<br />
trying to do NPC AI of casters (similar to older spheres) I want to my caster to :<br />
1) always run from his target<br />
2) still casting on close range.<br />
<br />
Case 2 is more urgent for me ... I dont know how to do that the caster can start cast spells even on meele range versus his target. Now if his target come too close, he starts fighting only as meeler. <br />
In best variant should be on close range combined like sometimes hits, sometimes starts to cast.<br />
<br />
In case 1 i´ve find out that i can simulate running through trigger @npcActFollow, but if u have any better ideas, id like to hear them.<br />
<br />
[events e_caster]<br />
on=@NpcActFollow<br />
argn2=3<br />
argn3=1<br />
<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
trying to do NPC AI of casters (similar to older spheres) I want to my caster to :<br />
1) always run from his target<br />
2) still casting on close range.<br />
<br />
Case 2 is more urgent for me ... I dont know how to do that the caster can start cast spells even on meele range versus his target. Now if his target come too close, he starts fighting only as meeler. <br />
In best variant should be on close range combined like sometimes hits, sometimes starts to cast.<br />
<br />
In case 1 i´ve find out that i can simulate running through trigger @npcActFollow, but if u have any better ideas, id like to hear them.<br />
<br />
[events e_caster]<br />
on=@NpcActFollow<br />
argn2=3<br />
argn3=1<br />
<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Archery delay after start]]></title>
			<link>https://forum.spherecommunity.net/Thread-Archery-delay-after-start</link>
			<pubDate>Sun, 03 Sep 2023 17:57:55 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Archery-delay-after-start</guid>
			<description><![CDATA[Hi,<br />
<br />
any ideas how to make delay in skill archery after attack started? It has some hardcoded pre-hit which instantly go to @hitTry. Tried timerd, but it works only for other fighting skills.<br />
<br />
on=@attack<br />
tag.firstAttack=1<br />
<br />
on=@skillStart<br />
if (&lt;argn1&gt;==31) //archery<br />
if (&lt;tag.firstAttack&gt;)<br />
timerd=&lt;getswingdelay&gt; // not working<br />
tag.firstattack=""<br />
endif<br />
endif<br />
<br />
on=@hitTry<br />
argn1=&lt;eval 2*&lt;getswingdelay&gt;&gt;<br />
return 0<br />
<br />
Thanks a lot!]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
any ideas how to make delay in skill archery after attack started? It has some hardcoded pre-hit which instantly go to @hitTry. Tried timerd, but it works only for other fighting skills.<br />
<br />
on=@attack<br />
tag.firstAttack=1<br />
<br />
on=@skillStart<br />
if (&lt;argn1&gt;==31) //archery<br />
if (&lt;tag.firstAttack&gt;)<br />
timerd=&lt;getswingdelay&gt; // not working<br />
tag.firstattack=""<br />
endif<br />
endif<br />
<br />
on=@hitTry<br />
argn1=&lt;eval 2*&lt;getswingdelay&gt;&gt;<br />
return 0<br />
<br />
Thanks a lot!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Trigger after @GetHit]]></title>
			<link>https://forum.spherecommunity.net/Thread-Trigger-after-GetHit</link>
			<pubDate>Thu, 10 Aug 2023 18:37:14 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Trigger-after-GetHit</guid>
			<description><![CDATA[Hi,<br />
<br />
is here any default trigger after the victim has received the damage? Or some way how to find ouot it?<br />
 Need some functions which trigger right after getting damage. @GetHit is before receiving the damage.<br />
Thanks a lot.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
is here any default trigger after the victim has received the damage? Or some way how to find ouot it?<br />
 Need some functions which trigger right after getting damage. @GetHit is before receiving the damage.<br />
Thanks a lot.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Spellbar issue]]></title>
			<link>https://forum.spherecommunity.net/Thread-Spellbar-issue</link>
			<pubDate>Tue, 05 Apr 2022 13:39:31 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Spellbar-issue</guid>
			<description><![CDATA[Hi everyone,<br />
<br />
I have an issue about spell targets<br />
<br />
I have spellbar fixed dialog on screen both attack and defense spells. <br />
When i use attack spells on this dialog to someone and after i use defense spell (e.g heal) the attacking target turns to my character. I want that the attack target do not turn to me?<br />
<br />
How can i fix this?]]></description>
			<content:encoded><![CDATA[Hi everyone,<br />
<br />
I have an issue about spell targets<br />
<br />
I have spellbar fixed dialog on screen both attack and defense spells. <br />
When i use attack spells on this dialog to someone and after i use defense spell (e.g heal) the attacking target turns to my character. I want that the attack target do not turn to me?<br />
<br />
How can i fix this?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[HELP] ON=STEP Problem - Mount]]></title>
			<link>https://forum.spherecommunity.net/Thread-HELP-ON-STEP-Problem-Mount</link>
			<pubDate>Wed, 19 Jan 2022 01:26:50 +0100</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-HELP-ON-STEP-Problem-Mount</guid>
			<description><![CDATA[I want to make a gate with a mount.<br />
But I have a few problems...<br />
For example, I want to get on the Zostrich, but it doesn't work.<br />
As you can see, there is a problem in the "ON=STEP" part.<br />
Can you help me with this?<br />
<br />
<div class="codeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">[</span><span style="color: #0000BB">ITEMDEF&nbsp;i_moongate_taming</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">ID</span><span style="color: #007700">=</span><span style="color: #0000BB">i_moongate_red<br />NAME</span><span style="color: #007700">=</span><span style="color: #0000BB">Winner</span><span style="color: #DD0000">'s&nbsp;Gate<br /><br />ON=@Create<br />&nbsp;&nbsp;&nbsp;COLOR=0b10<br />&nbsp;&nbsp;&nbsp;ATTR=010<br />&nbsp;&nbsp;&nbsp;MOREP=4442,1177<br /><br />ON=@Click<br />&nbsp;&nbsp;&nbsp;MESSAGE=@07a1&nbsp;&lt;NAME&gt;<br />&nbsp;&nbsp;&nbsp;RETURN&nbsp;1<br /><br />ON=@DClick<br />&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE&nbsp;@07a1&nbsp;Gate'</span><span style="color: #0000BB">in&nbsp;uzerinden&nbsp;geciniz</span><span style="color: #007700">...<br />&nbsp;&nbsp;&nbsp;RETURN&nbsp;</span><span style="color: #0000BB">1<br /><br />ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br /></span><span style="color: #007700">IF&nbsp;(&lt;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">FINDID</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">&gt;)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">GO</span><span style="color: #007700">=&lt;</span><span style="color: #0000BB">MOREP</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;TRY&nbsp;</span><span style="color: #0000BB">UID</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">findid</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">.</span><span style="color: #0000BB">link</span><span style="color: #007700">&gt;.</span><span style="color: #0000BB">REMOVE<br />&nbsp;&nbsp;&nbsp;&nbsp;SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">FINDID</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">.</span><span style="color: #0000BB">REMOVE<br />&nbsp;&nbsp;&nbsp;&nbsp;SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">SYSMESSAGE&nbsp;</span><span style="color: #007700">@</span><span style="color: #0000BB">07a1&nbsp;Gorev&nbsp;basariyla&nbsp;tamamlandi</span><span style="color: #007700">...<br />else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">SYSMESSAGE&nbsp;</span><span style="color: #007700">@</span><span style="color: #0000BB">07a1&nbsp;Binegin&nbsp;uzerinde&nbsp;olmadan&nbsp;gecidi&nbsp;kullanamazsiniz</span><span style="color: #007700">...<br />&nbsp;&nbsp;&nbsp;&nbsp;RETURN&nbsp;</span><span style="color: #0000BB">1<br /><br /></span><span style="color: #007700">[</span><span style="color: #0000BB">EOF</span><span style="color: #007700">]&nbsp;<br /></span></code></div></div></div>
]]></description>
			<content:encoded><![CDATA[I want to make a gate with a mount.<br />
But I have a few problems...<br />
For example, I want to get on the Zostrich, but it doesn't work.<br />
As you can see, there is a problem in the "ON=STEP" part.<br />
Can you help me with this?<br />
<br />
<div class="codeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">[</span><span style="color: #0000BB">ITEMDEF&nbsp;i_moongate_taming</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">ID</span><span style="color: #007700">=</span><span style="color: #0000BB">i_moongate_red<br />NAME</span><span style="color: #007700">=</span><span style="color: #0000BB">Winner</span><span style="color: #DD0000">'s&nbsp;Gate<br /><br />ON=@Create<br />&nbsp;&nbsp;&nbsp;COLOR=0b10<br />&nbsp;&nbsp;&nbsp;ATTR=010<br />&nbsp;&nbsp;&nbsp;MOREP=4442,1177<br /><br />ON=@Click<br />&nbsp;&nbsp;&nbsp;MESSAGE=@07a1&nbsp;&lt;NAME&gt;<br />&nbsp;&nbsp;&nbsp;RETURN&nbsp;1<br /><br />ON=@DClick<br />&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE&nbsp;@07a1&nbsp;Gate'</span><span style="color: #0000BB">in&nbsp;uzerinden&nbsp;geciniz</span><span style="color: #007700">...<br />&nbsp;&nbsp;&nbsp;RETURN&nbsp;</span><span style="color: #0000BB">1<br /><br />ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br /></span><span style="color: #007700">IF&nbsp;(&lt;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">FINDID</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">&gt;)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">GO</span><span style="color: #007700">=&lt;</span><span style="color: #0000BB">MOREP</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;TRY&nbsp;</span><span style="color: #0000BB">UID</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">findid</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">.</span><span style="color: #0000BB">link</span><span style="color: #007700">&gt;.</span><span style="color: #0000BB">REMOVE<br />&nbsp;&nbsp;&nbsp;&nbsp;SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">FINDID</span><span style="color: #007700">.</span><span style="color: #0000BB">c_ostard_zostrich</span><span style="color: #007700">.</span><span style="color: #0000BB">REMOVE<br />&nbsp;&nbsp;&nbsp;&nbsp;SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">SYSMESSAGE&nbsp;</span><span style="color: #007700">@</span><span style="color: #0000BB">07a1&nbsp;Gorev&nbsp;basariyla&nbsp;tamamlandi</span><span style="color: #007700">...<br />else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SRC</span><span style="color: #007700">.</span><span style="color: #0000BB">SYSMESSAGE&nbsp;</span><span style="color: #007700">@</span><span style="color: #0000BB">07a1&nbsp;Binegin&nbsp;uzerinde&nbsp;olmadan&nbsp;gecidi&nbsp;kullanamazsiniz</span><span style="color: #007700">...<br />&nbsp;&nbsp;&nbsp;&nbsp;RETURN&nbsp;</span><span style="color: #0000BB">1<br /><br /></span><span style="color: #007700">[</span><span style="color: #0000BB">EOF</span><span style="color: #007700">]&nbsp;<br /></span></code></div></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Player nearby to banker]]></title>
			<link>https://forum.spherecommunity.net/Thread-Player-nearby-to-banker</link>
			<pubDate>Tue, 14 Sep 2021 22:00:05 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Player-nearby-to-banker</guid>
			<description><![CDATA[Hello,<br />
<br />
i try to script making my character say "hello" if he's nearby a banker npc.<br />
(8 tiles or less)<br />
unfortunately its not working.<br />
any ideas, what i made wrong?<br />
<br />
thank you.<img src="images/smilies/shifty.gif" style="vertical-align: middle;" border="0" alt="Shifty" title="Shifty" /><br />
<br />
forchars 8<br />
	if (&lt;npc&gt; &amp;&amp; &lt;brain&gt; &amp;&amp; &lt;Title&gt; == "banker")<br />
		var.bankernear = 1<br />
		//say banker is near<br />
	else<br />
		var.bankernear = 2<br />
		//say banker is far<br />
	endif<br />
endfor<br />
<br />
<br />
if &lt;var.bankernear&gt; == 1<br />
say Hello Banker<br />
endif]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
i try to script making my character say "hello" if he's nearby a banker npc.<br />
(8 tiles or less)<br />
unfortunately its not working.<br />
any ideas, what i made wrong?<br />
<br />
thank you.<img src="images/smilies/shifty.gif" style="vertical-align: middle;" border="0" alt="Shifty" title="Shifty" /><br />
<br />
forchars 8<br />
	if (&lt;npc&gt; &amp;&amp; &lt;brain&gt; &amp;&amp; &lt;Title&gt; == "banker")<br />
		var.bankernear = 1<br />
		//say banker is near<br />
	else<br />
		var.bankernear = 2<br />
		//say banker is far<br />
	endif<br />
endfor<br />
<br />
<br />
if &lt;var.bankernear&gt; == 1<br />
say Hello Banker<br />
endif]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Dragon Breath and Magic Reflection Problem]]></title>
			<link>https://forum.spherecommunity.net/Thread-Dragon-Breath-and-Magic-Reflection-Problem</link>
			<pubDate>Wed, 14 Jul 2021 12:17:11 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Dragon-Breath-and-Magic-Reflection-Problem</guid>
			<description><![CDATA[Hello, I'm using 56b Nightly<br />
<br />
I have a problem with dragons;<br />
<br />
When the dragon sees the players, it attacks normally, but while the magic reflection spell is active on the player, the dragon's first Explosion (Vas Ort Flam) spell is not blocked by magic reflection and the player takes damage and the magic reflection effect remains on the player.<br />
<br />
When the dragon casts Explosion (Vas Ort Flam) on the same player for the 2nd time, the magic reflection blocks the spell and the player takes no damage.<br />
<br />
This problem is when the Dragon sees the player for the first time and attacks.<br />
<br />
I changed the dragon's brain to "brain_monster", but this time he is in dilemma if I cast my spell or throw my fist.<br />
<br />
I think the problem is in "brain_dragon"<br />
<br />
I will be glad if you help.]]></description>
			<content:encoded><![CDATA[Hello, I'm using 56b Nightly<br />
<br />
I have a problem with dragons;<br />
<br />
When the dragon sees the players, it attacks normally, but while the magic reflection spell is active on the player, the dragon's first Explosion (Vas Ort Flam) spell is not blocked by magic reflection and the player takes damage and the magic reflection effect remains on the player.<br />
<br />
When the dragon casts Explosion (Vas Ort Flam) on the same player for the 2nd time, the magic reflection blocks the spell and the player takes no damage.<br />
<br />
This problem is when the Dragon sees the player for the first time and attacks.<br />
<br />
I changed the dragon's brain to "brain_monster", but this time he is in dilemma if I cast my spell or throw my fist.<br />
<br />
I think the problem is in "brain_dragon"<br />
<br />
I will be glad if you help.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[how to change the item position using foritems?]]></title>
			<link>https://forum.spherecommunity.net/Thread-how-to-change-the-item-position-using-foritems</link>
			<pubDate>Wed, 19 May 2021 21:37:02 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-how-to-change-the-item-position-using-foritems</guid>
			<description><![CDATA[Good afternoon people<br />
<br />
I have several decorative items on my server that are below the map (p.z), i have been burning neurons for 2 days trying to raise them all at once with a fix but everything i do does not work<br />
<br />
Could someone help me and tell me what am i doing wrong?<br />
<br />
I'm noob and this is the script that i'm trying to create<br />
<br />
[FUNCTION f_change_pz]<br />
foritems 50<br />
	if (&lt;type&gt; == t_tree)<br />
		if (&lt;p.z&gt; != &lt;p.terrain.z&gt;)<br />
			new.p=&lt;eval &lt;SERV.MAP(&lt;P.X&gt;,&lt;P.Y&gt;,&lt;P.M&gt;).TERRAIN.Z&gt;+6&gt;<br />
			new.update<br />
		ENDIF<br />
	ENDIF<br />
ENDFOR<br />
serv.b check!]]></description>
			<content:encoded><![CDATA[Good afternoon people<br />
<br />
I have several decorative items on my server that are below the map (p.z), i have been burning neurons for 2 days trying to raise them all at once with a fix but everything i do does not work<br />
<br />
Could someone help me and tell me what am i doing wrong?<br />
<br />
I'm noob and this is the script that i'm trying to create<br />
<br />
[FUNCTION f_change_pz]<br />
foritems 50<br />
	if (&lt;type&gt; == t_tree)<br />
		if (&lt;p.z&gt; != &lt;p.terrain.z&gt;)<br />
			new.p=&lt;eval &lt;SERV.MAP(&lt;P.X&gt;,&lt;P.Y&gt;,&lt;P.M&gt;).TERRAIN.Z&gt;+6&gt;<br />
			new.update<br />
		ENDIF<br />
	ENDIF<br />
ENDFOR<br />
serv.b check!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[spell flizzes because line of sight]]></title>
			<link>https://forum.spherecommunity.net/Thread-spell-flizzes-because-line-of-sight</link>
			<pubDate>Mon, 29 Mar 2021 21:17:46 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-spell-flizzes-because-line-of-sight</guid>
			<description><![CDATA[what wrong with this?<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SPELL 578]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ///////////////////aggiugnere il cd////////////<br />
DEFNAME=s_aimed_Shot<br />
NAME=Magic Arrow<br />
SOUND=snd_weapons_crossbow<br />
CAST_TIME = 30<br />
RUNES=IPY<br />
RESOURCES=i_arrow<br />
FLAGS=spellflag_dir_anim|spellflag_targ_item|spellflag_targ_char|spellflag_harm|&#8203;spellflag_damage|spellflag_fx_bolt|spellflag_resist<br />
EFFECT_ID=i_fx_arrow<br />
EFFECT=0<br />
DURATION=0.0<br />
MANAUSE=0<br />
SKILLREQ= magery 10.0<br />
INTERRUPT= 0.0<br />
<br />
ON=@select<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 6<br />
<br />
<br />
ON=@Start<br />
if (&lt;act.distance&gt; &gt; 6)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage Il bersagio e' troppo distante<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 1<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.message @,2,1, *Prendi la mira verso &lt;act.name&gt;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.NEWITEM=i_timer_GEN_COOLDOWN_5&nbsp;&nbsp; ///// cd for new ability<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.ACT.EQUIP<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 0<br />
endif<br />
return 0<br />
 <br />
<br />
ON=@effect<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage *Prendi accuratamente la mira e colpisci il tuo nemico*<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.hit -= 22<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.stam -= 27<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
return 0</code></div></div>
<br />
<br />
if i try to cast it, the spell chech first ON=@select and go to START, but then flizzes with sysmessage : "target is not in line of sight, you stopthe casting of the spell"<br />
what can i do? if i cancel the ON=@start trigger the spell works, but i lost the "src.message @,2,1, *Prendi la mira verso &lt;act.name&gt;*  " part, 3 seconds before the spell hit target<br />
<br />
<br />
edit: if i'm in GM ON the spell works, in GM OFF no]]></description>
			<content:encoded><![CDATA[what wrong with this?<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SPELL 578]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ///////////////////aggiugnere il cd////////////<br />
DEFNAME=s_aimed_Shot<br />
NAME=Magic Arrow<br />
SOUND=snd_weapons_crossbow<br />
CAST_TIME = 30<br />
RUNES=IPY<br />
RESOURCES=i_arrow<br />
FLAGS=spellflag_dir_anim|spellflag_targ_item|spellflag_targ_char|spellflag_harm|&#8203;spellflag_damage|spellflag_fx_bolt|spellflag_resist<br />
EFFECT_ID=i_fx_arrow<br />
EFFECT=0<br />
DURATION=0.0<br />
MANAUSE=0<br />
SKILLREQ= magery 10.0<br />
INTERRUPT= 0.0<br />
<br />
ON=@select<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 6<br />
<br />
<br />
ON=@Start<br />
if (&lt;act.distance&gt; &gt; 6)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage Il bersagio e' troppo distante<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 1<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.message @,2,1, *Prendi la mira verso &lt;act.name&gt;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.NEWITEM=i_timer_GEN_COOLDOWN_5&nbsp;&nbsp; ///// cd for new ability<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.ACT.EQUIP<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 0<br />
endif<br />
return 0<br />
 <br />
<br />
ON=@effect<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage *Prendi accuratamente la mira e colpisci il tuo nemico*<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.hit -= 22<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.stam -= 27<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
return 0</code></div></div>
<br />
<br />
if i try to cast it, the spell chech first ON=@select and go to START, but then flizzes with sysmessage : "target is not in line of sight, you stopthe casting of the spell"<br />
what can i do? if i cancel the ON=@start trigger the spell works, but i lost the "src.message @,2,1, *Prendi la mira verso &lt;act.name&gt;*  " part, 3 seconds before the spell hit target<br />
<br />
<br />
edit: if i'm in GM ON the spell works, in GM OFF no]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Archery Range]]></title>
			<link>https://forum.spherecommunity.net/Thread-Archery-Range</link>
			<pubDate>Mon, 29 Mar 2021 00:04:53 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Archery-Range</guid>
			<description><![CDATA[How do I go about changing the range for various ‘special’ bows?<br />
<br />
I’ve tried changing the ranges in sphere.ini and added ranges to the items themselves, but whatever I do, it seems I can’t shoot further than about 10 squares!<br />
<br />
I’ve trawled through a lot of threads and found a similar query from a couple of years ago and the answer was cryptic (to me at least!)...<br />
<span style="color: #9400D3;">’... <span style="font-style: italic;">2RE: Archery max distance <br />
The Range attribute of an archery weapon always override the ArcheryMaxDist and ArcheryMinDist.<br />
All weapons comes with the range attribute already set in their item definition...!</span><br />
</span><span style="color: #000000;">I checked all of the ‘standard’ bows and ranged weaponry and changed them just to see what happens and... still the same, so how do I go about giving bows and crossbows ranges beyond the standard 10 or so squares.</span>]]></description>
			<content:encoded><![CDATA[How do I go about changing the range for various ‘special’ bows?<br />
<br />
I’ve tried changing the ranges in sphere.ini and added ranges to the items themselves, but whatever I do, it seems I can’t shoot further than about 10 squares!<br />
<br />
I’ve trawled through a lot of threads and found a similar query from a couple of years ago and the answer was cryptic (to me at least!)...<br />
<span style="color: #9400D3;">’... <span style="font-style: italic;">2RE: Archery max distance <br />
The Range attribute of an archery weapon always override the ArcheryMaxDist and ArcheryMinDist.<br />
All weapons comes with the range attribute already set in their item definition...!</span><br />
</span><span style="color: #000000;">I checked all of the ‘standard’ bows and ranged weaponry and changed them just to see what happens and... still the same, so how do I go about giving bows and crossbows ranges beyond the standard 10 or so squares.</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Horse mount]]></title>
			<link>https://forum.spherecommunity.net/Thread-Horse-mount</link>
			<pubDate>Mon, 01 Mar 2021 17:07:52 +0100</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Horse-mount</guid>
			<description><![CDATA[Hello friends <img src="images/smilies/bye.gif" style="vertical-align: middle;" border="0" alt="Bye" title="Bye" /><br />
In this way, the horse is taken as an item, so when the staff double clicks, it gets on it<br />
But when the player double-clicks, the horse comes out like a pentegram. <img src="images/smilies/ranting.gif" style="vertical-align: middle;" border="0" alt="Ranting" title="Ranting" /><br />
I want the player to board when double clicks <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[itemdef i_mt_halktan] <br />
name Halkin Binegi<br />
id i_pet_horse_brown_dk<br />
type t_script <br />
layer 25<br />
tdata3 c_halktan<br />
<br />
On=@Create <br />
color 2061<br />
attr 14<br />
<br />
On=@DClick <br />
if !((&lt;src.body&gt; == c_man) || (&lt;src.body&gt; == c_woman) || (&lt;src.body&gt; == c_man_gm))<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage once insan olki buna binebilesin yezid!<br />
else<br />
src.Events +e_halktan<br />
src.newnpc c_halktan<br />
src.new.p &lt;src.p&gt;<br />
src.new.color &lt;color&gt;<br />
src.new.hits 100<br />
src.new.mount<br />
remove<br />
Return 1<br />
endif<br />
<br />
On=@PickUp_Ground<br />
return 1</code></div></div>
@PickUp_Ground Why doesn't it work?<br />
<br /><img src="images/attachtypes/image.png" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=486" target="_blank">Adsız2.png</a> (Size: 482.91 KB / Downloads: 16)
]]></description>
			<content:encoded><![CDATA[Hello friends <img src="images/smilies/bye.gif" style="vertical-align: middle;" border="0" alt="Bye" title="Bye" /><br />
In this way, the horse is taken as an item, so when the staff double clicks, it gets on it<br />
But when the player double-clicks, the horse comes out like a pentegram. <img src="images/smilies/ranting.gif" style="vertical-align: middle;" border="0" alt="Ranting" title="Ranting" /><br />
I want the player to board when double clicks <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[itemdef i_mt_halktan] <br />
name Halkin Binegi<br />
id i_pet_horse_brown_dk<br />
type t_script <br />
layer 25<br />
tdata3 c_halktan<br />
<br />
On=@Create <br />
color 2061<br />
attr 14<br />
<br />
On=@DClick <br />
if !((&lt;src.body&gt; == c_man) || (&lt;src.body&gt; == c_woman) || (&lt;src.body&gt; == c_man_gm))<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.sysmessage once insan olki buna binebilesin yezid!<br />
else<br />
src.Events +e_halktan<br />
src.newnpc c_halktan<br />
src.new.p &lt;src.p&gt;<br />
src.new.color &lt;color&gt;<br />
src.new.hits 100<br />
src.new.mount<br />
remove<br />
Return 1<br />
endif<br />
<br />
On=@PickUp_Ground<br />
return 1</code></div></div>
@PickUp_Ground Why doesn't it work?<br />
<br /><img src="images/attachtypes/image.png" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=486" target="_blank">Adsız2.png</a> (Size: 482.91 KB / Downloads: 16)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Simple Newbie Scripter doubts]]></title>
			<link>https://forum.spherecommunity.net/Thread-Simple-Newbie-Scripter-doubts--6859</link>
			<pubDate>Sun, 28 Feb 2021 18:15:22 +0100</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Simple-Newbie-Scripter-doubts--6859</guid>
			<description><![CDATA[Hello everyone, I am new in spherescripting and I want to learn more, with you guys if possible.<br />
So, how can I set an infinite amount for one object?<br />
Another question is, how make consumable thing with one object?<br />
For example that wand that sets flamestrikes... I want to make that consumes<br />
flamestrike scroll in the bag.<br />
I want to make for GM (just for learning and for fun) one infinite flamestrike wand like that on spherewiki example.<br />
So, I have to make one infinite amount flamestrike scroll first? or have another way??<br />
<br />
If possible help me please?? Thanks!! o/]]></description>
			<content:encoded><![CDATA[Hello everyone, I am new in spherescripting and I want to learn more, with you guys if possible.<br />
So, how can I set an infinite amount for one object?<br />
Another question is, how make consumable thing with one object?<br />
For example that wand that sets flamestrikes... I want to make that consumes<br />
flamestrike scroll in the bag.<br />
I want to make for GM (just for learning and for fun) one infinite flamestrike wand like that on spherewiki example.<br />
So, I have to make one infinite amount flamestrike scroll first? or have another way??<br />
<br />
If possible help me please?? Thanks!! o/]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help needed to finish a farming script]]></title>
			<link>https://forum.spherecommunity.net/Thread-Help-needed-to-finish-a-farming-script</link>
			<pubDate>Mon, 14 Dec 2020 17:27:18 +0100</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Help-needed-to-finish-a-farming-script</guid>
			<description><![CDATA[Hello everyone <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
20 years ago, I was co-admin with a friend on a very small server during 2 years.<br />
At that time, it was out of the question for me to put my nose in the scripts, I preferred to draw the graphics of the game (because girls prefer drawing dresses <img src="images/smilies/lol.gif" style="vertical-align: middle;" border="0" alt="Lol" title="Lol" /> )<br />
3 years ago, I found the files of the server, and I decided to finish what we had barely sketched, and start again this project alone.<br />
<br />
In other words, I am a very newbie and bad script writer, but I try to do my best to understand and learn. And my english is not very good too <img src="images/smilies/blush.gif" style="vertical-align: middle;" border="0" alt="Blush" title="Blush" /><br />
<br />
I usually read the wiki and the scripts posted on the forum, and try to adapt what I find to what I want to do. The result is not always very clean and would make a lot of you laugh, and I always have a lot of difficulty to find the good syntax.<br />
<br />
The script below is a very simple farming script that works well (I'm proud!).<br />
But I would like to expand it to get this:<br />
- the plant disappears after 7 days of use (for example) or after a number of uses.<br />
- the player has a 1/3 chance of obtaining a seed when picking.<br />
<br />
I have no idea how doing it, so I need help, but the script and the explanation must be easy to understand for me.<br />
I think I ask a lot <img src="images/smilies/happy.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /><br />
<br />
For the moment I'm still on Sphere 56b. I prefer waiting to be a little more sure of what I'm doing before changing for 56d. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[ITEMDEF i_mem_plante]<br />
ID=i_memory<br />
TYPE=t_eq_script<br />
NAME=Timer plante [Ne pas supprimer]<br />
<br />
ON=@create<br />
attr=attr_newbie<br />
<br />
on=@timer<br />
cont.newitem &lt;tag.typePlante&gt;<br />
cont.act.p &lt;tag.Plante&gt;<br />
remove<br />
return 1</code></div></div>
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>//****************************** Oignons blancs<br />
//-------------- Graine oignon blanc<br />
[ITEMDEF i_graine_oignon_blanc]<br />
DEFNAME=i_graine_oignon_blanc<br />
ID=08d7<br />
TYPE=t_script<br />
NAME=graines d'oignon blancs<br />
VALUE=103<br />
<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc graines<br />
<br />
On=@DClick<br />
&nbsp;&nbsp;&nbsp;&nbsp;TARGET Ou voulez vous planter cette graine ?<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@Targon_Char<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous devez planter cette graine dans une terre labouree !<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@TargOn_Ground<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous devez planter cette graine dans une terre labouree, sinon la graine ne poussera jamais.<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@Targon_Item<br />
&nbsp;&nbsp;&nbsp;&nbsp;IF &lt;SRC.TARG.TYPE&gt;==t_dirt<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.NEWITEM=i_oignon_blanc_mur // si je mets le crop, tout disparait a la fin du timer.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.ACT.P=&lt;SRC.TARG.P&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.act.nudgeup=1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous plantez la graine dans la terre meuble.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REMOVE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;ELSE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous ne pouvez pas planter cette graine ici.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;ENDIF<br />
<br />
//-------------- Pousse oignon blanc<br />
[ITEMDEF i_crop_oignon_blanc]<br />
DEFNAME=i_crop_oignon_blanc<br />
ID=0c68<br />
NAME=pousse d'oignons blancs<br />
TYPE=t_eq_script<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc pousse<br />
ON=@Create<br />
attr=010<br />
Timer=60*60*21<br />
<br />
ON=@Dclick<br />
Src.message Il n'y a rien a ceuillir pour l'instant.<br />
Return 1<br />
<br />
ON=@Timer<br />
Remove<br />
Return 1<br />
<br />
//-------------- oignon blanc mur<br />
[ITEMDEF i_oignon_blanc_mur]<br />
DEFNAME=i_oignon_blanc_mur<br />
ID=0c6f<br />
NAME=oignons blancs<br />
TYPE=t_eq_script<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc mur<br />
ON=@Create<br />
attr=010<br />
<br />
ON=@Dclick<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.message Vous recoltez des oignons blancs.<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_fruit_oignon_blanc<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.amount 6<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.bounce<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_crop_oignon_blanc<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.p &lt;p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_mem_plante<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.tag.Plante &lt;p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.tag.typePlante i_oignon_blanc_mur<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.equip<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.timer 60*60*21<br />
&nbsp;&nbsp;&nbsp;&nbsp;remove<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
<br />
//-------------- fruit oignons blancs<br />
[ITEMDEF 0c6d]<br />
DEFNAME=i_fruit_oignon_blanc<br />
NAME=oignon%s blanc%s<br />
TYPE=t_fruit<br />
TDATA1=0<br />
FLIP=1<br />
VALUE=1<br />
WEIGHT=0.1<br />
RESOURCES=1 i_crop_oignon_blanc<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc fruit<br />
DUPELIST=0c6e<br />
ON=@Create<br />
&nbsp;&nbsp; MOREM=1<br />
<br />
[ITEMDEF 0c6e]<br />
//onion<br />
DUPEITEM=0c6d</code></div></div>
]]></description>
			<content:encoded><![CDATA[Hello everyone <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
20 years ago, I was co-admin with a friend on a very small server during 2 years.<br />
At that time, it was out of the question for me to put my nose in the scripts, I preferred to draw the graphics of the game (because girls prefer drawing dresses <img src="images/smilies/lol.gif" style="vertical-align: middle;" border="0" alt="Lol" title="Lol" /> )<br />
3 years ago, I found the files of the server, and I decided to finish what we had barely sketched, and start again this project alone.<br />
<br />
In other words, I am a very newbie and bad script writer, but I try to do my best to understand and learn. And my english is not very good too <img src="images/smilies/blush.gif" style="vertical-align: middle;" border="0" alt="Blush" title="Blush" /><br />
<br />
I usually read the wiki and the scripts posted on the forum, and try to adapt what I find to what I want to do. The result is not always very clean and would make a lot of you laugh, and I always have a lot of difficulty to find the good syntax.<br />
<br />
The script below is a very simple farming script that works well (I'm proud!).<br />
But I would like to expand it to get this:<br />
- the plant disappears after 7 days of use (for example) or after a number of uses.<br />
- the player has a 1/3 chance of obtaining a seed when picking.<br />
<br />
I have no idea how doing it, so I need help, but the script and the explanation must be easy to understand for me.<br />
I think I ask a lot <img src="images/smilies/happy.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /><br />
<br />
For the moment I'm still on Sphere 56b. I prefer waiting to be a little more sure of what I'm doing before changing for 56d. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[ITEMDEF i_mem_plante]<br />
ID=i_memory<br />
TYPE=t_eq_script<br />
NAME=Timer plante [Ne pas supprimer]<br />
<br />
ON=@create<br />
attr=attr_newbie<br />
<br />
on=@timer<br />
cont.newitem &lt;tag.typePlante&gt;<br />
cont.act.p &lt;tag.Plante&gt;<br />
remove<br />
return 1</code></div></div>
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>//****************************** Oignons blancs<br />
//-------------- Graine oignon blanc<br />
[ITEMDEF i_graine_oignon_blanc]<br />
DEFNAME=i_graine_oignon_blanc<br />
ID=08d7<br />
TYPE=t_script<br />
NAME=graines d'oignon blancs<br />
VALUE=103<br />
<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc graines<br />
<br />
On=@DClick<br />
&nbsp;&nbsp;&nbsp;&nbsp;TARGET Ou voulez vous planter cette graine ?<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@Targon_Char<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous devez planter cette graine dans une terre labouree !<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@TargOn_Ground<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous devez planter cette graine dans une terre labouree, sinon la graine ne poussera jamais.<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
On=@Targon_Item<br />
&nbsp;&nbsp;&nbsp;&nbsp;IF &lt;SRC.TARG.TYPE&gt;==t_dirt<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.NEWITEM=i_oignon_blanc_mur // si je mets le crop, tout disparait a la fin du timer.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.ACT.P=&lt;SRC.TARG.P&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.act.nudgeup=1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous plantez la graine dans la terre meuble.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REMOVE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;ELSE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SRC.MESSAGE Vous ne pouvez pas planter cette graine ici.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;ENDIF<br />
<br />
//-------------- Pousse oignon blanc<br />
[ITEMDEF i_crop_oignon_blanc]<br />
DEFNAME=i_crop_oignon_blanc<br />
ID=0c68<br />
NAME=pousse d'oignons blancs<br />
TYPE=t_eq_script<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc pousse<br />
ON=@Create<br />
attr=010<br />
Timer=60*60*21<br />
<br />
ON=@Dclick<br />
Src.message Il n'y a rien a ceuillir pour l'instant.<br />
Return 1<br />
<br />
ON=@Timer<br />
Remove<br />
Return 1<br />
<br />
//-------------- oignon blanc mur<br />
[ITEMDEF i_oignon_blanc_mur]<br />
DEFNAME=i_oignon_blanc_mur<br />
ID=0c6f<br />
NAME=oignons blancs<br />
TYPE=t_eq_script<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc mur<br />
ON=@Create<br />
attr=010<br />
<br />
ON=@Dclick<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.message Vous recoltez des oignons blancs.<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_fruit_oignon_blanc<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.amount 6<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.bounce<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_crop_oignon_blanc<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.p &lt;p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.newitem i_mem_plante<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.tag.Plante &lt;p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.tag.typePlante i_oignon_blanc_mur<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.equip<br />
&nbsp;&nbsp;&nbsp;&nbsp;src.act.timer 60*60*21<br />
&nbsp;&nbsp;&nbsp;&nbsp;remove<br />
&nbsp;&nbsp;&nbsp;&nbsp;Return 1<br />
<br />
//-------------- fruit oignons blancs<br />
[ITEMDEF 0c6d]<br />
DEFNAME=i_fruit_oignon_blanc<br />
NAME=oignon%s blanc%s<br />
TYPE=t_fruit<br />
TDATA1=0<br />
FLIP=1<br />
VALUE=1<br />
WEIGHT=0.1<br />
RESOURCES=1 i_crop_oignon_blanc<br />
CATEGORY=Metiers<br />
SUBSECTION=Cultures legumes<br />
DESCRIPTION=Oignon blanc fruit<br />
DUPELIST=0c6e<br />
ON=@Create<br />
&nbsp;&nbsp; MOREM=1<br />
<br />
[ITEMDEF 0c6e]<br />
//onion<br />
DUPEITEM=0c6d</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Sprint event mass teleport needed]]></title>
			<link>https://forum.spherecommunity.net/Thread-Sprint-event-mass-teleport-needed</link>
			<pubDate>Sun, 20 Sep 2020 20:04:29 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Sprint-event-mass-teleport-needed</guid>
			<description><![CDATA[Hello, I have sprint event, Point - A = start pad , Point - B = finish pad<br />
4 players gets unstoned while standing on point A , first player of thous 4 that steps on point B gets prize and triggers teleport for all thous 4 players out of event(including himself) Problem is i dont know how to do it. Can anyone please help me with this?<br />
<br />
<div class="codeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Point&nbsp;A<br />//more&nbsp;&nbsp;=&nbsp;4&nbsp;&nbsp;amount&nbsp;of&nbsp;players<br />//more2&nbsp;=&nbsp;1&nbsp;locked&nbsp;start<br /><br /></span><span style="color: #0000BB">ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br />&nbsp;&nbsp;more&nbsp;</span><span style="color: #007700">-=&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;&lt;</span><span style="color: #0000BB">more</span><span style="color: #007700">&gt;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;&nbsp;&nbsp;more2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;</span><span style="color: #007700">endif<br />&nbsp;&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">go&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">morep</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">stone&nbsp;0<br />&nbsp;&nbsp;src</span><span style="color: #007700">.</span><span style="color: #0000BB">move&nbsp;0</span><span style="color: #007700">,-&lt;</span><span style="color: #0000BB">more</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">tag</span><span style="color: #007700">.</span><span style="color: #0000BB">char_</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">dmore</span><span style="color: #007700">&gt;&nbsp;=&nbsp;&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1<br /><br /></span><span style="color: #FF8000">//Point&nbsp;B<br /></span><span style="color: #0000BB">ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;</span><span style="color: #0000BB">4&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ref2&nbsp;</span><span style="color: #007700">=&nbsp;&lt;</span><span style="color: #0000BB">uid</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">ref1</span><span style="color: #007700">.</span><span style="color: #0000BB">tag0</span><span style="color: #007700">.</span><span style="color: #0000BB">start_pad</span><span style="color: #007700">&gt;.</span><span style="color: #0000BB">tag0</span><span style="color: #007700">.</span><span style="color: #0000BB">char_</span><span style="color: #007700">&lt;eval&nbsp;&lt;</span><span style="color: #0000BB">local</span><span style="color: #007700">.</span><span style="color: #0000BB">_for</span><span style="color: #007700">&gt;&nbsp;+-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">&gt;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;&nbsp;!=&nbsp;&lt;</span><span style="color: #0000BB">ref2</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ref2</span><span style="color: #007700">.</span><span style="color: #0000BB">go&nbsp;</span><span style="color: #FF8000">//XXXX,XXXX,XX<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">endif<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;endfor<br />&nbsp;&nbsp;&nbsp;&nbsp;endif&nbsp;<br /></span></code></div></div></div>
<br />
Have set point A uid on point B but it doesnt work.]]></description>
			<content:encoded><![CDATA[Hello, I have sprint event, Point - A = start pad , Point - B = finish pad<br />
4 players gets unstoned while standing on point A , first player of thous 4 that steps on point B gets prize and triggers teleport for all thous 4 players out of event(including himself) Problem is i dont know how to do it. Can anyone please help me with this?<br />
<br />
<div class="codeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Point&nbsp;A<br />//more&nbsp;&nbsp;=&nbsp;4&nbsp;&nbsp;amount&nbsp;of&nbsp;players<br />//more2&nbsp;=&nbsp;1&nbsp;locked&nbsp;start<br /><br /></span><span style="color: #0000BB">ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br />&nbsp;&nbsp;more&nbsp;</span><span style="color: #007700">-=&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;&lt;</span><span style="color: #0000BB">more</span><span style="color: #007700">&gt;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;&nbsp;&nbsp;more2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1<br />&nbsp;&nbsp;</span><span style="color: #007700">endif<br />&nbsp;&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">go&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">morep</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">stone&nbsp;0<br />&nbsp;&nbsp;src</span><span style="color: #007700">.</span><span style="color: #0000BB">move&nbsp;0</span><span style="color: #007700">,-&lt;</span><span style="color: #0000BB">more</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">tag</span><span style="color: #007700">.</span><span style="color: #0000BB">char_</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">dmore</span><span style="color: #007700">&gt;&nbsp;=&nbsp;&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1<br /><br /></span><span style="color: #FF8000">//Point&nbsp;B<br /></span><span style="color: #0000BB">ON</span><span style="color: #007700">=@</span><span style="color: #0000BB">Step<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;</span><span style="color: #0000BB">4&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ref2&nbsp;</span><span style="color: #007700">=&nbsp;&lt;</span><span style="color: #0000BB">uid</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">ref1</span><span style="color: #007700">.</span><span style="color: #0000BB">tag0</span><span style="color: #007700">.</span><span style="color: #0000BB">start_pad</span><span style="color: #007700">&gt;.</span><span style="color: #0000BB">tag0</span><span style="color: #007700">.</span><span style="color: #0000BB">char_</span><span style="color: #007700">&lt;eval&nbsp;&lt;</span><span style="color: #0000BB">local</span><span style="color: #007700">.</span><span style="color: #0000BB">_for</span><span style="color: #007700">&gt;&nbsp;+-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">&gt;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;&lt;</span><span style="color: #0000BB">src</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;&nbsp;!=&nbsp;&lt;</span><span style="color: #0000BB">ref2</span><span style="color: #007700">.</span><span style="color: #0000BB">uid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ref2</span><span style="color: #007700">.</span><span style="color: #0000BB">go&nbsp;</span><span style="color: #FF8000">//XXXX,XXXX,XX<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">endif<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;endfor<br />&nbsp;&nbsp;&nbsp;&nbsp;endif&nbsp;<br /></span></code></div></div></div>
<br />
Have set point A uid on point B but it doesnt work.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Custom Bufficon for potion cooldown?]]></title>
			<link>https://forum.spherecommunity.net/Thread-Custom-Bufficon-for-potion-cooldown</link>
			<pubDate>Thu, 30 Jul 2020 23:39:57 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Custom-Bufficon-for-potion-cooldown</guid>
			<description><![CDATA[Hello all,<br />
<br />
I'm trying to find way to add bufficon to show cooldown when someone uses potions. I know how to add custom bufficon and remove it, however couldn't figure out how to do that when someone drinks a potion. <br />
<br />
I tried adding a memory under [typedef t_potion] however player still gets hardcoded memory item (i_handr_1) too. <br />
<br />
Is there a way to do this?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Hello all,<br />
<br />
I'm trying to find way to add bufficon to show cooldown when someone uses potions. I know how to add custom bufficon and remove it, however couldn't figure out how to do that when someone drinks a potion. <br />
<br />
I tried adding a memory under [typedef t_potion] however player still gets hardcoded memory item (i_handr_1) too. <br />
<br />
Is there a way to do this?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Compare and addictions 2 tag value]]></title>
			<link>https://forum.spherecommunity.net/Thread-Compare-and-addictions-2-tag-value</link>
			<pubDate>Fri, 15 May 2020 17:31:27 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Compare-and-addictions-2-tag-value</guid>
			<description><![CDATA[Hello,<br />
i'm wondering if is possibile to addiction 2 tag value from two player.<br />
I have my build in exp system in which i use tag.levelup for store player level.<br />
Now i wan't to create personal party system in which the system takes the level from the party members and divides for the numer of them (es a player level 8 and 1 level 4 makes a party and the average level is 6)<br />
 But i don't know how to add player1.tag.levelup + player 2.tag.levelup<br />
i always have 012ff5.tag.levelup + 49aa11.tag.levelup   (their id, i presume)<br />
<br />
<br />
(sorry for eng, i don't speak it very often)]]></description>
			<content:encoded><![CDATA[Hello,<br />
i'm wondering if is possibile to addiction 2 tag value from two player.<br />
I have my build in exp system in which i use tag.levelup for store player level.<br />
Now i wan't to create personal party system in which the system takes the level from the party members and divides for the numer of them (es a player level 8 and 1 level 4 makes a party and the average level is 6)<br />
 But i don't know how to add player1.tag.levelup + player 2.tag.levelup<br />
i always have 012ff5.tag.levelup + 49aa11.tag.levelup   (their id, i presume)<br />
<br />
<br />
(sorry for eng, i don't speak it very often)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Gate problem]]></title>
			<link>https://forum.spherecommunity.net/Thread-Gate-problem</link>
			<pubDate>Sat, 25 Apr 2020 12:52:31 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Gate-problem</guid>
			<description><![CDATA[I do not know why when a time passes (or a number of trips) the portal stops working. He tried 2 methods and it happens to me with the same. Why does the portal stop working?<br />
<br />
My script:<br />
<br />
<br />
[ITEMDEF i_portalportales] <br />
ID=0DDA <br />
NAME=Sala de Portales<br />
type=t_telepad<br />
<br />
on=@create <br />
color=00ba7<br />
morep=6068,1619<br />
attr=02010<br />
<br />
<br />
<br />
<br />
Other script:<br />
<br />
[ITEMDEF i_portalportales] <br />
ID=0DDA <br />
NAME=Sala de Portales<br />
type=t_telepad<br />
<br />
on=@create <br />
color=00ba7<br />
attr=02010<br />
<br />
ON=@STEP <br />
SRC.GO=6068,1619<br />
<br />
<br />
Thanks you]]></description>
			<content:encoded><![CDATA[I do not know why when a time passes (or a number of trips) the portal stops working. He tried 2 methods and it happens to me with the same. Why does the portal stop working?<br />
<br />
My script:<br />
<br />
<br />
[ITEMDEF i_portalportales] <br />
ID=0DDA <br />
NAME=Sala de Portales<br />
type=t_telepad<br />
<br />
on=@create <br />
color=00ba7<br />
morep=6068,1619<br />
attr=02010<br />
<br />
<br />
<br />
<br />
Other script:<br />
<br />
[ITEMDEF i_portalportales] <br />
ID=0DDA <br />
NAME=Sala de Portales<br />
type=t_telepad<br />
<br />
on=@create <br />
color=00ba7<br />
attr=02010<br />
<br />
ON=@STEP <br />
SRC.GO=6068,1619<br />
<br />
<br />
Thanks you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help with Mute casting spell]]></title>
			<link>https://forum.spherecommunity.net/Thread-Help-with-Mute-casting-spell</link>
			<pubDate>Sat, 25 Apr 2020 02:59:50 +0200</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Help-with-Mute-casting-spell</guid>
			<description><![CDATA[Hi fliends.<br />
<br />
First of all, sorry for my painful English.<br />
<br />
I've been trying to muted the players while they are casting spell to prevent them from covering the name of the spell they are casting and I can't find the solution. Someone help me?<br />
<br />
Sphere version 56b<br />
<br />
Thank!]]></description>
			<content:encoded><![CDATA[Hi fliends.<br />
<br />
First of all, sorry for my painful English.<br />
<br />
I've been trying to muted the players while they are casting spell to prevent them from covering the name of the spell they are casting and I can't find the solution. Someone help me?<br />
<br />
Sphere version 56b<br />
<br />
Thank!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Stealth - disable running]]></title>
			<link>https://forum.spherecommunity.net/Thread-Stealth-disable-running</link>
			<pubDate>Sun, 09 Feb 2020 23:59:37 +0100</pubDate>
			<guid isPermaLink="false">https://forum.spherecommunity.net/Thread-Stealth-disable-running</guid>
			<description><![CDATA[Hi, <br />
<br />
is it able to disable running while player is in stealth ? I mean if he starts to run in stealth, it will reveal him. Player should move in stealth only slowly (so only walking). <br />
<br />
Thanks<br />
<br />
My code in hiding and stealth: <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SKILL 21]<br />
DEFNAME=Skill_Hiding<br />
KEY=Hiding<br />
TITLE=Shade<br />
PROMPT_MSG=<br />
EFFECT=10<br />
DELAY=3.0,1.5<br />
STAT_STR=0<br />
STAT_INT=0<br />
STAT_DEX=0<br />
BONUS_STR=0<br />
BONUS_DEX=0<br />
BONUS_INT=0<br />
BONUS_STATS=0<br />
ADV_RATE=0<br />
<br />
ON=@Fail<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE You can't seem to hide here.<br />
<br />
On=@Success<br />
if !(STRCMPI(&lt;tag.class&gt;,thief))<br />
tag.can_backstab=&lt;eval &lt;serv.time&gt; +&lt;var.backstab_timer&gt;*10&gt;<br />
endif<br />
if (&lt;stealth&gt;&lt;510)<br />
local.steps=&lt;eval &lt;stealth&gt;/250&gt;<br />
stepstealth=&lt;eval 1+{0 &lt;dlocal.steps&gt;}&gt;<br />
else<br />
float.Steps=&lt;floatval (&lt;stealth&gt;/100)-0.5&gt;<br />
float.Steps2=&lt;floatval 91@&lt;float.steps&gt;&gt;<br />
local.steps=&lt;floattolocal &lt;float.steps2&gt;&gt;<br />
stepstealth=&lt;eval 1+{&lt;local.steps&gt; &lt;eval &lt;local.steps&gt;*2&gt;}&gt;<br />
endif<br />
sysmessage Number of steps :&lt;eval &lt;stepstealth&gt;-1&gt;<br />
<br />
<br />
ON=@Abort<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE You stop trying to hide.</code></div></div>
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SKILL 47]<br />
DEFNAME=SKILL_STEALTH<br />
KEY=Stealth<br />
TITLE=Rogue<br />
PROMPT_MSG=<br />
DELAY=2.5<br />
STAT_STR=0<br />
STAT_INT=0<br />
STAT_DEX=0<br />
BONUS_STR=0<br />
BONUS_DEX=0<br />
BONUS_INT=0<br />
BONUS_STATS=0<br />
ADV_RATE=0<br />
<br />
on=@Start<br />
skill hiding<br />
return 1</code></div></div>
]]></description>
			<content:encoded><![CDATA[Hi, <br />
<br />
is it able to disable running while player is in stealth ? I mean if he starts to run in stealth, it will reveal him. Player should move in stealth only slowly (so only walking). <br />
<br />
Thanks<br />
<br />
My code in hiding and stealth: <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SKILL 21]<br />
DEFNAME=Skill_Hiding<br />
KEY=Hiding<br />
TITLE=Shade<br />
PROMPT_MSG=<br />
EFFECT=10<br />
DELAY=3.0,1.5<br />
STAT_STR=0<br />
STAT_INT=0<br />
STAT_DEX=0<br />
BONUS_STR=0<br />
BONUS_DEX=0<br />
BONUS_INT=0<br />
BONUS_STATS=0<br />
ADV_RATE=0<br />
<br />
ON=@Fail<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE You can't seem to hide here.<br />
<br />
On=@Success<br />
if !(STRCMPI(&lt;tag.class&gt;,thief))<br />
tag.can_backstab=&lt;eval &lt;serv.time&gt; +&lt;var.backstab_timer&gt;*10&gt;<br />
endif<br />
if (&lt;stealth&gt;&lt;510)<br />
local.steps=&lt;eval &lt;stealth&gt;/250&gt;<br />
stepstealth=&lt;eval 1+{0 &lt;dlocal.steps&gt;}&gt;<br />
else<br />
float.Steps=&lt;floatval (&lt;stealth&gt;/100)-0.5&gt;<br />
float.Steps2=&lt;floatval 91@&lt;float.steps&gt;&gt;<br />
local.steps=&lt;floattolocal &lt;float.steps2&gt;&gt;<br />
stepstealth=&lt;eval 1+{&lt;local.steps&gt; &lt;eval &lt;local.steps&gt;*2&gt;}&gt;<br />
endif<br />
sysmessage Number of steps :&lt;eval &lt;stepstealth&gt;-1&gt;<br />
<br />
<br />
ON=@Abort<br />
&nbsp;&nbsp;&nbsp;&nbsp;SRC.SYSMESSAGE You stop trying to hide.</code></div></div>
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[SKILL 47]<br />
DEFNAME=SKILL_STEALTH<br />
KEY=Stealth<br />
TITLE=Rogue<br />
PROMPT_MSG=<br />
DELAY=2.5<br />
STAT_STR=0<br />
STAT_INT=0<br />
STAT_DEX=0<br />
BONUS_STR=0<br />
BONUS_DEX=0<br />
BONUS_INT=0<br />
BONUS_STATS=0<br />
ADV_RATE=0<br />
<br />
on=@Start<br />
skill hiding<br />
return 1</code></div></div>
]]></content:encoded>
		</item>
	</channel>
</rss>