Guide/Release: Conquer Server (CoFuture) Using MySql!

03/15/2008 19:43 Kiyono#526
Quote:
Originally Posted by wolas112pl View Post
I'm sorry don't work :( I copy commands to Server folder and replace add prof.cs but don't work:
An error ocuredd when using /prof
I use /prof 410 20
HELP!!
try /prof blade 20
EDIT:does anybody know how to change hairstyle and avatar?
03/15/2008 20:46 HolyMage#527
Quote:
Originally Posted by Djago160 View Post
try /prof blade 20
EDIT:does anybody know how to change hairstyle and avatar?
Put this in your commands
Code:
                         else if (Splitter[0].ToLower() == "/hair")
                        {
                            int Hairstyle_I = Convert.ToInt32(Splitter[1]);
                            Client.Char.HairStyle = Hairstyle_I;
                            Client.SendData(CPacket.CharInfo(Client.Char));
                        }
03/15/2008 22:00 walmartboi#528
Ok, I have an error, it says "The name 'Prof' does not exist in the current context File: Commands.cs Line: 93 Column: 49" I have the Prof.cs in my "Server" file, help? :P
03/15/2008 22:21 wolas112pl#529
/prof blade 20 don't work

prof.cs must be empty ??
03/15/2008 22:30 Kiyono#530
Quote:
Originally Posted by HolyMage View Post
Put this in your commands
Code:
                         else if (Splitter[0].ToLower() == "/hair")
                        {
                            int Hairstyle_I = Convert.ToInt32(Splitter[1]);
                            Client.Char.HairStyle = Hairstyle_I;
                            Client.SendData(CPacket.CharInfo(Client.Char));
                        }
thnx it worked but do u know how to make it that items will use name instead of ID? and another minor thing avatar
i realy need to learn C#
03/15/2008 22:35 Kiyono#531
Quote:
Originally Posted by walmartboi View Post
Ok, I have an error, it says "The name 'Prof' does not exist in the current context File: Commands.cs Line: 93 Column: 49" I have the Prof.cs in my "Server" file, help? :P
did you included prof.cs in the project? and i had the same error go 1 or 2 pages back for the answer
03/15/2008 22:45 walmartboi#532
Yeah, I included Prof.cs
03/15/2008 22:52 wolas112pl#533
Djago160 can you upload your prof.cs and commands.cs pls :)
03/15/2008 23:15 Kiyono#534
Quote:
Originally Posted by HolyMage View Post
Put this in your commands
Code:
                         else if (Splitter[0].ToLower() == "[b]@hairstyle[/b]")
                        {
                            int Hairstyle_I = Convert.ToInt32(Splitter[1]);
                            Client.Char.HairStyle = Hairstyle_I;
                            Client.SendData(CPacket.CharInfo(Client.Char));
                        }
i changed it a bit but if i try it nothing happens for example i try @hairstyle 36 and nothing happens well the screen flashes but thats all

Quote:
Originally Posted by wolas112pl View Post
Djago160 can you upload your prof.cs and commands.cs pls :)
here
EDIT:

btw i changed all the commands a little bit it uses @ instead of /
EDIT2: to make it public do i need to give the static IP?
03/15/2008 23:39 walmartboi#535
Worked!! Thanks!! How do I let people access my server? I tried it with my internet IP but it doesn't work, can somebody help?
03/15/2008 23:55 walmartboi#536
New error in Start.cs on line 317, which isn't letting me login.
03/16/2008 03:18 IcedEarth#537
Hey Thanks.. I got it to work.. I played for a while...

but when I logged out the server crashed.. did I do something wrong?
03/16/2008 04:22 leavemealone#538
@walmartboi, This means u got ur account login info setup incorrect or ur typing it wrong or ur using wrong client xD
03/16/2008 09:53 supershort3#539
does the qo client 4351 work? for this?
03/16/2008 10:44 wolas112pl#540
I fu.k this when I write @prof blade 12 or @prof 410 12 I have nothing happnes.
When I write /prof -||- /prof 410 12 I had:
An occured error when use /prof :(:(:(:(:(:(:(
;( I add commands to Server and Prof add include project and nothing :( someone cAN HELP ME:(