Register for your free account! | Forgot your password?

You last visited: Today at 10:49

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

Advertisement



Project Samehvan 2.0

Discussion on Project Samehvan 2.0 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 05/13/2009, 23:15   #31

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by reborn666 View Post
@ShockSoft with the client 5017 dont loguin into the server :S
I think that this uses 4351.
Kiyono is offline  
Old 05/13/2009, 23:57   #32
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
does anyone know what is Packet ID 1010 Type 137 ???
samehvan is offline  
Old 05/14/2009, 00:10   #33
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
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.
kinshi88 is offline  
Old 05/14/2009, 00:16   #34


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
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.
CptSky is offline  
Old 05/14/2009, 00:20   #35
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
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
samehvan is offline  
Old 05/14/2009, 02:57   #36


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
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...
CptSky is offline  
Old 05/14/2009, 07:20   #37
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
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.
ShockSoft is offline  
Old 05/16/2009, 05:24   #38


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
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.
Attached Files
File Type: txt Character.txt (7.9 KB, 3 views)
File Type: txt Packets.txt (3.2 KB, 5 views)
File Type: txt TheDB.txt (1.2 KB, 4 views)
File Type: txt WareH.txt (28.3 KB, 4 views)
CptSky is offline  
Old 06/01/2009, 05:30   #39
 
zane203's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 418
Received Thanks: 56
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.
zane203 is offline  
Old 06/30/2009, 00:06   #40
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
bump
ShockSoft is offline  
Old 06/30/2009, 00:27   #41
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
@Shock

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


Similar Threads Similar Threads
Samehvan?
09/05/2009 - CO2 Private Server - 3 Replies
Hey.. samehvan... Would you know why this is happening? When I change something in my source... and Debug.. and log in.. Nothin is changed... example.... Changed my welcome message from "Have fun" to..... Hello players And when i log in it still says Have Fun >.< whats up with that?
to the ppl who have Samehvan Source !!
02/07/2009 - CO2 Private Server - 5 Replies
I need this source .... i hate this .. samehvan - Revision 19: / so .... can any1 post it ... thx
About samehvan project.
12/27/2008 - CO2 Private Server - 5 Replies
So what happen to it lol. Its a way better source then lotf. I found it down loaded it not its time to learn to code some what :P But is there still a team that is coding it like the revisions and stuff?
Missing Samehvan Files
09/09/2008 - CO2 Guides & Templates - 12 Replies
I dont know or someone released it yet. But everyone Knows that the Samehvan Source misses some things, Like Server.ini I show you how to get Server.ini very simple! ip= auth=9958 game=5816 leveling=2 emote=1



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.