|
You last visited: Today at 12:40
Advertisement
[Help] Market Warehouse Problem (5165)
Discussion on [Help] Market Warehouse Problem (5165) within the CO2 Private Server forum part of the Conquer Online 2 category.
03/08/2010, 03:04
|
#1
|
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
|
[Help] Market Warehouse Problem (5165)
I made it so that the warehouse in the market has 2 pages to it (just like in regular conquer online); however, some of my beta testers disconnect every time they try and access it - even when their characters are newer than the change.
They start by being able to access it, then they just ... can't anymore and disconnect every time they try and get into it.
I searched it and could find a thread with a solution... I tried fixing it myself but I have no idea why it's happening...
Help? =\
|
|
|
03/08/2010, 03:06
|
#2
|
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
|
Make sure it's saving/loading both sides of the warehouse.
|
|
|
03/08/2010, 03:49
|
#3
|
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
|
Quote:
Originally Posted by walmartboi
Make sure it's saving/loading both sides of the warehouse.
|
The problem is it only happens when the array is 40... and the warehouse is full.
|
|
|
03/08/2010, 10:53
|
#4
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Are you sending 40 items or 41?
|
|
|
03/08/2010, 17:54
|
#5
|
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
|
Try adding this
Code:
if (Warehouse.Count > 20)
for (int x = 20; x < Warehouse.Count; x++)
GC.AddSend(Packets.AddWHItem(GC.MyChar, (ushort)NPC, (Game.Item)Warehouse[x]));
Directly under this in Warehouse.cs and remove all the changes you did to try to fix the wh
Code:
GC.AddSend(Packets.SendWarehouse(GC.MyChar, (ushort)NPC));
|
|
|
03/09/2010, 02:09
|
#6
|
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
|
It doesn't matter anymore...
I just found out from a friend that the 5165 source has a socket problem where it will crash... is that true?
|
|
|
03/09/2010, 02:14
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by -NewDawn-
It doesn't matter anymore...
I just found out from a friend that the 5165 source has a socket problem where it will crash... is that true?
|
It's not a socket problem, its just the socket system is poorly coded and the source isn't stable.
|
|
|
03/09/2010, 02:40
|
#8
|
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
|
Quote:
Originally Posted by .Arco
It's not a socket problem, its just the socket system is poorly coded and the source isn't stable.
|
A socket problem.
|
|
|
03/09/2010, 02:52
|
#9
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by spare2
A socket problem.
|
I wouldn't really call that a problem more as inefficiency.
|
|
|
03/09/2010, 03:11
|
#10
|
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
|
I've got the second tab in my market warehouse working just fine...
If you don't believe me log in to my server and see for yourself -.-
Just try the code I posted and you will be fine
If you want to test it add me on msn
|
|
|
03/09/2010, 03:58
|
#11
|
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
|
Quote:
Originally Posted by Mentalis
Try adding this
Code:
if (Warehouse.Count > 20)
for (int x = 20; x < Warehouse.Count; x++)
GC.AddSend(Packets.AddWHItem(GC.MyChar, (ushort)NPC, (Game.Item)Warehouse[x]));
Directly under this in Warehouse.cs and remove all the changes you did to try to fix the wh
Code:
GC.AddSend(Packets.SendWarehouse(GC.MyChar, (ushort)NPC));
|
Doesn't work. Once it's completely full- it exits. Crashes the client.
|
|
|
03/09/2010, 04:01
|
#12
|
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
|
You didn't remove what you added then. Start over.
|
|
|
03/09/2010, 04:02
|
#13
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Whats the arraylist currently set at?
|
|
|
03/09/2010, 04:14
|
#14
|
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
|
Quote:
Originally Posted by .Arco
Whats the arraylist currently set at?
|
I did start over. It's set at 20.
|
|
|
03/09/2010, 04:17
|
#15
|
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
|
Doesn't it already have 2 pages? One page needs to be full so you can access the other. Lol that's probably why..
|
|
|
Similar Threads
|
Hey, I got a problem with my warehouse password.
11/17/2006 - Conquer Online 2 - 5 Replies
Hey all,
I got a character from a friend, but he didnt know the warehouse password nomore.... Since he bought it we cant look up anything.... Does anybody know how too delete/look up that password w/o Conquer Online site or GM ?
Please., I really need it cus it is hard too always have an second client online with my internet. I really aint hacker. Thanks in advance.
|
All times are GMT +1. The time now is 12:43.
|
|