Skip to main content

Posts

directx coding, part 6

It is possible to use archetypes for painting to the window. First, make an archetype table for drawing the window.                                      |  function      |      part         | ---------------------------------------------------- minimize window   |apply          |    10             | ---------------------------------------------------- maximize window | handle         |     11              | ---------------------------------------------------- close window           |  bug report   |     20            | Then load the table to the fence: load_table("main set"); This will pu...
Recent posts

Server coding, part 2

Main list of server queries: SELECT() SORT() MAIN() Server ares mainly used and operated by queries. These are quite complex commands. The main and most basic queries, listed above are used for selecting, sorting and starting all server operations. It takes quite a lot of work to make a server. Server is built of q ueries,  command nodes, work station modifications, and operates based on  server queries. Server queries can be provided, based of SQL or HTML. This is the main server query for SQL: GET ALL FROM It provides a critical point for administrators and moderators of the server. A very dangerous query script to use is: server_ban(std::string user); As it does not provide all permissions. Use this one instead: server_ban(std::string user, std::string law, std::string permission);

Server coding

This is the first part of the series on server coding, in this series I will explain how to use c++ server queries, time tables, server net code, web code and how to use the c++ command line to make functional server code. Main server queries can be made in powershell. get-command This should establish a server shell, so that you can make most of your code in c++. Server shells are used for a strong connection between a computer terminal node and a server side connection with all the cloud data. Making a core shell is possible in c++ too.  #include <windows.h> void push_core(HRESULT** move_global);  void push_shell(HRESULT** move_shell); This moves the server code transfered through sockets and then transfers them through windows power shell to the server's internet protocol or IP. Now that the server shell is established, it's time to decide for the main sort of server operations. In multiplayer video games, this is internet server lobby, it is also possible to use the ...

direct x coding, part 5

To draw a monster arhetype, you have to first uproot your own system direct x data, initialize a direct x monster attributes server table, then sort all of the data into a separate close database and then print all you want to the fence and then to the screen. Direct x 12 fence works like a render memory for the computer. To update the fence, you can use the server command line. --fence This will send all the data you need to the windows operating system, so that it will be available to the direct x (12) at all times.  Another  tool you can use to apply direct x 12 coding is git, so you can push the fence data to your repository. That is in the case you actually have any in the datafiles, as you will not be pushing the hardware data directly. --push(fence) This will push the entire current fence data to the repository. You can then filter that data to see if there's something useful you need. To do this, you will most likely have to use the command line terminal. Once you...

direct x coding, part 4

Here is another important method, when coding with c++ and direct x 12. #include <windows.h> void modify(WND* handle, std::int object_handle) {     draw_pixels(handle, rgb(100), object_handle);          } WND class works as a multiple windows handle. That is how windows 11 works. It is one thing to make a window with direct x and draw some text and lines and 3d shapes on it, but using window handles is a bit different. Here is a simple window making program: #include <directx11.h> #include <windows.h> int main(reg) {      WND paint_wnd{0,0};     paint_message_box("single"); }; This program makes a square object on the heap, to initialize a window with a message box, that promps, if you are trying to use the program without the runtime error check. Now here is a window handle code: int main(reg, "--git") {     WND* paint_wnd{"clean"}; } This one parses checks if you ever ran a program from the previou...

direct x coding, part 3

Computer graphics processing unit uses a fence. It is possible to install a link on the computer fence that processes all of the needed things to be rendered to the next frames coming up, after the current one. To do that, you have to first initialize all the windows render procedure varibles: --main --terminal --channel void create_window(HWND* handle_pass, resolution x, resolution y); create_window("stack", 100, 100); Updating a window is one of the key things to do, when using direct x 12. Another part of the crucial tool box is to use graphs for rendering. In other words, it it possible to use 3d shapes, while rendering a 2d game. void draw_graph(Points* define_points); Rendering graphs is for handling data, that has to be rendered to the screen. #include "windows.h" void render_data(File* folder_system);

direct x coding, part 2

Microsoft Excel uses the same kind of drawing that direct x 12 does. It is possible to draw a graph in excel, just like it is in direct x programs. To make a graph, you need to first make a table of most important paint variables to draw.                 |monster archetype 1|monster archetype 2| --------------------------------------------------------------| strenght     |                10                   |                5                    | --------------------------------------------------------------| defense    |              20              |             10         ...