[Release]The Jadeite Quest

07/10/2010 23:51 FrontBoy#1
Hello today i will release my first quest hope you will like it :D
Dont instult and dont flame please cuz this is my first quest
Ok first we need to add the npc in the NPCs.txt
go to C:\OldCODB\ and open NPCs.txt and add this:
5224653 6520 2 0 1002 438 377
5523652 6520 2 0 1036 123 043
Ok now the Npcs are done now open the Project in C# and open NPCDialog.cs
and add this
(This is the first npc)
Now we need to add the npc who will give the Jadeite
Ok now press F5 And then enjoy
Now i will explain how to change coordinates and etc..
ok lets take for example the First Npc

5224653 6520 2 0 1002 438 377

5224653 The Npc id dont change it :D
6520 the npc mech ex ( 1086 , 87 etc...
2 0 :( i dont know whats that
1002 Map id Map where is the Npc ex ( 1002 Twin City , 1036 Market , 1015 Bird City etc..)
438 377 Coordinates Go to some place and see the Coordinates up then whrite them ex . 455 355

Press thanks if helped if you have problems tell me :handsdown:
And if i made some problems with the code or something tell me :D
07/11/2010 01:11 Sp!!ke#2
wtf you dont know how to use
Code:
 &
??
07/11/2010 05:27 minhgoc291293#3
the npc in TC said that "hi i don't talk anything.i'm useful ..." :|
why?
07/11/2010 05:38 Arcо#4
Did you debug?
07/11/2010 06:23 minhgoc291293#5
@.Arco:i'm using ur source [Only registered and activated users can see links. Click Here To Register...] .your source have some error in NPCdialog.cs ( #region Love Stone )
[Only registered and activated users can see links. Click Here To Register...]

Uploaded with [Only registered and activated users can see links. Click Here To Register...]
when i delete this region (Love Stone ), i can do this quest :D
07/11/2010 08:18 Arcо#6
1. Its not my sauce. It's tanel's sauce.
3. Look throughout the thread, I have posted the fix.
07/11/2010 09:36 FrontBoy#7
Quote:
Originally Posted by Tweety.4Girls View Post
wtf you dont know how to use
Code:
 &
??
I dont know like i said im begginer in c#....
07/11/2010 12:12 Sp!!ke#8
LOL, I see that why don't use [code] when you post anything?
07/11/2010 13:21 .Beatz#9
Quote:
Originally Posted by filip100456 View Post
Hello today i will release my first quest hope you will like it :D
Dont instult and dont flame please cuz this is my first quest
Ok first we need to add the npc in the NPCs.txt
go to C:\OldCODB\ and open NPCs.txt and add this:
5224653 6520 2 0 1002 438 377
5523652 6520 2 0 1036 123 043
Ok now the Npcs are done now open the Project in C# and open NPCDialog.cs
and add this
(This is the first npc)
Now we need to add the npc who will give the Jadeite
Ok now press F5 And then enjoy
Now i will explain how to change coordinates and etc..
ok lets take for example the First Npc

5224653 6520 2 0 1002 438 377

5224653 The Npc id dont change it :D
6520 the npc mech ex ( 1086 , 87 etc...
2 0 :( i dont know whats that
1002 Map id Map where is the Npc ex ( 1002 Twin City , 1036 Market , 1015 Bird City etc..)
438 377 Coordinates Go to some place and see the Coordinates up then whrite them ex . 455 355

Press thanks if helped if you have problems tell me :handsdown:
And if i made some problems with the code or something tell me :D

Just a little help here if you are going to do a check on a character then use some && signs.
They would need to go in like this
Code:
if (Control == 0 && GC.MyChar.InventoryContains(710219, 1))
This will clean up the code a little bit make it less messy
07/11/2010 15:47 FrontBoy#10
Quote:
Originally Posted by mattyc2580 View Post
Just a little help here if you are going to do a check on a character then use some && signs.
They would need to go in like this
Code:
if (Control == 0 && GC.MyChar.InventoryContains(710219, 1))
This will clean up the code a little bit make it less messy
Thanks it will be usefull