- 0
-
Activity
-
5
-
43
Upgraded Reference (TMP4 Base) By Ulthar
putty -> gameclean or -> game src folder -> OBDIR folder -> delete all in the folder thats it! everything goes without changes. i also thought at first that it was because of it, but it works the same way without your change. -
2
TXT File To Lower Case [Phaselis Map Works]
this is an extra option yep but I want to remane specificly .txt files, for users I can recommend them to use this code with a little modify; Use a list comprehension instead of the for loop to check if the filename contains uppercase characters. Use os.path.splitext() method to get the file extension, and then concatenate it with the lowercase filename. Use the r prefix for the input() function to interpret backslashes as part of the path string. import os def rename_files(path): # Use os.scandir() instead of os.walk() for better performance for entry in os.scandir(path): if entry.is_file(): # Get the filename and extension separately filename, ext = os.path.splitext(entry.name) if any(c.isupper() for c in filename): # Rename file to lowercase and concatenate the extension new_name = filename.lower() + ext os.rename(entry.path, os.path.join(path, new_name)) # Use the r prefix for the input function to interpret backslashes as part of the path string path = input(r"Enter directory path: ") rename_files(path) print("All files have been renamed to lowercase.") maybe this could be the my solution for py user, thanks for contribution to my topic -
43
-
-
43
Upgraded Reference (TMP4 Base) By Ulthar
Hi @gergogonczi, try this (it worked for me) In file /usr/metin2/src/game/src/stdafx.h Search for: #include <tr1/unordered_map> #include <tr1/unordered_set> replace with: #include <unordered_map> #include <unordered_set> Should be ok to compile after that. If I've understood correctly, this happened because of new version of c++ does not use tr1 any more. @ Ulthar : Great Work so far!!!! I'm testing now, all went OK, just the tr1 thingy that i've managed to correct it. Best regards to you all!! EDIT: I had a "problem" which was my bad ahahahah! Its OK now -> continuing playing around with these files -
6
-
5
official Official Environment Effect Options [REVERSED]
oh brother, i won't disparage you. I like your works. I'm sorry if I spoke wrong english. I use your systems and I love you. I just said that your system is not working on my files so I restored the backups.- 1
-
-
1
4 Alternatives Open Source to Trello
I would also love to add Azure Dev Ops to the mix - It has an amazing board, every US (card) has a number, unlimited storage for you repo but the best part is to be fully connected through Visual Studio. It's the one I currently use for local systems and testing: Ah, and it's completely free (máx 5 users, then it's 5€/m per extra user).- 1
-
-
-
Recently Browsing
- No registered users viewing this page.
Question
Macromango 7
Hello devs;
I searched days for solutions to this problem, but still got no luck; I'm pretty sure that I'm missing something!
I'm trying to figure out what's happening in my lua script, that should list all skills at "M" level; in order to upgrade them.
It works fine for every skill of every race except the 6th skill of ninja archer "Spark" and also the 6th skill of the mental warrior "Sword Orb":
So I'm assuming this is a "6th skill problem".
I have those 6th skills set in my db, they upgrade successfully with in game console command ("/setskillother name 51 21"), and they work perfectly in game.
I assume there must be something that I'm missing from my function to add them in the variable "skill_list", here's the function:
Also I'll post the "output" part of the same script, but I'm sure the problem isn't here:
Thanks for your time and your precious help;
Greetings!
Link to comment
Share on other sites
Top Posters For This Question
2
1
1
Popular Days
Oct 21
3
Oct 20
1
Top Posters For This Question
Macromango 2 posts
Deliris 1 post
regal 1 post
Popular Days
Oct 21 2020
3 posts
Oct 20 2020
1 post
Popular Posts
regal
Hello there! You need to put the 6th skill in special.active_skill_list in order for this to work. You can find it in locale/xx/quest/questlib.lua usually. It should be something like t
Deliris
I think you forgot to add the skill id in function active_skill_list from questlib.lua. Edit: Sorry, didn't see that someone answered already.
Macromango
Thank you my friend @regal! After adding the missing 6th skills vnums in the "special.active_skill_list", my quest script recognized the skills and prompted me their vnum. I managed to assoc
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now