Author Topic: dumpConsoleClasses and dumpConsoelFunctions.  (Read 629 times)

I was fiddling with these to explore the endless functions of BL but I do have some questions.

For dumpConsoleClasses:
So I did this and got all the classes and the functions.
     -Why dont I see any members. All I see is functions. Is there any way I can see all the members (variables) of the classes as well.

     -Why dont I see functions under gameConnection such as CenterPrint?

     -And lastly for this, I see some words I am not familiar with. Under a function in the class it says "virtual script blahh". Does this function return a script or something. Why isnt it void.

For dumpConsoleFunctions:
I cant even get this to work. All it says is namespace Global {};

I hope you can answer my questions

     -Why dont I see functions under gameConnection such as CenterPrint?
Because you can centerPrint to a gameConnection.

Ok, so findClientByName(Name) returns the ID object of a client. What class is the client object then.

GameConnection
findclientbyname(kal).centerPrint("CENTERASD", 5);

Because you can centerPrint to a gameConnection.
I think I read your post wrong the first time.
So I can't see the function in dumpConsoleClasses(); under gameConnection because I can center print to a gameConnection?

I think I read your post wrong the first time.
So I can't see the function in dumpConsoleClasses(); under gameConnection because I can center print to a gameConnection?
You just said you couldn't find CenterPrint under GameConnection.
I assumed that you were right, so I gave an example base on your word.

I looked it up, there is no CenterPrint under GameConnection.

Well I know that it exists and how it works but it seems that there are a bunch of other things missing and I would like to find those out myself so that I don't have to constantly post here. I just used center print as an obvious example of a function I didnt see there. Where can I find the other missing functions? Are they just undocumented or something?

And I still cant figure out why dumpConsoleFunctions(); isnt working

When are you calling the functions? You should be using it on a server console. (either dedicated or non-dedicated)

Yes I am using the server console. I tried both in dedicated and non dedicated.

If I can find out how to find all the missing functions in the dumpConsoleClasses, I should be fine. I can't figure out why it wont show GameConnection::CenterPrint() or other things like Player::onDeath();
« Last Edit: July 26, 2010, 10:37:15 PM by DYLANzzz »