PDA

View Full Version : Need some help with the ships.


kin
22.09.2006, 11:39
I got the error:
09/22/2006 16:26:xx.xx1, trying to move vehicle to invalid position (-71651, 262159) at file[.\world_server.cpp], line[2321]
09/22/2006 16:26:xx.xx8, trying to move vehicle to invalid position (-71653, 262153) at file[.\world_server.cpp], line[2321]
09/22/2006 16:26:xx.xx6, trying to move vehicle to invalid position (-71655, 262146) at file[.\world_server.cpp], line[2321]
09/22/2006 16:26:xx.xx1, trying to move vehicle to invalid position (-71788, 262162) at file[.\world_server.cpp], line[2321]
09/22/2006 16:26:xx.xx8, trying to move vehicle to invalid position (-71789, 262155) at file[.\world_server.cpp], line[2321]
09/22/2006 16:26:xx.xx6, trying to move vehicle to invalid position (-71790, 262148) at file[.\world_server.cpp], line[2321]

this tells that the ship is trying to move to the position of 17.8_26. And we do not have the geo 17_26. Looking trough the Vehicledata.txt, I do not see that kind of coordinates. Where is the error?
And also when you travel to Rune, the ship goes to the "darkness" at the geo 16_20 and everything just hangs. What is the problem here? When travelling from Rune to Gludin, everuthing is fine.

kin
22.09.2006, 16:40
For now found one misstake. Kick Point
station_begin
station_id = 4
point={34381;-37680;-3610}
action_begin
set_kick_pos = {{-34513;38009;-3610};0} //배타고 있을 때 튕기는 장소(뒤의 0은 다음 action까지의 대기 시간)
Should be set_kick_pos = {{34513;-38009;-3610};0}

Could someone help with my main error?

HF
22.09.2006, 17:58
How much size your vecicle.txt script?

kin
22.09.2006, 18:35
xx.x Kb
/rus
То что ту шарили в папке Retail. Кажется он. И еще проблема, что когда из Глудина в Рун плыву, корабль уплывает в место без текстур как я понимаю и все виснет. А когда из Рун в Глудин, то все Ок.
/rus

kin
22.09.2006, 18:46
Here is the file

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
vehicledata.rar — 3517 байт

sys[antaris]
22.09.2006, 22:17
to kin
/rus
В архиве 2 сектора гео и поправленный скрипт vehicledata.txt это решит твои проблемы.
/rus

fix vehicle moving errors...

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
vg.zip — 5609 байт

kin
24.09.2006, 15:17
Thanks man! One question.
/rus
Объясни плисс что исправленно в скрипте? По строчкам сравнил - вроде одно и тоже. И еще что в гео исправленно. Просто хочу сам знть что и где ковырять
/rus

HF
24.09.2006, 20:43
Thanks man! One question.
/rus
Объясни плисс что исправленно в скрипте? По строчкам сравнил - вроде одно и тоже. И еще что в гео исправленно. Просто хочу сам знть что и где ковырять
/rus
two way for fix it:
- find one boat waypoint, where Y coordinate lower them 25 zone (minimum for world)
- add non-exitsting geodata for this locations (see archiv). This way simple, because can use simple geodata (300kb). Only need change header.

kin
27.09.2006, 09:11
I have those geos in my Geodata folder. I can't find where to lower Y coordinates! Just /rus намекни /rus :)

kin
27.09.2006, 17:25
Can anyone help me please?
Fighting with it for many weeks! :(

Stazis
27.09.2006, 20:50
координаты в локациях **_26 это все у которых у>262144 правда у себя я таких не нашел.
разницу смотри в строке 163
station_begin station_id = 5 point={-70848;260696;-3610} action_begin departure = {200;800;0;801;1487} action_end station_end //261696


Y-coordinate for location like **_26 are above 262144. I haven't found such in my vehicle data but due to departure of ship it does not have to be there.

so pay attention to differense in string 163 of vehicledata.txt

kin
28.09.2006, 04:48
Так в том то и дело, что у меня нету таких координат. На предыдущей странице я свой файл вешал, глянь, там все нормально с координатами :( Больше чем 261696 нету!

I do not see that kind of coordinates in my vehicle.txt file and that is my problem! I do not have Y more than 261696 and can't find what to fix.

kin
28.09.2006, 04:54
Here are the lines 163-164
station_begin station_id = 5 point={-70848;261696;-3610} action_begin departure = {200;800;0;801;1487} action_end station_end //충돌방지스테이션
station_begin station_id = 0 point={-83344;261610;-3610} action_begin
Should I change them? Should I put 260696 and 260610 instead of what I have now?

Stazis
28.09.2006, 05:00
from that sys[antaris] said - yes - this is main fix of your problem

kin
28.09.2006, 05:12
Will try! Strange, 261610 is xx.xx3, and 260610 is xx.xx3
So small difference! But again, will try :)

kin
28.09.2006, 06:07
15 minutes - no error regarding the ships :)
another 15-20 minutes and I would say the problem is fixed :)

HF
28.09.2006, 06:13
15 minutes - no error regarding the ships :)
another 15-20 minutes and I would say the problem is fixed :)
Thanks for your testing. Now i can fix it on my server too :)

kin
28.09.2006, 06:39
1 Hour and 16 minutes! That's it!!!
Thank Stazis for explaining!
I think this would be nice share for everyone!