how to set the dmg on gm ??

06/16/2012 01:19 adawe#1
how to set the dmg on gm lower event if the reborn is 200 or higher
i tried it on a temp. char and it became stronger than the gm !!
hows that ? and how to make the dmg on gm ?
06/16/2012 01:39 Kiyono#2
200 reborns? Seriously? Just make them invulnerable instead of giving them 200 reborns.
06/16/2012 01:54 shadowman123#3
Quote:
Originally Posted by adawe View Post
how to set the dmg on gm lower event if the reborn is 200 or higher
i tried it on a temp. char and it became stronger than the gm !!
hows that ? and how to make the dmg on gm ?
if you Are Using Impulse Source then Go To Game/Attacking/Calculate.cs

Add these Line inside Melee , Ranged , Magic

Code:
if (attacked.Owner.Account.State == AccountTable.AccountState.GameMaster 
                || attacked.Owner.Account.State == AccountTable.AccountState.ProjectManager)
            {
                return 1;
            }
06/17/2012 03:17 adawe#4
i use 5095 source and navicat
06/17/2012 04:24 Zeroxelli#5
Depends what 5095 source you're using. But basically, something like
Code:
 if (Client.Char.GM || Client.Char.PM) Damage = 1;
06/17/2012 05:02 shadowman123#6
Quote:
Originally Posted by Zeroxelli View Post
Depends what 5095 source you're using. But basically, something like
Code:
 if (Client.Char.GM || Client.Char.PM) Damage = 1;
Well wanted to ask Does Bins Works on C# ?
06/17/2012 05:06 Zeroxelli#7
Quote:
Originally Posted by shadowman123 View Post
Well wanted to ask Does Bins Works on C# ?
TQ's binaries? No, because their source is not included that I know of. Even if it were, TQ's binaries are coded in C++, not C#
06/17/2012 09:37 adawe#8
i use navicat not c# how to set the dmg on gm lower event if the reborn is 200 or higher
i tried it on a temp. char and it became stronger than the gm !!
hows that ? and how to make the dmg on gm ?
06/17/2012 20:09 Zeroxelli#9
Quote:
Originally Posted by adawe View Post
i use navicat not c# how to set the dmg on gm lower event if the reborn is 200 or higher
i tried it on a temp. char and it became stronger than the gm !!
hows that ? and how to make the dmg on gm ?
I'll say it again, Navicat is NOTHING. All Navicat is, is a GUI based database management program. It has nothing to do with the server itself, it just modifies values saved/loaded by the server. To add/modify/remove anything related to the functionality of the server, you must modify the source code. And in this case, it's the C#, as you call it.