HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Cure Bug with KITO build?

View previous topic View next topic Go down 
AuthorMessage
Moonlight~{Wildcat26}

avatar

Game username : Wildcat26 (All IT servers & FH)
Server : Explorer Core
Female Posts : 45
Join date : 2011-09-20
Age : 27
Location : Stalker :U

PostSubject: Cure Bug with KITO build?   Mon Jul 15, 2013 4:11 am

Recently I've noticed, after working on my server, that normal cure no longer works on other players to heal them.
When using F1+E to target or even just clicking and switching to F1 much like you would your pet; it shows the player targeted with the little indicator and even shows the character health bar at the top, but fails to cure them.
Now to the player doing the curing, it appears to work, the little green cure sparkles show on the targeted player and the health bar display sometimes will go up, but there is no affect on the player being healed.
Now you can heal pets fine and even can heal other player's pets..

This issue is on both my own unmodified(with exception to added item slots) server, and for the one I am working on with a friend, both using the KITO build. We have tried many things and can only guess it must be something in the code source.

This should clearly show what mean how to the player who is trying to use the cure, it appears to work on the targeted player, however the targeted player being cured does not heal. It was taken on my server. ( I suggest clicking the vid and watching in HD on YT.)

[You must be registered and logged in to see this link.]

Now this feature worked in oIT, and has worked in several other servers I have played since, so I'm not sure if this is just a bug in the KITO build that needs fixing or if it was intentionally disabled for some reason.

In either case it is causing issues for my server and for the one I work for, for something we are trying to do, and a fix would be much appreciated.

If there is no fix, or no one is willing to find a fix for this, any information on at least where in the source to find the part of the code that affects skills hitting their target(?) I guess would be the term, would be something to help, we could try to figure it out at least.

Thank you for reading,
Wild
Back to top Go down
http://wildcat-26.deviantart.com/
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 740
Join date : 2011-11-27

PostSubject: Re: Cure Bug with KITO build?   Mon Jul 15, 2013 4:51 am

Yes I have know we have this bug on Dragon's Den and I have not been able to find the error.
~Lazyzim~
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Cure Bug with KITO build?   Mon Jul 15, 2013 8:16 pm

I have looked at the video a few times and I have a single theory:
* Look in the .character file for that character/user.
* The line above the actions available will by default show 500;500
What does it show instead?

________________________________
Retired
Back to top Go down
Moonlight~{Wildcat26}

avatar

Game username : Wildcat26 (All IT servers & FH)
Server : Explorer Core
Female Posts : 45
Join date : 2011-09-20
Age : 27
Location : Stalker :U

PostSubject: Re: Cure Bug with KITO build?   Tue Jul 16, 2013 3:50 am

lazyzim wrote:
Yes I have know we have this bug on Dragon's Den and I have not been able to find the error.
~Lazyzim~
Well at least we're not the only ones having the issue, but sad to see there is no fix currently. :/
We are very frustrated with it, as we think it could be impeding our ability to make other cure skills that could be used on other players, like a group cure, as well.
We've tried many ways to get it working, searching the source, and here on the forum for a solution to no avail, so we're kinda at our wits end with this issue; it is currently the only bug left on the server. >.<


RedEye wrote:
I have looked at the video a few times and I have a single theory:
* Look in the .character file for that character/user.
* The line above the actions available will by default show 500;500
What does it show instead?

Do you mean the .item file?
Because the .character file only contains this, much like the char specs for a campaign:


Code:
Moonlight;Body;Head2;Mane23;Tail3;Wingless;CustomMat;Tuft2;20;16;8;1.6|0.689 0.689 0.745 1;1 1 1 1;0.865 0.689 0.432 1;0.67 0.333 0.017 1;0.611 0.314 0.059 1;0.333 0.178 0 1;0.865 0.67 0.412 1;0.865 0.67 0.412 1;0.611 0.748 0.493 1;0 0 0 0;0.1 0.119 0.236 1
ok;.3 .4 .5


The .item file for the player using the cure looks like this:

Code:
saberteeth
clawsR
clawsL
earrings






500;500
Backflip;4|Stomp;21|Roar;13|Cure;10|


The .item file for the targeted player looks like this(they have no skills or items equipt, so big blank space):

Code:










245;500


I did notice in going on and testing again, that when you first target the player the health bar display at the top is empty despite the character having half health; and that when you cure it fills half way, then stops, no matter how much cure you use. I can provide another video if needed.
Back to top Go down
http://wildcat-26.deviantart.com/
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Cure Bug with KITO build?   Tue Jul 16, 2013 11:35 am

