The FB/SS Delay

07/13/2013 09:03 iPwnYa"#1
hello , i got source patch 5679 , i edited the delay for fb/ss on Navicate, magictype(database) and magictype(client) all with 6 ms(delay) , but nothing happens ! still delay like old ( it was 600ms(delay) before ) !!

anyone have a solution or any idea how it can be fix ?!
07/13/2013 09:13 shadowman123#2
This can be handled Through Server .. add the Delay of the Spell in spell database then make it readable using MySql Reader .. then add a check like that

Time32 Now = Time32.Now;
if (Now < Time32.Now.AddMilliSeconds(spell.Delay))
{
send player message telling him that he will have to w8 for Delay Time
Return;
}
else
{
send the players spelluse packet with spellID = Fb skill ID
}

Simple i guess
07/13/2013 09:21 go for it#3
@shadow he was talking about removing the delay and not adding a delay
quoting op
Quote:
i edited the delay for fb/ss on Navicate, magictype(database) and magictype(client) all with 6 ms(delay) , but nothing happens ! still delay like old ( it was 600ms(delay) before ) !!
07/13/2013 09:34 pro4never#4
Many servers don't bother loading or using the delay from the magictype table and instead hard code it to some predetermined value.

Might need to check how spell delays are handled in your server as a first step.
07/13/2013 13:17 nTL3fTy#5
As for the client, I believe you need to edit MagicEffect.ini and change the CoolDown field for FastBlade (10450) and ScentSword (10460) to your desired delay (in milliseconds).
07/17/2013 06:01 iPwnYa"#6
Quote:
Originally Posted by pro4never View Post
Many servers don't bother loading or using the delay from the magictype table and instead hard code it to some predetermined value.

Might need to check how spell delays are handled in your server as a first step.
where i can find or know " how spell delays are handled in my server " ?
or
what if i want the source read the magictype table from the navicate ?!
how can i do that ?, or from where i should start ?

i'm a new C# user , i'm learning so i need someone to tell me "Start from "THIS-PART"" and i will try it by myself :D
07/17/2013 06:26 Super Aids#7
We don't have your source, so we can't really tell you where to start.