Official 5165 FAQ/Question thread

11/18/2010 15:57 sitdownson#1741
Quote:
Originally Posted by .Beatz View Post
Well that is why they dont save and load then. As far as I am aware there is no load/save system guide, but like I said look at the other load/save systems and start work on your own. If you get in trouble and need any help add me on msn.

I will not help you though if you have not been trying so please make an effort first, I do take into account that you are still learning but making something like this is a good learning curve for you.
Thanks alot, I kinda figured that part out now, now since I know why it doesnt load and save. I can finally start doing something and hopefully it turns out good, im willing to learn and accomplish.

Anyhow if i encounter any problems, ill let you know or give you an PM.
Seems your the only 1 thatīs really active here on this thread, thanks alot again:D.
11/19/2010 03:32 .Beatz#1742
Quote:
Originally Posted by webfael View Post
Need client this server....
????? what, please post questions/ whatever that is in proper English or German.
People cant help you if you post something like "Need client this server".

I am guessing! You need a Client for a 5165 server? If you do then search the forum for "5165 client" I am very sure you will find something.
11/25/2010 20:57 |NeoX#1743
And possibly even in the sticky :O
11/28/2010 02:28 motorman11#1744
when i try to login it says it aint responding any ideas of how i can fix it?
11/28/2010 12:18 .Beatz#1745
Check all of the IPs in the source and in the client. If not add me on msn and make sure you have TeamViewer
11/28/2010 20:48 kyle191#1746
Hello there. I have the server all setup and I was trying to add a NPC. I update the files NPCDialog.cs in the source and NPCs.txt in the database. When I create it and restart my server I see the NPC but it just says he doesn't do anything and his number is .... My unique number is all correct. I also have existing NPC's that do work, so I found them and edited words, restarted the server and it still says exactly the same before. Why is this? is there a refresh command for the console or another file?

Thanks.
11/28/2010 21:32 .Beatz#1747
Quote:
Originally Posted by kyle191 View Post
Hello there. I have the server all setup and I was trying to add a NPC. I update the files NPCDialog.cs in the source and NPCs.txt in the database. When I create it and restart my server I see the NPC but it just says he doesn't do anything and his number is .... My unique number is all correct. I also have existing NPC's that do work, so I found them and edited words, restarted the server and it still says exactly the same before. Why is this? is there a refresh command for the console or another file?

Thanks.
Did you compile (F6) the source? Sounds like you didn't...

When you make changes to a source you need to re-compile the source (F6) so it will work.

Side Note : When you do re-compile make sure you have exited the source beforehand if not it will not compile.
11/28/2010 21:36 kyle191#1748
Ok, How do you compile the source, I wanna make sure this is done correctly.

Thank you for your reply.
11/28/2010 21:59 .Beatz#1749
Read my post properly!

Hmmmmmmmmmmmm F6!
11/28/2010 23:39 kyle191#1750
I did this in visual c. I open the main file and pressed F6. Nothing happend.
11/29/2010 01:19 .Beatz#1751
Quote:
Originally Posted by kyle191 View Post
I did this in visual c. I open the main file and pressed F6. Nothing happend.
Did you change what you needed to change and then compile?

Btw after you compile you have to run the source... :facepalm:
11/29/2010 01:40 kyle191#1752
Ok I change what I needed, then I press F6. You mean start the debug? because I do that and get errors such as;

"Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\PluimpieCo\bin\Debug\PluimpieCo.vshost.exe'.
Additional Information: A call to PInvoke function 'PluimpieCo!PluimpieCo.Native::BF_cfb64_encrypt' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."

I'm new to Visual so I don't have any idea what I'm doing.
Thanks.
11/29/2010 13:19 .Beatz#1753
No dont start the debug because you will get loads of errors because the source is horrible!

Press F6 and then go to your Debug folder or wherever it is compiling the source...

Run the source from the folder and just like magic your changes will have taken effect.

If you still cant understand how to do it [Only registered and activated users can see links. Click Here To Register...] and then search for C# tuts and LEARN about C# before you try and go any further.
11/29/2010 13:34 Its Arco#1754
Quote:
Originally Posted by kyle191 View Post
Ok I change what I needed, then I press F6. You mean start the debug? because I do that and get errors such as;

"Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\PluimpieCo\bin\Debug\PluimpieCo.vshost.exe'.
Additional Information: A call to PInvoke function 'PluimpieCo!PluimpieCo.Native::BF_cfb64_encrypt' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."

I'm new to Visual so I don't have any idea what I'm doing.
Thanks.
Replace your native.cs with this
11/29/2010 18:28 kyle191#1755
I tried both and doesn't work.
When I press F6 im positive nothing happens. I looked up how to compile using Visual C
and I got this error after rebuilding;

------ Rebuild All started: Project: PluimpieCo, Configuration: Debug Any CPU ------
C:\PluimpieCo\PacketHandling\NPCDialog.cs(92,51): error CS1061: 'PluimpieCo.Game.Character' does not contain a definition for 'AddSend' and no extension method 'AddSend' accepting a first argument of type 'PluimpieCo.Game.Character' could be found (are you missing a using directive or an assembly reference?)

