|
Console output
|
|
01 Jan 12, 09:06AM
(This post was last modified: 01 Jan 12 09:10AM by Frogulis.)
Post: #1
|
|||
|
|||
|
Console output
Evenin'.
I recently recompiled AC (for the purposes of ensuring that my response to this thread was semi-useful and seeing if I remembered how to do it) and I seem to have lost AC's console output to the terminal window. I haven't edited the batch file in any way (adding 'start' etc.) so I'm going to assume it's part of the compiling process. Has this been removed from the source (like in SVN) or have I done something wrong? EDIT: I also can't close AC by closing the command window. I'm using 64 bit Windows 7. |
|||
|
01 Jan 12, 11:54AM
Post: #2
|
|||
|
|||
| RE: Console output | |||
|
01 Jan 12, 12:20PM
(This post was last modified: 01 Jan 12 12:21PM by Frogulis.)
Post: #3
|
|||
|
|||
|
RE: Console output
Nothing at all, other than the executable filename and the pause prompt.
|
|||
|
01 Jan 12, 07:47PM
Post: #4
|
|||
|
|||
|
RE: Console output
What a wimpy script. Try this one:
cubescript code :
But also, just to make sure... Does the text show up on the in-game text console and not the Windows terminal, or is it omitted from both? Have you tried compiling again (delete the object files to make sure they aren't the wrong ones)? |
|||
|
01 Jan 12, 08:21PM
Post: #5
|
|||
|
|||
| RE: Console output | |||
|
02 Jan 12, 03:00AM
Post: #6
|
|||
|
|||
|
RE: Console output
I tried it with Bukz's aimbot script. There was no command window output.
In-game console is working fine. When it was compiling again, I got a warning from console.cpp: Code: console.cpp: In member function 'void console::toggleconsole()': |
|||
|
02 Jan 12, 03:36AM
Post: #7
|
|||
|
|||
|
RE: Console output
That function wouldn't modify the out of game console. It would toggle the ingame console. I'm pretty sure :P
|
|||
|
02 Jan 12, 03:58AM
(This post was last modified: 02 Jan 12 04:01AM by Frogulis.)
Post: #8
|
|||
|
|||
|
RE: Console output
That sounds about right (as that's what toggleconsole does :P), but it's somewhat related and it was the only warning I got so I thought it worth mentioning.
On an unrelated note, how does the code set functions that are accessible from AC. Is there some sort of table of built in commands and their relevant functions? |
|||
|
02 Jan 12, 04:14AM
Post: #9
|
|||
|
|||
|
RE: Console output
COMMAND and COMMANDN are macros that define cubescript idents.
COMMAND(myident, ARG_3STR); Makes myident execute the C++ function "myident" with the three arguments being strings. COMMANDN(myotherident, myident, ARG_3STR); makes myotherident execute the C++ function "myident" with the three arguments being strings. There is also ARG_NONE, ARG_1INT, ARG_1STR, and such. |
|||
|
02 Jan 12, 05:07AM
Post: #10
|
|||
|
|||
|
RE: Console output
Thanks :D
Does something like COMMAND(myident, ARG_1INT, ARG_1STR); work? |
|||
|
02 Jan 12, 05:51AM
Post: #11
|
|||
|
|||
|
RE: Console output
Nope, just use strings and ATOI.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


