Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 01:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



P Server "NPC base code/shops/drop items" for who asked me 2 do it

Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/19/2008, 02:27   #721
 
gerble93's Avatar
 
elite*gold: 40
Join Date: Sep 2006
Posts: 1,890
Received Thanks: 805
it is a 8 already
gerble93 is offline  
Old 06/19/2008, 02:52   #722
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
Quote:
Originally Posted by samehvan View Post
i hope it is that simple , i slept for a while tho , thank you
*
*
now for who want to forbid the PK at Ma and Lotto , follow this

-open sourcePacketHandler.cs
-add this code line 192

Code:
case 1022: //Attack
                    {
                        int kind = (Data[23] << 24) + (Data[22] << 16) + (Data[21] << 8) + (Data[20]);
                        //Console.WriteLine("Packet - Attack request {0}     {1}", PacketId, kind);
                        [COLOR=blue]if (AClient.MyChar.PosMap == 1036 || AClient.MyChar.PosMap == 700)[/COLOR]
[COLOR=blue]                      {[/COLOR]
[COLOR=blue]                          AClient.SendPacket(ThePackets.SendMsg(AClient.MessageId, "SYSTEM", AClient.MyChar.CharName, "This Map is protected .", 2015));[/COLOR]
[COLOR=blue]                          break;[/COLOR]
[COLOR=blue]                      }[/COLOR]
[COLOR=blue]                      else [/COLOR]
                        Msg = new Attack(Data,AClient);
                        break;
                    }
the blue lines are the adds

for the Exp rate , there are 3 edits needed ,
1- worldhandler.cs line 129
Charr.MyClient.MyChar.AddExp(DMG*TheMob.Level/15);

2-Character.cs line 1036
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

3- Character.cs line 1134
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

edit the red color numbers

ummm

i went back a couple pages, and it seems sam posted a "protecting" map code, and it screws up the style in my handler packet, i was wondering if someone, (sam included) can you repost the thingy in the packet?
Light200 is offline  
Old 06/19/2008, 05:53   #723
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
heres what i did with a NPC
Attached Images
File Type: jpg 43923599.jpg (404.9 KB, 77 views)
Light200 is offline  
Old 06/19/2008, 06:16   #724
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by Light200 View Post
heres what i did with a NPC
Hi
How did u put the [GM] or[PM] in ur char names? I tried and don't work
stephanyd is offline  
Old 06/19/2008, 06:27   #725
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
i forgot who i got it from so credit don't go to me, i'm too lazy to explain it my self so...
HOW TO ADD [GM] AND [PM]:
(1) Go To The Character Folder And Find Your Character Name And Rename The .TXT To (Name)[GM] Or (Name)[PM]
(2) Open The .TXT And Add The PM Or Gm To
(3) Go To The Accounts Folder And Open Your Username And And You Will See The Charactername Add That With PM Or GM To And Change The Flag To 8
Light200 is offline  
Old 06/19/2008, 08:49   #726
 
zane203's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 418
Received Thanks: 56
Quote:
Originally Posted by gerble93 View Post
How do you implimate it?


There must be a way


I mean if there are commands you can add more
kinda annoying with the frequent "do this for me" kind of questions
If you want to learn how, simply look at your chat.cs file and use the trial and error method to learn how to implement your own, just remember that flag8=GM
-
And im just here to inform everyone, i'll be taking a small break from working on my online game, and helping teh peeps herez lol.
-
At any rate, i wont be gone no longer than 2 days, just taking a break to work on some other things lol. dont have to much fun wiz outz meh =Þ
zane203 is offline  
Old 06/19/2008, 16:27   #727
 
