Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Guard tower

Newbie Spellweaver
Joined
Jul 10, 2008
Messages
5
Reaction score
0
Guard towers at cz don't seem to deal any dmg but as a matter of fact they actually heal the player instead of damaging him.Tried almost everything but couldn't get it to work.

Anyone knows how to fix this?

Thanks in advance
 
Last edited:
Newbie Spellweaver
Joined
May 3, 2008
Messages
45
Reaction score
0
To make the towers hit harder I went to Magic_type3 and scrolled down almost to the bottom , the iNum is 300251 , 300252, and 300253 , the names are guard towers, go to the column 'First damage' and I set mine to -10000 and people don't seem to base invade anymore xD.

Hope this helped. ;)
 
Newbie Spellweaver
Joined
Jul 10, 2008
Messages
5
Reaction score
0
thanks for the reply.

I did what u say but it still heals the enemy player instead of dmging him,
I think its server side and has nothing to do with tbls. :/
 
Newbie Spellweaver
Joined
Jul 10, 2008
Messages
5
Reaction score
0
I thinks thats the case but im not really sure what the values should be and where do i find the root of the problem.Im so confused with this.Tried like everything.Replaced my DB over and over edited like all the magic tbls which had guard towers inside.

Well i want to know only one thing though:
is it server side or client side?
 
Experienced Elementalist
Joined
Aug 18, 2007
Messages
204
Reaction score
0
I thinks thats the case but im not really sure what the values should be and where do i find the root of the problem.Im so confused with this.Tried like everything.Replaced my DB over and over edited like all the magic tbls which had guard towers inside.

Well i want to know only one thing though:
is it server side or client side?


Server side

Make sure its magic attacks are set like this.


iMagic1 300139
iMagic2 300140
 
Newbie Spellweaver
Joined
May 3, 2008
Messages
45
Reaction score
0
And make sure you put a - minus sign in front of the numbers, that possibly could be causing them to heal if you didn't.
 
Newbie Spellweaver
Joined
Jun 3, 2008
Messages
6
Reaction score
0
Ive got the same problem.

My towers heals isntead of doing any dmg to you.
Very wierd problem.
Ive checked k_monster, k_npc, k_npcpos .. cant locate the problem

Any help is welcome,
Thanks, Xestra.
 
Newbie Spellweaver
Joined
Jul 1, 2008
Messages
42
Reaction score
0
tower damage is SERVER SIDE...-_-

skill_type3 in your database is where you set the tower damage

if you set FirstDamage to 5000, it will HEAL enemies
if you set FirstDamage to -5000, it will HURT enemies

i believe there are 4-5 different guard tower entries (depends on ur db) in magic_type3, change the FirstDamage for all of them.


or just run this query

update magic_type3
set firstdamage = '-5000'
where krname like '%guardtower%'

(im not sure what the column name is coz i cant check it im at work)
go in ur magic_type3 and check which column has the skill names, i think its krname, if not, change it in the query
 
Back
Top