Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 07:07

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

Advertisement



[Release] Item lock for NewestCOServer

Discussion on [Release] Item lock for NewestCOServer within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old 02/09/2010, 01:41   #46
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Quote:
Originally Posted by salem rey View Post
thanks for this code, but my problem is when i log out ang log in back the locked items got unlock...???
anything i did is right in the instruction..
You did everything right, as he said he's not helping no one, to save. so your gona have to make it save your self or if someone releases it saving itemlockid, itemlockdays, and so.
-Shunsui- is offline  
Old 02/09/2010, 01:57   #47
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
omg i forgot to thank you in your releases shunsui the gurdian thanks hun..

hmm i dont know how to make a saving code for 5165 itemlock. but i will just keep in search for releases and wait it.
salem rey is offline  
Old 02/09/2010, 09:49   #48
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
1. Male character can wear female garment. and they become invisible.

problem in your client, you need put a patch to get this garment

4. I cant open 40 slot of my warehouse market.

you need find this in Characters.cs

Quote:
MAWarehouse = new ArrayList(20)
and chance for this

Quote:
MAWarehouse = new ArrayList(40)

and good release bro
ramix is offline  
Old 02/10/2010, 00:52   #49
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
Quote:
Originally Posted by ramix View Post
1. Male character can wear female garment. and they become invisible.

problem in your client, you need put a patch to get this garment

4. I cant open 40 slot of my warehouse market.

you need find this in Characters.cs



and chance for this




and good release bro


Someone told me that you need to code your source so that male cant wear female garment??
salem rey is offline  
Old 02/10/2010, 11:00   #50
 
elite*gold: 0
Join Date: May 2008
Posts: 14
Received Thanks: 0
Where i should search for case 2064: ?
5555 is offline  
Old 02/14/2010, 05:11   #51
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
newestcoserver.packets' does not contain a definition for 'itemlock'
my last 3 ****** errors -.- any help anyone at all! XD
without smart remarks please lol
LegalConquer is offline  
Old 02/14/2010, 05:12   #52
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Quote:
Originally Posted by LegalConquer View Post
newestcoserver.packets' does not contain a definition for 'itemlock'
my last 3 ****** errors -.- any help anyone at all! XD
without smart remarks please lol
You need to put the packet in packets.cs.
Arcо is offline  
Old 02/14/2010, 05:51   #53
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Quote:
Originally Posted by .Arco View Post
You need to put the packet in packets.cs.
Right i got it working but it only works if you drag it onto lock thingy press lock then equip it and im sure this is an error i believe i got the int and byte thingy mixed up or something lol all this C# confusing here is a screenshot if anyones willing to help me understand C# more thanks guys.

LegalConquer is offline  
Old 02/14/2010, 05:56   #54
 
a7x.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 43
Received Thanks: 4
Quote:
Originally Posted by LegalConquer View Post
Right i got it working but it only works if you drag it onto lock thingy press lock then equip it and im sure this is an error i believe i got the int and byte thingy mixed up or something lol all this C# confusing here is a screenshot if anyones willing to help me understand C# more thanks guys.

it's just merely that you probably messed up on implementing the system. if i remember correctly, immune didn't release the full code, so i imagine it will need a bit of altercation for correction of the entire code. that error is just saying you have the system there, but it's not implementing correctly.
a7x. is offline  
Old 02/14/2010, 05:58   #55
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
I c so basicly your saying ima have to get my visual C# book out XD for dumbasses :P
LegalConquer is offline  
Old 02/14/2010, 06:15   #56
 
a7x.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 43
Received Thanks: 4
naw ha, just re-insert the code, focus where the code goes, and in time, you'll get it
a7x. is offline  
Old 02/14/2010, 06:44   #57
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Hey im new to all this C# stuff but im catching on pretty fast
could i add you on msn just to quicky ask some confusing stuff ive found XD hopefully ull know.

right ive managed to get it all fine now the list is just of 2 errors

on line 1882: packets.cs which was!

internal static unsafe COPacket ItemLock(uint Itemuid, byte LockType, int p, int p_4)
{
throw new NotImplementedException();
}
}
}

And 36: packet handler:
Database.SaveCharacter(GC.MyChar, GC.MyChar.Name);
GC.AddSend(Packets.ItemLock(Itemuid, LockType, 1, 0));

And 31: item lock

Database.SaveCharacter(GC.MyChar, GC.MyChar.Name);


Its just foreighn to me XD !
thanks for the help so far everyone whos been helping.
LegalConquer is offline  
Old 02/14/2010, 12:01   #58


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
If you have implemented the ItemLock system, then remove "throw new notimplementedexception();"
Korvacs is offline  
Old 02/14/2010, 13:04   #59
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Cool

Quote:
Originally Posted by Korvacs View Post
If you have implemented the ItemLock system, then remove "throw new notimplementedexception();"
this worked but the itemlock is not actully saving to the server any suggestions i know its probably something simple but im slowly learning here XD ??
LegalConquer is offline  
Old 02/14/2010, 13:23   #60


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Immune stated that he wouldnt help with saving, but you would need to modify the item/character save proceedure so that it saves the itemlock state of the item.
Korvacs is offline  
Closed Thread


Similar Threads Similar Threads
[Release]Make the threading system better.[5165 NewestCOServer]
09/13/2010 - CO2 PServer Guides & Releases - 10 Replies
Okay so, I was bored so I thought I would release some easy shiz. Credits to Impulse for his Thread.cs :) Goto Program.cs find Console.WriteLine("The server is ready for connections."); abit under that is the threading system. It's like
5165 Item lock, and item redeem.
02/09/2010 - CO2 Private Server - 4 Replies
Anyone knows how to make the item lock and redeem items npc in 5165? Im not too good at that stuff, and it'll be great if someone could help me. :handsdown:



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


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.