Project Samehvan 2.0

05/13/2009 23:15 Kiyono#31
Quote:
Originally Posted by reborn666 View Post
@ShockSoft with the client 5017 dont loguin into the server :S
I think that this uses 4351.
05/13/2009 23:57 samehvan#32
does anyone know what is Packet ID 1010 Type 137 ???
05/14/2009 00:10 kinshi88#33
Quote:
Originally Posted by samehvan View Post
does anyone know what is Packet ID 1010 Type 137 ???
1010 is the Command or DataPacket.

In v5122 its Jump, and I don't think it exists in the lower versions.
Unless its in the really older versions.
05/14/2009 00:16 CptSky#34
Whit the client 1017[Fr] it's the Map Show packet or the first login in the game server. But the client is very older... Before the 2rb...
Whit the client 4351-5017, I don't know but use some value and send it to the client for know what it do.
05/14/2009 00:20 samehvan#35
Quote:
Originally Posted by kinshi88 View Post
1010 is the Command or DataPacket.

In v5122 its Jump, and I don't think it exists in the lower versions.
Unless its in the really older versions.
thnx for ur reply but

jump is 133 and this type (137) was not appearing tell i coded the 102 type ,

first the Game Client was requesting the 102 type (others entities) when i replied it type 137 appeared so i think it may be one of two
1-sending my Character entity
2-my guild or status info ,

i am not rally sure
05/14/2009 02:57 CptSky#36
WareH progress: [Request of ShockSoft]
-Open WareH --> Ok
-Password System --> Ok
-View Item --> Ok [But I have to open two time the WareH for view correctly]
-View Money --> Ok
-Deposit Item --> Ok
-Withdraw Item --> Ok
-Deposit Money --> Not Done
-Withdraw Money --> Not Done
-Load WareH --> Ok
-Save WareH --> Ok

Tomorrow, I will check for finish the money system and fix the bug of the item when you open the warehouse.

Code:
                case 1009: //Money WareH Packet
                    {
                        int NpcId = (Data[0x07] << 24) + (Data[0x06] << 16) + (Data[0x05] << 8) + Data[0x04];
                        int Money = (Data[0x0b] << 24) + (Data[0x0a] << 16) + (Data[0x09] << 8) + (Data[0x08]);
                        byte SubType = Data[0x0c];

                        switch (SubType)
                        {
                            case 9: //Show Money
                                Client.SendPacket(ThePackets.WhActions(NpcId, Client.MyChar.WHMoney));
                                Client.SendPacket(ThePackets.WhItems(Client.MyChar, NpcId));
                                break;
                            case 10: //Deposit Money
                                Client.MyChar.Silvers -= Money;
                                Client.MyChar.WHMoney += (uint)Money;
                                Client.SendPacket(ThePackets.WhActions(NpcId, Client.MyChar.WHMoney));
                                Client.SendPacket(ThePackets.Vital((long)Client.MyChar.UID, 4, Client.MyChar.Silvers));
                                break;
                            case 11: //Withdraw Money
                                Client.MyChar.Silvers += Money;
                                Client.MyChar.WHMoney -= (uint)Money;
                                Client.SendPacket(ThePackets.WhActions(NpcId, Client.MyChar.WHMoney));
                                Client.SendPacket(ThePackets.Vital((long)Client.MyChar.UID, 4, Client.MyChar.Silvers));
                                break;
                        }
                        break;
                    }
I think the code is good but when I click, the client doesn't send to me the packet...
05/14/2009 07:20 ShockSoft#37
i will use a thread for it then i bet it will work thanks for your support here. Its awesome to see ppl helping ppl who need help. Anytime and whatever i will support u if u need me.
05/16/2009 05:24 CptSky#38
Sorry man, but I don't have the time to finish the WareH. The code for the money is already made but you have to fix first the bug to click two time on the NPC and the bug of the client who doesn't send any packet of money.

If you have a problem with my code, send me a PM. I will try to get time for check the problem. When you get the WareH working, ask me how you have made. Good Luck.
06/01/2009 05:30 zane203#39
Wow, its been so long since i've been on epvp, and a really long time since i've seen a samehvan project reboot =O, how are things going? i may be able to help when Drum Major camp is over.
06/30/2009 00:06 ShockSoft#40
bump
06/30/2009 00:27 samehvan#41
@Shock

i uploaded the 5017 update source at the main thread long ago , i though u would have it :P