That is indeed mysterious then.
I'll look into it.

________________________________
Retired
Back to top Go down
Moonlight~{Wildcat26}

avatar

Game username : Wildcat26 (All IT servers & FH)
Server : Explorer Core
Female Posts : 45
Join date : 2011-09-20
Age : 27
Location : Stalker :U

PostSubject: Re: Cure Bug with KITO build?   Tue Jul 16, 2013 6:30 pm

RedEye wrote:
That is indeed mysterious then.
I'll look into it.

Thank you very much Red, it's driving us batty at this point. lol

I know one friend suggested it maybe had to do with the 'Hit Ally' part of the code, but we haven't been able to find it, and cure still works fine on pets, so no clue. >.>
Back to top Go down
http://wildcat-26.deviantart.com/
Myz
Coder
Coder


Server : Last Moon(http://lastmoon.org), Dawn of Eternity(http://dawn-of-eternity.com)
Posts : 150
Join date : 2012-11-18

PostSubject: Re: Cure Bug with KITO build?   Wed Jul 17, 2013 4:04 am

It's a netcode issue, I remember having to edit a bunch of crap to make it possible to hit other players.
Back to top Go down
Moonlight~{Wildcat26}

avatar

Game username : Wildcat26 (All IT servers & FH)
Server : Explorer Core
Female Posts : 45
Join date : 2011-09-20
Age : 27
Location : Stalker :U

PostSubject: Re: Cure Bug with KITO build?   Mon Sep 16, 2013 8:06 pm

By any chance has there been any progress on this? :c

Myz wrote:
It's a netcode issue, I remember having to edit a bunch of crap to make it possible to hit other players.
I'm not talking about hitting as in attacking. I'm talking about a feature that worked fine in oIT and on other servers that don't use the KITO code.
Somehow something with that part of the code, whether intentional or not, got broken when the current build was made. :/
Back to top Go down
http://wildcat-26.deviantart.com/
Iceland

avatar

Game username : Iceland
Male Posts : 76
Join date : 2013-10-11
Age : 21
Location : Iceland

PostSubject: Re: Cure Bug with KITO build?   Wed Mar 12, 2014 4:39 am

Actually, I found this on Wolf Soul, another IT Server. So it's not just you guys.. it's like everyone.
Doesn't work for me either.
Back to top Go down
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 740
Join date : 2011-11-27

PostSubject: Re: Cure Bug with KITO build?   Wed Mar 12, 2014 5:12 am

It is due to the coding in place to identify if a player hits another player.
Removal of this code and healing of other players works again.
Back to top Go down
Iceland

avatar

Game username : Iceland
Male Posts : 76
Join date : 2013-10-11
Age : 21
Location : Iceland

PostSubject: Re: Cure Bug with KITO build?   Wed Mar 12, 2014 5:58 am

What's the code? Already listed?
Back to top Go down
AlphaOmega



Posts : 1
Join date : 2013-12-16

PostSubject: Re: Cure Bug with KITO build?   Sun Mar 23, 2014 5:17 am

lazyzim wrote:
It is due to the coding in place to identify if a player hits another player.
Removal of this code and healing of other players works again.

which code and what file is the code in... a little more info would be much appreciated.. or even an example of the code anything more than just a few vague words would be great

thanks
Back to top Go down
Moonlight~{Wildcat26}

avatar

Game username : Wildcat26 (All IT servers & FH)
Server : Explorer Core
Female Posts : 45
Join date : 2011-09-20
Age : 27
Location : Stalker :U

PostSubject: Re: Cure Bug with KITO build?   Thu Apr 10, 2014 5:17 am

lazyzim wrote:
It is due to the coding in place to identify if a player hits another player.
Removal of this code and healing of other players works again.

Ahhh so that's what it was, I knew it had to be something that was added in from KITO.
Both our members of the team that know a bit about coding have been trying to find it and fix it, and we found one piece of code in the magixserver.cpp file around line 1733 for the server warning that a player has attacked another player and tried removing it, but the issue is still there.
Is it that we're missing another part of the offending code in a different file? If so could someone point it out, as we've tried searching the files several times by 2 different people.

Any help would be greatly appreciated as we would really like to be done with this issue and be able to help others.

At least we know the problem is fixable now... Idea 

Thanks,
Wild
Back to top Go down
http://wildcat-26.deviantart.com/
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 740
Join date : 2011-11-27

PostSubject: Re: Cure Bug with KITO build?   Fri Apr 11, 2014 2:06 pm

I removed the "offending" code form my compile. But suggest you do a search on Server Warning.
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Cure Bug with KITO build?   Sat May 10, 2014 9:05 pm

Here's the complete code needed for MagixServer.cpp:
Code:
case ID_PLAYERINFO:
{
 bool tReadSenderToken = false;
 if(imTheOwner(p))
 {
 RakNet::BitStream tReceiveBit(p->data, p->length, false);
 MessageID tMessage;
 tReceiveBit.Read(tMessage);

 RakNet::BitStream tBitStream;

 tBitStream.Write(tMessage);
 tBitStream.Write(getOwnerToken(p));
 tBitStream.Write(&tReceiveBit);
 sendAllServers(&tBitStream, LOW_PRIORITY, RELIABLE, 0, UNASSIGNED_SYSTEM_ADDRESS);
 }
 else tReadSenderToken = true;

 RakNet::BitStream tReceiveBit(p->data, p->length, false);
 MessageID tMessage;
 OwnerToken tSender;
 
string tMapName;
 unsigned char tDimension;
 bool tIsUpdate = false;
 bool tIsHit = false;

 tReceiveBit.Read(tMessage);
 BitSize_t offset;
 if(tReadSenderToken)
 { //printf("RTok\n");
 tReceiveBit.Read(tSender);
 offset = tReceiveBit.GetReadOffset();
 if(tSender<=0 || tSender>MAX_CLIENTS)break;
 tMapName = clientMap[tSender-1];
 tDimension = clientDimension[tSender-1];
 tReceiveBit.Read(tIsUpdate);
 tReceiveBit.Read(tIsHit);
 }
 else
{
 offset = tReceiveBit.GetReadOffset();
 getOwnerToken(p,tMapName,tDimension);
 tReceiveBit.Read(tSender);
 tReceiveBit.Read(tIsUpdate);
 tReceiveBit.Read(tIsHit);
 }

 if(tIsHit)
 {
 OwnerToken tUnitID;
 float tDamage = 0;

 tReceiveBit.Read(tUnitID);
 tReceiveBit.Read(tDamage);
 if(tDamage < 0 && tUnitID != tSender)
 { // user attacked another user
 const string tCaption = "<<(SERVER WARNING)>> "+clientName[tSender-1]+" ATTACKED "+clientName[tUnitID-1]+" FOR "+intToString((int)tDamage);
 RakNet::BitStream wBitStream;
 wBitStream.Write(MessageID(ID_GODSPEAK));
 stringCompressor->EncodeString(tCaption.c_str(),512,&wBitStream);
 sendMyPlayers(server,&wBitStream, MEDIUM_PRIORITY, RELIABLE, 0, UNASSIGNED_SYSTEM_ADDRESS);
 }
 tReceiveBit.SetReadOffset(offset);
 }
 //Complete packet relay
 RakNet::BitStream tBitStream;

 tBitStream.Write(tMessage);
 tBitStream.Write(&tReceiveBit);

 broadcastInMap(tMapName, tDimension, server, &tBitStream, LOW_PRIORITY, RELIABLE, 0, UNASSIGNED_SYSTEM_ADDRESS);
}
break;

If you just want the changes. Added lines marked with color: [You must be registered and logged in to see this link.]

________________________________
Retired
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Cure Bug with KITO build?   Sun May 11, 2014 5:02 am

Heal used:
Code:
[Heal2]
anim=Attack2
trailFX_bone=1,Arm4.R
trailFX_trailMat=1,FX/Attack2
trailFX_colour=1,0.3 1 0
range=9000
offset=0 1 0
hpMin=999
hpMax=999
hitAlly=true
autoTarget=true
singleTarget=false
soundRoar=true
attackRange=9000

Before healing:
[You must be registered and logged in to see this image.]

After healing:
[You must be registered and logged in to see this image.]

________________________________
Retired
Back to top Go down
Ognik

avatar

Game username : Ognik
Server : Impressive Title Polska (owner), Impressive World, Dragons Den, Last Moon, Wolf Soul (user)
Male Posts : 27
Join date : 2015-04-01
Age : 21
Location : Poland

PostSubject: Re: Cure Bug with KITO build?   Sat May 23, 2015 3:56 pm

I have this bug too Sad.
Back to top Go down
http://itpolska.krollew.pl
 
Cure Bug with KITO build?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: START HERE :: KITO's IT Source Code :: Bugs & Patches-
Jump to: