Official 5165 FAQ/Question thread

06/13/2010 03:11 .Summer#1516
oh, have you not downloaded c#?
06/13/2010 03:12 HugoLeSquirrel#1517
I have notepad + +
06/13/2010 03:13 .Summer#1518
you need c# compiler :D
06/13/2010 03:18 HugoLeSquirrel#1519
I feel dumb now xD I'll try it after a sleep and tel lyou about my new experiences with my hopefully soon fun-beeing server xD
06/13/2010 03:26 .Summer#1520
Quote:
Originally Posted by marvin1992 View Post
I feel dumb now xD I'll try it after a sleep and tel lyou about my new experiences with my hopefully soon fun-beeing server xD
I will join :D:D
any problems let me know and ill help the best I can :D
06/14/2010 22:50 ryuchetval#1521
how do i remove merchant protection (item drop,trade etc)...i tried by sending the 255 value first then 1 then 0 but none of em seems to work...i can't trade the highest potencty item how do i remove this?


EDIT: nvm fixed...i just removed some code lines and screwed it up
06/15/2010 09:17 MrDrama#1522
where can u find mod.cs were u can change the monsters to drop cps in your bag
06/15/2010 13:13 Adziunia#1523
Quote:
Originally Posted by MrDrama View Post
where can u find mod.cs were u can change the monsters to drop cps in your bag
in folder game is mob.cs if u have added atumatic cps to inventory then u can change it but if u dont have it then it was released here by Arco
06/15/2010 17:24 ryuchetval#1524
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?
06/16/2010 00:16 MrDrama#1525
client (5165) the level only gose to 137 but i want it to 255 if someone knows how to do the hole change can u please let me know and others might need it also thanks
06/16/2010 01:07 ryuchetval#1526
Quote:
Originally Posted by MrDrama View Post
client (5165) the level only gose to 137 but i want it to 255 if someone knows how to do the hole change can u please let me know and others might need it also thanks
Go to Characters.cs and look for
Code:
        public void IncreaseExp(uint Amount, bool isTeamExp)
and change all the if (Level < 137) to if (Level < 255)

Go to Database.cs and look for
Code:
        public static void LoadLevelExp()
change this
Code:
            LevelExp = new ulong[137];
to this
Code:
            LevelExp = new ulong[255];
and where you see
Code:
            LevelExp[130] = 8589148160;
            LevelExp[131] = 25767444480;
            LevelExp[132] = 77302333440;
            LevelExp[133] = 231907000320;
            LevelExp[134] = 347860500480;
            LevelExp[135] = 521790750720;
            LevelExp[136] = 782686126080;
continue until
Code:
            LevelExp[254] = exp required to level
also you need to change it in client to see the exp over level 137 but idk how to do that cuz the LevelExp.dat and levexp.dat are encrypted....so good luck with this
06/16/2010 15:21 flex30#1527
Any fix, for the second socket who don't appear when selling an item in market?
I searched but nothing..
06/16/2010 15:22 xStylo#1528
It appears to me o.O
Simply just take the onesoc spawn and make it 2nd soc spawn.
Make sure there is no blocking for 2nd.
06/16/2010 15:29 flex30#1529
I just don't find in which .cs it is :/
06/16/2010 15:30 xStylo#1530
in myshop.cs or charactershop.cs or vendor.cs or something. not sure.
but is under features folder I think.