Official 5165 FAQ/Question thread

06/22/2010 01:05 ShadowTro#1546
Hmmm im going to try it,but,if it works,how can i share it to my friends?,thx .Arco for ur guide,and help to all of us =),btw can u post a guide for make a p.sever in 5165 or send me a link?,thx very much ^^,im trying to make my 1st p.server,so hope it work,but well,im kinda noob in that things,but just need to take my time,and challenge my self...thx
06/22/2010 01:12 ShadowTro#1547
Quote:
Originally Posted by Adziunia View Post
just tell us what ip have u used..
U need to use ur own ip,not others one <.<
06/22/2010 14:49 EliteBaron#1548
Quote:
Originally Posted by sawickas View Post
10 xp balls = From 1lvl to 127 :(
search this:

Quote:
public static uint ExperienceRate
change the number
06/22/2010 15:08 zenos#1549
Hello all, i tryed to make my own private server, but every time i want to start NewestCoServer.exe, it opens, and closes in like 0,2 seconds or some, i tryed to screenshot the text, and made the next thing out of it, its dutch btw..
[Only registered and activated users can see links. Click Here To Register...]


It means:
Starting to load Dmaps

Unproccessed exception: (can't read this)
From the file C:\OldCoDB\ and the next i can't read

I guess there is something wrong with my maps?? but i just downloaded the source and tryed to start it but it automaticly closes


Any help?? TNX!!
06/23/2010 00:40 ftp4life#1550
Quote:
Originally Posted by ryuchetval View Post
can anybody give me the good pkable bool?

i tried to make this: (to fix team pk mode) but it doesn't work...
Code:
      public bool PKAble(PKMode PK, Character C)
        {
            if (PK == PKMode.PK)
                return true;
            else if (PK == PKMode.Capture)
                return BlueName;
            else if (PK == PKMode.Team)
            {
                if (MyTeam != null && MyGuild != null && Friends != null)
                    return !MyTeam.Members.Contains(C) && !MyGuild.Members.Contains(C) && !Friends.Contains(C);
                else if (MyTeam != null && MyGuild != null)
                    return !MyTeam.Members.Contains(C) && !MyGuild.Members.Contains(C);
                else if (MyTeam != null && Friends != null)
                    return !MyTeam.Members.Contains(C) && !Friends.Contains(C);
                else if (MyGuild != null && Friends != null)
                    return !MyGuild.Members.Contains(C) && !Friends.Contains(C);
                else if (MyGuild != null)
                    return !MyGuild.Members.Contains(C);
                else if (MyTeam != null)
                    return !MyTeam.Members.Contains(C);
                else if (Friends != null)
                    return !Friends.Contains(C);
                else return true;
            }
            return false;
        }
EDIT: also...there are the secondary maps in advanced zone (7010 and 7020) I'm getting a client crash when i'm trying to teleport there...also the portals are made in those maps....so what's the problem? I can't go in those maps...solutions?
... did you try
Code:
    public bool PKAble(PKMode PK, Character C)
        {
            if (PK == PKMode.PK)
                return true;
            else if (PK == PKMode.Capture)
                return BlueName;
            else if (PK == PKMode.Team)
            {
                if (MyTeam != null)
                    return !MyTeam.Members.Contains(C);
                else return true;
            }
            return false;
        }
06/23/2010 00:48 Adziunia#1551
Quote:
Originally Posted by zenos View Post
Hello all, i tryed to make my own private server, but every time i want to start NewestCoServer.exe, it opens, and closes in like 0,2 seconds or some, i tryed to screenshot the text, and made the next thing out of it, its dutch btw..
[Only registered and activated users can see links. Click Here To Register...]


It means:
Starting to load Dmaps

Unproccessed exception: (can't read this)
From the file C:\OldCoDB\ and the next i can't read

I guess there is something wrong with my maps?? but i just downloaded the source and tryed to start it but it automaticly closes


Any help?? TNX!!
i saw on the pic that theres different than this C:\OldCoDB\ path its C:\OldCoDBini\


Quote:
Originally Posted by ShadowTro View Post
U need to use ur own ip,not others one <.<
.... no comment
06/23/2010 00:53 ftp4life#1552
[QUOTE=Adziunia;5724398]i saw on the pic that theres different than this C:\OldCoDB\ path its C:\OldCoDBini\


correct just change the OldCoDB name to OldCoDBini and it should work
06/23/2010 02:20 ShadowTro#1553
hey guuuuuuys! <.< damn it,any guide from the beggining for what i need to run/make a p.server with 5165 version?,a good or understanable guide pls,if i can get that help...thx very much,at least if u tried to help me :D i´ll be searching for a guide,but hope i get some help if i dnt find it,thx
06/23/2010 12:36 EliteBaron#1554
Quote:
Originally Posted by ShadowTro View Post
hey guuuuuuys! <.< damn it,any guide from the beggining for what i need to run/make a p.server with 5165 version?,a good or understanable guide pls,if i can get that help...thx very much,at least if u tried to help me :D i´ll be searching for a guide,but hope i get some help if i dnt find it,thx
Quote:
Originally Posted by .Arco View Post
I made this thread for people who have problems with the 5165 source that just recently became public.
First here's how's you set it up.
If you have any problems with the 5165 source post them here. I will try my hardest to help with these problems and if anyone knows any solutions to problems post them here as well.


FAQ:
Q.How do I clear the nobility table?
A.You go to your OldCODB and open Nobility.dat. Erase everything in it, then start up your server. In the console type in /exit then start your server up again and the nobility chart will be cleared.

Q.Is the MySQL information in the config.ini required?
A.Yes it is. I've realized if the information is wrong then you cannot create characters.

Q.Why can't GM's pk, trade, or drop items?
A.It is a system made by Tanel to keep the GM's from abusing their powers.

Q.How come once I make a character after I log in my client closes itself?
A.One possibility is you have a special character in your name.

Q.Where can I change the experience rates?
A.In World.cs look search for public uint ExperienceRate and change that to the number of your desire. That rate goes for character leveling as well as proficiency and spell leveling.

Q.How come I when I add new weapons I they are invisible?
A.I don't know too much on this topic, but from what is said by a lot of people, TQ uses a DBC file so a lot of stuff cannot be changed.

Q.I'm getting this error:
How do I fix it?
A.[Only registered and activated users can see links. Click Here To Register...]

Q.Everything is setup right, why is my client crashing whenever I try to login?
A.This happens if you are using 127.0.0.1 as the GameServerIP.

Q.I'm getting an error saying the database folder does not exist, how do I fix this?
A.That means your OldCODB is not in the C:/ drive.

Q.How do I make a map a pkfreemap?
A.Search for public static ArrayList FreePKMaps and add the Mapid there.

Q.I barely opened the source and there are already errors!
A.[Only registered and activated users can see links. Click Here To Register...]

Commands:
/cps - Gives you CPs.(Max 999,999,999)
Ex: /cps 999999999

/silvers - Gives you silvers.(Max 999,999,999)
Ex: /silvers 999999999

/level - Makes you a level of your choice(Max 255)
Ex: /level 255

/job - Makes you a certain profession.
Ex:/Job 55
Jobs Id's:

/prof - Weapon proficiency of your choice.
Ex: /prof 410 20
Proficiency ID's:

/item - Rewards you with the item of your choice.
Ex: /item ConquestArmor 12 7 255 13 13
12-Plus
7-Bless
255-Enchant
13-GemID
13-GemID


Problems:

Need to knows


Little add-on:
Just as a little notice, use the function "search this thread", before asking any questions in top of this post.
Huseby

Is this not good enough?, this is the easiest. Thanks .Arco
06/24/2010 05:33 LucasTao#1555
when i type /level 137 i stay continue with 1 BattlePower how to fix it?
thx :D
06/24/2010 06:53 ShadowTro#1556
Well im done with the server,but who can tell me how can i share it with my friends?i only need to upload the client and thats all?hope thats all,just want to know...

BTW i got a question,some commands dont work,some1 can give me a bigger list of commands,?so i can get more gears,and attribute points,anyway,when i close the client and i open it back all my items are gone,how can i fix that?thx
06/24/2010 09:09 chronicdeath#1557
I'm having problems logging in every thing is done but when I go to sign in it keeps saying server mait.
06/24/2010 14:53 Adziunia#1558
Quote:
Originally Posted by ShadowTro View Post
Well im done with the server,but who can tell me how can i share it with my friends?i only need to upload the client and thats all?hope thats all,just want to know...

BTW i got a question,some commands dont work,some1 can give me a bigger list of commands,?so i can get more gears,and attribute points,anyway,when i close the client and i open it back all my items are gone,how can i fix that?thx
some of commands might not work coz u dont have them coded check ur chat.cs there r all commands that r coded in ur server. And about joining ur server simply they need to download ur(if u edited it) or from here client version 5165 and give them ur server.dat or tell how to change it. Hym so u r saying that after exiting the server and coming back ur items r gone? Before closing the server do u typing /exit into console? it will save everything before closing it
06/24/2010 21:09 flex30#1559
Quote:
Originally Posted by .Arco View Post
Try using the trade packet as a reference, I released the fixed trade packet, so search a bit for that.
I tried with your trade packet, so i replaced:

Quote:
P.WriteInt16((byte)I.Soc1);
P.WriteInt16((byte)I.Soc2);
with

Quote:
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
I can see the 2 soc, but can't see +1 bless etc..

So we realy need your help ^^
06/25/2010 17:14 ShadowTro#1560
I want to share my server friends downlaoded hamachi&joined to my network,a friend already downloaded my server,and well seems that all is good for me,he already downloaded hamachi,and joined to my new network,but i dont know why they cant login into my server i need to configure hamachi or what?help me please and thx.

BTW,the server data is configured with my hamachi ip,they are online in my network,but it just say server maintenance or internet congestion,please try again,and they can login,why?

BTW,thx adziunia,done with /exit command,i forgot it,hehehe thx

P.D.:where can i find chat.cs?