Register for your free account! | Forgot your password?

You last visited: Today at 22:32

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

Advertisement



VIP 6

Discussion on VIP 6 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #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?
FadMucker is offline  
Old 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;
dowhatuwant is offline  
Old 08/26/2010, 19:05   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Quote:
Originally Posted by ☆★Zuper★☆ View Post
at creating character
GC.MyChar.VipLevel = 6;
in charactermaking.cs?
FadMucker is offline  
Old 08/26/2010, 19:24   #4
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
ya
dowhatuwant is offline  
Old 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?
FadMucker is offline  
Old 08/26/2010, 20:06   #6
 
_Emme_'s Avatar
 
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.?
_Emme_ is offline  
Thanks
1 User
Old 08/26/2010, 20:13   #7
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Quote:
Originally Posted by EmmeTheCoder View Post
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?
FadMucker is offline  
Old 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
dowhatuwant is offline  
Old 08/26/2010, 20:45   #9
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Quote:
Originally Posted by ☆★Zuper★☆ View Post
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.
FadMucker is offline  
Old 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#.
dowhatuwant is offline  
Old 08/27/2010, 00:22   #11
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by ☆★Zuper★☆ View Post
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.
Arcо is offline  
Old 08/27/2010, 00:59   #12


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by FadMucker View Post
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?
Korvacs is offline  
Thanks
3 Users
Old 08/27/2010, 03:22   #13
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Quote:
Originally Posted by Korvacs View Post
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!
FadMucker is offline  
Old 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
haotyca is offline  
Reply




All times are GMT +1. The time now is 22:33.


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.