Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share] GeoBug Files (https://postpacific.loc-online.com/showthread.php?t=7976)

Forcer 05.07.2007 07:50

[Share] GeoBug Files
 
Hello, little share - GeoBug files (xx_xx_bug.txt).
I'am collected a lot of bad points (GetTestPoint) from my server and parsed it with l2scriptmaker. (Thx to hf ^^)
So...many GeoBug points added, but this not all, i will sometimes update this.

I hope to somebody it to be useful.
Installation: Copy all *.txt files from archive to geodata folder (where _conv.dat files).
This geo_bug files is better to use on official C4 geodata from "la2merchant" with official path maker!

http://rapidshare.com/files/42848728...1426.rar.htmll (Updated xx.xx.07, +1426 )
Total nn points.

HF 05.07.2007 08:03

Possibly, this is the best idea.
Better it would learn all this to make. To each geo-pack - self _bug files.
Tool made for help to do it. Server admin must do it each day/week for updating bugfiles.

Ma4o 05.07.2007 15:39

[rus]
Идея не очень, гео разные и ошибки разные.
[/rus]

Forcer 05.07.2007 15:44

[rus]
Эти баг-файлы с уклоном гео мерчанта, я думаю многие уже пользуются ей, вместо генеренки.
В любом случае буду пихать сюда, мож пригодится.
[/rus]

// Eng: This geo_bug files is better to use on official C4 geodata from "la2merchant".

ateh 05.07.2007 16:03

Just a question, what does this bug files actually do?

HF 05.07.2007 16:13

Quote:

Originally Posted by ateh (Post 90700)
Just a question, what does this bug files actually do?

same what do Pathnode. Define valid paths. Bug point tables - virtual additional points for server without new pathnode. Server disable this points from path for player.

Results: your player cant be blocked in wall or cant be fall to ground and etc

Forcer 06.07.2007 08:25

Updated, +1377 Bug-Point's.

sikorskys 06.07.2007 08:30

Quote:

Originally Posted by Ma4o (Post 90685)
[rus]
Идея не очень, гео разные и ошибки разные.
[/rus]

[rus]
А получить точки для своей гео довольно просто:

Копируешь файлы *-server-err* на любой linux и делаешь

Code:

cat *server-err*.log|grep GetTestPoint|sed 's/.*(//g;s/).*//g;s/,/;/g'|sort -u
В результате, получаешь нечто вида

Code:

..skipped
74184;-66840;-3576
74504;-89192;-3792
96040;-68184;-2760
96296;150536;-3464
98696;-174456;-3568
98696;82040;-1784
98728;50184;-3928
98872;79912;-6536
98888;95416;-2704
98920;-179752;-1336
98920;54312;-3720
98936;52584;-4584
99048;-177368;-920
99160;66168;-2688
99208;66024;-6536
99384;69432;-2648
99400;73624;-2696
99464;86488;-2704
99464;97080;-6536

[/rus]

HF 06.07.2007 08:54

Quote:

Originally Posted by sikorskys (Post 90824)
[rus]
А получить точки для своей гео довольно просто:

Копируешь файлы *-server-err* на любой linux и делаешь

[/rus]

yes. but need do split for required xx_xx locations :) Easy commands cant do it.

Forcer 06.07.2007 08:56

yup...and check for duplicate too ;)

Lirix 06.07.2007 09:32

good idea :) install linux for get bug point. :)
This same what a microscope to hammer in nail

sikorskys 06.07.2007 11:16

Quote:

Originally Posted by Forcer (Post 90826)
yup...and check for duplicate too

sort -u :)

Quote:

Originally Posted by Lirix (Post 90832)
good idea :) install linux for get bug point. :)
This same what a microscope to hammer in nail

Port of the most important GNU utilities to Windows :)

Forcer 06.07.2007 11:34

For what all this flood? Here i just sharing my bug files...
Why not use ScriptMaker and in 30 sec do all work instead of another tools and command line?
Btw: How you calculate xx_xx_bug.txt in which it is necessary to put coordinate? Through an ass? :D)

HF 06.07.2007 11:34

What is it? Linux Adwertising? :) Perhaps. What next? "L2Server can start on Linux virtual mashine"? ;)

Joke. Sure, it can do any ways, but if you have it, why need "Creating bike"? :p

Better... better find new features before me. Research server features, tell me and i'll try to creating support for it.


P.S. Good news. I join with one developer. He will release AICompiler. We will do it in L2ScriptMaker as new module. So... two new modules awaiting... AI.obj C4Decompiler/C4Compiler.

sikorskys 06.07.2007 13:19

Ну и откуда такая негативная реакция? Я что, заставляю кого-то пользоваться gnu utils? :) Я ведь ни в коем случае не умаляю заслуг HF и не говорю о бесполезности обсуждаемой шары.

Было замечено, что точки в *_bug.txt должны соответствовать конкретной гео, а я лишь показал, как за минуту их можно получить.

Quote:

