Want to know how to Edit NPC source 5525 , and how to Edit EXPRate

12/20/2011 12:58 DeviLScreaM#1
Want to know how to Edit NPC source 5525 , and how to Edit EXPRate
which thing i must edit ? and i will edit it by my self ,
or tell me how to edit it ,
thanks ,
sorry for bad English .
12/20/2011 13:18 F i n c h i#2
Search for the NPC dialog codes same with EXP rates using C#.
12/20/2011 13:24 DeviLScreaM#3
Quote:
Originally Posted by F i n c h i View Post
Search for the NPC dialog codes same with EXP rates using C#.
i'v open NPCS.cs and edit the dialog and when i restart the server no thing changed ,
for the exprate i dont know what is the table for it , how to edit ,,,,

thanks for replaying ,
12/20/2011 13:30 F i n c h i#4
Quote:
Originally Posted by DeviLScreaM View Post
i'v open NPCS.cs and edit the dialog and when i restart the server no thing changed ,
for the exprate i dont know what is the table for it , how to edit ,,,,

thanks for replaying ,
When you modify something in C#, press F5 to built & debug.
About rates, it should be in Navicat, configuration table.
12/20/2011 13:40 DeviLScreaM#5
Quote:
Originally Posted by F i n c h i View Post
When you modify something in C#, press F5 to built & debug.
About rates, it should be in Navicat, configuration table.
No thing happen , same error when i log no thing change for the NPC , !
12/20/2011 16:23 BaussHacker#6
It's because of the font you use.

..

No for real. Open your C# Project, not just the file.
12/20/2011 17:00 DeviLScreaM#7
Quote:
Originally Posted by BaussHacker View Post
It's because of the font you use.

..

No for real. Open your C# Project, not just the file.
i try , no thing trust me , and i will change the font lol
:handsdown:
12/20/2011 21:58 2slam#8
open the main source file change whatever u want , press f6 then f5
12/20/2011 22:33 DeviLScreaM#9
Quote:
Originally Posted by 2slam View Post
open the main source file change whatever u want , press f6 then f5

okay thanks , tell me if i want to make an monster drop cps , can you give me the code?
12/20/2011 23:55 pro4never#10
Go to where your source handles monsters being killed, check the monster name/type (depending on if you want certain monsters to drop cps or all monsters to) and then check if the killer was a player, if it was give them cps and possibly send them a message saying how much cp they gained and for what.

There's PLENTY of examples out there rofl.
12/21/2011 00:49 BaussHacker#11
Quote:
Originally Posted by 2slam View Post
open the main source file change whatever u want , press f6 then f5
He just needs to pull one or the other.

F5 will build and debug.
F6 will just build.
12/21/2011 03:38 DeviLScreaM#12
i opend MonsterTable.cs , but i searched for Reddevils , i didn't find them , should i add it and then add the amount of cps , like this code



PHP Code:
            #region RedDevil Cps Drop
            
if (Name == "RedDevil ")
            {
                if (
killer.Name.Contains("Guard"))
                {
                    return;
                }

                
killer.ConquerPoints += 10;
                
killer.SubClasses.StudyPoints += 5;
                
killer.Owner.Send(new Network.GamePackets.Message("RedDevil Drop 20 cps and 5 StudyPoint Say Thx For [PM]"System.Drawing.Color.Yellow2005));
            } 
12/21/2011 06:16 2slam#13
Quote:
Originally Posted by DeviLScreaM View Post
i opend MonsterTable.cs , but i searched for Reddevils , i didn't find them , should i add it and then add the amount of cps , like this code



PHP Code:
            #region RedDevil Cps Drop
            
if (Name == "RedDevil ")
            {
                if (
killer.Name.Contains("Guard"))
                {
                    return;
                }

                
killer.ConquerPoints += 10;
                
killer.SubClasses.StudyPoints += 5;
                
killer.Owner.Send(new Network.GamePackets.Message("RedDevil Drop 20 cps and 5 StudyPoint Say Thx For [PM]"System.Drawing.Color.Yellow2005));
            } 
that also give study points remove that line

PHP Code:
 killer.SubClasses.StudyPoints += 5
12/21/2011 16:21 DeviLScreaM#14
Quote:
Originally Posted by 2slam View Post
that also give study points remove that line

PHP Code:
 killer.SubClasses.StudyPoints += 5
it will work fine if i add it right ?
12/21/2011 21:58 2slam#15
Quote:
Originally Posted by DeviLScreaM View Post
it will work fine if i add it right ?
u should change system message for the real amount of cps , that would make red divels only drop cps + 5 study points