Register for your free account! | Forgot your password?

You last visited: Today at 11:32

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

Advertisement



[Release]For CoMy

Discussion on [Release]For CoMy within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
[Release]For CoMy

A couple of people have asked me for this so I guess I'll just post it here.
I don't know if its really much of a release but here it is.
You know how on CoMy Source you can't pick Ninja?
It's only for GM's and PM's.
Well I mad a small little NPC to put in Birth Village so He will make you an InternNinja.

Code:
                            if (CurrentNPC == 4520)
                            {
                                SendPacket(General.MyPackets.NPCSay("Do you want to become a Ninja?"));
                                SendPacket(General.MyPackets.NPCLink("Yes", 1));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
Control:
Code:
                            if (CurrentNPC == 4520)
                            {
                                if (Control == 1)
                                {
                                     SendPacket(General.MyPackets.NPCSay("There you go. You're an InternNinja now.");
                                    SendPacket(General.MyPackets.NPCLink("Thanks!", 255);
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                    MyChar.Job = 50;
                                    SendPacket(General.MyPackets.Vital(MyChar.UID, 7, MyChar.Job));
                                }
                            }
Then the Database Info:
Code:
INSERT INTO `npcs` VALUES (315, 4520, 'BirthNinja', 2, 0, 86, 40, 1010, 0);
I tested it and it works.
Hope it helps some of you.
BTW: I don't use CoMy.
I just did this for those who asked me.
Arcо is offline  
Thanks
1 User
Old 11/16/2009, 16:34   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Nice, neat and simple enough.

A nice little release

Although i cant see anything to stop this npc being used by everyone, and you might need to include the database entries ^_^
Korvacs is offline  
Old 11/16/2009, 16:45   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Quote:
Originally Posted by Korvacs View Post
Nice, neat and simple enough.

A nice little release

Although i cant see anything to stop this npc being used by everyone, and you might need to include the database entries ^_^

But putting him in Birth Village like I said would only let you talk to him at the beginning.
And what do you mean include database entries?
Like just the coordinates?
Arcо is offline  
Old 11/16/2009, 16:49   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Tiku View Post

But putting him in Birth Village like I said would only let you talk to him at the beginning.
And what do you mean include database entries?
Like just the coordinates?
Where do regular players start? Ive never seen the source.

And like the definition of the npc in the database, its cords, stuff like that. Unless its already in the database, again, ive never seen the source.
Korvacs is offline  
Old 11/16/2009, 16:52   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Quote:
Originally Posted by Korvacs View Post
Where do regular players start? Ive never seen the source.

And like the definition of the npc in the database, its cords, stuff like that. Unless its already in the database, again, ive never seen the source.
Lol I see what you're saying.
And yeah I'll do that right now.
And regular players usually start in Birth Village.
Arcо is offline  
Old 11/16/2009, 16:55   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Tiku View Post
Lol I see what you're saying.
And yeah I'll do that right now.
And regular players usually start in Birth Village.
I just realised what you meant by "Only Gms and Pms can use it", sorry i thought you meant that your npc is just for gms and pms, i understand now
Korvacs is offline  
Old 11/16/2009, 16:59   #7
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Quote:
Originally Posted by Korvacs View Post
I just realised what you meant by "Only Gms and Pms can use it", sorry i thought you meant that your npc is just for gms and pms, i understand now
Haha alrighty then.
Well thanks for the input:]
Arcо is offline  
Old 11/16/2009, 18:06   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
Nice release keep it up :P
MexicanoCoder is offline  
Old 11/16/2009, 22:11   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
CoMy = Fail.........
Normal LOTF is better
But good work
#*=DarkAngeL=*# is offline  
Old 11/16/2009, 22:16   #10
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
Red face

Quote:
Originally Posted by #*=DarkAngeL=*# View Post
CoMy = Fail.........
Normal LOTF is better
But good work
Yeah CoMy does fail
MexicanoCoder is offline  
Thanks
1 User
Old 11/16/2009, 22:43   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
you know man, instead you could (upon registering on the site) provide a character type selection option (ex. tro/war/arch/tao/nin) and just modify the php to insert it into the character table so that character creation isn't even needed.
.Guru is offline  
Old 11/16/2009, 23:52   #12
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Quote:
Originally Posted by Prot0type View Post
you know man, instead you could (upon registering on the site) provide a character type selection option (ex. tro/war/arch/tao/nin) and just modify the php to insert it into the character table so that character creation isn't even needed.
Yeah but I'm not gonna go through some work for something I'm never going to use. Lol especially since I don't know much about php.
Arcо is offline  
Reply


Similar Threads Similar Threads
Updated CoMy 1.5
05/21/2010 - CO2 Private Server - 9 Replies
aLL elitepvpers.com i need CoMY 1.5 Source Link is eror who members have upLoad pls...
[HELP] How to add nobility to comy?
09/14/2009 - CO2 Private Server - 9 Replies
It is already added but the npc is broken or there is no npc, im not sure, how to add or fix???
[HELP]CoMy Damage Bug
09/10/2009 - CO2 Private Server - 16 Replies
Okay, well..... The CoMy Bug with damage, how do i fix it. If you don't know what im talking about, then it is the bug where you can wear no gear and level dont matter and the other only hit 1. Ex. Level 40 withouth gear and level 135 with full +12 then the level 135 still hits 1 and guards hit 1 and mobs hit 1
Fix Damage [CoMy]
09/03/2009 - CO2 Private Server - 0 Replies
im not sure if this work, is not tested, but have a try. Im not good coder :) Go to Client and search for: Under That code paste this Now open Packets and search for:
[HELP] Comy Database
07/06/2009 - CO2 Private Server - 2 Replies
I tryed most backups and my version of mysql(5.0) have errors with all when i try to execute a batch file.Please,go to appserver->mysql->data(if source of broken wing works for you) and make a arhive with comy database and send my in a PM please!



All times are GMT +1. The time now is 11:32.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.