Leaderboard
Popular Content
Showing content with the highest reputation since 05/21/2023 in all areas
-
Introduction GUI.Framework is a collection of classes that allows to make UI controls simpler in your code. The project contains many implementations of the UI classes, such as: - GUI.Button - GUI.CheckBox - GUI.Range - GUI.ScrollBar - GUI.List - GUI.GridList and many more! Framework isn’t finished yet and many things will change, so it’s not the polished version, and unfortunately you have to take into consideration that some GUI elements might change significantly. Authors: Patrix & Tommy Project links: - Repository - Download - Examples5 points
-
Introduction Welcome to the Gothic 2 Online forum. It is very important to us that visits to our forum are a pleasant experience for everyone, the basis of which is mutual respect between users. This list of rules regulates many aspects of using the forum, and knowledge of it is necessary to be able to use it freely, so please read it before taking any action. 1. General Provisions (General information about the obligation to comply with the forum regulations) 1.1 • These regulations apply to every user of the website https://forum.gothic-online.com.pl/ 1.1a ▫ All users are bound by the terms and conditions. 1.1b ▫ Repercussions in the event of failure to comply with the applicable rules will be the same for all users. 1.1c ▫ Ignorance of the regulations does not exempt from the obligation to comply with them, nor does it reduce penalties in the event of its violation. 1.2 • Each user registering on the website https://gothic-online.com.pl/forum/ automatically accepts the provisions of the regulations in force there. 1.3 • These regulations are the property of the website https://gothic-online.com.pl/forum/. 1.3a ▫ The administration reserves the right to change the content of the regulations at any time. 1.3b ▫ The administration is not obliged to inform users of any changes to the content of the regulations. 1.4 • Each user is obliged to read the content of additional regulations in force in specific sections (if there are any) before creating a new thread in them, because they contain templates that should be followed when writing a new topic. 1.5 • It is forbidden to copy and distribute these regulations on websites other than https://gothic-online.com.pl/forum/. 1.6 • It is forbidden to copy and distribute the content of the website https://gothic-online.com.pl/forum/ on other websites. 1.7 • Penalties for non-compliance with the regulations are assigned by the team based on the applicable penalty system. 1.8 The autor sharing resources on websites devoted to programming resources or other must take into account the loss of right to a given entity and the possibility of using the given entity for advertising purposes or guides by the Gothic 2 Online Team. If the creator of the page is not the author of the subject, he must take into account the consequences of sharing the subject. 1.7a ▫ The penalty system is detailed in point six. 2. Illegal Content (Applies to posts, topic titles, user names and titles, avatars, and signatures, among others) 2.1 • On the forum it is forbidden to post content that violates the rules of netiquette, that is, content: 2.1a ▫ Pornographic or in any way related to pornography, as well as other obscene content intended for reception only by adults. 2.1b ▫ Violent, portraying violence and inciting violence. 2.1c ▫ Common vulgar words, including common profanity in a censored form, including by asterisks, twisting the letters or written in such a way that they are read as profanity, for example using the phonetics of the English language. 2.1d ▫ Offending forum users, Administration or other persons, for example public figures. 2.1e ▫ Containing real-life threats. This also applies to profanity used in censored form and quotes containing vulgar or offensive words - especially from other posts, messages from the game or instant messaging. 2.1f ▫ Appealing to racial, religious and ethnic hatred or other forms of discrimination, as well as the use of offensive names in relation to people or social groups, suggesting their public status, political and / or sexual orientation and beliefs. 2.1g ▫ Promoting slogans and symbols related to regimes based on dictatorship, terror or hatred, such as fascism or nazism. 2.1h ▫ Breaking the law, such as copyright and related rights, and promoting breaking the law, such as computer piracy. 2.1i ▫ Containing open advertisements for products, services and the like, bringing profit to someone, both in the form of advertisements and commercial offers such as exchange, sale, purchase. 2.1j ▫ Promoting stimulants such as alcohol, cigarettes, drugs or other intoxicants and addictions. 2.1k ▫ Other controversial, violating the principles of modern life, generally recognized as morally reprehensible or socially inappropriate, e.g. provoking or stoking a hostile atmosphere. 2.2 • For the security and privacy of forum users, it is prohibited to make public private information such as: 2.2a ▫ Login details, passwords and the like. 2.2b ▫ Session numbers from forums and websites. 2.2c ▫ The content of private messages from forums, games or instant messaging. 2.3 • It is forbidden to publish links such as: 2.3a ▫ Links leading to sites that may be suspected of containing viruses, as well as all kinds of malicious scripts that make it difficult to use the forum or computer. 2.3b ▫ Reference links to browser games and other similar links which give any form of profit to the user providing such link or other persons related to it. 2.4 • It is forbidden to place advertisements on other multiplayer platforms for Gothic. 2.4a ▫ Publishing other types of advertisements requires the consent of the Administration. 2.5 • It is forbidden to post content that promotes the use of game bugs on a given server or other activities not permitted by the rules of a given server. 2.6 • It is forbidden to post content that calls for breaking the forum rules. 2.7 • The user takes full responsibility for the content posted by him on the forum. 2.8 • The administration is not responsible for the content published by users, and even more so for the materials to which links posted by users may lead. 3. Conducting a Discussion (Rules for creating new threads and writing in topics) 3.1 • When creating a new topic on the forum, the user is obliged to follow the following rules: 3.1a ▫ Topics should be created in the appropriate section, corresponding to the topic created by the user. In choosing a section, short, yet concise descriptions under the name of each section may help. If you are still in doubt as to which department to choose, you can ask for advice from any member of the team. 3.1b ▫ It is not allowed to create topics if in a given section there is already an open thread with the same topic or content, or solving a given problem. Therefore, before creating a new thread, please use the search module on the right side of the forum navigation bar. 3.1c ▫ It is forbidden to create several identical threads on the forum, as it is treated as spam and is severely punished. Therefore, select one matching section, create a single thread there and wait patiently for a reply. 3.1d ▫ The title of the topic should inform about its content. Therefore, one should avoid generalizations and try to convey what we have to say in a few words as accurately as possible. Here are some examples of titles to avoid: "Help !!!"; "I have a problem!"; "Suggestion of changes"; "I have a bug"; "Complaint!". Here are examples of well-written topic titles that tell you about the content of a thread: "Help, my topic is gone"; "Problem with uploading avatar"; "Proposed changes: Tutorials section". 3.2 • When posting on the forum, the user is obliged to comply with the following rules: 3.2a ▫ The content of the posts cannot contain the forbidden content referred to in the second point. 3.2b ▫ The user, when presenting his problem in the new topic he has established, should do it legibly and to the point, and when answering, he should not stray from the topic, because writing off the topic, commonly known as offtop, is forbidden and punished. 3.2c ▫ The forum is free of speech and expression, so users have the right to contribute their opinion and constructive criticism to the discussion, however, it is forbidden to condemn and judge the opinions and tastes of other users. 3.2d ▫ Avoid dealing with private matters in public, any matters requiring a specific person's response should be dealt with through private messages. Appeal on the forum is treated as a last resort in the event of inability to contact a given person for technical reasons or other reasons that prevent direct contact. 3.2e ▫ It is forbidden to write posts one after the other, which is commonly known as double posting. If you want to add something to a previously written post, use the "Edit" option. 3.2f ▫ It is forbidden to abuse the text formatting options, such as for example coloring, as these are tools designed to highlight important elements or make headlines visible, not to write entire posts. The exception to this rule are members of the team who have the right to use such actions in order to attract the attention of people who comment on a given topic. 3.2g ▫ Users are forbidden to act as a kind of social moderator, which falls within the competence of the actual persons acting as the forum moderator. Therefore, comments like: "What a stupid thing! Let the moderator delete this topic" or "Why do you write another topic of the same kind, if one already exists?" . Such behavior will be punished by the team and punished just like any other offense, on a par with spamming and creating offtop. The only exception to this rule is when you write this type of comment under your constructive statement. [/b] 3.2h ▫ It is forbidden to repeat the same text, letter or punctuation marks over and over again, which is commonly known as flooding, which is a different type of spam. Examples of such unwanted, blatant texts are: "plz plz plz"; "help"; "!!!!!!!!!!!!". 3.2i ▫ It is forbidden to write comments that do not contribute to the discussion, consisting of only emoticons and / or single or few words such as "nonsense" "lol" and the like, as such posts are considered spam. Including such individual words in constructive statements is not a problem. 3.2j ▫ It is forbidden to include rapid and flashing graphics in posts (except for offtop section). 3.2k ▫ The forum language is Polish and only this language should be used when communicating with other users on the forum. Other languages, such as English, can be used to present the names of movies, series, games and the like or individual sentences in a signature or quotes. 3.2l ▫ Observe the rules of spelling and punctuation. It is forbidden to use jargon that would damage the Polish language in any way. When in doubt about the correct spelling of specific words, the internet offers a whole range of spelling dictionaries, spelling checker sites, as well as the correct placement of commas. 3.2m ▫ It is forbidden to quote vulgar, offensive or in any other way breaking the regulations. It is also not allowed to create pyramids from quotes. When quoting, you should limit yourself to one specific fragment of the statement to which you are referring. 3.3 • Users are required to report topics, posts and private messages that violate the forum rules in any way using the "Report" option. It is forbidden to abuse this option for no apparent reason. 4. Avatars (Their content) 4.1 • The avatar of a forum user must meet the following criteria: 4.1a ▫ It is forbidden to include in the avatar the prohibited content mentioned in the second point. 4.2 • The administration has the right to remove illegal avatars and impose penalties for publishing them. 5. User Account (Account Usage Policy) 5.1 • An account on the forum from the moment of registration may be used only by its owner. Account sharing may lead to their blocking by the Administration. 5.1a ▫ It is forbidden to trade and exchange forum accounts. 5.2 • It is forbidden to create new accounts if the user is punished by temporary or permanent blocking of the account. 5.3 • It is forbidden to use another user's account while serving a time penalty or permanently blocking one's own account. 5.4 • It is forbidden to set up accounts and use the forum through intermediary servers and their derivatives, such as proxy servers, open proxies or anonymizing servers. 5.4a ▫ An exception to this rule is when the ISP uses a forced proxy server. Such fact should be immediately reported to the Administration to avoid misunderstandings. 5.5 • The use of temporary e-mail addresses, so-called payday loans, is prohibited. 5.6 • Each user has the right to request the deletion of his account on the forum. In such a situation, please send a message to the Administrator and provide the reason behind the request to delete the account. 5.7 • Users who hack into the accounts of other forum users will be severely penalized and, as a last resort, the appropriate investigative body may also be notified. 6. Penalty system (Rules for imposing penalties for non-compliance by users with the forum regulations) 6.1 • Penalties are based primarily on this penalty system. 6.1a ▫ The penalties system applies equally to all forum users, referred to in point 1.1. 6.1b ▫ Penalties for forum users can be imposed by any member of the Gothic 2 Online Team. 6.1c ▫ Penalties to team members may be imposed only by the Administrator. 6.2 • The administration has a tool integrated with the forum, used to issue warnings for breaking the regulations. Each user can only see his list of warnings. 6.2a ▫ The lightest possible penalty is the warning points given to the user, and the heaviest are the permanent blocking of the account. 6.2b ▫ The validity period of a given alert is determined by the person who issued it, but it cannot exceed a period of two months (the exception is a permanent blockade of an account). 6.2c ▫ The number of warnings is added up in the event of breaking several points of the regulations in one post, which increases its harmfulness. Thus, if the user has broken more than one point of the regulations, he will receive a number of warning points appropriate to his harmfulness. 6.2d ▫ The maximum number of warning points a user can receive before being blocked from freely publishing posts is 2 (20%). 6.2e▫ The maximum number of warning points that a user can receive before the account is temporarily blocked is 4 (40%). Receiving the 10th point (100%) is tantamount to receiving a permanent ban on your account. 6.2f ▫ Attempts to bypass the account blockade while the user is serving a penalty will be the basis for granting a permanent ban. 6.3 • Breaking the regulations depending on the degree of harmfulness is associated with the following repercussions: 6.3a ▫ Users who publish illegal content on the forum will receive a number of warning points appropriate to the level of harmfulness of their act, and the illegal content published by them will be immediately removed from the forum. 6.4 • Illegal content contained in forum users' avatars will be immediately removed by the team, and users will be informed of such action, receiving a number of warning points appropriate to the level of harmfulness. 6.5 • The color of annotations written by Administrators is red, and the color of annotations written by the rest of the team - green. 6.5a ▫ Users are forbidden to use the above-mentioned colors in their statements. 6.5b ▫ Users are forbidden to reply to an annotation added by a team member. If you have any objections to the penalty received by the user, please contact the person responsible for issuing it. 6.5c ▫ Users are not allowed to delete annotations added by Team members. Final Provision Both acting to the detriment of the Gothic 2 Online project and copyright infringement will result in permanent banishment.4 points
-
Introduction Languages.vdf is a collection of default Gothic 2 NoTR .TEX & .FNT for different language types. The archive currently supports the following languages: English - EN Polish - PL Russian - RU German – DE Default font names for Gothic 2 NoTR are: Font_10_Book.tga Font_10_Book_Hi.tga Font_20_Book.tga Font_20_Book_Hi.tga Font_Default.tga Font_Old_10_White.tga Font_Old_10_White_Hi.tga Font_Old_20_White.tga Font_Old_20_White_Hi.tga The naming pattern for different language fonts is: [LANG_PREFIX]_FONT_TGA_NAME, e.g: RU_FONT_OLD_10_WHITE_HI.TGA All of the languages that listed here are also supported by the g2o modifcation. Project links: - Download G2O Language Support Gothic 2 Online Scripting API allows to interact with user input by specifying the keyboard layout. The list of the keyboard layout can be found here. By default, the inital layout is set to english. Here’s the complete list of scripting functions that are used to work with user input: getKeyLayout setKeyLayout getKeyLetter It’s also possible to add support for other languages by overloading existing functions and adding a new keyboard support for specific language(s) in squirrel. Overloading squirrel functions example local currentLayout = 0 getKeyLayout = function() { return currentLayout } local _setKeyLayout = setKeyLayout setKeyLayout = function(layout) { if (layout < 0 || layout > 4) return currentLayout = layout _setKeyLayout(layout) } local _getKeyLetter = getKeyLetter getKeyLetter = function(key) { if (currentLayout < 4) return _getKeyLetter(key) // your implementation of key mappings for other langs // this example adds another language in id 4, // but you can always modify it and add more than one additional lang. // Anyway, this is everything that you must do for G2O, to support more keyboard layouts. }3 points
-
Simple Role-Play gamemode, ported from GMP:A's CruzerRP made by V0iD (i wonder who that is). Features: - Classes - RP Chat based on prefixes instead of commands - Basic moderator commands - Ranks with permissions - Player visual change - Login/Register with save-to-file system GitHub Repo Usage: First, create a directory named "database". In config.xml, without changing the names of the files, after <import src="default/scripts.xml" /> add this line <script src="Server.nut" type="server" /> <script src="Client.nut" type="client" /> Of course if you want to put the files in a separate folder, make sure to add the path before the names, just like the Default Scripts have it before their import file.2 points
-
Introduction This module integrates the Mumble client with Gothic Online, allowing players to connect to your Mumble server and enjoy voice communication within the Gothic game! Project link: - Repository - Download (will be added soon) - Docs How to use - mumble server configuration Mumble server setup - https://www.unixmen.com/install-mumble-server-ubuntu/ How to use - join server and talk enableEvent_Render(true); addEventHandler("onInit", function() { mumble.openConnection("kyrmir.eu", 64738, "YOURPASSWORD"); }); addEventHandler("onPlayerCreate", function(playerId) { if(playerId == heroId) { // Wait 500ms for initialization setTimer(function() { mumble.toggleOutput(true); }, 500, 1); } }); local voice = false; addEventHandler("onRender", function() { if(isKeyPressed(KEY_V)) { if(voice == false) { mumble.toggleInput(true); voice = true; } } else { if(voice == true) { mumble.toggleInput(false); voice = false; } } });2 points
-
Introduction The httpServer module integrates a third-party HTTP server library which enables communication with your server using methods such as POST, GET, PUT, and DELETE, eliminating the need for constant checking and updating of the state in your MySQL database. Project link: - Repository - Download (always check for newest) How to config <config> <public>false</public> <port>8080</port> </config> Setting the value to false is recommended. With this configuration, your API will only work on the local interface. If you want to access it outside of your VPS, set the value to true. How to use - send request JavaScript - https://axios-http.com/docs/api_intro PHP Symfony - https://symfony.com/doc/current/http_client.html How to use - receive and response addEventHandler("http:onRequest", function (path, request, response) { print(request.addres); // sender address -- string print(request.method); // method POST/GET/PUT/DELETE -- string print(request.content_type); // content type -- string print(request.body); // request body -- string /* If body is in JSON format you can use http.unpackJSON(request.body) to transform it into table. */ switch(path) { case "/status": { response.content_type = "application/json"; // same as in request -- string response.status = 200; /* If you want to send JSON in response you can use http.packJSON(table) to transform squirrel table into JSON object. */ response.body = httpServer.packJSON({ count = getPlayersCount(), max_slots = getMaxSlots() }); } break; default: response.status = 404; // http response status -- integer } }); I recommend using this module in a private environment. If you need to provide access outside, you can use a proxy created with frameworks like Symfony(PHP) or others... Big thanks to Patrix for help with concept and JSON functions!2 points
-
Introduction MySQL Module binds a third-party mysql library, which provides Squirrel functions to access data from MySQL databases. More information about MySQL database you will find on the internet. SQL language tutorial: https://www.w3schools.com/sql/ Used SDK: https://downloads.mysql.com/archives/c-c/ Project links: - Repository - Download - Documentation Usage example local conn = null addEventHandler("onInit", function() { conn = mysql_connect("localhost", "root", "", "db_test") if (!conn) throw "Cannot connect with server database!" local result = mysql_query(conn, "SELECT * FROM mdb_users") if (!result) throw mysql_error(conn) + "\ncode: " + mysql_errno(conn) print("Query done " + mysql_num_fields(result)) local row_assoc = mysql_fetch_assoc(result) if (row_assoc) print(row_assoc["username"] + " " + row_assoc["email"]) mysql_free_result(result) })2 points
-
Introduction NOTE: This module is installed by default in g2o client directly. This client-side module allows the server creators to utilize the LocalStorage API for serializing informations. The g2o platform doesn't support the file API from squirrel on client-side due to security reasons, so this project feels the gap of the missing feature. The API usage is very similar to the one from browser (the main inspiration came from it). The code doesn't give the user ability to save/load data, instead it exposes an API to get or set (create/update) values. The API itself will handle the saving data to a file LocalStorage.json, which will be located in this directory: Game/Multiplayer/store/ You can find more information about the exposed API under Exposed API section or in sqmain.cpp file. Project links: - Repository - Download Usage example LocalStorage.setItem("nickname", "Patrix") LocalStorage.setItem("password", "secret") print("My nickname is: \"" + LocalStorage.getItem("nickname") +"\"") print("My password is: \"" + LocalStorage.getItem("password") +"\"")2 points
-
2 points
-
Hi Marcos, That sounds like an interesting project! I’ve worked on a custom script for another game before, and getting quests to trigger correctly can be tricky. One approach that worked for me was breaking the quest into smaller, testable parts. Start by ensuring the dialogue options are tied to specific quest variables and use debug messages to confirm each stage is working as expected. For example, adding messages like "Quest Start Triggered" or "Dialogue Path Selected" to your script can help pinpoint where the issue might be. Also, double-check if the NPC’s state and the quest flags are syncing properly. Good luck with your script.1 point
-
Specyfikacja z omówieniem Opiniowany pakiet to: Mini plus (https://i.imgur.com/zYBaAdD.png). Cena: 44.99zł brutto (na dzień 22.10.2023) Cpuinfo: https://i.imgur.com/ZGfr2Ii.png Ochrona Anty DDoS: Według hostingu najwyższy zmitygowany atak to ponad 262Gbit z czego są przygotowani do 1.5Tbit. Korzystają z rozwiązania firmy https://www.netscout.com/. Z właśnego doświadczenia mamy poparcie o atakach na poziomie do 2.7Gbit, gdzie serwer nawet się nie zajęknął i nikt nie odczuł, że był jakikolwiek atak. Raport wraz ze screenami z ataku w załącznikach niżej. Dystrybucje: Aktualnie jest dostępny 6 dystrybucji (https://i.imgur.com/1ElioFe.png) z czego hosting ciągle dodaje nowe obrazy oraz jest możliwość instalacji dystrybucji na życzenie w tym nawet Windows Server. Bandwidth: W prezentowanym pakiecie deklarowane jest 120/120. Wynik ze speedtest.org to https://www.speedtest.net/result/c/f79e48fc-3965-4eef-a34f-6b1e18e7570c (https://i.imgur.com/rxwA8mU.png) HTOP: Wykonany przy włączonym: MySQL, dwóch serwerach Gothic, Apache2. Screen robiony przy 20 osobach na mapie Archolos i skrypcie z Historii Kolonii: https://i.imgur.com/NlxYiKi.png GeekBench:https://browser.geekbench.com/v6/cpu/3214818 Ogólne zalety i wady na podstawie użytkowania Zalety: Zgodność oferty z tym co otrzymujemy, czyli procesor, wielkość dysku, ramu i inne są identyczne. Support szybki i pomocny via czat, mail, telefon czy nawet discord. Możliwość z poziomu panelu na obsługę firewalla serwera https://i.imgur.com/WFCCZ9q.png Elastyczność, jeżeli chodzi o dopasowanie oferty pod konsumenta. Szybkie reagowanie na poważniejsze problemy. Przejrzysty panel zarządzania serwerem. Generowanie obszernego raportu z ataków DDoS. Wady: W niektórych miejscach panel serwera jest niedopracowany. Brak bezpośredniej płatności. Trzeba najpierw doładować wirtualny portfel, a dopiero potem zapłacić za serwer. Hosting nastawiony głównie na sprzedaż serwerów minecraft. Jednak klienta VPS traktują z większą dokładnością. Brak możliwości udostępnienia zarządzaniem serwerem. Np. dodanie sub-konta do startowania, restartowania i obsługi serwera. Specjalna oferta dla platformy Gothic Online Dla osób, które chcą skorzystać z oferty HostGier.pl - firma przygotowała specjalnie dla nas kod rabatowy, który daje -10% zniżki na serwer - kod działa jednorazowo na zakup, ale można go wykorzystać na dłuższy okres z góry lub na kolejny serwer. Kod to: GOTHICONLINE. Należy go podać podczas rejestracji konta oraz zamawiania serwera. Wielkie podziękowania dla HostGier.pl za taką inicjatywę w naszym kierunku DoS-Host-Alert-7311580-_3.pdf1 point
-
1 point
-
1 point
-
1 point
-
From now using example and docs are available under this address - https://tomasz-k.gitlab.io/mumble/1 point
-
Działa, mi pomogło oraz 2 innym osobom którym o tym napisałem1 point
-
Squirrel Language Supports Syntax highlighing, completions and formatting support for squirrel language Visual Studio Code VSCodium Squirrel Language Linter Linter support for squirrel language Visual Studio Code VSCodium IntelliSense for Gothic Online Support IntelliSense for function used in Gothic Online Visual Studio Code VSCodium1 point
-
mySQL-Framework - Simple framework to connect and manage database. Author: Retrok Project link: - Repository - Example1 point
-
Introduction pugiXML is a squirrel module made for gothic 2 online mod that adds the support for XML format. This module is based of pugixml library and provides most of its features directly to squirrel language, e.g: XML document parsing Xpath queries traversing/iterating over XML nodes & XML attributes and more! Project links: - Repository - Download - Documentation - Examples1 point
-
1 point
-
Ja za to mam pytanie dlaczemu nie ma "podpisów" czy też tzw. sygnatur. Jak już jedziemy po sentymentach, to dajcie to. Pal licho już sam wygląd forum. Ale przynajmniej jest względnie czytelnie i funkcjonalnie1 point
-
1 point