-
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
regal 17
Hello everyone! So, I want to make a dungeon but there are little things I couldn't make clear in my mind as I didn't find any specific information for this that could help me.
I've seen the big picture of making a dungeon, but for example:
-everytime I use server_timer I receive error in syserr
SYSERR: Dec 11 05:42:44 :: _clear_server_timer: LUA PREVENT: Wrong argument on ClearServerTimer!
Do you know what might be the cause?
I use it something like this:
server_timer("Dungeon_Time", 60*40, d.get_map_index())
And if the final boss is killed I call
when Dungeon_Time.server_timer begin
if d.select(get_server_timer_arg()) then
clear_server_timer("Dungeon_Time", get_server_timer_arg()) (I hope that I wrote this correct because I'm writing from phone but I used the functions like I'vd seen in other quests).
If I use the simple timer function there is no problem, but still I couldn't find if it is ok to stick to timer as I've seen a lot of quests using the server_timer.
Another error I get is:
SYSERR: Dec 11 05:42:29 :: SetQuestNPCID: cannot reset quest npc id - already running quest [13 TestPlayer]
Maybe it doesn't have anything to do with the dungeon but I didn't see this error before doing the dungeon, maybe someone knows what could be the problem.
Is ok using the quest flag like this?
d.setf("Flag1", d.getf("Flag1")+1)
if d.getf("Flag1") == 150 then
Do something etc.
Is it ok to clear the flag after it's triggered like this:
d.setf("Flag1", 0) or I'm doing it wrong or there is no need to clear them because they will be cleared automatically? Thank you for the answers,
Have a nice day!
Edited by regalLink to comment
Share on other sites
Top Posters For This Question
2
1
1
Popular Days
Dec 13
2
Dec 11
1
Dec 12
1
Top Posters For This Question
regal 2 posts
PACI 1 post
Raylee 1 post
Popular Days
Dec 13 2020
2 posts
Dec 11 2020
1 post
Dec 12 2020
1 post
Popular Posts
PACI
Couple of things. A server_timer is an event that is supposed to run once. Unless you decide to make a loop out of it - which on this case, it'd make sense to use clear_server_timer to ensure you
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