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 | 
 

 Random Teleportation/Skill Gain

View previous topic View next topic Go down 
AuthorMessage
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Random Teleportation/Skill Gain   Wed Jul 30, 2014 3:42 am

Yes, I've seen this.

This was posted two years ago, and since my team and I started our server only months ago, we clearly have the latest version. However, this bug is still occurring.

It happens most often when we're attacking critters in a map. We'll be teleported to either a map that has a portal on the current map, or to the last map we were at. It's incredibly irritating and unacceptable for release.

What in the world is causing this reappearance? And is it only us?

Along with that, when we fight critters, we're randomly gaining skills. I was fighting a vulture earlier, and every few seconds I would earn 3-4 Cures. What is the cause of that? How/where would we fix it?
Back to top Go down
http://azoptaos.boards.net/
RedEye
Retired
avatar

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

PostSubject: Re: Random Teleportation/Skill Gain   Wed Jul 30, 2014 4:05 pm

That is certainly a first.
Is there anything special about your code?

________________________________
Retired
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Random Teleportation/Skill Gain   Wed Jul 30, 2014 11:37 pm

We've made some source changes, though I'm not sure why ours is acting up when others have made the same edits. Here's a list:

- Flight disabled in Ascension Island and Forest
- Ability to cure others
- Changed character creator/selector screens
- Set new map as Default
- Ability to resize presets
- Ability to backflip with wings

EDIT: So I seem to have found a fix.

I was playing around in MagixUnitManager and I was looking at portal/gate codes. I realized that the only maps we're flung to are maps that you reach by gates - I also noticed that portal and gate codes did not match up.

So I changed the codes to match them, and we're no longer teleported while fighting, nor do we gain random skills.

However, I now realize that the code I changed was the ability of a Gate to change a map's spawn point. So gates are now rendered useless.

There HAS to be another fix for this. But I guess we will just have broken gates for release.

Code:
}
   void updatePortalCollisions(MagixUnit *unit)
   {
      Portal *tPortal = mCollisionManager->getPortalHit(unit->getBodyEnt()->getWorldBoundingBox());
      if(tPortal)
      {
         mapChange.changeMap = true;
         mapChange.mapName = tPortal->dest;
         mapChange.changePoint = false;
         tPortal->disable();
      }
   }
   void updateGateCollisions(MagixUnit *unit)
   {
      Gate *tGate = mCollisionManager->getGateHit(unit->getBodyEnt()->getWorldBoundingBox());
      if(tGate)
      {
         mapChange.changeMap = true;
         mapChange.mapName = tGate->dest;
         mapChange.changePoint = true;
         mapChange.hasVectY = tGate->hasVectY;
         mapChange.point = tGate->destVect;
         tGate->disable();
      }
   }

Change:

}
void updateGateCollisions(MagixUnit *unit)
{
Gate *tGate = mCollisionManager->getGateHit(unit->getBodyEnt()->getWorldBoundingBox());
if(tGate)
{
mapChange.changeMap = true;
mapChange.mapName = tGate->dest;
mapChange.changePoint = false;
mapChange.hasVectY = tGate->hasVectY;
mapChange.point = tGate->destVect;
tGate->disable();
}
}
Back to top Go down
http://azoptaos.boards.net/
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Random Teleportation/Skill Gain   Sun Aug 03, 2014 8:04 am

Okay.

So the gate thing just slowed it down. This glitch is still alive and well.

I tried removing all gates from the game and it got worse. I really need a fix for this. There's no reason this should still be happening.

Some other fantastic bugs going on that no one else seems to have issues with:

- Random skill gaining while attacking critters
- When attacking a critter, your target spastically changes and you end up killing all the critters the target cycles through

I really need some help here. Any and all is appreciated. I've done nothing to the source that should cause any of this, as far as I know.

________________________________
Back to top Go down
http://azoptaos.boards.net/
RedEye
Retired
avatar

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

PostSubject: Re: Random Teleportation/Skill Gain   Sun Aug 03, 2014 9:34 am

use kdiff3 to compare the original source against yours

________________________________
Retired
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Random Teleportation/Skill Gain   Sun Aug 03, 2014 11:54 pm

Alright, I used kdiff3 and the only differences I could find were body selector addition, turned up grass density, turned off flying in two maps, character screen camera change, new default, and all the changes that we've made.

It's obviously a problem with something we added in...but I have no idea which edit would cause it or why.

EDIT

So I've redownloaded the original source and completely redone the exe.

I tested with another admin and a helpful member, and no teleporting occurred.

I'll be uploading the new exe tonight and if we're lucky, tomorrow we will be able to hunt without issue.

I will post the verdict tomorrow.

EDIT2

So in the morning, it was all fine and dandy. We were all able to kill things without issue. No teleportation at all.

We had 10 or so people online, so I asked everyone to come to Ranch, our biggest problem map. We began murdering all the animals, and after 10 mins or so, no one was teleported. I was confident it was fixed. I was running around and handing out items, and BAM, every single person was teleported.

Since then, it hasn't stopped.

We tried in other maps and were still teleported. I am at a complete loss. I thought maybe some hadn't replaced their exe, but I had a smaller group come to Tainted Plains and everyone had replaced it. I really don't know what to do anymore.


Did some more testing.

90% sure some people were on the wrong exe. I'll be uploading a new installer for less confusion and will go from there
Back to top Go down
http://azoptaos.boards.net/
 
Random Teleportation/Skill Gain
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 :: SUPPORT :: Support :: Solved Support Issues-
Jump to: