-
Posts
326 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Cunoo
-
-
-
3 hours ago, Bizzy said:
mysql_real_connect: Access denied for user 'admin'@'localhost' (using password: YES) AsyncSQL: closing mysql connection. failed, retrying in 5 seconds failed, retrying in 5 secondsSuccess COMMON connecting to MySQL server (hotbackup) CREATING DIRECT_SQL AsyncSQL: locale euckr mysql_real_connect: Access denied for user 'admin'@'localhost' (using password: YES) AsyncSQL: closing mysql connection.
i dont know how i can edit this fixed!!!!!
but server source compile
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
Bad username and password for mysql
- 2
- 2
- 2
-
@Tatsumaru Please more thematic models I like it!
-
So.. Maybe this help too many peoples.. Here is my tutorial..
How to create your own .vdi (virtual disk image) with latest freebsd.
1. Now you must download freebsd from official website.
https://download.freebsd.org/ftp/releases/i386/i386/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-i386-bootonly.iso
You can download bootonly. Why? Because you download only what u need from ftp in running instalation.
2. You need virtualbox.. Too you can download it from official website.
https://download.virtualbox.org/virtualbox/6.1.18/VirtualBox-6.1.18-142142-Win.exe
So! Now we have all what we need..
3. Installation.. Now we install virtualbox.. I think all knows how to install virtualbox... So I skip this...
4. After installation.. We open virtualbox.. It looks like this.. *Screenshot
5. We click on blue circle button with text "New".. Now looks like this.. *Screenshot
So name.. Just this is name of your new created .vdi.. You can put something what you want.. After this we set type (BSD) and version 32bit.. Why 32bit? Because metin is coded under 32bit os. We can continue with button "Next"..
6. After this we set ram whats your .vdi can use from your pc.. (if you have 8gb ram+.. You can set 4096mb (so 4gb) Not more needed. I skip this with screenshot because it is easy understanding..
7. Now we have page about create .vdi or use one exist... So we click on "Create a virtual hard disk now" and "Create" and "VDI" and "Next".. Now I recommend "Dynamically allocated" I think all knows why.. (You really dont need monster 30gb vdi..) too "Next" and set how much gb can be used.. I recommend 20gb maximal limit.. No needed more.. (!!! This is only limit.. Size is dynamically allocated..) Now we click on "Create".. So finally.. We have empty .vdi files for host your own freebsd..
8. We click on "Settings" and search "Storage".. Like *Screenshot
Now "Choose a disk file.." We search in pc (for me folder "downloads") your .iso with freebsd install.. We choose this .iso.. And just continue with "OK".. Now we clasically set network... We can run your .vdi with button "Start"... So lets start installation... I think all know how to install freebsd.. (Its a clasically install process..) But I dont have too many time.. I must go.. So I write more about installation too late...- 8
- 5
- 1
- 3
-
17 hours ago, Malbeth said:
Hi, i need change to icon.
thanks for help
https://metin2.download/picture/uhaoOhAW7H5CtcLr7WQF1kwCCWoimM74/.png
wrong path or item_proto
-
Client Source > PythonPlayerModule
Search : PyModule_AddIntConstant(poModule, "POINT_MALL_ATTBONUS", POINT_MALL_ATTBONUS);
Add under : PyModule_AddIntConstant(poModule, "POINT_ATT_BONUS", POINT_ATT_BONUS);
root > uiaffectshower.py
Search : MALL_DESC_IDX_START+player.POINT_MALL_ATTBONUS : (localeInfo.TOOLTIP_MALL_ATTBONUS_STATIC, "icon/item/71028.tga",),
Change: MALL_DESC_IDX_START+player.POINT_ATT_BONUS : (localeInfo.TOOLTIP_MALL_ATTBONUS_STATIC, "icon/item/71028.tga",), -
24 minutes ago, Denizeri24 said:
actually this is not a experiment. i wont use extern;
CC = ccache clang++-devel INCDIR = LIBDIR = -L/usr/lib BINDIR = .. OBJDIR = OBJDIR # Standard Setting LIBS = -pthread -lm -lmd -lz # Removed -fno-rtti CFLAGS = -m64 -std=gnu++2a -fstrict-aliasing -pipe -march=native -fexceptions -DNDEBUG -D_THREAD_SAFE -fstack-protector-all -w -g -Ofast # Boost (1.7.2) INCDIR += -I/usr/local/include/boost # DevIL (1.7.8) INCDIR += -I/usr/local/include/IL LIBDIR += -L/usr/local/lib LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg # MariaDB (10.5) INCDIR += -I/usr/local/include LIBDIR += -L/usr/local/lib/mysql LIBS += -lmariadb # Intel OneAPI TBB INCDIR += -I/usr/local/include/oneapi LIBDIR += -L/usr/local/lib LIBS += -ltbb # Project Library INCDIR += -I../../liblua/include LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame
if you want build your server with -m64 flag, you need to change some source codes. but if you want your src -m32 flag with amd64 freebsd, just use make command with -m32 flag;
just add your /etc/make.conf;
CFLAGS = -m32
i dont test this command but maybe it works;
CPUTYPE = -march=i686
now, just use make install command;
putty >> whereis devil
output >> any/where/devil
cd any/where/devil
make install
now you have 32 bit devil library.
WARNING: if you use freebsd 11+, your default compiler llvm(clang), edit make.conf and put:
CC = gcc49 or g++10
CXX = g++49 or g++10
Thanks for this info
Already use clang.. So my src is changed to clang. -
2 hours ago, Denizeri24 said:
i have a question, if you change all integers to 32 bit integers and build with -m64 flag, now server source was it really 64 bit ( ͡° ͜ʖ ͡°)
Question is not how to rewrite src on x64 but how to compile on x64 without jail.. Why? Just I travelling too much and I have only x64 vps.. (because low cost and low vps servers are not too much custom) And where is my problem? Try to change all time working on new pc with virtualbox and some stuff.. I need go to on server from anyway in world.. I cant permanent download vdi or install new.. This is just easy way for me.. I only want NAT cloud server for my files + compile source..
Edit: Btw. Its a experiment just I welcome new knowledges about metin.. -
1 hour ago, Finnis said:
Indeed, you're right, but from what he said I assumed that he already updated & compiled the libs.
Yes all internal libs are recompiled with x64 same as cryptopp and all other needed stuff.. + little changes in source..
- 1
-
Hello all,
I have a problem with compile source under 64bit freebsd.. I have all extern installed from repo but my source giving me error on end of compilation like a "incompatible libs like libthecore, mysqlclient" so I change flag in makefile "-m32" to "-m64" this works like a charm.. But I have problem in game with packets.. Trying google and I search solution.. Problem is with long packets.. I have 2 possible solutions.. Change packets on server or client.. My question is.. What specifically I must change? And how correctly? Thanks for help!
-
Wonderful, thank you!
-
1 minute ago, useless69 said:
where do you have function pkArrow->GetValue
Code in source is original untouched.. Only item_proto is changed.. One change is range for arrows with used value1-value2 for magic attack and value3-value4 for melee attack + addon_type - 1.. Now I have this strange problem.. I dont know if is problem with addon_type or values in src.. Too late I test more option.. Just I want arrows like - Wooden Arrow Attack 10-20 and not Attack 10.. (Just add range like weapons) and add addon_type (-1)..
-
3 hours ago, useless69 said:
arrows damage taking from function CalcArrowDamage but if you using sword this should take from function CalcMeleeDamage, i dont think its connected, check and compare calcarrowdamage and calcmeleedamage function
This is function arrow iDam = number(pkBow->GetValue(3), pkBow->GetValue(4)) * 2 + pkArrow->GetValue(3); but its only count when you wear bow.Ahhhhh maybe is problem if I have in proto set value1-2 and value3-4? Because my game calculate dmg from arrows for all weapons.. + I have average bonus in arrrows (addon_type - 1).. Do you know how I can fix it? I can add new value in code for range.. But how can I fix average dmg? If I understand right, value3 is for magic attack and value4 for melee attack?
-
Hi all,
I have a problem in game with arrows.. If I have equiped dagger or sword + arrows, just I have more dmg than without equiped arrows.. How I can change calculation dmg from equiped arrows work only with equiped bow?
-
One thing.. Why this fuc**** string with _new..? Just simply replace is better or easy for code and managment save in new folder like this input xx. gr2 drag on. exe and output folder/xx.gr2... Btw. For other.. You can ctrl+c 1, 3, 4 and ctrl+v
-
This spam is normal.. Because you have set public ip instadead.. You can comment this syserr log in src.. This is not problem.. Your friend can login if you have set your public ip in src and client? Only you are kicked? Interesting problem.. You are too kicked if you use internal ip? Just you can use internal ip if you are in same network.. (in client) and your friend just public ip.. Source is okey... You can send me PM I can try help you..
Edit: btw. do you have fixed start core with 192.168? + 10.xxx? -
I known you since the days of the old UW and Lothira2 and every your map is getting better and better .. I like it
- 1
-
You can try to connect with your home network ip.. You dont need public ip if you are in same network.. And your friend just with public ip.. I have too server on public ip.. But idk where is problem... For me all works fine.
For example.. Here is my settings..
My Public IP from provider: 157.156.57.104 (only example)
My PC IP from router 192.168.0.15
My virtualbox IP from router 192.168.0.16
You must set in source public IP from provider in this example: 157.156.57.104
Now in serverinfo.py too public ip (157.156.57.104 //for your friends and you) - (if you want stay in your network //only for you - 192.168.0.16)
And after this all you must go in router settings and set port forwarding.. How?
You must open your ports needed for game.. (ch1, ch99, auth)
For example: CH1 13010, CH99 13099, AUTH 11000 and THIS PORTS MUST BE OPENED WITH YOUR IP FROM VIRTUALBOX in example this: 192.168.0.16
-
This is cool!
- 1
-
On 11/26/2020 at 7:45 AM, .plechito' said:
I didnt have that much time this year, have some personal stuff to solve. Also i didnt have cool idea how to do it a bit different. I definitely didnt want it to look the same like years beforeYou can try naturally basic cristmas map.. Not more changes bcs player dont like it.. And just change something like christmas=) try be first.. Btw. good work, I like this Maokai mob :DD
- 1
-
Hi devs,
can anyone help me? Just I take basic render code with my small upgrades.. Like a friendly system for players.. But I dont have idea how to I can render equiped equipment in one window.. Just weapon + armour and not weapon or armour like screen..https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png
So much thanks if anyone know how I can do it:)
-
9 minutes ago, DrTurk said:
Did you recompile cryptoPP since your update?
How^^
Edit: Ahhhhhhhhh I dont have all files=) just I take extern from another source ;D okey I got it.. So fkin drunk mode with metin xd -
6 minutes ago, DrTurk said:
../../../External/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent loo kup at the point of instantiation [-fpermissive] ../../../External/include/cryptopp/secblock.h:91:14: note: declarations in depen dent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified l ookup ../../../External/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize'
just do that thing your compiler says to you
Yep solved but new error..
/usr/local/bin/ld: .obj/cipher.o: in function `DH2KeyAgreement::Prepare(void*, unsigned int*)': /mainline/Server/game/src/cipher.cpp:315: undefined reference to `CryptoPP::Integer::Integer(char const*, CryptoPP::ByteOrder)' /usr/local/bin/ld: /mainline/Server/game/src/cipher.cpp:322: undefined reference to `CryptoPP::Integer::Integer(char const*, CryptoPP::ByteOrder)' /usr/local/bin/ld: /mainline/Server/game/src/cipher.cpp:324: undefined reference to `CryptoPP::Integer::Integer(char const*, CryptoPP::ByteOrder)' /usr/local/bin/ld: .obj/cipher.o: in function `CryptoPP::DL_SimpleKeyAgreementDomainBase<CryptoPP::Integer>::GeneratePublicKey(CryptoPP::RandomNumberGenerator&, unsigned char const*, unsigned char*) const': /mainline/Server/game/src/../../../External/include/cryptopp/pubkey.h:1916: undefined reference to `CryptoPP::Integer::Integer(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness, CryptoPP::ByteOrder)' /usr/local/bin/ld: .obj/cipher.o: in function `CryptoPP::DL_SimpleKeyAgreementDomainBase<CryptoPP::Integer>::Agree(unsigned char*, unsigned char const*, unsigned char const*, bool) const': /mainline/Server/game/src/../../../External/include/cryptopp/pubkey.h:1926: undefined reference to `CryptoPP::Integer::Integer(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness, CryptoPP::ByteOrder)' collect2: error: ld returned 1 exit status
-
2 minutes ago, ManiacRobert said:
This dont help me..
Remove the kingdom name in normal chat
in Community Support - Questions & Answers
Posted
Learn some basic of c/c++ then go start metin