Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 21.01.2006, 22:51   #1
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default [share] C3 console

While I'm digging around the geodata stuff, thought of sharing some nfo on the C3 "hidden" console ...

1. It's a good idea to copy the entire "geodata" server folder to the "system" game folder (/system/geodata/..._conv.dat). May be usefull later on.

2. Start the game and connect to your server (no cmdline args, we don't need -log, -console etc. anymore)

3. As you know, /xxx are user cmds, //xxx builder cmds, ///xxx ... guess what . From now on /// is our friend.


Some cmds ...

///l2debugwindow - brings up the dbg console

///l2debug - hooks the log output to the console

///geodata - enables/disables the server geodata overlay (remember the geodata folder)

///buildzone map=[map_name] (here i'm digging around ... also linked to geodata folder)

///showborderline

///showsectors

///camerawalking mode=on|off

///c_rmode [1-7]

///bighead size=[1-n] (that's the most funny)

///open [map name] (20_21, etc, etc)

///get [class_name] [attrib_name]

///set [class_name] [attrib_name]

///editdefault class=[class_name]

... and more

Have phun,
cypher | emporio
cypher is offline  
Old 21.01.2006, 23:05   #2
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

ok, but what needed to use /// commands?
only copy geodata?
builder char?
something else?
drzoom is offline  
Old 21.01.2006, 23:39   #3
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

Holy G....that's awesome...
More commands maybe?
Flamestrike is offline  
Old 22.01.2006, 00:02   #4
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

understood - u should have a builder char...
drzoom is offline  
Old 22.01.2006, 00:12   #5
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

And you should have some english leasons. I asked if there are more commands not that I must be on builder.
Flamestrike is offline  
Old 22.01.2006, 00:14   #6
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

big head with size 200 = lolz
sct is offline  
Old 22.01.2006, 00:32   #7
Astomakith
Архивный участник
 
Join Date: Jan 2006
Posts: 37
Default

VERY interesting. I'm wondering how come nobody found these before (or at least informed the community about them)

Which leads me into the next question, where'd you find out about these?

I'm intersting in the whole plethora of commands. This is an excellent find.
Astomakith is offline  
Old 22.01.2006, 00:41   #8
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

My target is ///buildzone (had to hex a bit the engine to get it exporting some GeoCell stuff). There are alot of other cmds (excepting the standard unreal engine ones), but mostly related to in-editor usage. You can easily find them in engine.dll

cypher | emporio
cypher is offline  
Old 22.01.2006, 00:43   #9
Astomakith
Архивный участник
 
Join Date: Jan 2006
Posts: 37
Default

I figured as much, thanks.
Astomakith is offline  
Old 22.01.2006, 01:26   #10
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Congrats on the great work cypher. Hope u succeed
Metalmurphy is offline  
Old 22.01.2006, 01:27   #11
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Quote:
Originally Posted by talmage
@cypher

Not sure what good open is, however:

///open 23_20 = crash
///open 23_20.dat = no crash


I also tried:

///buildzone 23_20
///buildzone 23_20.dat
///buildzone map=23_20.dat
///buildzone map=23_20.dat texture=T_23_20.utx

All 4 cause the client to crash.
Read my prev post ... buildzone is an editor cmd. I had to chage the engine, just to be able to continue debugging on it. I'm not sure yet where it leads, but it involves both client terrain info and server geodata ... one of the approaches found inthere resembles to the building of pathnodes for CStrike AI by actor position sampling (scout). I tested it on giran map (22_22), generated 3 GeoCell files (about 170Mb each) ... but no height data yet.

///open is just for map changing ... may be usefull for debugging/geomapping when running the game in console-only mode

cypher | emporio
cypher is offline  
Old 22.01.2006, 01:45   #12
Lord_Neo
Архивный участник
 
Join Date: Dec 2005
Posts: 55
Default

Nice one!

/offtopic
btw emporio is a game releaser xD
Lord_Neo is offline  
Old 22.01.2006, 01:56   #13
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Damn this all comes just weeks after I deleted my prelude client files.... Those could have been really useful.

I'm aware you probably know but //viewpn shows pathnode lines even without the geodata in the folder.
Shawnmb is offline  
Old 22.01.2006, 02:08   #14
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

Nice one Cypher :P
Alexandros is offline  
Old 22.01.2006, 04:19   #15
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

hmm i smell this is going to lead to some new and more exciting fixes good job man
kgptzac is offline  
Old 22.01.2006, 05:00   #16
silent
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

Sweet shit <3
silent is offline  
Old 22.01.2006, 06:00   #17
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

you found it very good
SlayerX is offline  
Old 22.01.2006, 06:42   #18
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

/// also allows unreal console commands. Example: ///stat fps
Shawnmb is offline  
Old 22.01.2006, 10:34   #19
OnlyOne
Архивный участник
 
Join Date: Apr 2005
Posts: 98
Default

Good discovery Cypher! Keep it going :!:
OnlyOne is offline  
Old 22.01.2006, 12:14   #20
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

gratz! good job
top-gear is offline  
Old 22.01.2006, 12:35   #21
czar
Архивный участник
 
Join Date: Oct 2005
Posts: 41
Default

Quote:
Originally Posted by cypher
Quote:
Originally Posted by talmage
@cypher

Not sure what good open is, however:

///open 23_20 = crash
///open 23_20.dat = no crash


I also tried:

///buildzone 23_20
///buildzone 23_20.dat
///buildzone map=23_20.dat
///buildzone map=23_20.dat texture=T_23_20.utx

All 4 cause the client to crash.
Read my prev post ... buildzone is an editor cmd. I had to chage the engine, just to be able to continue debugging on it. I'm not sure yet where it leads, but it involves both client terrain info and server geodata ... one of the approaches found inthere resembles to the building of pathnodes for CStrike AI by actor position sampling (scout). I tested it on giran map (22_22), generated 3 GeoCell files (about 170Mb each) ... but no height data yet.

///open is just for map changing ... may be usefull for debugging/geomapping when running the game in console-only mode

cypher | emporio
got it sorta up to where u are but got 4 files, first three being same exact files, and the last one being a little different.

so far this is what ive found about the buildzone

705A65C7 PUSH engine.707FFDE0 UNICODE "BuildZone"
705A6603 PUSH engine.707FFDD4 UNICODE "Map="
705A6636 PUSH engine.707FFDC4 UNICODE "Width="
705A664B PUSH engine.707FFDB4 UNICODE "Post="

ex:
///buildzone map=22_22 width=512 post=test

i have no clue tbh what bearing width or post has to do with buildzone.

one other thing that i seem to have picked up on is that if u arent near the geodata u want to buildzone on, your client will crash

and the files outputted will be:

7072543F PUSH engine.7082165C ASCII "%d_%d_BuildTest_1_TopMostCells"
70725C29 PUSH engine.70821454 ASCII "%d_%d_BuildTest_2_WithWalk"
70726096 PUSH engine.70821424 ASCII "%d_%d_BuildTest_3_AfterPostprocessing"
707265B9 PUSH engine.708213CC ASCII "%d_%d_CompareBuiltDataWithGeo"

the first three being the same size/contents, and the last one being unique
czar is offline  
Old 22.01.2006, 13:34   #22
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Good job ...

It's true, I get the 4 files (3x170Mb, 1x120Mb), but they contain just empty cells. In a normal case they must have all the data required to generate the multilayer _conv file ... somehow is not linking to the TerrainInfo.

The interesting thing is when building cellmap, the AddCell function receives all xyz coords. May be a good place to hook into engine for dumping height data.

PS: ideed, if the map you're trying to buildzone is not loaded, the client crashes. Also, the scout method crashes if your current char is not a female warrior

cypher | emporio
cypher is offline  
Old 22.01.2006, 14:00   #23
czar
Архивный участник
 
Join Date: Oct 2005
Posts: 41
Default

something i think might come in handy for some people is:

///stat l2

constantly updated x,y,z coords as u move
czar is offline  
Old 22.01.2006, 14:14   #24
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

Quote:
Originally Posted by Flamestrike
And you should have some english leasons. I asked if there are more commands not that I must be on builder.
I "self-replied" for my post! You should have some english [highlight=red:1714736641]lessons[/highlight:1714736641] yourself!
drzoom is offline  
Old 22.01.2006, 14:59   #25
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

w00t! thx4share
Co0L is offline  
 


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. The time now is 17:05.