[QUOTE=thelinx;17918807][url]http://github.com/TheLinx/Juiz/blob/master/modules/update.lua[/url][/QUOTE]
Being skeptical provides source code. :D
[editline]04:35PM[/editline]
[QUOTE=ThePuska;17918799]It now calculates which hostiles are dangerous and highlights them
It's also pretty good at shooting them, especially if they're moving.
The map data is too complicated for me to read, so I can't use it to determine whether the view is blocked by something. I think I'll just make it react to hostile actions: aiming for the bot's head, stopping, crouching and shooting. I think that if I can minimize its false negatives, it'll be able to shoot people who are about to shoot it, because it aims literally in milliseconds.[/QUOTE]
Lets just hope someone doesn't get VAC'd. :)
[QUOTE=andersonmat;17919255]Being skeptical provides source code. :D[/QUOTE]
It was already out there....
[QUOTE=thelinx;17919291]It was already out there....[/QUOTE]
Oh, well I didn't know that. :dance:
[QUOTE=andersonmat;17910512]Yup, those characters will get you.
Oh, what do you know, it works on my steam community I'm working on:
[url]http://andersonmatt.com/profile/76561197992443150[/url]
:dance:[/QUOTE]
How did you get it to work?
[QUOTE=The Inzuki;17919761]How did you get it to work?[/QUOTE]
I used PHP to convert an XML element to an array and then outputed.
[url]http://www.andersonmatt.com/sc/profile/andersonmat/&r=1[/url]
[url]http://www.andersonmatt.com/sc/profile/andersonmat/&json=1[/url]
For jSON encoding :D
Hey I want to be able to use ifstream to get information from a text file for use as arguments in a function, but it doesn't seem I can do that without using a variable.
[code]
ifstream input("input.txt");
int foo;
input >> foo;
bar(foo);
[/code]
Any way to skip directly to the function bit? I know there is a get() function, but that's unformatted.
If bar is a class-method, then you could specify an operator>>(bar&).
That would just hide it though.
I guess the best you can do would be a struct with all your input and then using std::ifstream::readsome.
[QUOTE=Robber;17916959]And if he hadn't already made the GUI he could have generated the GUI in a loop instead of the drag&drop editor and save even more time.[/QUOTE]
The same way GUIs are generated by the drag and drop editor: Programmatically.
How come it is giving me a cannot open file error if the file is in its directory?
[cpp]
sf::Image img;
img.LoadFromFile("sprite.tga");
[/cpp]
My forum system is almost complete. I want to hurry and develop a new project, but what kind? I always dreamed of making a Team Fortress 2 fan site, like a trading site, but that's been done before.
[QUOTE=andersonmat;17910512]Yup, those characters will get you.
Oh, what do you know, it works on my steam community I'm working on:
[url]http://andersonmatt.com/profile/76561197992443150[/url]
:dance:[/QUOTE]
[img]http://i38.tinypic.com/21ctd0x.png[/img]
I'm gonna test your site on my iPod real quick, I'll post some results.
[editline]1:45 PM[/editline]
[img]http://imageflock.com/img/1255999434.png[/img]
[img]http://imageflock.com/img/1255999467.png[/img]
[img]http://imageflock.com/img/1255999494.png[/img]
[url]http://www.andersonmatt.com/sc/profile/stgn/&r=1[/url] teh
[img]http://imgkk.com/i/u0fUJD.jpg[/img]
[img]http://i34.tinypic.com/160ttgh.png[/img]
rendering bug on android (rendering text at normal size too now)
[QUOTE=gngbng;17922664][img]http://i34.tinypic.com/160ttgh.png[/img]
rendering bug on android (rendering text at normal size too now)[/QUOTE]
Weird, too bad I don't have an android phone to test it on. D:
[QUOTE=andersonmat;17923266]Weird, too bad I don't have an android phone to test it on. D:[/QUOTE]
There's an emulator.
[QUOTE=Ortzinator;17924514]There's an emulator.[/QUOTE]
Emulator it is. Lemme find one in google. :)
[QUOTE=Ortzinator;17924514]There's an emulator.[/QUOTE]
Too bad it's included in a 200MB SDK, and not standalone.
[QUOTE=Rowley;17924706]cakePHP?[/QUOTE]
XML Element?
Because I only have code, and no text to show I offer this picture of my build system:[img]http://i.imgur.com/dOS8E.png[/img]
It doesn't look like much, but there's a reason for it [sp]It's only *really* a week old.[/sp]. the split end is the "examples" some guy wrote. They are poorly made, and I'll be replacing them soon.
It supports unity builds though :D
[media]http://i38.tinypic.com/289lkib.jpg[/media]
Just a simple packet logger using my newer CHook class. Threw that together before going to bed right now :P. Tomorrow I am going to make it sexy :D.
(The listbox shows the "{ID} - {Size}" of packets logged and when selected shows the data below in the textbox as bytes. I know I forgot spacing :X)
[QUOTE=raccoon12;17922472]How come it is giving me a cannot open file error if the file is in its directory?
[cpp]
sf::Image img;
img.LoadFromFile("sprite.tga");
[/cpp][/QUOTE]
Either it doesn't support tga loading or it's obviously not in the right directory
[QUOTE=efeX;17925565]Either it doesn't support tga loading or it's obviously not in the right directory[/QUOTE]
Or whatever IDE he's using has the working directory set to a different path. Try running the built app directly; if that works then you'll need to change the working directory setting in your IDE. In Code::Blocks you can do it under the Project Build options, not sure about anything else.
[QUOTE=mechanarchy;17925678]Or whatever IDE he's using has the working directory set to a different path. Try running the built app directly; if that works then you'll need to change the working directory setting in your IDE. In Code::Blocks you can do it under the Project Build options, not sure about anything else.[/QUOTE]
[QUOTE=efeX;17925565]Either it doesn't support tga loading or [b]it's obviously not in the right directory[/b][/QUOTE]
yeah
[QUOTE=gparent;17921677]The same way GUIs are generated by the drag and drop editor: Programmatically.[/QUOTE]
What's better?
[cpp]// 1.
Button b=new Button("Button 1");
panel.add(b);
Button b2=new Button("Button 2");
panel.add(b2);
Button b3=new Button("Button 3");
panel.add(b3);
//....etc
// 2.
Button[] buttons=new Button[10];
for(int i=1; i<=buttons.Length; i++)
{
buttons[i]=new Button("Button "+i);
panel.add(buttons[i]);
}[/cpp]
Sorry, you need to Log In to post a reply to this thread.