Official 5165 FAQ/Question thread

01/28/2010 15:46 MoD4fuk4#856
Quote:
Originally Posted by mAr1u$ View Post
why I got this errors cause I doesnt edit anything in NPCDialog.cs? all I edited is adding that /stats commands in chat.cs :-ss

[Only registered and activated users can see links. Click Here To Register...]
I believe these errors come with the source. If you want to fix them you have to look at each error and fix them by yourself. I think you should not bother to fix them until you get started editting NPCs
01/28/2010 15:59 MoD4fuk4#857
Can anyone give a little help here? --> [Only registered and activated users can see links. Click Here To Register...]

There a command to refill Mana and im adding one to refill HP, i openned the whole project, not only the chat.cs file, make the change and press F6 then F5 once im logged in i type /heal and nothing happens.

Just in case you need to know, my folders are here:

C:\OldCODB
..Desktop\conqua\5165\DarksideCOClient\
..Desktop\conqua\5165\Fixed Source\
01/28/2010 16:44 DeEveL#858
Quote:
Originally Posted by MoD4fuk4 View Post
I believe these errors come with the source. If you want to fix them you have to look at each error and fix them by yourself. I think you should not bother to fix them until you get started editting NPCs
I think so too, but i just want to edit xp rate, nothing else, yet, i cant cause of those errors...
01/28/2010 17:14 MoD4fuk4#859
Quote:
Originally Posted by DeEveL View Post
I think so too, but i just want to edit xp rate, nothing else, yet, i cant cause of those errors...
OOOOOHHHHHH.!!!! THANK YOUU.! You just made me open my noobie eyes hahaha Obviouly no chanced were gonna take effect cuz of that bunch of errors, so here what i did: I am not gonna bother fixing the errors yet so, i commented the whole NPCDialog.cs with /* at the beginning and */ at the end.

Also i had to comment another part at PacketHandler.cs where the NPCDialog.cs gets mentioned same way

/*What_I_need_to_comment*/

Then done :)

AND OF COURSE after i make my chances im going to uncomment the NPCDialog.cs and PacketHandler.cs
01/28/2010 22:33 Adziunia#860
Quote:
Originally Posted by MoD4fuk4 View Post
OOOOOHHHHHH.!!!! THANK YOUU.! You just made me open my noobie eyes hahaha Obviouly no chanced were gonna take effect cuz of that bunch of errors, so here what i did: I am not gonna bother fixing the errors yet so, i commented the whole NPCDialog.cs with /* at the beginning and */ at the end.

Also i had to comment another part at PacketHandler.cs where the NPCDialog.cs gets mentioned same way

/*What_I_need_to_comment*/

Then done :)

AND OF COURSE after i make my chances im going to uncomment the NPCDialog.cs and PacketHandler.cs
bcoz u all ;p r missing jst 1 { i will show u an exples

if (bla bl)
{
bla bla
} <<

public void bla bla
{
bla bla
} <<

all the "if"s, publics, etc always need the { << openning and } << ending

if i am wrong some1 correct me :)
XD

p.s. the program Visual C# is telling u whats wrong, missing, etc.
also the easiest way is that u can look at other scripts structure if that 1 u r adding is same as existing, if u r adding an npc even copy/paste take a look if ur new npc's structure is shorter, looks different, or whatever then take a look on existing and check whats wrong, missing ;p
01/28/2010 23:26 MoD4fuk4#861
Quote:
Originally Posted by Adziunia View Post
bcoz u all ;p r missing jst 1 { i will show u an exples

if (bla bl)
{
bla bla
} <<

public void bla bla
{
bla bla
} <<

all the "if"s, publics, etc always need the { << openning and } << ending

if i am wrong some1 correct me :)
XD

Hmmm well yes but i think they are specially needed where there are two or more event like:

IF something happens
{
do this
do that
}

you can see some examples of this in chat.cs
01/29/2010 06:27 snow118#862
Getting help on elite pvpers is like the eclipse. EXREMELY RARE. And makes your jaw drop when you see it. I am offering to everybody now any help they need with this source. Or the 5165 - powerco- steel pack and other sources. I have almost all of them and have most npcs for almost all sources out. If i aint got i know someone who has.. SO im offering free help to anyone and u dont even have to say thanks.. Just add my msn [Only registered and activated users can see links. Click Here To Register...] & i will help you with whatever you need. Your probably thinkin why would someone do this on elite pvpers.. Well im the eclipse. When i needed help because i was new to visualc# and coding nobody wanted to help or share information. Alot of people just take the P*ss out of you. I know what it feels like and i wanna help people not have to go through the same horse sh**. So if u want help message me what u need or add me and ill do what i can. Thanks alot epvpers. For absolutley nothing. x x x
01/29/2010 13:00 mAr1u$#863
damn I can't edit anything cause got that error... isn't anyone who can help me?
01/29/2010 13:06 MoD4fuk4#864
Quote:
Originally Posted by mAr1u$ View Post
damn I can't edit anything cause got that error... isn't anyone who can help me?
Maybe you want to read this quote! It will solve your problem.


Quote:
Originally Posted by MoD4fuk4 View Post
OOOOOHHHHHH.!!!! THANK YOUU.! You just made me open my noobie eyes hahaha Obviouly no chanced were gonna take effect cuz of that bunch of errors, so here what i did: I am not gonna bother fixing the errors yet so, i commented the whole NPCDialog.cs with /* at the beginning and */ at the end.

Also i had to comment another part at PacketHandler.cs where the NPCDialog.cs gets mentioned same way

/*What_I_need_to_comment*/

Then done :)

AND OF COURSE after i make my chances im going to uncomment the NPCDialog.cs and PacketHandler.cs
01/29/2010 13:39 dilo900#865
hey arco bro i need ur help add me on msn [Only registered and activated users can see links. Click Here To Register...] we need to talk business
01/29/2010 14:26 mAr1u$#866
Quote:
Originally Posted by MoD4fuk4 View Post
Maybe you want to read this quote! It will solve your problem.
I read it... and if i want to edit things in NPCDialog.cs ? I want to change some npc's dialog and action...
01/29/2010 15:11 WHITELIONX#867
Ok if people are having a problem with the NPCDialog.cs then firstly if I am not mistaken there is probably a CSocket in there somewhere so all you need to do is find it (this has been said before!) and delete that NPC from the source. The reason is simple this source does not use CSocket and it WILL screw the source up!

If it was not explained on this site then it was explained on the other site so forgive me if it was not this site that it was stated on. Basically it is down to ONE NPC that is most probably the reason why you get the errors because if I am not mistaken I had the same problem to begin with and deleted the CSocket NPC.

Do not just delete things though because you are looking for one specific thing in the NPCDialog.cs and you are looking for CSocket and nothing else and if you find CSocket in the NPCDialog.cs (I forget which NPC it actually is) then delete that NPC completely.
01/30/2010 17:41 SuperSnake#868
hello need help with this source I already made all thing i was in a guide but when i tried to log in the client close can someone help me how can i solve this?
01/30/2010 17:51 Arcо#869
Quote:
Originally Posted by SuperSnake View Post
hello need help with this source I already made all thing i was in a guide but when i tried to log in the client close can someone help me how can i solve this?
Are you using 127.0.0.1 as the GameSrverIP?
01/30/2010 17:57 SuperSnake#870
yeah i did anything as its said i got that ip at the server dat aswell