[Help] MAWarehouse Man [Soruce 5165 ]

01/02/2010 04:58 MOGA_EG#1
hi all PVPers ...
i try to fix the market warehouse man .He have 40 cell not 20 .i try to edit in code and finally fix it :D but when i close the tab and open it the game is freeze ... did any one can help me to fix this freeze ?
i edit in Character.cs
Code:
            MAWarehouse = new ArrayList(20);
            Count = BR.ReadByte();
            for (byte i = 0; i < Count; i++)
            {
i make it
Code:
            MAWarehouse = new ArrayList(40);
            Count = BR.ReadByte();
            for (byte i = 0; i < Count; i++)
            {
thanks .for help
sorry wrong section #request to move in Help Section
01/02/2010 06:36 ~Yuki~#2
on the WH save add also ArrayList 40
01/02/2010 09:20 Huseby#3
Wrong section

#Moved
01/02/2010 09:38 N¡ghtMare ?? WooT#4
Also, he can not just add 40 to it, cause is because, then it add 40spaces in the window.
He need to make it have 2warehouses.
So when you click down it open the second warehouse.
The market warehouse dont have 40spaces, but
20x20.
He need to make the normal code, come 2times, but a way to come from the first to
the second.

If you dont understand what i mean, then PM me and i will explain.
01/02/2010 14:07 Korvacs#5
The problem with the market warehouse isnt the size of the array, the npc your using probably isnt displaying the button to switch to the second screen of the warehouse, so even if you do change the array the client still wont show it correctly.
01/02/2010 14:09 Arcо#6
Quote:
Originally Posted by Korvacs View Post
The problem with the market warehouse isnt the size of the array, the npc your using probably isnt displaying the button to switch to the second screen of the warehouse, so even if you do change the array the client still wont show it correctly.

It does display the button, so it is the array.
I've fixed it already by doing the array to 40.
01/02/2010 14:11 Korvacs#7
Quote:
Originally Posted by Hepatitis C View Post

It does display the button, so it is the array.
I've fixed it already by doing the array to 40.
Fair enough, originally no one could get the button to display.
01/02/2010 14:12 Arcо#8
Quote:
Originally Posted by Korvacs View Post
Fair enough, originally no one could get the button to display.

orly?
Because ever since I been using the source, the button was already there.
01/02/2010 14:13 Korvacs#9
Quote:
Originally Posted by Hepatitis C View Post

orly?
Because ever since I been using the source, the button was already there.
Originally, as in 4267/5017 etc, I didnt think TQ had changed the way the market warehouseman worked.
01/02/2010 14:14 Arcо#10
Quote:
Originally Posted by Korvacs View Post
Originally, as in 4267/5017 etc, I didnt think TQ had changed the way the market warehouseman worked.

That's correct, but I thought we were talking about 5165 so that's why I said that.
01/02/2010 19:01 MOGA_EG#11
Quote:
Originally Posted by ~Yuki~ View Post
on the WH save add also ArrayList 40
So Where can i change/add the WH save in my source ?
02/10/2010 01:13 salem rey#12
yah i have that problem too..