.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   Little WP check glitch... (http://forums.bots-united.com/showthread.php?t=1743)

>BKA< T Wrecks 23-05-2004 12:11

Little WP check glitch...
 
Ok, I found one small mistake in the way the automatic WP check works. Let me try to explain this with an example. Let's say you placed a camp WP, which happens to be #157 in our example, on top of a crate - and you forgot something there. Much later, you want to save, and now there are three possibilities:

1)You forgot both a connection TO 157 and one back FROM 157.
Result: You'll get the error message "#157 is not connected with any other WP" and be teleported to 157. Perfect.

2)You placed 157, and a connection down from the crate was drawn automatically. However, you forgot to make a nice jump connection up to 157.
Result: You'll get the error message "no path found from 0 to 157" and be teleported to 157. Just fine.

3)You placed 157 with very short apmd setting or apmd off, then made a jump connection up there. However, you forgot to add a connection down.
Result: You'll get the error message "no path found from 157 to 0" and be teleported to 0!!! This is not ideal.
----------------------------------------
So the code does some check like this:
If there's no connection from A to B, teleport to B.

Ideally, the check would be as follows:
if there's no connection from A to B,
check if B is 0.
If B is not 0, teleport to B
else teleport to A.
-----------------------------------------
NOTE: Of course there's an easy workaround: Once you get teleported back to 0, open the console, read the error message and do a manual teleport to the other WP. This bug is really no biggie, but if it's easy to fix... 9_9

Huntkillaz 23-05-2004 23:13

Re: Little WP check glitch...
 
hehe yeah i found this annoying too should be an easy fix :)

biohazerd87 23-05-2004 23:30

Re: Little WP check glitch...
 
yeah i had this problem to it really sucks when you have edited the maps waypoints a lot so there is pretty much no order anymore and waypoint 200 is next to 597 and you have to guess where the broken waypoint is lol

sPlOrYgOn 09-06-2004 08:28

Re: Little WP check glitch...
 
it will now teleport you to the first waypoint it mentions if the second waypoint is zero...
but it could be a problem if the waypoint that has the problem is zero...

Huntkillaz 09-06-2004 08:41

Re: Little WP check glitch...
 
Quote:

Originally Posted by sPlOrYgOn
it will now teleport you to the first waypoint it mentions if the second waypoint is zero...
but it could be a problem if the waypoint that has the problem is zero...

sweet i was just looking at the code for how to do this :D

oh well doesn't really matter about zero as the chances of a prob there are smaller

?


All times are GMT +2. The time now is 00:45.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.