Advertising (This ad goes away for registered users. You can Login or Register)

Search found 285 matches

by Strangelove
Fri Jul 29, 2011 12:52 pm
Forum: Programming and Security
Topic: researched exploit a possibility?
Replies: 15
Views: 4777

Re: researched exploit a possibility?

I doubt you'll be able to exploit the registry itself, that kind of code isn't likely to be exploitable. But I was thinking about what TIPI said about fonts. It looks like you are able to control which fonts the VSH uses via the registry (haven't confirmed this btw.) and so you should be able to loa...
by Strangelove
Fri Jul 29, 2011 9:28 am
Forum: Programming and Security
Topic: Missing Headers
Replies: 14
Views: 7322

Re: Missing Headers

if you're compiling C++ stuff make sure to use g++ and not gcc. edit: i don't have the cstlib file, and can't find it online. i got stlib.h downloaded now, but trying to find my other C headers to put it with them *facepalm* in all likelyhood you have all the files installed already. and it's called...
by Strangelove
Fri Jul 29, 2011 8:32 am
Forum: Programming and Security
Topic: Missing Headers
Replies: 14
Views: 7322

Re: Missing Headers

ok. if it's just a matter of a missing file, try:
sudo apt-get install gcc g++
this should install all the needed files including libstdc++-dev which holds the header files.
by Strangelove
Fri Jul 29, 2011 8:04 am
Forum: Programming and Security
Topic: Missing Headers
Replies: 14
Views: 7322

Re: Missing Headers

to use rand() you need to include stdlib.h

cstdlib is only used if you program in C++ and then all your standard C library functions will be namespaced.
by Strangelove
Fri Jul 29, 2011 7:21 am
Forum: Programming and Security
Topic: Do i have this thought through correctly?
Replies: 30
Views: 13983

Re: Do i have this thought through correctly?

I'm also at a loss what i'm doing wrong here....it's a variant on the theme of loops and i've got extra conditions but it's giving me bad results. It's probably obvious but i can't see it... vector<int>bulls; bulls.push_back(randint(10)); // This generates a random number between 0 and 9 and puts i...
by Strangelove
Wed Jul 27, 2011 9:24 am
Forum: General
Topic: Mobile phones
Replies: 36
Views: 25372

Re: Mobile phones

Recently bought a new mobile. I've always wanted a smartphone and thanks to Android those are now getting cheap. So I bought a Samsung Galaxy 3, the little-brother of their flagship Galaxy S 2. I don't care much for bells and whistles so I tend to always go for the "much for the money" option. And i...
by Strangelove
Tue Jul 26, 2011 1:50 pm
Forum: Programming and Security
Topic: Do i have this thought through correctly?
Replies: 30
Views: 13983

Re: Do i have this thought through correctly?

Now, this actually has part of the solution available which i didn't know before i started so i went in cold. And i messed up.....it never occurred to me that you could use an empty vector for comparisons. Initially i sorted both vectors and compared the contents of one cell to the contents of the ...
by Strangelove
Tue Jul 26, 2011 1:16 pm
Forum: Custom Firmwares (HEN/CFW/LCFW)
Topic: poll(choose ur running hen)
Replies: 26
Views: 6642

Re: poll(choose ur running hen)

In soviet russia HEN makes YOU run!

http://www.youtube.com/watch?v=Elwz-VZTBmY
by Strangelove
Tue Jul 26, 2011 10:53 am
Forum: Programming and Security
Topic: umlauts like ü, ö, ä with oslib
Replies: 6
Views: 2257

Re: umlauts like ü, ö, ä with oslib

I changed the font to ltn1 and then to ltn15 but the word "Menü" is still "Men" in the game. Then perhaps your text file isn't really UTF-8? Try loading it with firefox and set character encoding to UTF-8 to verify. Does all characters show up correctly? To find out which encoding and character-set...
by Strangelove
Mon Jul 25, 2011 2:19 pm
Forum: Programming and Security
Topic: umlauts like ü, ö, ä with oslib
Replies: 6
Views: 2257

Re: umlauts like ü, ö, ä with oslib

Ok. I'm guessing the problem lies here: oslLoadFontFile("flash0:/font/ltn0.pgf"); There's no such thing as latin-0 so why Sony names it as such is beyond me. i'm also not sure what letters it covers. Also both latin-1 and latin-15 covers the letters you want, so try using ltn1.pgf and ltn15.pgf and ...

Go to advanced search