-
Posts
44 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Papix
-
-
-
-
1 hour ago, IonutRO said:
Hello! He is right, the design was made by @ TuoraArts
1 hour ago, ReDraco said:Yes but the CMS is yours and you have not been tagged
I forgot, I've added it! @ IonutRO
-
- 100
- 4
- 26
- 5
- 56
-
28 minutes ago, Takuma said:
Just a few details... Because when addressing beginners (the target audience for this post), it's important to lay a solid foundation:
No. It depends on the paradigm.
It should be emphasized that the entirety of C is supported in C++. In fact, C++ is just an extensions of C with a vast number of libraries.
Well, then I am a liar. Not learning C to understand what C++ does under the hood is like saying you know how a car works because when you turn the key, it starts.
And in terms of courses (for English spearks), I also recommend https://www.learncpp.com. It's comprehensive and well-explained.
When I talk about syntax, I'm talking about all the factors, so why complicate something simple for beginners?
If you learn c++ directly, you will learn what you need without having to learn C specifically.
I personally started by learning the basics of C and then moved on to c++. Nobody is obliged to follow the same steps as me, they can simply start learning c++ directly. -
Welcome mate!
-
Hello community,
I've been devoting most of my time recently to learning c++ in depth.
My contact with c++ before I started learning was terrible and based on copy paste, I really understood very little or even nothing.
I've decided to create this thread about my learning journey with c++.
I'm still learning more and more every day, but I already have a journey planned for learning.
Step 1 "Learning Logic and Algorithms"SpoilerBefore you even think about writing "hello world" in C++ you should study "programming logic" because once you understand logic you can start learning any programming.
Generally, the logic used in all programming is the same, what changes is the syntax.
Step 2 "Learning the basics of C" (Opecional)SpoilerBy personal choice, I decided to learn C before I started learning it, since C is the mother tongue of C++.
C++ is an independent language but it comes from C but many functions in C++ are exactly the same as C.
Note: This was a personal choice! You don't need to learn C to learn C++ and if someone told you that, get away from them because it's a lie.
Step 3 "Learning C++"SpoilerYou should start by learning the structure of C++.
Not sure how to study? There are several youtube channels with "learn c++ beginner to advanced" series and there are also several free online courses.
If you don't mind spending money you can buy a course, I personally am taking several courses on Udemy.
Don't try to learn everything in one day, take your time and never take one step too far!
Before moving on to the next modules of your chosen course, try to master the current subject.
My Tips- Don't want to learn everything in one day, it won't work
- Take your time learning.
- Don't panic if you don't understand something and try to solve your doubts.
-
Study by modules and don't skip to the next one until you really understand the current one.
Good studies and much success!
- 1
- 4
- 3
-
-
Hello community,
I decided to create a vdi with the latest version of FreeBSD (13.2) and all the packages needed to start a server and compile the source.
Packages InstalledSpoilerboost-all
devil
gcc
gcc8
gcc9
gcc10
gmake
makedepend
subversion
gdb
python
python2
python27
cryptopp
llvm
ccache
openssl
googletest
compat8x-amd64
zip
mariadb1011-server-10.11.4
clang++90Login Details
-> FreeBSD + MariaDB
User: root
Password: papix
Download
- 101
- 1
- 1
- 37
- 8
- 75
-
Hello community,
I needed to block PvP modes on my server on some maps and decided to share the method.
I have seen that something like this has already been shared, but on the client side. In my opinion, things of this importance should be on the server side.- 48
- 1
- 17
- 3
- 17
-
-
-
2 hours ago, Matteo said:
Are you sure it's a good idea to host Live Servers in Germany?
Also i've been using OVH for some years now, never had outages (Except when the French datacenter caught on fire ) or anything that needs support.
In my opinion there is no problem with hosting live servers in Germany, all the companies I mentioned are already reasonably large, they won't suspend your VPS for having a metin server
- 1
-
Hello community,
I created this quest to use on my PvP server and decided to share it.
The anti-farm in relation to killing characters is by windows guid, you must add this check in the source.
If you don't want to add it, you can replace it with the existing standard IP check function.
- 31
- 1
- 1
- 11
- 20
-
Hello community,
In this topic I'm going to recommend a few companies based on my experience with them.
Many people are still under the illusion that OVH is the best company, but believe me, nowadays it's not so good in terms of cost-benefit, support is terrible and uptime is sometimes very unstable.
I'll keep this topic updated as new experiences with hosting companies emerge.
LowHosting
Stability:
Hardware:
Support:
Cost benefit:
DDoS protection:
Datacenter: Germany
Recommended for: Test Server, Live Server
Website: https://lowhosting.org/
Host Unlimited
Stability:
Hardware:
Support:
Cost benefit:
DDoS protection:
Datacenter: Germany
Recommended for: Test Server, Live Server
Website: https://host-unlimited.de/
RoyaleHosting
Stability:
Hardware:
Support:
Cost benefit:
DDoS protection:
Datacenter: Netherlands, United States
Recommended for: Test Server, Live Server
Website: https://royalehosting.net/
Hetzner
Stability:
Hardware:
Support:
Cost benefit:
DDoS protection:
Datacenter: Germany, Finland, United States
Recommended for: Test Server, Live Server
Website: https://www.hetzner.com/
Contabo
Stability:
Hardware:
Support:
Cost benefit:
DDoS protection:
Datacenter: Germany, United Kingdom, United States, Singapore, Japan, Australia
Recommended for: Test Server
Website: https://contabo.com/- 1
-
42 minutes ago, Syreldar said:
Didn't test, don't care, wrote in notepad in 5 min spare. This 'system' shouldn't be done in Lua btw.
But if you really want make such an abomination, please, do things properly at the very least:
define STUN_AFFECT_ID 210 define FALSE_ITEMS_NUM 3 -- How many false items should be in the selection. define FAILED_COUNT_LIMIT 3 -- Warp to village when failing the captcha this amount of times. define METIN_KILL_LIMIT 50 -- Show captcha upon destroying this amount of metinstones. quest anti_bot_captcha begin state start begin function setting() return { ["true_vnums"] = {101129, 9600, 12829, 2169, 11839, 12789, 71107, 79, 2099, 199, 2159, 3169, 2139, 5349, 1139, 101006, 12809, 7009, 13109, 7029, 189, 39, 7019, 29, 101005}, ["fake_vnums"] = { 11299, 17229, 7379, 2079, 101119, 20509, 2129, 18089, 11819, 129, 13089, 89, 69, 11849, 101141, 469, 12849, 101004, 16579, 2069, 101140, 14579, 169, 2039, 15459, 11899, 2019, 101144, 11499, 20259, 3199, 139, 101109, 7059, 2109, 13169, 17709, 14229, 2059, 7039, 99, 49, 101143, 13069, 18099, 11699, 479, 15449, 179, 2049, 5129, 20009, 59, 2089, 2379, 9830, 11829, 20759, 101142, 119, 2179, 2009, 2119, 16229, 11809, 101139, 19, 2029, 1349, 11859, 2179, 13149, 7049, 13129, 2149 } }; end -- function function block_player() pc.setqf("status", 1); -- Unused, but can be useful. pc.affect_stun(); end -- function function unblock_player() pc.setqf("status", 0); -- Unused, but can be useful. pc.setqf("kill_count", 0); pc.setqf("failed_count", 0); affect.remove(STUN_AFFECT_ID); end -- function function captcha_response(is_correct) if (is_correct) then anti_bot_captcha.unblock_player(); return; end -- if pc.setqf("failed_count", pc.getqf("failed_count") + 1); if (pc.getqf("failed_count") >= FAILED_COUNT_LIMIT) then pc.setqf("failed_count", 0); notice("[Captcha] Fail limit reached. Warping you back to your village..") warp_to_village(); return; end -- if say_reward(string.format("Wrong captcha! (Attempts remaining: %d)", FAILED_COUNT_LIMIT - pc.getqf("failed_count"))) anti_bot_captcha.show_captcha(); end -- function function show_captcha() local setting = anti_bot_captcha.setting(); local true_item = table_get_random_item(setting["true_vnums"]); say("What is the name of this item?") say_item_vnum(true_item); say("[ENTER][ENTER]") local random_item, chosen_items, except_items = 0, {}, {}; for _ = 1, FALSE_ITEMS_NUM do -- table_get_random_item_except (https://metin2.dev/topic/15905-syreldars-quest-functions/) random_item = table_get_random_item_except(setting["fake_vnums"], except_items); table.insert(chosen_items, item_name(random_item)); table.insert(except_items, random_item); end -- for table.insert(chosen_items, item_name(true_item)); -- table_shuffle (https://metin2.dev/topic/15905-syreldars-quest-functions/) local options = table_shuffle(chosen_items); local selection = select(unpack(options)); anti_bot_captcha.captcha_response(options[selection] == item_name(true_item)) end -- function when kill with not npc.is_pc() and npc.is_metin() begin pc.setqf("kill_count", pc.getqf("kill_count")+1); if (pc.getqf("kill_count") >= METIN_KILL_LIMIT) then anti_bot_captcha.block_player(); anti_bot_captcha.show_captcha(); end -- if end -- when end -- state end -- quest
Thanks for the contribution, I guess.
As I said I made the code in a short time and it helped me in my project, I already mentioned in the topic that it could be improved but as I published it works without problems.
Thanks for your contribution, I think
- 1
-
1 hour ago, BadiuAndrei said:
attempt to call field `is_metin' (a nil value), i have this in sys i added the pc.is_metin in quest_functions
You need to add this function in the source, not just declare something in quest_functions that is not in the source
- 1
-
Hello community,
I created some time this method to reduce the use of bots on my server, this code was written for anti metins farm but can be adapted for monsters too.
The code was made in a few hours and could be improved a lot more, but as it stands it works perfectly.
Logic- When the player destroys 30 metins, the captcha will appear and the player will be stunned at the same time.
- The player has only 3 attempts, if he fails all 3 times he is teleported to the city.
- The stun is only removed when the captcha is successfully completed.
As I said, this is not a WOW solution, but it can help as it has helped me on my server.
For those who really want to spend time creating a more effective solution, I recommend creating a captcha in c++ with encrypted connection client -> server.
Don’t forget to update the values in the quest according to your item_proto.
Lua
C++
quest_functions- 115
- 3
- 1
- 33
- 1
- 7
- 57
-
Hello community,
In this topic I will teach you how to make your signature beautiful with your Discord.
Guide- Join the discord server (Click Here)
- Open the site https://discord.c99.nl/
- Insert your Discord ID and click on Create Banner
Done! Now you will have several templates available to use in your signature.
You can also insert a direct link that will open your Discord profile when you click on the image.
ExampleHidden Contenthttps://discordapp.com/users/YOUR_DISCORD_ID_HERE
- 2
- 1
- 2
-
-
Hello community,
I recently created two scripts to promote my project and decided to share with the community.
The scripts are written in python and are easy to understand.Screenhot
Guide
Download
- 50
- 4
- 9
- 1
- 16
-
Hello community,
I have received several messages asking for a patcher that will update files, no matter how small the change, and that will not alert to viruses.
I will share with you for free the solution I use in my projects.
VirusTotal
Preview
Step by Step
Thanks to @ martysama0134 for some files.
- 136
- 1
- 1
- 30
- 6
- 69
-
2 hours ago, crewfire1337 said:
Bros..... I had the same error, tried to fix it for 7 hours (that was 1 week ago) and yesterday I saw this topic...
that was my bugfix before, but all your bugfixes in that way dont work!
DO right click on a monster (select a monster ) but run with a mount to a another group, the bug is not gone.
sometimes at a mount the character moves little bit forward i think if you attack.
if (m_pkHorse) { if(rVictim.IsEnemy() || rVictim.IsPoly()) { return FALSE; } else if(isAttacking()) { return TRUE; } }
And this fix: dont works too guys..
I use the function on my PvM server, I don't have any problems that were mentioned, it's up to whoever wants to use it if they need to adapt something in their server-files.
In server-files owsap works fine, if you use other files you will have to adapt the code if something does not work correctly.
- 3
- 1
-
Hello community,
I saw many tutorials and they all didn't work for me, many of them involved completely installing llvm9 which doesn't make sense since we will only use clang++90.
Downloading a vdi with 50gb or more to compile your source is not something I advise, do a clean install of FreeBSD and follow this guide.
I got several ways, I will share the easiest way to understand and use.
In this guide I used FreeBSD 12.3 but I believe it will work on any version from 12 to 13.
Step by Step
Done! Now you can compile your source using clang++90
- 175
- 6
- 1
- 1
- 1
- 2
- 52
- 6
- 94
Ziminiar2 - Unbeatable | Servidor Middleschool Português | Abertura 08/12/2023
in Private Servers Archive
Posted · Edited by Papix
Importante
Website: https://ziminiar2.com/
Discord: https://discord.gg/zb6HFudV2K