[Help] Market Warehouse Problem (5165)

03/08/2010 03:04 -NewDawn-#1
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.

[Only registered and activated users can see links. Click Here To Register...]

They start by being able to access it, then they just ... can't anymore and disconnect every time they try and get into it.

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

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 walmartboi#2
Make sure it's saving/loading both sides of the warehouse.
03/08/2010 03:49 -NewDawn-#3
Quote:
Originally Posted by walmartboi View Post
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 Korvacs#4
Are you sending 40 items or 41?
03/08/2010 17:54 .Ocularis#5
Try adding this

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 -NewDawn-#6
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 Arcо#7
Quote:
Originally Posted by -NewDawn- View Post
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 spare2#8
Quote:
Originally Posted by .Arco View Post
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 Arcо#9
Quote:
Originally Posted by spare2 View Post
A socket problem.
I wouldn't really call that a problem more as inefficiency.
03/09/2010 03:11 .Ocularis#10
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 -NewDawn-#11
Quote:
Originally Posted by Mentalis View Post
Try adding this

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 .Ocularis#12
You didn't remove what you added then. Start over.
03/09/2010 04:02 Arcо#13
Whats the arraylist currently set at?
03/09/2010 04:14 -NewDawn-#14
Quote:
Originally Posted by .Arco View Post
Whats the arraylist currently set at?
I did start over. It's set at 20.
03/09/2010 04:17 copz1337#15
Doesn't it already have 2 pages? One page needs to be full so you can access the other. Lol that's probably why..