PDA

View Full Version : [share] C3 console


cypher
21.01.2006, 22:51
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

drzoom
21.01.2006, 23:05
ok, but what needed to use /// commands?
only copy geodata?
builder char?
something else?

Flamestrike
21.01.2006, 23:39
Holy G....that's awesome...
More commands maybe?

drzoom
22.01.2006, 00:02
understood - u should have a builder char...

Flamestrike
22.01.2006, 00:12
And you should have some english leasons. I asked if there are more commands not that I must be on builder.

sct
22.01.2006, 00:14
big head with size 200 = lolz

Astomakith
22.01.2006, 00:32
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.

cypher
22.01.2006, 00:41
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

Astomakith
22.01.2006, 00:43
I figured as much, thanks.

Metalmurphy
22.01.2006, 01:26
Congrats on the great work cypher. Hope u succeed ;)

cypher
22.01.2006, 01:27
@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

Lord_Neo
22.01.2006, 01:45
Nice one! :D

/offtopic
btw emporio is a game releaser xD

Shawnmb
22.01.2006, 01:56
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.

Alexandros
22.01.2006, 02:08
Nice one Cypher :P

kgptzac
22.01.2006, 04:19
hmm i smell this is going to lead to some new and more exciting fixes :D good job man

silent
22.01.2006, 05:00
Sweet shit <3

SlayerX
22.01.2006, 06:00
you found it :D very good

Shawnmb
22.01.2006, 06:42
/// also allows unreal console commands. Example: ///stat fps

OnlyOne
22.01.2006, 10:34
Good discovery Cypher! Keep it going :!:

top-gear
22.01.2006, 12:14
gratz! good job

czar
22.01.2006, 12:35
@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

cypher
22.01.2006, 13:34
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

czar
22.01.2006, 14:00
something i think might come in handy for some people is:

///stat l2

constantly updated x,y,z coords as u move

drzoom
22.01.2006, 14:14
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!

Co0L
22.01.2006, 14:59
w00t! thx4share :)

hr
22.01.2006, 15:07
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.

TheOrder
22.01.2006, 16:47
Awsome discovery keep up the good work cypher !!!

Domzelan
22.01.2006, 18:00
Great work cypher!

divine
22.01.2006, 18:42
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.

cypher
22.01.2006, 18:47
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.

Yes, it's using your char to scan the terrain withing an N radius around starting position.

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

hr
22.01.2006, 18:53
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

cypher
22.01.2006, 18:56
Wondering if the ValidatePosition server cmd is not influencing the buildzone process ... reseting the actor position ...

Shawnmb
22.01.2006, 20:00
qmove, no. enable_plane_collision, not really, but requires working geodata. gotopn is just "walk to pathnode point id" so no. The rest yeah :)

cypher
22.01.2006, 20:31
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

Virexor
23.01.2006, 09:42
if it uses unreal console commands, it should be possible to use all of these:

http://unreal.epicgames.com/UTConsole.htm

zabbix
24.01.2006, 13:24
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...

drzoom
24.01.2006, 13:37
Yes, i think it's so...

srh
24.01.2006, 14:11
how about .\serverdata folder?

zabbix
24.01.2006, 15:34
looks like its trying to find geodata in /geodata,/serverdata and root folder

Kryak
24.01.2006, 20:49
muhaha

testdude
24.01.2006, 22:13
muhaha///c_rmode 1 ftw... nothing special there m8.

Frozen
25.01.2006, 02:42
Deleted

srh
25.01.2006, 05:24
someone can post full list of /// avalable commands?

Shawnmb
25.01.2006, 06:42
Althought they could be faked I was just looking at that "possible source leak" post, a referance to:
2003-07-14 01:14 268 L2Debug.ini
is mentioned in the client system folder. Could that information be of any use?

srh
30.01.2006, 04:57
i think Width= it's ingame width, so, you need around 50000 param :) and building time around few hours on p4-3.2 :) but as usual - no any useful data :(

Shawnmb
02.02.2006, 19:37
Yeah width specifies a range in-game. That being said, ///firecracker ftw.

kgptzac
02.02.2006, 20:48
um im confused... u need builder char to use "///" commands? normal players can't? i want to get to see the l33t walkable green/red blocks :D

toolpunk
02.02.2006, 21:52
right...
you need a builder char/account to use the /// commands :D
if normal players could use it i'd buy a retail account :P

Eliot
02.02.2006, 22:52
a complete list would be nice, if any one wants to trade it for something PM me.

kgptzac
02.02.2006, 23:27
right...
you need a builder char/account to use the /// commands :D
if normal players could use it i'd buy a retail account :P

uh... go apply to be a GM for NCsoft ^^.

Shawnmb
02.02.2006, 23:38
I'll post a large list when I have access to my comp again ;)

Eliot
03.02.2006, 03:12
Thank You Shawn.

Shawnmb
05.02.2006, 09:19
Post 1 of 2. Second to follow soon.
Unreal related commands

brightness
flush
shot
setres
quit
rmode
rend blend
rend bone
rend skin
stat All
stat NONE
stat RENDER
stat GAME
stat HARDWARE
stat NET
stat ANIM
stat L2
show Actors
show StaticMeshes
show Terrain
show Fog
show Sky
show Coronas
show Particles
show Territory
kdraw Collision
kdraw Contacts
kdraw Triangles
kdraw Com
kdraw KStop
kdraw KStep

SiegWarheit
06.02.2006, 19:16
///togglefullscreen <- Nice command, really.
///hideactors <- Self explanatory
///suicide <- Self explanatory
///behindview 0-1 <- Toggles your char visible/invisible
///ghost <- Toggles clipping on/off

An@BoL
08.02.2006, 23:03
That's really nice share.

Btw, will this work on C1 or not? Is there any type of console in C1?

Shawnmb
08.02.2006, 23:11
Yes, this works in C1.

humordwarf
13.02.2006, 15:57
anyone? any useful info here that i can put into geoeditor? =)

Kirikups
13.02.2006, 16:29
anyone? any useful info here that i can put into geoeditor? =)

maybe something for doors, thrones ? (staticobjects) :)

Kind regards

Shawnmb
13.02.2006, 23:38
If there's no progress there's nothing to post, or on the other hand, if much progress is made there's tons to keep for yourself.

humordwarf
18.02.2006, 11:23
///c_teleport x=1234 y=1234 z=1234
teleports player inside client only, WITHOUT sending command to server

srh
20.02.2006, 18:09
i think there is a some pretty sources on web:
http://sourceforge.net/projects/utpackages nice idea, but no files yet :(
http://sourceforge.net/projects/uceditor
and ...
http://sourceforge.net/projects/ushock
unreal level viewer with sources :)
last one have very much math part and funcs ;)

DarkWarrior
01.05.2006, 19:41
this is one 2
///quit

Horus
12.03.2007, 15:54
hi, there is a console for C4 client??

command from this topic not work on C4 client.

FidoW
12.03.2007, 16:14
Yes, it works... exactly the same commands.

smeli
15.03.2007, 06:52
try this:
///hero