Official 5165 FAQ/Question thread

03/06/2010 13:30 pintser#1171
Some problems from users who have asked before:

03/06/2010 14:21 .Beatz#1172
Hey guys hopefully someone can help me. i got some major bugs and i dont know whats wrong.
I would paste my debug.txt in here but it hasnt saved it to the file.
Its saying i have problems with some of my code.

Line 1385 in Database.cs
Code:
FileStream FS = new FileStream(@"C:\OldCODB\Users\Characters\" + C.Name + ".chr", FileMode.Open);
Line 1016 in Database.cs
Code:
                    FileStream FS = new FileStream(@"C:\OldCODB\Users\Characters\" + Name + ".chr", FileMode.Open);
Is there anything wrong here? If there is and someone can fix it i would much appreciate it... If not i can go TV with someone to help me :D
03/06/2010 16:11 Paralyzer[GM]#1173
Can you give us the error description please ?
03/06/2010 16:42 .Beatz#1174
I cant! the error does not save in the notepad file debug3.6.txt 3.6 thats todays date here.
It says something about security attributes. i will write it down next time it appears in the console.
but one of my BETA testers said that when he logged back in(when this was in BETA that his acct had not saved and the stuff he added before he logged off had gone)
i hope this helps
03/06/2010 22:21 miiax6#1175
hey all
this topic is 118 page now so
i will post my issues here without reading all the past posts
1 :
>> this source need mysql connection . why ?
i need to use mysql database instead off using folders and create files
co i can control server database using php i will be easy to use mysql than using this folder [Users] and files like this [java12.usr]
if that possible or not ?
2 :
i have to exit the working window and not terminate it
>> what about make it self save each x time like 15 mint so owner dose not lost all data
3 :
any one test running it under Linux using wine or any thing like it ??
i think i have bad English so try to understand me :rolleyes:
03/07/2010 01:52 keba0thu#1176
Hey, I am having a bit of a problem with an item I created. When I click on it it just disapears. I have coded it to give a Garment with sockets in it SDG or SPG depends on user submition. the code for the NPCDialog is

Code:
    #region MagicD
    case 16823:
    {
        if (Control == 0)
        {
            GC.AddSend(Packets.NPCSay("Which gem would you like in your garment?"));
            GC.AddSend(Packets.NPCLink("SDG", 1));
            GC.AddSend(Packets.NPCLink("SPG", 2));
            GC.AddSend(Packets.NPCSetFace(N.Avatar));
            GC.AddSend(Packets.NPCFinish());
        }
        if (Control == 1) { GC.MyChar.AddItem(191905 - 12 - 7 - 255 - 13 - 13); }
        if (Control == 2) { GC.MyChar.AddItem(191905 - 12 - 7 - 255 - 3 - 3); }
        break;
    }
    #endregion

The code for the item use in character.cs is

Code:
                    #region MagicD
                    case 721285:
                        {
                            {
                                MyClient.DialogNPC = 16823;
                                PacketHandling.NPCDialog.Handle(MyClient, null, 16823, 0);
                                MyClient.EndSend();
                            }
                            RemoveItem(I);
                            break;
                        }
                    #endregion
Again all it does is disapear.

Thanks in advanced,

Light
03/11/2010 06:45 lukejonesy#1177
i'd seen a post by somone the other day and they were saying that the 5165 had like a .dds file protector or some thing and that 5165 people couldn't do it?

but i don't believe it, because i recently added level 130 talis into my source via a post.
(i am using 5165. But talis aint actually weapons, so i dunno bout a sword)
03/11/2010 07:44 Arcо#1178
Quote:
Originally Posted by lukejonesy View Post
i'd seen a post by somone the other day and they were saying that the 5165 had like a .dds file protector or some thing and that 5165 people couldn't do it?

but i don't believe it, because i recently added level 130 talis into my source via a post.
(i am using 5165. But talis aint actually weapons, so i dunno bout a sword)
You can add stuff that doesn't require a mesh/texture.
03/11/2010 07:53 lukejonesy#1179
ok, i have used the search this tread tool and found nothing of it...

i have a problem with my +8 stone and wuxing oven, somehow its not letting me use any +8 stone eg. its blanked out when i put my main item in, and then i cnt put the +8 stone into the minor part. coz its blanked out lol

any ideas why? :O
03/11/2010 07:56 Arcо#1180
Quote:
Originally Posted by lukejonesy View Post
ok, i have used the search this tread tool and found nothing of it...

i have a problem with my +8 stone and wuxing oven, somehow its not letting me use any +8 stone eg. its blanked out when i put my main item in, and then i cnt put the +8 stone into the minor part. coz its blanked out lol

any ideas why? :O
[Only registered and activated users can see links. Click Here To Register...]
03/11/2010 08:05 lukejonesy#1181
yea i tried that code before, didn't work, i'll try again any way thanks.
03/11/2010 08:12 Arcо#1182
Quote:
Originally Posted by lukejonesy View Post
yea i tried that code before, didn't work, i'll try again any way thanks.
Go down a bit to my post in that thread, that code works 100%.
03/11/2010 08:26 lukejonesy#1183
grrr, still dnt work lol
03/11/2010 08:33 Arcо#1184
Quote:
Originally Posted by lukejonesy View Post
grrr, still dnt work lol
How are you spawning the +8 stone?
Because it should be like this:
/item +8Stone 0 8 0 0 0 0
03/11/2010 21:41 jasonk1980#1185
can anyone tell me how to get dmaps for lab1,2,3,4 to load also for frozen grotto as i have no idea how to do it and had no luck finding anything on how to do it. i was told that they needed to be loaded in order for mobs to be able to move in the map