-
Posts
1112 -
Joined
-
Last visited
-
Days Won
20 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by TMP4
-
-
9 minutes ago, narcisxb said:
What do I use for adding new quests? Do I just add the quest and go qestcompile?
Add to the locale_list file too since the make.py reads that and ./qc them all if you enter python make.py or it's alias questcompile command.
- 1
-
2 minutes ago, narcisxb said:
It still makes 0 sense. Why would you use quote marks around , and cheque?
Edited a little but you use " because it's a string, that totally makes sense.
-
5 minutes ago, narcisxb said:
Can someone who installed this paste theyr ClientManagerPlayer.cpp?
How in seven hells are you supposed to add this part?
/*Search in: void CClientManager::QUERY_PLAYER_LOAD(CPeer * peer, DWORD dwHandle, TPlayerLoadPacket * packet) This: "horse_skill_point " Add after: */ #ifdef ENABLE_CHEQUE_SYSTEM ", cheque " #endif /*--------------------------------------------------*/
It just does not make any sense. (for me maybe)
Here is the way I did it and I get a bunch of compilation errors.
snprintf(queryStr, sizeof(queryStr), "SELECT " "id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime," "gold,level,level_step,st,ht,dx,iq,exp," "stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair," "skill_level,quickslot,skill_group,alignment,mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina," "UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point FROM player%s WHERE id=%d", #ifdef ENABLE_CHEQUE_SYSTEM ", cheque " #endif GetTablePostfix(), packet->player_id);
How did you guys do it?
Try this:
snprintf(queryStr, sizeof(queryStr), "SELECT " "id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime," "gold,level,level_step,st,ht,dx,iq,exp," "stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair," "skill_level,quickslot,skill_group,alignment,mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina," "UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point" #ifdef ENABLE_CHEQUE_SYSTEM ", cheque" #endif " FROM player%s WHERE id=%d", GetTablePostfix(), packet->player_id);
- 1
-
9 minutes ago, narcisxb said:
Does this src have the TIME BOMB/TIME LIMIT/YMIR LICENSE removed?
If so why does it have a certain 11 July 2022 in limit_time.h?
It is disabled, not removed.
// #define ENABLE_LIMIT_TIME
It have the same end result (no check), but if anyone want to re-enable it, it is easier to just uncomment instead of reimplement the limit-time.
- 2
-
1 minute ago, Brayan said:
Just quick question bro on serverfiles i got OVH dedicated server and i put freeBSD 64 bit system, but when we put everything and starting the server, inside it shown some message like Libl.so.1, what exactly we forget to put or something else, am not sure, if need more details will give, thanks in advance Brayan.
To run any Metin2 serverfile on an untouched FreeBSD you have to install several packages. Check Libs.txt in my mega drive for more info.
(LibIL.so.1 is part of DevIL btw) -
1 hour ago, marinebun said:
Upgrade your FreeBSD to 12.0 or greater:
https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/- 1
- 1
- 3
-
8 hours ago, narcisxb said:
Hi! I ve found a problem with displaying item names when switching to romanian language. Everything works fine (all other strings like item descriptions or quests) but item names are displayed like some weird characters (like it s trying to display korean characters). I m pretty sure it s client related since picking up an item shows the correct name. Only when hovering over it it shows those weird characters. How to solve?
EDIT: Same issues with monster names but NPCs name and bonuses seems to display just fine. What to do?
Hi, thank you for the cooperation.
When i dumped RO item_proto I probably forgot to rename item_names_ro.txt to item_names.txt (same with mob) so the locale_names column clientside is empty, so it displays the korean one.
To fix it just dump your protos again or take this:
Edit: Mega drive updated:
2021.09.16: - Fixed locale_ro's item_proto & mob_proto names at clientside.
Spoiler- 10
- 2
- 3
- 10
-
3 minutes ago, Cunoo said:
My bad idk which version is installed.. Maybe you can try add some informations about source packages.. I think this can be usefull for many peoples.. Same for client you can make something like info.txt
Cryptopp:
DevIL:
MySQL:
Granny:
Python:
And more...
Yep did it 4 days ago, Libs.txt in Mega
There I tell people to install packages (all listed) what contains their missing libs.- 1
-
39 minutes ago, Zrye said:
Is there a better picture of this sword?
Unfortunately not I believe.
-
8 hours ago, RazadorError said:
i cant extract A1
You can, just not with Eternexus. Eternexus have some drawnbacks like it can extract only type0-1, and only latin characters in file name (= it can't extract property/season_x for example). A1 was packed with other, unsupported type by Ymir.
For such files you can use the older Tim extractor.
Here's the A1 unpacked:
You can repack it with eternexus since it does not have any non-latin character.- 17
- 9
- 2
- 15
-
11 minutes ago, RazadorError said:
where i can find the map a b c and replace it?
In pack folder? Or what do you mean?
Spoiler- 1
-
25 minutes ago, Zrye said:
If you still have some weapons that never existed in Metin2 always here with it
There is a third, in newer clients it is replaced by the lv80 sura sword but in the old clients it holds this never-released sword
SpoilerPS: Thank you for your release I really like it
-
Since I used Mali's src as base, the CryptoPP version is 7.0 so pkg install cryptopp-7.0.0 can do the trick.
For 8.2 / 8.5 the game-db should be compiled with that too in order to make it work.- 1
-
Friend: What kind of music do you listen to?
Me: It's complicated.Spoiler- 1
-
1 hour ago, SaugNix said:
THX for sharing these wonderfull clean Old-School files!
I have 2 little problems and hope someone of you can help me
1. When i hit some spiders in the 2 spiderdungeon i get errors in the syserr by the server:
How can i fix this?
2. I cannot find a properly functioning "rainbowstone.quest" because I ALWAYS get the following error when compiling:
How can i fix this?
THX SaugNix
First one is actually skipia dungeon 2's syserr, Ymir missed 2410 from the group_group.txt, but it have lines in skipia2's regen.txt. Either remove lines with 2410 from the regen.txt or create a group_group for it in group_group.txt. It's on you.
For the second problem you have to add pc.set_skill_level to quest_functions file in the quest folder in order to use it in quests.
- 1
- 1
- 2
-
I liked your outburst so I tried it out, but I don't have good news for you
I removed ANTI_STACK from 39017, just from that, and:SpoilerMaybe you are using a source with the "mask system" (ori_to_new_table.txt) completed because in a basic 40k it not really do anything, like IsMaskedItem() nowhere in use.
- 1
- 1
-
Either install ccache or remove it from your makefile since it is not required for compiling by default.
-
You do 2 things wrong. First is the ">", you should use "==". Second you are checking the shop owner player id every time instead of the current character.
if (m_pkPC->GetPrivShopOwner() == ch->GetPlayerID()) { ch->ChatPacket(CHAT_TYPE_INFO, "You can't buy from yourself."); return SHOP_SUBHEADER_GC_SOLD_OUT; }
Also GetPrivShopOwner is not exists by default (it is some offline shop?) but for simple shop you can use m_pkPC->GetPlayerID() too.
+1 your GetPrivShopOwner does actually returns the player id? If it returns something else, it will not works.- 1
-
31 minutes ago, kbeni said:
Hello, I found a little error with ox event. When I start it it wants me to select a level min max to participate but I need to allow all level players like it used to do with other serverfile normal. And oxquiz.lua in other languages missing, english and germany is not good for other language.
Illetve kérlek válaszolj metin2hungary-n mert írtam üzit és fontos lenne mert egy ajánlatom van.
Hi, it is not an error, at gameforge's oxevent.quest there is a level limit to choose. You can remove/edit it anytime in the quest...
Yes there is no oxquiz.lua in different languages but even if it would, it wouldn’t make much sense because it is public --> players could cheat.I read your message but I'm not interested in to work for your server sorry.
-
2 hours ago, darkfun3 said:
Hello and thanks for the help, now i get this error ld-elf32.so.1: /usr/lib32/libcryptopp.so.7: unsupported file layout i have even copied the one from the vm and placed it there. i even created a symlink with the version it had at libcryptopp.so.8.5 to libcryptopp.so.7 and placed in lib32 and lib but still no luck. Any help is appreciated. Thanks in advanced
using freebsd 12.0 64bit
NOTE: i think there is a bug in the client or server as you cannot pickup items from the floor with pickup button sometimes
Try libcryptopp.so.7 (symlink of libcryptopp.so.7.0.0). The 8.5 is another so of course it is unsupported.
-------------------------------------------------------
Yes that is a common bug in Metin2, try this for the item pickup:
SpoilerAnother thing to mention is the level next your name is not updating in real-time:
SpoilerI decided to not include such fixes since they are not game-breaking or exploits, and it is a reference serverfile. I may do in the future tho.Edit: I just applied them because both works fine.
2021.09.09: - Applied two fix: 1. for level update next to your name, 2. for picking up items - 1. https://metin2.dev/board/topic/6159-level-text-above-players-head-update-in-real-time/ - 2. https://metin2.dev/board/topic/24691-fix-pickup-distances-bug/
- 1
- 1
- 5
-
uiinventory.py (It's a default code, you may have modified)
def RefreshCostumeSlot(self): getItemVNum=player.GetItemIndex for i in xrange(item.COSTUME_SLOT_COUNT): slotNumber = item.COSTUME_SLOT_START + i self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0) self.wndEquip.RefreshSlot()
As you see the default code only works if it's in order like 19..20..21..22..23.
While your costum item stuffs ends on 23, you have pets on 27 so it's not working.Plus I'm not sure if your pet slot are calculated in COSTUME_SLOT_COUNT but you did not show it so idk. (GameType.h look for #ifdef ENABLE_COSTUME_SYSTEM it should have only 1 search result)
You may can do something like this:
Spoilerdef RefreshCostumeSlot(self): getItemVNum=player.GetItemIndex for i in xrange(item.COSTUME_SLOT_COUNT): slotNumber = item.COSTUME_SLOT_START + i self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0) self.wndEquip.SetItemSlot(27, getItemVNum(27), 0) self.wndEquip.RefreshSlot()
Not sure if it's works, it would be better to have them in order and have it calculated in COSTUME_SLOT_COUNT.
- 2
-
5 hours ago, darkfun3 said:
i have the same issue and i have devil installed
Please use this command: locate libIL.so.1.1.0
If you do have that lib, make a symlink next to it or to /usr/local/lib with the name of libIL.so.1 because it was always just a symlink, you may have the actual lib and just missing the symlink for whatever reason. (You can create symlinks via winscp, it called as "create link" at right click)
SpoilerIf you doesnt have the the lib and DevIL really installed then here it is:
Still it's not the best way to deal with it, but it's just extracted from the vdi so should not be harmful, worst scenario that it is incompatible.- 18
- 1
- 2
- 2
- 21
-
16 minutes ago, snapkode said:
download all the necessary lib
Probably that's why you have such strange error, but I'll be honest I haven't encountered this error yet.
If you download a lib from the internet it can be incompatible and / or harmful. Instead you should install the package with pkg (or from ports) what contains the missing lib. If you can't tell the missing lib's origin try to use google or ask here.Do you know the exact libs what you downloaded? You have to remove them all and start the server and look for what libs it requires then install the package what contains them. If you did overwrite libs then reinstall required
Edit: I'm about 99,99% sure it is about a CryptoPP lib. Try pkg install cryptopp maybe it installs a correct one.
- 1
- 1
-
24 minutes ago, Cunoo said:
I think all items can be blocked.. So 70024 too.. Same for add items and you can block equipped items move to safebox..
Hi, thank you, 70024 blocked already and the other items like stone deattacher too.
About the equipped items move to safebox, I already blocked belts because of the non-empty belt inventory. Blocking all items are not neceserry if they don't cause any bug. But if you know any other item type what should be blocked because of a potential bug, please let me know.
[40250] Reference Serverfile + Client + Src [15 Available Languages]
in Binaries
Posted
Hello, EXCHANGE_TITLE already fixed in 2021.08.01 update.
2021.08.01: - Fixed some translate.lua lines (cz, tr) and removed all unnecessary starting spaces from every translate.lua in which it had. (Example: " something" --> "something") - Fixed Channel4's port numbers in serverside CONFIG files. - Fixed some EXCHANGE_TITLE in some locale_game.txt what blocked the trade window opening.
You may using older version, please check Changelog.txt in my mega drive to find out more chages/fixes because there are some
About the config.exe yes it sometimes works weird in windows10, common issue with Metin2's config.exe but we don't have source for that. You can take a newer version: