Skip to main content

Posts

Economy

Economy is very important in MMORPGs. or in other words a structure type, how many is spent, and how spending and buying affects the global market. And market is also a very important part of economy.  Market is a global structure that logs and consists all the main trade payments. By analyzing the market, buying and investing and selling opportunities arise. Another important thing are logistics, how to transport most important cargo.  #include <windows.h> void market(std::string trade); void transport(std::string object, std::string table); Another important aspect of economy is mixing together two things that don't quite get along. And that is stealth and trading. This might seem insane, but it's practical and important. Trying to transport crucial expensive cargo or trading without getting stopped or ambush is a vial and viable tactic. It means using hard to trace trading routes across near main ambush sectors. Economy can also be used in single player video games, s...

Metrics, part 3

Weapon metrics To make a weapon in a video game, it's more to than just make a static mesh, and then used the mesh for different situations. The real thing is the weapon model: barrel, caliber and it's most important army applications. Means making video game challenge rewards for accuracy based on the firing distance(or cutting accuracy for melee weapons). int damage(int distance, int main_damage); Car metrics A car moves by vectors, vertices and velocity.  And also by weight transfer. Vectors and vertices calculate the movement of the racing car, velocity is kilometers per hour. Weight transfer calculates the steering. void Car::move(Vector* main_pointer, int weight_transfer); This is the main  or most important function of the Car class. void Car::move(Vector* main_pointer, int weight_transfer) {     car_mapping(main_pointer.main_value(), 2*weight_transfer); } Car metrics in other words measure logistics, and weapon metrics the weapon's structure use. Water metric...

Metrics, part 2

Function metrics Geographical, graphical and geometrical metrics can be used for making and using function metrics. This sort of metrics is a bit different from the other types. One key difference, is that you can make a matrix array in a function, while on paper and pen it would take about ten to hundred more times to calculate a function equation. So function metrics on the computer are fast for using algorythms. Another difference is, that unlike mathematical, gravity weight, physical force, conductor voltage and statistics, function metrics can also measure functionality. #include <windows.h>      void memory_analysis() {     if(GLOBAL == "zero pointer")     {          main_memory+=GLOBAL;      } } This function scans for system values, to make sure there is no adware in it, and the safety of the system hasn't been compromised or injured. The function scans the functionality of the system and the main w...

Metrics, part 1

Metrics are used for mathematical, geometrical and geographical functioning. In computer mathematics and game development, this means using programming functions for system and systematic development. Metrics are mostly just used for measuring, but they can be applied to functionality as well; in the example for coding in c++ for functions. int measure(std::string file_name, std::string dump_name) {         std::i fstream main_file{file_name};          int dump{0};                                             //needs work          std::array<int>[50] load_data{};          std::string main_statical_data{};           for(int iterator{1}; main_file.eof() == false;  ++ iterator)          {  ...

What does a good game consist of? (part 42)

Doom 3 Is a very solid game.  Full of cool challenges and so called secrets to find. When you unlock hellknights on Nightmare difficulty(which if you want to play, you have to first beat Veteran difficulty), it is insane challenge time. Definitely worth trying for playing. To make the basic graphical engine code subelemental display of the game: void cut_graphics(); Unfair challenge The main conception (and misconception) about making video games is to make the game friendly to beginners and low level players. While that is an absolutely brilliant idea, it however, believe it or not, actually kills the challenge in the game. Challenges can be unfair and so  can be life. But that's not the end of the world. Unfair challenges in life, just like in video games can be tons of fun. And that's not restricted to lowest level difficulties of the game. An unfair challenge can be a real test for your skills and can make the short human a total blast. You don't need to put your dreams...

Computer mathematics coding, part 3

wincrypt.h Cryptology uses and studies secure data and secure communications, and can also be used for using cryptovaults for bank security. The library can be used for encrypting characters to get KEY values. These values then take care of checking any mathematics, that have to be done in the computer system. Cryptology and cryptography are sub-branches of mathematics and computer mathematics, as they are related to mathematical logic. To make a basic key calculation, you need a table of key values first: 0      | x | 0 | 0 | x KEY| y | 0 | 0 | 0 0      | x | x | 0 | 0 0      | 0  | 0 | 0 | 0 x        | 0 | x | 0 | x The point of the calculation is first located a bad critical key value(1,2) and. This can then be used in a table load up sequence. The critical key value here is once again the function value KEY. It has to be provided either by a function algorythm or manually in function parameters. void load_table(in...

Computer mathematics coding, part 2

windows.h is a complex library. #pragma once #include <windows.h> It bases on a great responsibility from the ISO comitee. c++ is one of the most important programming languages ever made, and many important Windows operational, BIOS and memory application programs have been made with the windows library. One of the most important and useful functions of the library are the disk magnet functions. It is possible to use test functions to using allowed operating system function. The point of the windows library is foremost and first to understand it's structure. Once you know that, you'll be able to understand how to use it, how it relates to Windows operating system, and have a better understanding of Windows, and how to use it, and how to port your programs to macOS, DOS, Unix and Ubuntu. The structure and understanding the structure starts with magnet functions. wincrypt.h I don't have to explain much here what the library is into details, because you can check it...

Computer mathematics coding, part 1

Computer mathematics, calculator mathematics, computer science mathematics and normal, paper set mathematics are two completely different things. A computer can perform mathematical operations that could not be achieved by Edison, Ford or Euclides sort of systematics. Computer mathematics work differently than normal mathematics you would do on paper. They are performed by the central processing unit. One of the most basic computer operations is the bitwise shift. It is used for binary programming and mathematics. Bitwise shift can also be used for the assembler, assembly and painting graphs and graphics to the screen. It has to be noted here that rendering three dimensional graphics, using the computer mathematics is a lot hard to code and run, than two dimensional graphics. Takes a lot of design and build work, takes a lot of time to compile and takes a lot of memory on run time. int shift(int byte_code, std::string direction) {     std::load_from_file(statical, direction); ...

Server coding, part 5

A shell can be extended into the subparts, which then form a shell system. Shell systems can be used for constructing a server. And a server is note, not a piece of cake to build up together. Here is an example of a shell system: class ServerNode {     std::string shell_system[50]{}; public:     void add_shell(std::string push);     std::string read(); }; The add_shell function pushes a new shell into the system, while read() function reads the most important one. CREATE(INSERT()); This is a test code for sql, when you use it for server building. Server nodes have to be applied in a table matter, so that they can be correctly used for running a server and applying videogame runtime queries. The above test code is for measuring table records, which have to be reading properly, before being installed into the server private infrastructure. The test code runs in instance of the table, to see if there are any dynamic variable incongrencies to be made for the ma...

Server coding, part 4

 Once a shell has been established, use the source code: install_package("database","setup"); From here you use the shell for your server: install("command", "tag"); A shell works like a basic node of operations for the server, and the server map. It works as a main point of mapping operations, if there is any thing thas has to be rendered to the screen from the main server data. terminal("clear"); You can use the visual studio command line for setting up the server: windows server start -git start It is possibly to make a server repository, which then builds and links the branch data for the server, which can be a lot of data, in megabytes. A server can take a lot of space, in hundreds of megabytes.

Server coding, part 3

To make a server, you have to basically build it. This is a good place to start: void start_server(WNDHANDLE** setup); Which is different than: void set_server("online"); The second case simply makes the server officially online, while the first case sets up a new server. Here's the code for both cases: void start_server(WNDHANDLE ** setup) {     setup.set_windows_handle("main query"); } And the second case: void set_server(std::string status) {     main_server.push_setting(status); } And here is a function for setting up a server lobby: void start_lobby(WNDHANDLE** cable_set) {      cable_set.set_windows_handle("start list"); }

directx coding, part 7

There is a problem with united states army making video games, which is making a pilot modification engine, which controls the machine gun in the airplane. If you ever liked playing naval video games in one hand keyboard keys and in the other hand the instruction manual, you can as well forget about it, you won't get far. The basic idea here is to focus on the game instead, but the problem arises with the aforementioned pilot modification engine. If we return to part 2 of this serious, it is important to remember and keep in mind the graph resolution and how it will display things on the computer monitor. Resolution graphs are important for printing to the screen and for making proper pilot machine strain engines. This is one of the main problems of the United States Army, when it comes to making video games, the machine strain. At first observation, you might think that all has to be done is just direct X physics for the machine operatability, but whether you'll believe it or ...

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...

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         ...

direct x coding

Direct x coding The point with painting and drawing with direct x 12, is to try to make a solid points fence, then work with the stack and the heap. And after that, you can try making a window handle. void use_handle(HANDLE* point); This will register a standard windows 11 window to the operating system files and central processing unit. A point variable here is a pointer to one of the main handles in the drawing system files. This calls the windows handle hotkey registry, and registers the start of the painting to the screen or monitor process. A window in windows operating system is either a button element, a sized or full screen window of a module. This makes a together a system of modules, which consists the operating system. Keep in mind, directx 12 is portable to Linux and Mac operating systems. use_handle((0,1,0,0,0)); paint("circle"); initialize("direct 3d"); use_handle("memory_call"); Before you can make a blank window, you have to first to initia...