![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Adddirl
-
Posts
17 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Adddirl
-
-
Still trying to solve the problem. As i said, sometimes there are quest that works, others wont, just when i use ./make_quest again and recompiled everything, some quest shown up but others wont like this:
https://metin2.download/picture/Sn6NmDg09FTeOF7FTUJq0mrdaRcRt5mr/.png
I figure out that the problem could be at my pre_qc.py ("python pre_qc.py levelup.quest" doing nothing for me, no error but no compile too). I used the pre_qc.py version that is in this web, the renewal make_quest that is in this web too but nothing still works. I revised the entire code trying to find anything that i could implemented wrong, but nothing. I change the permission of the "object" folder to see if anything changes, but no. I delete the entire object folder to just compile some quests like levelup.quest, main_quests, some subquests and scrollquests but anyone of theese shows at the same time, so i feel like there is something obvius im not seeing
Any solution? -
Did someone fix this?
-
Little update. I found something weird. If i /make_quest, cause all quests are reimplemented, then there is some quest that appear in the quest page ui window. But it is different everytime i reimplemented them. Any solution?
-
Well. I was trying different systems and changing things, but i couldn't reach the fix so... Im still in the same place. I got different errors, but at last i got to the same place, number of quests in the icon but nothing in the visual ui "page_quest".
-
21 hours ago, Psycho said:
resolv?
Im on it, im going to update as soon as i can T.T
-
I just finish to install this system but for some reason, there are no quests in the window
https://metin2.download/picture/1uPS4a6U2kXu9x0agO32IrY7431MqFt8/.pngIf i press Control + Q, it appears the icon of the quest with the number of available quests, but anyone appear in the questlog.
I got no errors, no problems at compile, anything at sysrr... I added the quests to the questcategory.txt, all the code at game, client and binary but it is still not working. What file i can check?
-
Its just a fast question
its possible in .msm files, to make in this part
Group HairData01
{
HairIndex 1
Model "hair/hair_1_1.gr2"
SourceSkin "hair/hair_1_1.dds"
TargetSkin "hair/hair_1_2.dds"
}something to make two source and target skins? i mean, i want my model to change eyes and hair color when using a tint, its possible?
EDIT-
Well, i found a way to do it just typing in the browser. I couldn't found anything before because i was using the google bar so, there it is:
#close
-
Ey. I was adding a specular system and i noticed my client is crashing for this specific line with no error sysrr
cfg.Set(cfg.SAVE_CHARACTER_SLOT, "slot_{}".format(name), self.slot)
I added to the client source the PythonConfig.h, PythonConfig.cpp and PythonConfigModule.cpp as it required to work properly. I got no errors at compiling the client ejecutable itself. I really dont know if the problem is in the module itself or the code syntax of Set.
PyObject* poModule = Py_InitModule("cfg", s_methods);
Im getting some errors to compile the debug version for some reason, so my theory is that the game is reading the module (cuz no sysrr) but the syntax or the code itself didnt work. As u can expect, i just know the basic, that's is why im asking there
This is the code of Set
SpoilerPyObject* cfgSet(PyObject* poSelf, PyObject* poArgs)
{
unsigned char bType;
if (!PyTuple_GetByte(poArgs, 0, &bType))
return Py_BuildException();char* szKey;
if (!PyTuple_GetString(poArgs, 1, &szKey))
return Py_BuildException();char* szValue;
int iValue;CPythonConfig& rkConfig = CPythonConfig::Instance();
if (PyTuple_GetString(poArgs, 2, &szValue))
{
rkConfig.Write((CPythonConfig::EClassTypes)bType, szKey, szValue);
}
else if (PyTuple_GetInteger(poArgs, 2, &iValue))
{
rkConfig.Write((CPythonConfig::EClassTypes)bType, szKey, iValue);
}
else
return Py_BuildException();return Py_BuildNone();
}im i missing something?¿
-
Ey!
I was trying to install some system but i get a problem with some of the files (pythonconfig.cpp and .h)
I was trying to add some reference files from minIni but still get this problem. Is there any file i missing? im not too good at understanding these things :Shttps://metin2.download/picture/ujon74248kznz7NXdBF8fs1qJMuISwI3/.png
is there anything i can do?
-
On 8/23/2021 at 9:57 PM, damzaffari said:
Solved, its on the source. Thanks!
Where do you find it? if u remember
-
Hi, i was trying to compile the source of the server in freebsd, no prob if i gmake from the root folder, but if i try to compile from /game/src, it gives me errors everytime. I tried to investigate, changing things and editing some files but nothing works.
Im little desperate cuz im on this before thu:there is the error itself from makefile:
https://metin2.download/picture/9tHHPN8588TvN2gkT2h3qD1QA43u9NPx/.pngthere is my makefile from /game/src/
SpoilerPLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
SVN_VERSION = 40250CC = g++48
INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = OBJDIR
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)# Standard Setting
LIBS = -pthread -lm -lmd
# Removed -fno-rtti
CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -D__SVN_VERSION__=\"$(SVN_VERSION)\"ifeq ($(GCC_VERSION), 4)
CFLAGS += -mtune=i686 -fstack-protector-all
else
CFLAGS += -mcpu=i686
endif# boost
INCDIR += -I../../../Extern/include/boost# DevIL
INCDIR += -I../../libdevil
LIBDIR += -L../../libdevil
LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg# MySQL
ifeq ($(BSD_VERSION), 7)
INCDIR += -I../../libmysql/7.x-5.1.35
LIBDIR += -L../../libmysql/7.x-5.1.35
else
INCDIR += -I../../libmysql/5.x-5.1.35
LIBDIR += -L../../libmysql/5.x-5.1.35
endifLIBS += -lmysqlclient -lz
# Miscellaneous external libraries
INCDIR += -I../../../Extern/include
LIBDIR += -L../../../Extern/lib
LIBS += -lcryptopp -lgtest# HackShield
INCDIR += -I../../libhackshield/include
LIBDIR += -L../../libhackshield/lib
LIBS += -lanticpxsvr# XTrap
INCDIR += -I../../libxtrap/include# openssl
#INCDIR += -I/usr/include
LIBS += -lssl# Project Library
INCDIR += -I../../liblua/include
INCDIR += -I/usr/local/include
INCDIR += -I../../libserverkey
LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey
LIBDIR += -L/usr/local/lib
LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey
USE_STACKTRACE = 0
ifeq ($(USE_STACKTRACE), 1)
LIBS += /usr/local/lib/libexecinfo.a
endifTARGET = $(BINDIR)/game_r$(SVN_VERSION)_$(PLATFORM)
CFILE = minilzo.c
CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp\
arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp\
char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp\
item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp\
messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp\
questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp\
questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp\
BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp\
SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp\
auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp\
group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp shutdown_manager.cpp
COBJS = $(CFILE:%.c=$(OBJDIR)/%.o)
CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)MAINOBJ = $(OBJDIR)/main.o
MAINCPP = main.cppTESTOBJ = $(OBJDIR)/test.o
TESTCPP = test.cpp
TEST_TARGET = $(BINDIR)/testdefault: $(TARGET) $(TEST_TARGET)
$(OBJDIR)/minilzo.o: minilzo.c
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
@echo compile $<$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
@echo compile $<$(OBJDIR)/%.o: %.cpp
@echo compile $<
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@limit_time:
@echo update limit time
@python update_limit_time.py$(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
@echo linking $(TARGET)....
@$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET)$(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ)
@echo linking $(TEST_TARGET)
@$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../testclean:
@rm -f $(COBJS) $(CPPOBJS)
@rm -f $(BINDIR)/game_r* $(BINDIR)/convtag:
ctags *.cpp *.h *.cdep:
makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Dependsinclude Depend
ty in advance :S
-
#solved
I just solved the problem. As i said, the solution was simple, something i didnt know cause i never touched 3d program in my entire life.
This post was my solution so good luck if someone get to the same problem
-
1
-
-
6 minutes ago, @ndr31 said:
Try to put the animation on the npc model and see if the animation is the right one
Yep, everything seems to be okay. Maybe something related to the model? idk, i just coppied the entire lines from other files and replace with the name of my model and animations. Anyways, the npc seems right, he try to move and the animations are good, just he is stucked in place.
I put the npc into a quest for summ him like mount, and happens the same. Anims right, just stuck in place -
3 minutes ago, @ndr31 said:
Could you check if the wait.gr2 animation for this npc is really the wait.gr2 and not the run.gr2?
Yep, i just check it.
https://metin2.download/picture/VePcFeH2Q86YoOF4J2dH7HwI8RaO7FK7/.png
Seems normal but idk if there is something wrong.
I tried to change the caps, but still the same
-
-
Well, i just implemented a new npc. For some reason, when i spawn this guy, he did the run animation but just stuck in place. Is just a client side cuz everytime i logged in i can see it in different location.
Just noticed all the things are correct. The gr2, msa, motlist, mob_proto.... as i see, there is no fault but who knows, im new at editing these things.Did a miss something?
Problem with Quest Renewal System
in Community Support - Questions & Answers
Posted
Up