|
You last visited: Today at 13:54
Advertisement
[Release]5165 code to prohibit Guard attack
Discussion on [Release]5165 code to prohibit Guard attack within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/04/2010, 11:07
|
#16
|
elite*gold: 0
Join Date: Apr 2006
Posts: 534
Received Thanks: 66
|
I have hit thanks because it will help others out  It does not help me because I had fixed my problem already I just simply can not change the Guards name at all. Try to use a magic attack on WHSGuardian and you will understand what I mean lol. Any NPC with the name Guard is protected >.<
But the normal NPCs you can still use magic attack on lol. I have tried before with the mesh thing but I like to experiment with changing the meshes around AND the names around but for now the Guards are staying as Conquer guards hehe
|
|
|
02/05/2010, 01:59
|
#17
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
thanks for hitting the button.
I figured out your problem. In 5165 original source.. GetNPCTarget method was include, with it players may take a particular NPC as there target. So for you to resolve your problem just modify the codes under that method. or you may try this to simple fix.
1. open Skills.cs and search for this code
Quote:
2. comment that line of code like this (intended only for noob just incase they don't know how to comment a line of code
Quote:
|
|
|
02/05/2010, 05:20
|
#18
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Quote:
Originally Posted by WHITELIONX
I have hit thanks because it will help others out  It does not help me because I had fixed my problem already I just simply can not change the Guards name at all. Try to use a magic attack on WHSGuardian and you will understand what I mean lol. Any NPC with the name Guard is protected >.<
But the normal NPCs you can still use magic attack on lol. I have tried before with the mesh thing but I like to experiment with changing the meshes around AND the names around but for now the Guards are staying as Conquer guards hehe
|
Check the flags, thats what its mostlikely causing it, since you can attack it its mostlikeyly using the flag just how the Pilar is POLE in gw, check it out not so sure tho.
|
|
|
02/08/2010, 02:58
|
#19
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by -Shunsui-
Check the flags, thats what its mostlikely causing it, since you can attack it its mostlikeyly using the flag just how the Pilar is POLE in gw, check it out not so sure tho.
|
what flag?
|
|
|
02/08/2010, 12:23
|
#20
|
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
|
Possibly a shop flag, I thought of doing that.
Rename a shop flag and make a CTF sort of thing, when the flag gets hit it drops an item called "Flag", you return it to your base for a score.
It would be really simple, but then you have problems with the flag dropping or not.
You would have to make the flag, when picked up... lock or bind your gear then make you black name.
Then after the flag drops and is no longer in your inventory return your characters items and pk status to normal.
|
|
|
02/09/2010, 03:09
|
#21
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by Mentalis
Possibly a shop flag, I thought of doing that.
Rename a shop flag and make a CTF sort of thing, when the flag gets hit it drops an item called "Flag", you return it to your base for a score.
It would be really simple, but then you have problems with the flag dropping or not.
You would have to make the flag, when picked up... lock or bind your gear then make you black name.
Then after the flag drops and is no longer in your inventory return your characters items and pk status to normal.
|
its sound like a quest... i think that would be out of the topic. but thanks for giving some inputs...
|
|
|
02/15/2010, 08:29
|
#22
|
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 2
|
one problem i have is that i cannot hit any mobs, but i can use magic on them. anybody got that problem?
|
|
|
02/15/2010, 12:48
|
#23
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by killerbee
one problem i have is that i cannot hit any mobs, but i can use magic on them. anybody got that problem?
|
did u add any other codes aside from my release? i think you are the first who encountered such problem.
|
|
|
02/15/2010, 16:30
|
#24
|
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 2
|
Quote:
Originally Posted by kamote
did u add any other codes aside from my release? i think you are the first who encountered such problem.
|
i dont think ive added any code from ur release. give me some links to your releases. want to check if i did or did not
|
|
|
02/16/2010, 08:09
|
#25
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by killerbee
i dont think ive added any code from ur release. give me some links to your releases. want to check if i did or did not
|
its in the first page of this post...
|
|
|
02/16/2010, 16:40
|
#26
|
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 2
|
yes, i use all the codes on the first page
|
|
|
02/17/2010, 03:44
|
#27
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by killerbee
yes, i use all the codes on the first page
|
when did u use it... i made changes on it... check the steps again...
|
|
|
02/17/2010, 04:12
|
#28
|
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 2
|
Quote:
Originally Posted by kamote
when did u use it... i made changes on it... check the steps again...
|
when i post on post #22
|
|
|
02/17/2010, 11:19
|
#29
|
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
|
Quote:
Originally Posted by killerbee
when i post on post #22
|
ok i got your problem... you need to add some checking on magic attack too... just like what i did in Skill.cs
|
|
|
Similar Threads
|
[Release]Reviver Guard[5165]
10/02/2010 - CO2 PServer Guides & Releases - 46 Replies
Sup,
I have not released anything yet so I will release a reviver guard....
go into Program.cs and find
foreach (Hashtable H in Game.World.H_Mobs.Values)
{
foreach (Mob M in H.Values)
{
|
[RELEASE] 5165 attack bug fixed. and Vote npc!
04/01/2010 - CO2 PServer Guides & Releases - 27 Replies
Ok so Snow and Para (coders and owners of Conquer 3.0) are releasing a few codes to solve the bugs on all 5165 sources. The main and major bug everyone has problems with is WeaponMaster (item upgrading) seems to give every brilliant attack unless they relog. So we have coded it so it disconnects you. But you have otpion to continue upgrading so you dont have to keep dcin every single upgrade. Here it is.
#region WeaponMaster
case...
|
All times are GMT +1. The time now is 13:54.
|
|