Originally Posted by Forcer (Post 90850)
Why not use ScriptMaker and in 30 sec do all work instead of another tools and command line?

А нету, лицензия кончилась. И думаю, я такой не один.

Quote:

Originally Posted by Forcer (Post 90850)
Btw: How you calculate xx_xx_bug.txt in which it is necessary to put coordinate? Through an ass? :D)

А вот умничать не надо, потому я тоже могу :) Пожалуйста (целых 5 минут писал):

Code:

#!/bin/bash
rm *_bug.txt
while read line; do
    x=`echo $line|cut -d\; -f1`; y=`echo $line|cut -d\; -f2`
    if [ $x -gt 0 ]; then geox=$[x/33000+20] else geox=$[x/33000+19] fi
    if [ $y -gt 0 ]; then geoy=$[y/33000+18] else geoy=$[y/33000+17] fi
    echo $line >> "${geox}_${geoy}_bug.txt"
done < ./bugs.txt

Все, готово. И безо всяких another tools :)

Ma4o 06.07.2007 13:21

ну понеслось - снова меряются письками

2Forcer
У тебя скан 30 сек? Это за какое время у тебя ерроры?

Forcer 06.07.2007 13:29

Quote:

ну понеслось - снова меряются письками
Yup...better if we stop flood, i think both variants is good.
But everyone prefers the own variant.
Quote:

У тебя скан 30 сек? Это за какое время у тебя ерроры?
1-1.5 Week.
Btw: i'am doing it while server down.

HF 06.07.2007 14:07

Quote:

Originally Posted by sikorskys (Post 90873)
...
All done. Without 3th party tools :)

Молодец. Слов нет. Я не наезжал, только шутил. :) А ты доказал, что можешь дело до конца довести. Уважаю.

Quote:

Originally Posted by Ma4o (Post 90874)
30 sec scan? How much days scanned?

1 month with l2merchant geopack.


P.S.
For all. It what i named "Knowledge - big treasure." If you have full information - you can do more. You no need share self FullServerPackWithAllFixes. You must have only share what you found new and how you fix it (if it bug or problem). No more.

_Untitled 06.07.2007 14:39

Quote:

А нету, лицензия кончилась. И думаю, я такой не один.
[rus]
а разве теперь на него лицензия нужна ?)
... что-то сегодня настроение флудернское какое-то , прошу прощения , если кого-то уже достал постами с 0 смысловой нагрузки ...
[/rus]
P.S. Sorry for offtop ...

Forcer 06.07.2007 14:43

STOP FLOODING MY TOPIC :D
About ScriptMaker Go here:
https://postpacific.loc-online.com/f...0871#post90871

HF 06.07.2007 14:44

Quote:

Originally Posted by _Untitled (Post 90889)
[rus]
а разве теперь на него лицензия нужна ?)
[/rus]
P.S. Sorry for offtop ...

Who does not work, that does not eat.

Forcer 07.07.2007 15:16

Updated to V3 ( + 1878 BugPoints ).

hr 07.07.2007 21:40

"make-yourself" kit
Code:

#!/usr/local/bin/perl
# hr / 070707

die "usage: $0 c:\\path\\to\\l2server\\log\\err \n" unless $ARGV[0];

mkdir ("bugs") unless (-e "bugs");

@list_tmp=glob($ARGV[0]."\\*.log");

foreach $file (@list_tmp){
        print "reading: $file\n";
        open IN,"$file";
        while(<IN>){
                if (/GetTestPoint/){
                        if (/([\d-]+,[\d-]+,[\d-]+)/){
                                $GetTestPoints{$1}=1;
                        }
                }
        }
        close IN;
}

foreach $GetTestPoint(keys %GetTestPoints){
        ($x,$y)=(split /,/,$GetTestPoint)[0,1];
        $geo_x=20+($x-$x%32768)/32768;
        $geo_y=18+($y-$y%32768)/32768;
        open OUT,">>bugs\\".$geo_x."_".$geo_y."_bug.txt";
        print OUT $GetTestPoint,"\n";
        close OUT;
}

print "done\n";

--or--
_http://rapidshare.com/files/41615435/gen_test_points.exe.html
(the same script converted to standalone exe)

usage:
gen_test_points.exe c:\MyK3wlServer\L2server\log\err

script will make new dir "bugs" with X_X_bug.txt files

HF 10.07.2007 11:24

Contrary. :D
Only I have right to the use of this technology in the course of several years.

Better make finished fixed with the module:
"container NULL pos["
because it more hardest fix.

Tilluss 10.07.2007 11:30

Quote:

Originally Posted by HF (Post 90851)
P.S. Good news. I join with one developer. He will release AICompiler. We will do it in L2ScriptMaker as new module. So... two new modules awaiting... AI.obj C4Decompiler/C4Compiler.

wow, now that would be something i would donate for, i dont realy use much of the other stuff except for the odd thing here ot there but i would use that ai compiler/decompiler all of the time :O


All times are GMT. The time now is 15:04.