|
You last visited: Today at 22:32
Advertisement
VIP 6
Discussion on VIP 6 within the CO2 Private Server forum part of the Conquer Online 2 category.
08/26/2010, 18:36
|
#1
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
VIP 6
how can i set my server to give all players vip level 6 automaticly on 5165?
|
|
|
08/26/2010, 18:46
|
#2
|
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
|
at creating character
GC.MyChar.VipLevel = 6;
|
|
|
08/26/2010, 19:05
|
#3
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
Quote:
Originally Posted by ☆★Zuper★☆
at creating character
GC.MyChar.VipLevel = 6;
|
in charactermaking.cs?
|
|
|
08/26/2010, 19:24
|
#4
|
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
|
ya
|
|
|
08/26/2010, 19:47
|
#5
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
Quote:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewestCOServer.PacketHandling
{
class CharacterMaking
{
public static void Handle(Main.GameClient GC, byte[] Data)
{
string CharName = "";
for (int i = 0; i < 16; i++)
if (Data[20 + i] != 0)
CharName += Convert.ToChar(Data[20 + i]);
ushort Body = BitConverter.ToUInt16(Data, 52);
byte Job = Data[54];
if (GC.ValidName(CharName))
{
GC.AddSend(Packets.PopUpMessage(GC.MessageID, Database.CreateCharacter(GC.AuthInfo.Account, CharName, Body, Job)));
}
else
GC.AddSend(Packets.PopUpMessage(GC.MessageID, "Invalid character name!"));
}
GC.MyChar.VipLevel = 6;
}
}
|
is this correct?
|
|
|
08/26/2010, 20:06
|
#6
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
You ask about ALOT, like even the simplies and most logical things. Wouldn't it be easier if you spent about 1-2 weeks learning the base in both C# and the source your using, and save alot of time making new threads,waiting for reply etc etc.?
|
|
|
08/26/2010, 20:13
|
#7
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
Quote:
Originally Posted by EmmeTheCoder
You ask about ALOT, like even the simplies and most logical things. Wouldn't it be easier if you spent about 1-2 weeks learning the base in both C# and the source your using, and save alot of time making new threads,waiting for reply etc etc.?
|
i am learning the base in both but im also learning by doing,if you dont want to help me why bother even posting?
|
|
|
08/26/2010, 20:30
|
#8
|
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
|
he is helping u right there.
His simply giving u a tip about go learn c#, so u wont ask this much
|
|
|
08/26/2010, 20:45
|
#9
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
Quote:
Originally Posted by ☆★Zuper★☆
he is helping u right there.
His simply giving u a tip about go learn c#, so u wont ask this much 
|
tbh its not really help, dont you think i know to learn it, no point doing it if i wasnt gunna learn it,it was just a pointless post.
|
|
|
08/26/2010, 21:05
|
#10
|
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
|
it wasnt pointless, because if u was about to learn you wouldnt post this in first place.
U wouldn't even setup server yet.
Here is a good tip.
1. learn the basics about C#, so you know what the different things mean, public, private, void, bool, byte, ushort, ulong, int, uint, string, variable.
2. then start work on your server, cuz u know the basics and when to use the things and where to search etc. then u can look at variables in ur source and how they are used.
3. then learn some more advanced things for c#, such as packets etc.
A good idea would be to take a look at the Metadata for variables in c#.
|
|
|
08/27/2010, 00:22
|
#11
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by ☆★Zuper★☆
A good idea would be to take a look at the Metadata for variables in c#.
|
This is a great way to learn.
Because metadata has comments telling what max/min values for variables are, and comments saying what some voids do etc.
|
|
|
08/27/2010, 00:59
|
#12
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by FadMucker
i am learning the base in both but im also learning by doing,if you dont want to help me why bother even posting?
|
Perhaps then you should do less asking, and more doing?
|
|
|
08/27/2010, 03:22
|
#13
|
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
|
Quote:
Originally Posted by Korvacs
Perhaps then you should do less asking, and more doing?
|
if you look at the previous posts you will see i tried doing it for myself. there s no rules in asking for help if your stuck or things aint working right so bite me!
|
|
|
08/29/2010, 19:33
|
#14
|
elite*gold: 0
Join Date: Aug 2010
Posts: 8
Received Thanks: 0
|
or u could just wonder on forums about everything and learn stuff like i do xD
i will start posting just to help ppl after i learn how :P
|
|
|
All times are GMT +1. The time now is 22:33.
|
|