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

TFS 1.X+ tfs 1.2, change all magDamage is possible?

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
206
Hi! In tfs 0.4 i can change all magDamage in vocations.xml
here:
LUA:
<formula meleeDamage="2.0" distDamage="2.0" wandDamage="2.0" magDamage="2.0" magHealingDamage="2.0" defense="2.0" magDefense="2.0" armor="2.0"/>

but i'm changing to tfs 1.2 and players are giving a very high magic hit, so i look at vocation.xml and doesnt have magDamage, have only this:
LUA:
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

Then there is the doubt, in tfs 1.2 it is possible to change the damage of mag damage without needing to change all scripts of spells?
 
Hi! In tfs 0.4 i can change all magDamage in vocations.xml
here:
LUA:
<formula meleeDamage="2.0" distDamage="2.0" wandDamage="2.0" magDamage="2.0" magHealingDamage="2.0" defense="2.0" magDefense="2.0" armor="2.0"/>

but i'm changing to tfs 1.2 and players are giving a very high magic hit, so i look at vocation.xml and doesnt have magDamage, have only this:
LUA:
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

Then there is the doubt, in tfs 1.2 it is possible to change the damage of mag damage without needing to change all scripts of spells?
Creaturescripts can modify the damage output of a creature (monster, npc or player) that is how you can apply settings that match settings in 0.4.
Specifically onHealthChange
 
Creaturescripts can modify the damage output of a creature (monster, npc or player) that is how you can apply settings that match settings in 0.4.
Specifically onHealthChange
I believe it should not be the best way, this can spend great cpu memory, since it will be used on all monsters and people, with every magic used
 
So nothing then, we aren't running Pentium 1 computers anymore. Even a single core server with 2 gigs of ram can handle a script that manipulates the return values from damage & healing of all creatures.
 
yes, I agree, but then you multiply that by 300/400/500 players online the things are different.
I already had a server with 200 online and I had problems using cpu, because I used a lot of onCombat/onKill and onDeath functions
if you only have your gm online, you will not have problems as ridiculous as your script.
But you should think ahead, when you're not alone online.
I would never solve what I need in the way you suggested, but thanks for your opinion.
 
yes, I agree, but then you multiply that by 300/400/500 players online the things are different.
I already had a server with 200 online and I had problems using cpu, because I used a lot of onCombat/onKill and onDeath functions
if you only have your gm online, you will not have problems as ridiculous as your script.
But you should think ahead, when you're not alone online.
I would never solve what I need in the way you suggested, but thanks for your opinion.
we use those kind of scripts and many other things with 500 players online, maybe you do not have your code optimized enough or you using trashy scripts :p (we also using anti navi scripts related to health change)
 
yes, I agree, but then you multiply that by 300/400/500 players online the things are different.
I already had a server with 200 online and I had problems using cpu, because I used a lot of onCombat/onKill and onDeath functions
if you only have your gm online, you will not have problems as ridiculous as your script.
But you should think ahead, when you're not alone online.
I would never solve what I need in the way you suggested, but thanks for your opinion.
There is a difference between you hosting a server & me hosting a server with 500 players online. I know how to program you don't not to be mean but its the truth. As @StreamSide already said you use everyone else's scripts but I code everything myself.
 
we use those kind of scripts and many other things with 500 players online, maybe you do not have your code optimized enough or you using trashy scripts :p (we also using anti navi scripts related to health change)
my server was from dbo, had more than 100 registered onCombat, so now I always be cautious in everything I do.
I still prefer to implement by source as it is done in version 0.4, where it is changed by vocations.xml
I'm searching and looking for help from anyone who can help, but thx a lot!
 
yes, I agree, but then you multiply that by 300/400/500 players online the things are different.
I already had a server with 200 online and I had problems using cpu, because I used a lot of onCombat/onKill and onDeath functions
if you only have your gm online, you will not have problems as ridiculous as your script.
But you should think ahead, when you're not alone online.
I would never solve what I need in the way you suggested, but thanks for your opinion.
Still shouldnt be a problem if coded right.
 
There is a difference between you hosting a server & me hosting a server with 500 players online. I know how to program you don't not to be mean but its the truth. As @StreamSide already said you use everyone else's scripts but I code everything myself.
and your server is online with 500 players? I doubt that at least you have a server online.
well, we are not here to discuss, the topic is for anyone who can help / give some way
 
my server was from dbo, had more than 100 registered onCombat, so now I always be cautious in everything I do.
I still prefer to implement by source as it is done in version 0.4, where it is changed by vocations.xml
I'm searching and looking for help from anyone who can help, but thx a lot!
also a good start can be reading those 0.4 sources.
@Steve Albert already pointed it out in some post, 0.4 sources are not that different from actual tfs 1.3


and your server is online with 500 players? I doubt that at least you have a server online.
well, we are not here to discuss, the topic is for anyone who can help / give some way
yeah, currently 371 because its late in Europe.
r7HMYhI.png


Maybe you should wash your face before trash talking. You must remember that you are the one asking for help, not me.
 
also a good start can be reading those 0.4 sources.
@Steve Albert already pointed it out in some post, 0.4 sources are not that different from actual tfs 1.3



yeah, currently 371 because its late in Europe.
r7HMYhI.png


Maybe you should wash your face before trash talking. You must remember that you are the one asking for help, not me.
I referred to you? I meant albert.
But you also do not have 500 online, if not help, do not comment on the topic.
I'm asking for help and if it's not for help pick yourself up at your corner.
 
Back
Top