be happy he even released it because this is a "contributing" section meaning this site was created to share your ideas to the world! now stop insulting _Decker It's not his fault that the 5165 source was created >.<... btw, this isn't a child's playground...
No, I started out by looking at the 5017 source and seeing the way it was structured then I read ebooks on c# then a good friend mentored me.
Maybe that's the same way he learned? but when a mentor tutored him he/she might have told him the best way to learn is: copy+paste codes on your source and learning from the errors you get and fixing them yourself...and by that a good code is written...
@_Decker
I'll give you thanks just cause I see you learning...don't go by what any "rude" post tells you...If you want to release something that is "contributing" to the forum, then do it
Hello i have seen here a lot of guides, i make it step by step, a lot of times, and nothing, i have still this error:
My system configuration(and software what i installed):
C# - installed
Windows XP SP2
Net framework 3.5
AppServer - installed
Maybe its something missed, please help me
And i use A LOT OF different sources every time i had same error/bug whatever.
Okay...u see in the cmd where it says /Database Line: 1713 or something like that...go to that line with the error in database.cs and the other lines aswell and post those lines here or the whole code which the line is in...and I'll try my BEST to help u
Ok so the database (lines with errors are Underline)
Quote:
{
string section = "[" + Section + "]";
IniSectionStructure ISS = null;
Sections.TryGetValue(section, out ISS);
if (ISS != null)
{
IniValueStructure IVS = null;
ISS.Variables.TryGetValue(Key, out IVS);
if (IVS != null) return double.Parse(IVS.Value);
}
return 0;
}
public float ReadFloat(string Section, string Key)
{
string section = "[" + Section + "]";
IniSectionStructure ISS = null;
Sections.TryGetValue(section, out ISS);
if (ISS != null)
Next one - DropRates:
Quote:
public int MonsterID;
public uint ID;
public byte Sockets;
public byte Plus;
public byte Bless;
public double DropChance;
}
public static void Load()
{ IniFile iNi = new IniFile(@"C:\OldCODB\DropRates.ini");
DragonBall = iNi.ReadDouble("Rates", "DragonBall");
Meteor = iNi.ReadDouble("Rates", "Meteor");
PlusOne = iNi.ReadDouble("Rates", "PlusOne");
Refined = iNi.ReadDouble("Rates", "Refined");
Unique = iNi.ReadDouble("Rates", "Unique");
Elite = iNi.ReadDouble("Rates", "Elite");
Super = iNi.ReadDouble("Rates", "Super");
OneSoc = iNi.ReadDouble("Rates", "OneSoc");
TwoSoc = iNi.ReadDouble("Rates", "TwoSoc");
Gem = iNi.ReadDouble("Rates", "Gem");
Silver = iNi.ReadDouble("Rates", "Silver");
CP10 = iNi.ReadDouble("Rates", "CP10");
CP30 = iNi.ReadDouble("Rates", "CP30");
And the Program.cs (It tells me that is error in line 1...0.o LOL)
Quote:
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using NewestCOServer.Game;
namespace NewestCOServer
{
class Program
{
public static void WriteLine(Exception Exc)
{
Console.WriteLine(Exc.ToString());
[Release]5165 Source 01/20/2012 - CO2 PServer Guides & Releases - 25 Replies Stuff in the source
Fixed Fb/Ss System
QuizShow
Fixed Some Bugs
GM, PMS Can Pk
Most NPC
Fixed Rates(Can Be Changed)
FrozenGrotto(works but the mobs do to high dmg)
lab npc and spawns
guildwar
[Release?] My 5165 source 06/23/2010 - CO2 Private Server - 12 Replies Should i release my source for 5165? ^^
Works:
Reflect
IronGuard, CopperGuard, SilverGuard & GoldGuard
Marriage
Reborn 1-4
ClassPKenvoy