Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #46  
Old 01-07-2004, 03:05 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by mew972
#grid add 2930 4 2
Note: You will want to use pause type 1 - full pause - for boats. So when you tell it to stop at a dock for 120, it stays there the full 2 minutes. No biggie, easy to fix. Just a comment.

Also I see you are using wander type 4. That has only been in the dev distributed version as of the LAST (1/4) release by Shawn319. I will assume that's the one you have.

Quote:
The boats to go to the first waypoint fine sometimes the second and occosinally the third.. but after the 2nd or the 3rd it seems to go to a random waypoint... any idea why? (using latest dr2 with pearl and myra DB)
That is a wierd behavior. It may be related to the other problems (heading and vanishing/misplaced mobs). The only thing that comes to mind is that it thinks the boat is somewhere else and is trying to move it back on the grid.... or the server thinks it is on the grid but the client thinks it is somewhere else. The server then tries to move it along the grid and the client moves it where it thinks the boat is at...

Anyway. Working on the bug. Took a little time off from it and did a little work on zone points today. Did about 250 of them, and have them on the server to be tested. Myra is working on them now.

Tomorrow, back to looking at the code and trying to figure this thing out.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #47  
Old 01-07-2004, 05:07 PM
Wumpas
Hill Giant
 
Join Date: Sep 2003
Posts: 154
Default response

Quote:
The boats to go to the first waypoint fine sometimes the second and occosinally the third.. but after the 2nd or the 3rd it seems to go to a random waypoint... any idea why? (using latest dr2 with pearl and myra DB)
Are you riding the boat or monitoring from a distance like on a dock watching it???

The Client dosent seem to update the boats position corectly unless you are right on it or VERY close im talking like within 20 meters in scale.

If you are more than that distance away the client seems to get confused to whare the boat is and it apears to teleport to random locations. I am not sure if that is desirable operation or if the position should update with the client more frequently then it does.

I might be off base here its just a guess

p.s. Once in a while ill have a real hard time with a spawn I tried making just one moving NPC in NKarana for Krich to debug with and no matter what it would not follow its path it would bounce high into the air and walk to random locations that i never waypointed. This might be as you are seeing and may be somthing to do with a set of circumstances (I dont know what but mabe in certain circumstances the pathing wont work "shot in the dark here") by the way that was wander type 1 pause type FULL

Also was the heading bug noticed at all in 5.0 or 5.1 ?? mabe it has to do with what was changed to make movment really fluent in 5.2? Mabe somthing got Omited acidently. There is a lot of code remed out dealing with angle?

Would it be a quicker dirtier fix to somehow make mobs calculate heading to next target after its pause is over?? at the very least least it may find the problem is in between someware.

This is the partial output monitoring calculateheadingtotarget()

Quote:
Wp#||delta_x||delta_y||delta_z||delta_heading||Hea ding

1|0|0|0|0
1|0|0|0|0|585
1|3.40723|-0.543457|0.00167656|-515|70
1|3.40723|-0.543701|0.00167656|0|70
2|61.2969|-9.77979|0.0301838|0
2|61.2969|-9.77979|0.0301838|0|70
2|3.3916|-0.633789|-0.000461578|1|71
2|3.3916|-0.633789|-0.000461578|0|71
2|3.3916|-0.633545|-0.000459671|0|71
2|33.1904|-6.20508|-0.00451279|0|71
3|-3.3916|0.634033|0.000461578|-128
3|-3.3916|0.634033|0.000461578|-128|-57
3|-3.38184|0.681885|0.000576019|1|-56
3|-3.38184|0.681885|0.000576019|0|-56
3|-3.38184|0.681885|0.000576019|0|-56
3|-3.38184|0.681885|0.000576019|0|-56
3|-3.3916|0.634033|0.000461578|0
3|-3.3916|0.634033|0.000461578|0|-57
3|-3.38184|0.684814|0.000583649|1|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38086|0.684814|0.000583649|0|-56
3|-3.38086|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38086|0.684814|0.000583649|0|-56
3|-3.38184|0.684814|0.000583649|0|-56
3|-3.38086|0.684814|0.000585556|0|-56
4|-51.6387|10.458|0.00890923|0
4|-51.6387|10.458|0.00890923|0|-56
WP 2 is a dockpoint and the ship exibits a "strange heading in game at this waypoint"

also Note: 0|-10|-10|-110|-1024 was spamed alot usualy 21 Iterations between each WP I listed I asumed that it was casued by something else in the zone and cut these out so my post wouldnt be monsterously long.

anything about these numbers seem odd?
__________________
For Power, For Inovation, Gnomercy Forever!
Reply With Quote
  #48  
Old 01-08-2004, 06:04 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default Re: response

Quote:
Originally Posted by Wumpas

Code:
Wp#||delta_x||delta_y||delta_z||delta_heading||Heading

1|3.40723|-0.543457|0.00167656|-515|70
1|3.40723|-0.543701|0.00167656|0|70
2|61.2969|-9.77979|0.0301838|0
2|61.2969|-9.77979|0.0301838|0|70
2|3.3916|-0.633789|-0.000461578|1|71
2|3.3916|-0.633789|-0.000461578|0|71
WP 2 is a dockpoint and the ship exibits a "strange heading in game at this waypoint"
See what happens at wp 2? Looks like a major leap... and a heading of 0 too. Did you set the boat to make a major turn at that point or is this something the server did in error?

Unless I misunderstood something in the code, the delt values are how much to change the valuse. In other words how much to move the NPC from the current position for X/Y/Z and how much to turn (and what direction) in the delta heading.

At the wp, the server sends a different packet. This one contains the actual position thet the NPC should be at. The real X/Y/Z and heading, not delta values. This allows the client to synch with the server so they agree where the NPC is, in case a packet has been lost or rounding on either side has caused a variance.

It is the second type of packet I have become suspicious of.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #49  
Old 01-08-2004, 08:20 AM
Wumpas
Hill Giant
 
Join Date: Sep 2003
Posts: 154
Default i see it

I see the large jumpo and it is not intentional i cant fatham why its so huge ill run this check on my other boat and see if I get similar numbers

heading 70
heading 70
heading 0 <<<< This look slike the wierd turn to me
heading 70
__________________
For Power, For Inovation, Gnomercy Forever!
Reply With Quote
  #50  
Old 01-13-2004, 06:45 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

I've been running some tests and have gotten the behavior of moving NPCs some better. I am now convinced its a bad packet (bad data in it) that is causing the problem....

You can check out what it looks like at this point if you would like, my test fixes are running on our server (Scorpious2k).
__________________
Maybe I should try making one of these servers...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:40 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3