Compile complete -- 1 errors, 0 warnings
Build started 11/29/2010 5:24:32 PM.
CoreClean:
Deleting file "C:\PluimpieCo\obj\Debug\PluimpieCo.Extra.SkillAdd er.resources".
Deleting file "C:\PluimpieCo\obj\Debug\PluimpieCo.Form1.resource s".
Deleting file "C:\PluimpieCo\obj\Debug\PluimpieCo.Form2.resource s".
Deleting file "C:\PluimpieCo\obj\Debug\PluimpieCo.GUI.resources" .
Deleting file "C:\PluimpieCo\obj\Debug\Pluimpie_Co.Properties.Re sources.resources".
Deleting file "C:\PluimpieCo\obj\Debug\GenerateResource.read.1.t log".
Deleting file "C:\PluimpieCo\obj\Debug\GenerateResource.write.1. tlog".
CoreResGen:
"C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:C:\PluimpieCo\bin\Debug\ManagedOpenSsl.dll /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ mscorlib.dll" /r:C:\PluimpieCo\bin\Debug\MySql.Data.dll /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Core.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.DataSetExtensions.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Drawing.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Windows.Forms.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Xml.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Xml.Linq.dll" /compile Extra\SkillAdder.resx,obj\Debug\PluimpieCo.Extra.S killAdder.resources Form1.resx,obj\Debug\PluimpieCo.Form1.resources Form2.resx,obj\Debug\PluimpieCo.Form2.resources GUI.resx,obj\Debug\PluimpieCo.GUI.resources Properties\Resources.resx,obj\Debug\Pluimpie_Co.Pr operties.Resources.resources
Processing resource file "Extra\SkillAdder.resx" into "obj\Debug\PluimpieCo.Extra.SkillAdder.resourc es".
Processing resource file "Form1.resx" into "obj\Debug\PluimpieCo.Form1.resources".
Processing resource file "Form2.resx" into "obj\Debug\PluimpieCo.Form2.resources".
Processing resource file "GUI.resx" into "obj\Debug\PluimpieCo.GUI.resources".
Processing resource file "Properties\Resources.resx" into "obj\Debug\Pluimpie_Co.Properties.Resources.resour ces".
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Csc. exe /noconfig /unsafe+ /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:C:\PluimpieCo\bin\Debug\ManagedOpenSsl.d ll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ mscorlib.dll" /reference:C:\PluimpieCo\bin\Debug\MySql.Data.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Drawing.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Windows.Forms.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Xml.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /nowin32manifest /optimize- /out:obj\Debug\PluimpieCo.exe /resource:obj\Debug\PluimpieCo.Extra.SkillAdder.res ources /resource:obj\Debug\PluimpieCo.Form1.resources /resource:obj\Debug\PluimpieCo.Form2.resources /resource:obj\Debug\PluimpieCo.GUI.resources /resource:obj\Debug\Pluimpie_Co.Properties.Resource s.resources /target:winexe /win32icon:favico.ico Connection.cs CpuUsage.cs Cryptographer.cs Database.cs DMap.cs DropRates.cs Extra\BlessEffect.cs Extra\SkillAdder.cs Features\DMScore.cs Features\Guilds.cs Features\GuildWars.cs Features\Mining.cs Features\PersonalShops.cs Features\PKTournament.cs Features\QuizShow.cs Features\Skills.cs Features\Teams.cs Form1.cs Form1.Designer.cs Form2.cs Form2.Designer.cs Game\Character.cs Game\Companion.cs Game\Mob.cs GUI.cs GUI.Designer.cs MyThread.cs Game\NPC.cs Game\Robot.cs Game\World.cs Main\AuthWorker.cs Main\Blowfish.cs Main\GameClient.cs Main\GameWorker.cs MyMath.cs Native.cs Main\Packets.cs PacketHandling\Attack.cs PacketHandling\CharacterMaking.cs PacketHandler.cs PacketHandling\Chat.cs PacketHandling\Compose.cs PacketHandling\CoolEffect.cs PacketHandling\Friends.cs PacketHandling\GetGuildMembers.cs PacketHandling\Guild.cs PacketHandling\GuildMembInfo.cs PacketHandling\ItemPacket\DBUpgrade.cs PacketHandling\ItemPacket\DropAnItem.cs PacketHandling\ItemPacket\DropMoney.cs PacketHandling\ItemPacket\Equip.cs PacketHandling\ItemPacket\MeteorUpgrade.cs PacketHandling\ItemPacket\Shops.cs PacketHandling\Jump.cs PacketHandling\Marriage.cs PacketHandling\NPCDialog.cs PacketHandling\PickItemUp.cs PacketHandling\Portal.cs PacketHandling\Revive.cs PacketHandling\Team.cs PacketHandling\Teleport.cs PacketHandling\Trade.cs PacketHandling\WalkRun.cs PacketHandling\Warehouse.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs "C:\Documents and Settings\Kyle\Local Settings\Temp\.NETFramework,Version=v4.0.AssemblyA ttributes.cs"

Build FAILED.

Time Elapsed 00:00:03.39
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========