SweeTFlower's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 113
Received Thanks: 12
Quote:
Originally Posted by zane203 View Post
kinda annoying with the frequent "do this for me" kind of questions
If you want to learn how, simply look at your chat.cs file and use the trial and error method to learn how to implement your own, just remember that flag8=GM
-
And im just here to inform everyone, i'll be taking a small break from working on my online game, and helping teh peeps herez lol.
-
At any rate, i wont be gone no longer than 2 days, just taking a break to work on some other things lol. dont have to much fun wiz outz meh =Þ
awww =( you'll be miss good luck have fun
SweeTFlower is offline  
Old 06/19/2008, 16:54   #728
 
elite*gold: 0
Join Date: Jan 2008
Posts: 56
Received Thanks: 4
hey guys the guild is very great samehvan u did very good work

but i wanted to make a npc to talk it looks like this :

[1061]
face=7
txt0=Hey should i Give you Gm robe ?
opt0=-Dragon-Phoenix-
req=gold,100-gold,100
rew=GMRobe 1 9 7 255 13 13-GMRobe 1 9 7 255 3 3

but when i logging into the server my conquer is freezing on the screen connecting to the account server

i editet this in the file : \Source\bin\Debug\NPCsStuff\Dialog

so anyobdy can help me ? =)
.:Saad:. is offline  
Old 06/19/2008, 17:09   #729
 
SweeTFlower's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 113
Received Thanks: 12
Quote:
Originally Posted by .:Saad:. View Post
hey guys the guild is very great samehvan u did very good work

but i wanted to make a npc to talk it looks like this :

[1061]
face=7
txt0=Hey should i Give you Gm robe ?
opt0=-Dragon-Phoenix-
req=gold,100-gold,100
rew=GMRobe 1 9 7 255 13 13-GMRobe 1 9 7 255 3 3

but when i logging into the server my conquer is freezing on the screen connecting to the account server

i editet this in the file : SourcebinDebugNPCsStuffDialog

so anyobdy can help me ? =)
please reread the thread its been addressed a few times
SweeTFlower is offline  
Old 06/19/2008, 17:58   #730
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Havn't been on in a few days how is your source coming along sam?
What are you coding now?
adz06676 is offline  
Old 06/19/2008, 18:44   #731
 
GRASSHOPPA's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 113
Received Thanks: 19
does anybody have the old sourse?
if so please post it thanks =) (no i dont mean the compiled version)
GRASSHOPPA is offline  
Old 06/19/2008, 19:29   #732
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
i made captain Li and Warden to work, if any one wants it then add these to your dialouge

[57]
face=7
txt0=Hello, I am the Jailer, I can teleport you to back to TC for just a small fee of
100 cps
opt0=Sure-No thanks, I'd rather kill prisoners here
req=cps,100
rew=teleport, 1002,514,355-

[43]
face=7
txt0=Hi, I am CaptainLi, I can teleport you to jail (so kill them annoying prisoners
for me)for as little as 2000 cps.
opt0=Sure-(cheapskate)
req=cps,2000
rew=teleport,6000,30,70
Light200 is offline  
Old 06/19/2008, 19:42   #733
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
ok i need help on this one

[1001514]
face=46
txt0=Hi,I can give you a legendary weapon, do you want one?
txt1=Here you are
txt2=Here you are
txt3=Here you are
opt0=Blade-Sword-Club-No Thanks
req=0-0-0
rew=item,410399,9,7,255,13,13-item,420339,0,0,0,0,0-item,480339,0,0,0,0,0

everything else worked except for the reward >.>


btw, Sam, theres a bug with the armor color change, if you change your armour, your attack times 10
Light200 is offline  
Old 06/19/2008, 19:48   #734
 
GRASSHOPPA's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 113
Received Thanks: 19
light i believe u need to add a 1 at the end of an items rew
like as in the amount

rew=item,410399,9,7,255,13,13,1-item,420339,0,0,0,0,0,0-item,480339,0,0,0,0,0,0

try that...hope it works gl =)
GRASSHOPPA is offline  
Old 06/19/2008, 20:01   #735
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
uhh thanks
Light200 is offline  
Reply


Similar Threads Similar Threads
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr...
09/12/2008 - Guild Wars Trading - 0 Replies
Hallo, ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...



All times are GMT +1. The time now is 01:25.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.