![]() |
[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 |
ok, but what needed to use /// commands?
only copy geodata? builder char? something else? |
Holy G....that's awesome...
More commands maybe? |
understood - u should have a builder char...
|
And you should have some english leasons. I asked if there are more commands not that I must be on builder.
|
big head with size 200 = lolz
|
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. |
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 |
I figured as much, thanks.
|
Congrats on the great work cypher. Hope u succeed ;)
|
Quote:
///open is just for map changing ... may be usefull for debugging/geomapping when running the game in console-only mode cypher | emporio |
Nice one! :D
/offtopic btw emporio is a game releaser xD |
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. |
Nice one Cypher :P
|
hmm i smell this is going to lead to some new and more exciting fixes :D good job man
|
Sweet shit <3
|
you found it :D very good
|
/// also allows unreal console commands. Example: ///stat fps
|
Good discovery Cypher! Keep it going :!:
|
gratz! good job
|
Quote:
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 |
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 :D cypher | emporio |
something i think might come in handy for some people is:
///stat l2 constantly updated x,y,z coords as u move |
Quote:
|
w00t! thx4share :)
|
width - it seems the game scans territory in radius of 'width' from start point (set 256, 512, 1024 and you will see). that files contain not only empty cells, but also 'no dropping cell' - seems to be area of scanning.
|
Awsome discovery keep up the good work cypher !!!
|
Great work cypher!
|
General protection fault!
History: RenderCube <- Render <- ShowSeversideHeightmap <- GeoRender <- RenderLevel <- FLevelSceneNode::Render <- FPlayerSceneNode::Render <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- UpdateWorld <- MainLoop any ideas why i got this error ? i hade geodata option enabled and was flying around on c4 lands. |
Quote:
Make sure you're using a female warrior char (hardcoded StaticActor in engine), and also in unrealed.ini (don't encrypt it): [WorldBuildOptions] RunWalkbuild=True GeoTestDuringBuild=True RunPostbuild=True I'm letting it run with a 1024 radius ... may take some time, but i'll let you know the results. Cheers, cypher | emporio |
already done with male warrior at 1024 - 1600+ seconds @ p4-3.2/2gb, scanned area described by "No Droping Cell", gonna try with your prefs
|
Wondering if the ValidatePosition server cmd is not influencing the buildzone process ... reseting the actor position ...
|
qmove, no. enable_plane_collision, not really, but requires working geodata. gotopn is just "walk to pathnode point id" so no. The rest yeah :)
|
It's not saving to geodata files (save etc.). But if we get the cells with coordinates it's still a step forward.
cypher | emporio |
if it uses unreal console commands, it should be possible to use all of these:
http://unreal.epicgames.com/UTConsole.htm |
hmm... engine.dll contains some interesting cell types, like cel (%d,%d,%d) diff(%d)
x,y,z,movement flag? if its so, it should be enought to generate geodata wit it... |
Yes, i think it's so...
|
how about .\serverdata folder?
|
looks like its trying to find geodata in /geodata,/serverdata and root folder
|
muhaha
|
| All times are GMT. The time now is 23:11. |