Register for your free account! | Forgot your password?

You last visited: Today at 00:07

  • 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/10/2009, 15:34   #16
 
suboy's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 428
Received Thanks: 106
if this si a source i never noticed that it is o.o
suboy is offline  
Old 05/10/2009, 16:44   #17
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
Quote:
Originally Posted by plasma-hand View Post
Im just wondering why you didn`t update the most recent version that had several more features
its the newest versinon
ShockSoft is offline  
Old 05/10/2009, 19:52   #18
 
superplox's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 275
Received Thanks: 23
Quote:
Originally Posted by BrokeN^WinG View Post
i know now why account didnt save cuz i was make flags 8

and when i back it to 0 is save but that mean i can`t make gm account right
no player status is 8 for pm lol
superplox is offline  
Old 05/10/2009, 20:14   #19
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by damianpesta View Post
Works fine for me and others, y does only egypt people always have problem with saving...?
Not All Egys and not all unEgys can handle the source with no probs , it's not about the nationality it is simply about exp. ,me myself had too many probs when i started to deal with PSs

Quote:
Originally Posted by BrokeN^WinG View Post
i know now why account didnt save cuz i was make flags 8

and when i back it to 0 is save but that mean i can`t make gm account right

The point is when u log in a GM acc the server changes the name into ([GM]+character name ) so when tryin to save it can't find the character name.ini file so u have two options to solve this

1-Delete the Adding [GM] line from login.cs line 26
2-Saving the character name as [GM]+character name from the beginning at TheDB.cs void CreateCharDB
and of course adding the [Gm] to the name at (accName).acc

Quote:
Originally Posted by ShockSoft View Post
This source was created by "Hadeset"
i never denied it was Hadeset's source and still admit he is the creator and he is the first person i learned from but i think it's true too that the source now is very large different and u can call it a new source, that was made by the all old team members so i think they deserve to have some credits (dont include me) just them, would u plz?

Good work tho
i am happy it will be updated to 5017+ coz i am one of those who hate binary sources (coz i cant do much with them ) i like open sources ,i know that may be because i am not good enough to deal with binaries but i saw too many ppl complaining the same ,so Good Work again and i hope u will keep it goin

u can add to the good news :-
1-Stamina 100% working
2-Skill books 100% working
3-Job Center
4-2nd reborn chars can cast pray (lucky time)
5-Guilds options
samehvan is offline  
Old 05/10/2009, 22:53   #20


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Compose system.
Add the packet in Packets.cs, add the code of Compose file in a new file named Compose.cs in ClientRequest.

In PacketHandler:
Code:
                case 2031: //NPC Call
                    {
                        int npc_id =Data[0x04];
                        int NPCID = (Data[0x07] << 24) + (Data[0x06] << 16) + (Data[0x05] << 8) + Data[0x04];
                        Console.WriteLine("Npcid = " + NPCID);
                        if (Data[10] == 0) AClient.MyChar.NpcTalk = Convert.ToString(NPCID);

                        if (NPCID == 8 || NPCID == 44 || NPCID == 10011 || NPCID == 10012 || NPCID == 10027 || NPCID == 10028 || NPCID == 35501)
                        {
                            AClient.MyChar.NpcTalk = Convert.ToString(NPCID);
                            Msg = new WareH(AClient, Data);
                        }
[COLOR="Red"]                        else if (NPCID == 35016)
                            Msg = new CraftMan(Data, AClient);[/COLOR]
                        else
                            Msg = new NpcDialog(npc_id, NPCID, Data[10], AClient, Data);                        
                       break;
                    }
Code:
                case 2036: //Compose
                    {
                        Console.WriteLine("Client Request Compose!");
                        Msg = new Compose(Data, AClient);
                        break;
                    }
Attached Files
File Type: txt Packets.txt (541 Bytes, 15 views)
File Type: txt Compose.txt (5.7 KB, 15 views)
CptSky is offline  
Thanks
1 User
Old 05/10/2009, 23:21   #21
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
Nice little but usefull :P
I bet i would not find it :P
ShockSoft is offline  
Old 05/12/2009, 01:50   #22
 
plasma-hand's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 442
Received Thanks: 105
^^Bump^^
plasma-hand is offline  
Old 05/12/2009, 01:52   #23


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by ShockSoft View Post
Nice little but usefull :P
I bet i would not find it :P
If you want some help with some difficult code PM me. If I have the time I will help you.
CptSky is offline  
Old 05/12/2009, 14:29   #24
 
mohamedstarTO's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 131
Received Thanks: 13
i closed the server and opened it again and i found my acc at the birthdayvillage like when i just made it
mohamedstarTO is offline  
Old 05/12/2009, 15:41   #25
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
Because a normal server, dont save the characters after a time interval, it saves it when it exits, this means if you close the server, it won't save, so, if you want something that would work, do this steps:
In server load void, at its bottom, add a string comm = Console.Readline(); if its not added already, it may be just Console.Readline();, well you should make it string comm = Console.Readline();.
The next thing you should add is :
if(comm == "exit") { SaveAllCharacters(); Enviroment.Exit(Enviroment.ExitCode);}.
You should add the SaveAllCharacters() void. Good luck.
alexbigfoot is offline  
Thanks
1 User
Old 05/12/2009, 22:48   #26
 
mohamedstarTO's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 131
Received Thanks: 13
Quote:
Originally Posted by alexbigfoot View Post
Because a normal server, dont save the characters after a time interval, it saves it when it exits, this means if you close the server, it won't save, so, if you want something that would work, do this steps:
In server load void, at its bottom, add a string comm = Console.Readline(); if its not added already, it may be just Console.Readline();, well you should make it string comm = Console.Readline();.
The next thing you should add is :
if(comm == "exit") { SaveAllCharacters(); Enviroment.Exit(Enviroment.ExitCode);}.
You should add the SaveAllCharacters() void. Good luck.
Thanks for your help
mohamedstarTO is offline  
Old 05/13/2009, 03:14   #27


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
@ShockSoft
I have finished to remake the packet and the action when the server receive the packet. Tomorrow, I will finish the DataBase section and test my code. If it work, I will release it.
CptSky is offline  
Old 05/13/2009, 06:45   #28
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
Oh Cool thats awesome im just triing some weird things atm(not much time coz of school but yeah).
ShockSoft is offline  
Old 05/13/2009, 19:13   #29
 
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
@ShockSoft with the client 5017 dont loguin into the server :S
reborn666 is offline  
Old 05/13/2009, 21:40   #30
 
elite*gold: 0
Join Date: May 2009
Posts: 68
Received Thanks: 16
Becouse i had no time to upgrade it ?
ShockSoft 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 00:09.


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.