Register for your free account! | Forgot your password?

You last visited: Today at 23:29

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

Advertisement



[Help] Errors

Discussion on [Help] Errors within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
#request close - Thanks spare

#request close
Thanks spare!
Decker_ is offline  
Old 02/18/2010, 00:14   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
"182975-12-7-255-13-13"
Arcо is offline  
Old 02/18/2010, 00:32   #3
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Still has the same errors :S
Decker_ is offline  
Old 02/18/2010, 00:33   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
#updated first post.
Arcо is offline  
Old 02/18/2010, 01:01   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Nope, still same errors, lol.
I've used a npc similiar to this before and no problem occured.
Decker_ is offline  
Old 02/18/2010, 01:03   #6
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
Quote:
Originally Posted by .Arco View Post
#updated first post.
There are no AddItem methods that take a string as an argument. At least not in my source. So Decker's source probably doesn't have one also.

Decker here's what I suggest you to do.

Open up your source with VS C#, and press Control + F. Type in "AddItem" and choose Current Project in Look in. Press Find Next.


Then right click on AddItem that is highlighted and click Go to definition. Then you will see

After the last bracket of
Code:
public void AddItem(uint ID)
paste in
Code:
        public void AddItem(uint ID, byte Plus, byte ench, byte bless, Item.Gem soc1, Item.Gem soc2)
        {
            Item I = new Item();
            I.Plus = Plus;
            I.ID = ID;
            I.UID = (uint)Rnd.Next(10000000);
            I.MaxDur = I.DBInfo.Durability;
            I.CurDur = I.MaxDur;
            I.Enchant = ench;
            I.Bless = bless;
            I.Soc1 = soc1;
            I.Soc2 = soc2;

            if (I.UID == 0)
            {
                I.UID = (uint)Rnd.Next(10000000);
            }

            Inventory.Add(I);
            MyClient.AddSend(Packets.AddItem(I, 0));
        }
After then you can go back to your NPC script and use the following code to get a DarkWizard
Code:
GC.MyChar.AddItem(191305, 9, 255, 7, Item.Gem.SuperDragonGem, Item.Gem.SuperDragonGem);
spare2 is offline  
Thanks
3 Users
Old 02/18/2010, 01:11   #7
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
wtf, it works lol.
Thanks bro!
Decker_ is offline  
Closed Thread


Similar Threads Similar Threads
[Guide] 2 Fixes on Sro-Errors (no bot-errors)
03/04/2011 - SRO Guides & Templates - 5 Replies
Hey guys, here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it. 1st Fix: "Server is undergoing inspection..." Why does this error appear? Because Joymax has some problems with the Login-Servers. Fix: Step1): Click on "Start" then on "Run"
my bot gets errors?
06/14/2010 - Ragnarok Online - 2 Replies
i have a auto buffer and it pulls up players as #unknown3453453 and it says cant find player ip 67.202.104.229 port 6900 version 24
Grr >.> More Errors >
05/12/2010 - CO2 Private Server - 4 Replies
Well this is my createcharacter class for 5165 and i Type its Name Choose Body Size Wen I click Enter It Gives me The Error Try again i just cant find wats the problem using System; using Source_Project.GameSystem; using Source_Project.Structures; using MySql.Data.MySqlClient; namespace Source_Project {
44 Errors.
08/08/2009 - CO2 Private Server - 4 Replies
:l. I implemented a RB guard tutorial thing into my server but I have like so many errors. I removed all of it but i cant find any other releases, and looking through the code its far too complex for me too code my own from scratch. This is the tut: http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/177649-release-rb-guard.html I think this error causing the rest is 'COServer_Project.SingleMob' does not contain a constructor that takes '15' arguments'
C6-C9 errors ?
03/22/2008 - Silkroad Online - 4 Replies
when i try to log in to silkroad i get thoust C6-C9 Errors ... what should i do ? i Think problem is whit my Internet ... so any suggestions ..?



All times are GMT +1. The time now is 23:29.


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