Official 5165 FAQ/Question thread

05/11/2010 04:45 Arcо#1321
No problem.
Glad to be of assistance (:
05/11/2010 04:50 Axe4Hire#1322
btw if i want to give someone my server what files do i need to give them the client folder is one but do i need to give them any others?
05/11/2010 05:19 Arcо#1323
Basically all they need is the server.dat unless you made edits, then you need to give them patches.
05/11/2010 13:51 LetsGo42#1324
Hi, i never Programmed before and want to know, if i can use the standard "Editor" for it?
Cos sometimes if i open Files its showing me weird Signs.
I wanted to clear the Nobility Board.
So i tried to open in "OldCODB" the "Nobility.dat", but all i could see was this (Screenshot).
How can i change the Text to normal, or ii it even possible to change the Files with the Editor?

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

thanks
05/11/2010 19:35 .Summer#1325
just delete all text in nobility to clear it :)
is encrypted, so you will need to decrypt it to see it as normal text :D
05/11/2010 19:42 LetsGo42#1326
Quote:
Originally Posted by .Summer View Post
just delete all text in nobility to clear it :)
is encrypted, so you will need to decrypt it to see it as normal text :D
Ah im using Microsoft Visual C# 2010 Express now, i tried to create and NPC but failed!:(
05/11/2010 22:23 Arcо#1327
Quote:
Originally Posted by .Summer View Post
just delete all text in nobility to clear it :)
is encrypted, so you will need to decrypt it to see it as normal text :D
It's not encrypted -.-"
It's encoded in binary.
You'll need to decode it.
05/12/2010 16:06 LetsGo42#1328
Quote:
Originally Posted by .Arco View Post
It's not encrypted -.-"
It's encoded in binary.
You'll need to decode it.
And how can i encode it? :confused:
05/12/2010 16:40 .Dan.#1329
When I open the CSPROJ I get alot of Invalid Token messages and messages like the name CSocket doesn't exist in the current context, while every reference is there. Kinda weird.
05/12/2010 18:13 LetsGo42#1330
Quote:
Originally Posted by LetsGo42 View Post
Ah im using Microsoft Visual C# 2010 Express now, i tried to create and NPC but failed!:(
Ok here are some Screenshots, i hope this helps you to find out my Failing:o
I tried to create a NPC
I started "Microsoft Visual C# 2010 Express", went to Fixed Source/rikardo updated and loaded the Project "NewestCOServer", which is a Visual C# Project File (.csproj).

Here begins my Perplexity already, cos there are 2 Files, which File should i open? Does it plays a Role at all, or is it identical?
Well, i used the first
So, i opened the "NPCDialog.cs" and copied this Code between 2 NPC`s

PHP Code:
 #region NPCTest
                            
case 300111:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Hi, im ur first NPC!"));
                                        
GC.AddSend(Packets.NPCLink("Cool"1));
                                        
GC.AddSend(Packets.NPCLink("Haa Ok Then"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    
                                            }

                                        }

                                    break;
                                }
                            
#endregion 
Then i went to "OldCODB" and opened "NPC.txt", scrolled to the End and added this

PHP Code:
300111 8099 2 28 1002 433 362 
I checked before if the Case Number isnt already in use (CTRL + F), my Number 300111 couldnt be find.
So i added the Map ID of Twin City and some Coordinates to it.
Saved it and closed "NPC.txt"

Then i went back to Microsoft Visual and started Debugging,
NewestCOServer.exe popped up, i opened my Client.exe and logged in.

There is added a new NPC on the Coordinates i choosed, but he dont got the intended Name and if i click on him, he says: "Hi, i dont talk anything useful yet, my ID is 300111" (Screenshot)

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

So, wtf im doing wrong?:(
05/12/2010 18:33 mason2k2008#1331
hello im haveing a problem with the rebith system. When u reborn 1st time it all works but at the end it teleports you to bird island on the water? Any 1 have any idears ???? and the same gos for 2nd rebirth as well. would be really greatfull iff some one could help me out
05/12/2010 23:36 Arcо#1332
Try adding a teleport method inside of the rebirth script.
Teleport(1002, 438, 377);
05/12/2010 23:57 mason2k2008#1333
Quote:
Originally Posted by .Arco View Post
Try adding a teleport method inside of the rebirth script.
Teleport(1002, 438, 377);


Thanks for the help i sorted it out :D
05/13/2010 04:38 Arcо#1334
Alrighty, no problem.
05/13/2010 05:21 .Summer#1335
Quote:
Originally Posted by .Arco View Post
It's not encrypted -.-"
It's encoded in binary.
You'll need to decode it.
with a binaryreader.
almost the same.