Jump to content

¨TrisT¨

Member
  • Posts

    277
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About ¨TrisT¨

  • Birthday May 20, 1999

Contact Methods

  • Steam
    http://steamcommunity.com/id/ptquatroever

Profile Information

  • Gender
    Male
  • Location
    Portugal
  • Interests
    PCs, some kind of fisical maintenance sport, gerls, and some incredible obsession for good looking computers.
    Yesh
  • Biography
    I'll place something here eventually, and I guess that explains my whole life
  • Occupation
    school

System

  • CPU
    i7-4790
  • Motherboard
    asus Z97-A
  • RAM
    8 Gb ddr3
  • GPU
    980ti
  • Case
    phanteks enthoo pro
  • Storage
    240Gb 850 EVO + 1tb wd blue + 4tb wd green
  • PSU
    Don't go there
  • Display(s)
    VG248QE + 4:3 720p old monitor
  • Cooling
    evo 212
  • Keyboard
    10 bucks
  • Mouse
    G502
  • Sound
    meow
  • Operating System
    A few.

Recent Profile Visitors

1,752 profile views
  1. Hey so I got myself a pi zero. I have some light programs I made, mainly for data collection, which also serve as a server to a few of my apps. All I really need is an OS that implements the c posix library, and can be configured to connect to wifi without much hassle. All I really want it for is to run my programs, which only use storage and sockets, anything else is redundant. Thank you.
  2. Hello. I'm pretty comfortable with c++ and php at this point. Now I've got myself into game hacking because I love the genius and the concept behind it, and because it requires so much knowledge. Don't get me wrong, I'm decent in video games in general and I don't need cheats to get advantage. It's just hella fun for me to break games and do insane things one could never achieve without it (i.e in spamming 1000 grenades a sec in gta and lowering my friends's fps to about 0 - while they laugh their asses off at the fact that I'm a pig with a grenade launcher spamming 1000 grenades per second lowering their fps to 0). Yes, pig: More than that tho, I like to program, and the techniques used for hacking games rile me up. Now let's get to what matters. I have began to develop internal hacks, and so, DLLs. More specifically: hooking functions. I've done it in 32-bit games. Call the operations you overwite, do what you gotta do, and then JMP back. Ezpz. But then you have x64... F***. So you can't use inline asm. Way around: add an asm source. Nice! And also done. Problem with asm source is you need to have a function to call from c++. And as the compiler isn't just gonna guess where to jump back to or where to store that register I want so badly, I went looking to learn assembly. What did I get into... First-ass page of tutorialspoint on asm: section .text global _start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg ;message to write mov ebx,1 ;file descriptor (stdout) mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel mov eax,1 ;system call number (sys_exit) int 0x80 ;call kernel section .data msg db 'Hello, world!', 0xa ;string to be printed len equ $ - msg ;length of the string Now that's a bit larger than cout << "hello world"; "int 0x80" = call kernel -> what. And then you have "mov eax,4 - system call number (sys_write)" I understand nothing of this and the internet does not seem to want to help me :c All I want is for an asm function that reads a register (rcx) and has 2 arguments: the address to my variable and the one to JMP back to. And to know how to do it myself, not just copypaste stuff. I have read quite a bit on how to pass parameters, but I have not understood anything. I'm fairly certain you have to use a few pushes and then call it, but no idea of how to actually receive them and process them in assembly. I also don't understand registers. Does calling a function not allocate new memory for it, therefore keeping me from seeing the old registers? If not so, is it not very possible that I can overwite the registers already there and cause a crash? How does one receive a parameter anyway? Thank you.
  3. I never really played much minecraft, and when I did I was young and didn't care if I had 10 fps or 1000 fps so I never really wondered much about performance. Now I have read minecraft is not reliable to performance test, but from the benchmarks I've seen it doesn't seem to be too heavy either, reaching around 300 fps in recent hardware. Google hasn't been too much of a friend regarding this either. So I don't get it. Is it like an inside joke from LTT, or does it have some technical basis? Thank you.
  4. Thanks a lot. I'll probably go for the first one since I need to know when any of the 100 threads turns to signaled and I don't think that's achievable with the 2nd option.
  5. Hi. I have this struct array: struct RunThread { HANDLE Thread; bool FirstTime = true; std::atomic<bool> Running = false; DWORD ThreadID; }ThreadList[100]; I want to use the Thread Handles in this in WaitForMultipleObjects. I tried this: DWORD result = WaitForMultipleObjects(100, &ThreadList->Thread, FALSE, INFINITE); For Which I Got WAIT_FAILED with a GetLastError of 87 Is it my syntax that is incorrect or is doing something like this straight up impossible? I'm sure I can just create an array of references to these (since it'd be erased after WaitForMultipleObjects returned anyway), but I'm not too comfortable with that, it sounds nasty. (Not so sure anymore lol) Creating the whole struct again to have the array inside RunThread instead of being an array of RunThread seems like a good solution but I'd rather have it working as is if there aren't any major disadvantages to doing so. Is there a way to do this? if not, how should I go about it? Thank you.
  6. Hi. So I was looking for a cheatengine plugin so that resident evil 7 wouldn't just close as I opened it. I found it. Quite the interesting discovery I walked into, not because of cheatengine or whatever related thing I was looking for, but because I downloaded a batch file I could not read, copy, or in general do anything with except execute. I quit windows when icacls failed on an admin CMD, I ended up downloading it to my ubuntu server. I opened the bat file with nano and it looked like this: What's this? Here is the file: UndetectedCheatEngine63_[unknowncheats.me]_.rar UnknownCheats is hosting this file, which should mean it's safe but I'd be more careful. Now I can't say I've seen much in what goes for the whole hacking world thing, but this is definitely something I haven't. So what in the hell is this? And why can't I do anything with it on windows? Thank you.
  7. I believe I'd said that already in a really dumb way. Thank you, still. Seems simple enough, make functions that take coordinates as arguments that draw the ships to the buffer. Then I'll make functions to compare the "spaces" that the ship occupies to the ones of where the "bullets" are, sort of a collision checking function thing. Now should I draw the ship every frame to a brand new clean buffer or "move" them, drawing it to the side and erasing previous stuff?
  8. Actually I think I may have the solution, I'll just make a multi-dimensional char array and change the stuff in there, printing it each "frame". What do you reckon would be a good enough "framerate"?
  9. Depends on what you're comparing it to. Easier than c/c++, harder than say vb, python or php. I don't think a random thread is the place to ask that, there are many lying around with your answer.
  10. ?? Because I want to do it in a console, how else would you do it? "is it hard to learn c#" Really not trying to be rude but is that a question? Do you think I'm trying to do it in batch? Do you think I don't know c#? Are you asking me wether it is or not?
  11. Hi. I've started making a c# console game for fun. I'm trying to do sort of a space invaders-style thing, maybe with online co-op. But. I have been using SetCursorPosition. I'm gonna have to use threading. Will calling SetCursorPosition at about the same time in different threads mess stuff up? I take it I can't have multiple cursors, so if I call it in a thread and call it in another before an operation is complete,say, draw a character in an unwanted place? After I do a write, if the cursor is "on top" of a character, SetCursorPosition will delete that character as it moves the cursor else where, is there a way to fix this? Is there any better way to do this? I really feel like this is a dirty way to do it. Thank you.
  12. You've most likely already figured this out but I only had time now so here it is: bool directoryExists(const char *directoryToCheck) { struct stat info; if(stat(directoryToCheck, &info) != 0) { return false; } else if(info.st_mode & S_IFDIR) { return true; } else { return false; } } void FileLister(const char* directoryName) { DIR *targetDirectory; struct dirent *entity; if ((targetDirectory = opendir(directoryName)) != nullptr) { while ((entity = readdir(targetDirectory)) != nullptr) { std::string gayu = std::string(directoryName) + std::string(entity->d_name); if (directoryExists(gayu.c_str())) { if (std::string(entity->d_name) != "." && std::string(entity->d_name) != "..") { std::cout << gayu.c_str() << std::endl; std::string dire = std::string(directoryName) + std::string(entity->d_name) + "/"; FileLister((const char*)dire.c_str()); } } else { std::cout <<gayu.c_str() << std::endl; } } closedir (targetDirectory); } else { std::cout << "Could not open directory " << directoryName << std::endl; return; } } Don't mind my variable names I get bored Wouldn't have been possible without you so thank you again!
  13. Ehh, sorry, as I said, I haven't kept myself in the loop, and I never really looked too much into IPS options, so I might have gotten a wrong impression. I never said it wasn't better.
  14. I don't think he cares too much for panel type, otherwise he would have said so. Besides IPS is a bit expensive.
×