-
Posts
408 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Traceur3RUN
-
-
Why can't I compile ? I have many errors (((
what errors?
-
How to fix?
Cancığım
Mainline_sg/Srcs kısımında Extern adlı klasör ve içeriği olmadığı için bu hatayı veriyor.
Novalina ya da diğer sourcelerden Extern adlı klasör ve içeriğini atarsan sorun kalkar.
Hayır maxmiciğim sorun ondan kaynaklı değil. Sorun Makefileyi Depend etmediğinden kaynaklı. Ayrıca Novaline branşı mainlineye uymaz. Çok bilmiş seni.
and recompile ....
-
Thank you, but I need MORE THAN 255. And I know how to make it to 250, already done, but I cant make it for example 300.
you must edit and change BYTE to INT
-
or try this
SVN_VERSION = 40250
-
Hi, this tutorial will solve thist error : http://metin2dev.org/board/topic/2588-40k-db-error-on-startup-sometimes/#entry18151
First of all, the bug happens when the DB tries to set the locale char set, so let's start.
Open path_to_your_source/db/src/ClientManager.cpp (in my case /usr/src/mainline_released/Srcs/Sever/db/src and search your country,
if you use locale/germany search germany, locale/romania search romania, locale/spain search spain,..
And look for g_stLocale = "latin2";. in my case is latin2 because i use romania, you musn't forgot your charset during the tutorial.
Now open main.cpp, and edit:
std::string g_stLocale = "euckr";
with your charset, in my case:
std::string g_stLocale = "latin2";
Save and exit.
Now open, path_to_your_source/libsql/AsyncSQL.cpp ( libsql no libmysql be careful)
At line 180 edit:
m_stLocale = c_pszLocale;
with:m_stLocale = "latin2"; ( in my case latin2, you need to put your charset)
And at the end of the file edit:
void CAsyncSQL2::SetLocale(const std::string & stLocale) { m_stLocale = stLocale; QueryLocaleSet(); }
with:if(m_stLocale != stLocale) { m_stLocale = stLocale; QueryLocaleSet(); }
Now, compile.In putty or virtualbox put the next commands:cd /path_to_your_source/libsql in my case cd /usr/src/mainline_released/Srcs/Sever/libsql gmake clean gmake
After that :cd /path_to_your_source/db/src gmake clean After the clean, open the folder .obj and verify if is empty, if isn't empy, empty it delete all files. After that gmake
Now the last step, open navicat connect to your server
and on the databases account, common, player, hotbackup and log, right-click->Database properties.
Set your character set: latin1, latin2, latin5And collation: I use general but if you fin your country you can put it.That was all, and sorry for my english.i have error.
fixed
this is not work wtf?
- 1
-
someone fix it? i have the same problem
but i use mainline sg game and db
-
Thanks, I knew that already, but it is not enough. It allows only 255 item.
connstants.cpp
-
common/ lenght.h
-
Server/common/lenght.h
lenght.h can only edit limit gold
-
Server/common/lenght.h
only? client packet.h
-
hi Dev
i have question.
where i can edit max gold.?
-
-
i can use on this my compile binary?
0824 17:04:00072 :: import marshal # builtin
0824 17:04:00073 :: import imp # builtin
0824 17:04:00180 :: ui.py: inconsistent use of tabs and spaces in indentation
0824 17:04:00233 :: import _weakref # builtin
0824 17:04:00578 :: # trying .os.pyd
0824 17:04:00578 :: # trying .os.py
0824 17:04:00578 :: # trying .os.pyw
0824 17:04:00578 :: # trying .os.pyc
0824 17:04:00578 :: # trying libos.pyd
0824 17:04:00578 :: # trying libos.py
0824 17:04:00592 :: # libos.pyc has bad magic
0824 17:04:00613 :: import os # from libos.py
0824 17:04:00613 :: import errno # builtin
0824 17:04:00613 :: import nt # builtin
0824 17:04:00614 :: # trying .ntpath.pyd
0824 17:04:00614 :: # trying .ntpath.py
0824 17:04:00614 :: # trying .ntpath.pyw
0824 17:04:00614 :: # trying .ntpath.pyc
0824 17:04:00614 :: # trying libntpath.pyd
0824 17:04:00614 :: # trying libntpath.py
0824 17:04:00628 :: # libntpath.pyc has bad magic
0824 17:04:00658 :: import ntpath # from libntpath.py
0824 17:04:00658 :: # trying .stat.pyd
0824 17:04:00658 :: # trying .stat.py
0824 17:04:00658 :: # trying .stat.pyw
0824 17:04:00658 :: # trying .stat.pyc
0824 17:04:00658 :: # trying libstat.pyd
0824 17:04:00658 :: # trying libstat.py
0824 17:04:00671 :: # libstat.pyc has bad magic
0824 17:04:00686 :: import stat # from libstat.py
0824 17:04:00686 :: # trying .genericpath.pyd
0824 17:04:00686 :: # trying .genericpath.py
0824 17:04:00686 :: # trying .genericpath.pyw
0824 17:04:00686 :: # trying .genericpath.pyc
0824 17:04:00686 :: # trying libgenericpath.pyd
0824 17:04:00686 :: # trying libgenericpath.py
0824 17:04:00694 :: # libgenericpath.pyc has bad magic
0824 17:04:00705 :: import genericpath # from libgenericpath.py
0824 17:04:00705 :: # trying .warnings.pyd
0824 17:04:00705 :: # trying .warnings.py
0824 17:04:00705 :: # trying .warnings.pyw
0824 17:04:00705 :: # trying .warnings.pyc
0824 17:04:00705 :: # trying libwarnings.pyd
0824 17:04:00705 :: # trying libwarnings.py
0824 17:04:00720 :: # libwarnings.pyc has bad magic
0824 17:04:00740 :: import warnings # from libwarnings.py
0824 17:04:00740 :: # trying .linecache.pyd
0824 17:04:00740 :: # trying .linecache.py
0824 17:04:00740 :: # trying .linecache.pyw
0824 17:04:00740 :: # trying .linecache.pyc
0824 17:04:00741 :: # trying liblinecache.pyd
0824 17:04:00741 :: # trying liblinecache.py
0824 17:04:00753 :: # liblinecache.pyc has bad magic
0824 17:04:00757 :: import linecache # from liblinecache.py
0824 17:04:00757 :: # trying .types.pyd
0824 17:04:00757 :: # trying .types.py
0824 17:04:00757 :: # trying .types.pyw
0824 17:04:00757 :: # trying .types.pyc
0824 17:04:00758 :: # trying libtypes.pyd
0824 17:04:00758 :: # trying libtypes.py
0824 17:04:00769 :: # libtypes.pyc has bad magic
0824 17:04:00789 :: import types # from libtypes.py
0824 17:04:00790 :: # trying .UserDict.pyd
0824 17:04:00790 :: # trying .UserDict.py
0824 17:04:00790 :: # trying .UserDict.pyw
0824 17:04:00790 :: # trying .UserDict.pyc
0824 17:04:00790 :: # trying libUserDict.pyd
0824 17:04:00790 :: # trying libUserDict.py
0824 17:04:00804 :: # libUserDict.pyc has bad magic
0824 17:04:00808 :: import UserDict # from libUserDict.py
0824 17:04:00809 :: # trying ._abcoll.pyd
0824 17:04:00809 :: # trying ._abcoll.py
0824 17:04:00809 :: # trying ._abcoll.pyw
0824 17:04:00809 :: # trying ._abcoll.pyc
0824 17:04:00809 :: # trying lib_abcoll.pyd
0824 17:04:00809 :: # trying lib_abcoll.py
0824 17:04:00821 :: # lib_abcoll.pyc has bad magic
0824 17:04:00850 :: import _abcoll # from lib_abcoll.py
0824 17:04:00850 :: # trying .abc.pyd
0824 17:04:00850 :: # trying .abc.py
0824 17:04:00850 :: # trying .abc.pyw
0824 17:04:00850 :: # trying .abc.pyc
0824 17:04:00850 :: # trying libabc.pyd
0824 17:04:00850 :: # trying libabc.py
0824 17:04:00865 :: # libabc.pyc has bad magic
0824 17:04:00867 :: import abc # from libabc.py
0824 17:04:00868 :: # trying ._weakrefset.pyd
0824 17:04:00868 :: # trying ._weakrefset.py
0824 17:04:00868 :: # trying ._weakrefset.pyw
0824 17:04:00868 :: # trying ._weakrefset.pyc
0824 17:04:00868 :: # trying lib_weakrefset.pyd
0824 17:04:00868 :: # trying lib_weakrefset.py
0824 17:04:00889 :: # lib_weakrefset.pyc has bad magic
0824 17:04:00893 :: import _weakrefset # from lib_weakrefset.py
0824 17:04:00894 :: # trying .copy_reg.pyd
0824 17:04:00894 :: # trying .copy_reg.py
0824 17:04:00894 :: # trying .copy_reg.pyw
0824 17:04:00894 :: # trying .copy_reg.pyc
0824 17:04:00895 :: # trying libcopy_reg.pyd
0824 17:04:00895 :: # trying libcopy_reg.py
0824 17:04:00905 :: # libcopy_reg.pyc has bad magic
0824 17:04:00920 :: import copy_reg # from libcopy_reg.py
0824 17:04:00994 :: import time # builtin
0824 17:04:07703 :: import math # builtin
0824 17:04:07894 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation
0824 17:04:07952 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation
0824 17:04:08010 :: uiSystem.py: inconsistent use of tabs and spaces in indentation
0824 17:04:08088 :: uiQuest.py: inconsistent use of tabs and spaces in indentation
0824 17:04:19473 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0824 17:04:30814 :: game.py: inconsistent use of tabs and spaces in indentation0824 17:04:31019 :: Failed to load script file : locale/de/ui/InventoryWindow.py
0824 17:04:31019 :: # trying .traceback.pyd0824 17:04:31019 :: # trying .traceback.py
0824 17:04:31019 :: # trying .traceback.pyw
0824 17:04:31019 :: # trying .traceback.pyc
0824 17:04:31019 :: # trying libtraceback.pyd
0824 17:04:31019 :: # trying libtraceback.py
0824 17:04:31029 :: # libtraceback.pyc has bad magic
0824 17:04:31043 :: import traceback # from libtraceback.py
0824 17:04:31044 ::
ui.py(line:2773) LoadScriptFile
system.py(line:192) execfile
system.py(line:163) Run
locale/de/ui/InventoryWindow.py(line:88) <module>LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'EQUIPMENT_RING1'
0824 17:04:31044 :: ============================================================================================================
0824 17:04:31044 :: Abort!!!!0824 17:04:31045 ::
uiInventory.py(line:284) __LoadWindow
ui.py(line:2790) LoadScriptFile
exception.py(line:36) AbortInventoryWindow.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>:
0824 17:04:31045 :: ============================================================================================================
0824 17:04:31045 :: Abort!!!!0824 17:04:31047 :: # clear __builtin__._
0824 17:04:31047 :: # clear sys.path
0824 17:04:31047 :: # clear sys.argv
0824 17:04:31047 :: # clear sys.ps1
0824 17:04:31047 :: # clear sys.ps2
0824 17:04:31047 :: # clear sys.exitfunc
0824 17:04:31047 :: # clear sys.exc_type
0824 17:04:31047 :: # clear sys.exc_value
0824 17:04:31047 :: # clear sys.exc_traceback
0824 17:04:31048 :: # clear sys.last_type
0824 17:04:31048 :: # clear sys.last_value
0824 17:04:31048 :: # clear sys.last_traceback
0824 17:04:31048 :: # clear sys.path_hooks
0824 17:04:31048 :: # clear sys.path_importer_cache
0824 17:04:31048 :: # clear sys.meta_path
0824 17:04:31048 :: # clear sys.flags
0824 17:04:31048 :: # clear sys.float_info
0824 17:04:31048 :: # restore sys.stdin
0824 17:04:31048 :: # restore sys.stdout
0824 17:04:31048 :: # restore sys.stderr
-
sysser:0824 09:54:03665 :: import marshal # builtin
0824 09:54:03665 :: import imp # builtin
0824 09:54:04258 :: ui.py: inconsistent use of tabs and spaces in indentation
0824 09:54:04336 :: import _weakref # builtin
0824 09:54:12409 :: # trying .os.pyd
0824 09:54:12409 :: # trying .os.py
0824 09:54:12409 :: # trying .os.pyw
0824 09:54:12409 :: # trying .os.pyc
0824 09:54:12409 :: # trying libos.pyd
0824 09:54:12409 :: # trying libos.py
0824 09:54:12545 :: # libos.pyc has bad magic
0824 09:54:12717 :: import os # from libos.py
0824 09:54:12717 :: import errno # builtin
0824 09:54:12717 :: import nt # builtin
0824 09:54:12858 :: # trying .ntpath.pyd
0824 09:54:12859 :: # trying .ntpath.py
0824 09:54:12859 :: # trying .ntpath.pyw
0824 09:54:12859 :: # trying .ntpath.pyc
0824 09:54:12859 :: # trying libntpath.pyd
0824 09:54:12859 :: # trying libntpath.py
0824 09:54:12977 :: # libntpath.pyc has bad magic
0824 09:54:13213 :: import ntpath # from libntpath.py
0824 09:54:13213 :: # trying .stat.pyd
0824 09:54:13213 :: # trying .stat.py
0824 09:54:13213 :: # trying .stat.pyw
0824 09:54:13213 :: # trying .stat.pyc
0824 09:54:13214 :: # trying libstat.pyd
0824 09:54:13214 :: # trying libstat.py
0824 09:54:13282 :: # libstat.pyc has bad magic
0824 09:54:13337 :: import stat # from libstat.py
0824 09:54:13337 :: # trying .genericpath.pyd
0824 09:54:13337 :: # trying .genericpath.py
0824 09:54:13337 :: # trying .genericpath.pyw
0824 09:54:13337 :: # trying .genericpath.pyc
0824 09:54:13338 :: # trying libgenericpath.pyd
0824 09:54:13338 :: # trying libgenericpath.py
0824 09:54:13408 :: # libgenericpath.pyc has bad magic
0824 09:54:13465 :: import genericpath # from libgenericpath.py
0824 09:54:13466 :: # trying .warnings.pyd
0824 09:54:13466 :: # trying .warnings.py
0824 09:54:13466 :: # trying .warnings.pyw
0824 09:54:13466 :: # trying .warnings.pyc
0824 09:54:13466 :: # trying libwarnings.pyd
0824 09:54:13466 :: # trying libwarnings.py
0824 09:54:13583 :: # libwarnings.pyc has bad magic
0824 09:54:13728 :: import warnings # from libwarnings.py
0824 09:54:13729 :: # trying .linecache.pyd
0824 09:54:13729 :: # trying .linecache.py
0824 09:54:13729 :: # trying .linecache.pyw
0824 09:54:13729 :: # trying .linecache.pyc
0824 09:54:13729 :: # trying liblinecache.pyd
0824 09:54:13729 :: # trying liblinecache.py
0824 09:54:13808 :: # liblinecache.pyc has bad magic
0824 09:54:13853 :: import linecache # from liblinecache.py
0824 09:54:13878 :: # trying .types.pyd
0824 09:54:13879 :: # trying .types.py
0824 09:54:13879 :: # trying .types.pyw
0824 09:54:13879 :: # trying .types.pyc
0824 09:54:13879 :: # trying libtypes.pyd
0824 09:54:13879 :: # trying libtypes.py
0824 09:54:13931 :: # libtypes.pyc has bad magic
0824 09:54:14015 :: import types # from libtypes.py
0824 09:54:14016 :: # trying .UserDict.pyd
0824 09:54:14017 :: # trying .UserDict.py
0824 09:54:14017 :: # trying .UserDict.pyw
0824 09:54:14017 :: # trying .UserDict.pyc
0824 09:54:14017 :: # trying libUserDict.pyd
0824 09:54:14017 :: # trying libUserDict.py
0824 09:54:14045 :: # libUserDict.pyc has bad magic
0824 09:54:14132 :: import UserDict # from libUserDict.py
0824 09:54:14133 :: # trying ._abcoll.pyd
0824 09:54:14134 :: # trying ._abcoll.py
0824 09:54:14134 :: # trying ._abcoll.pyw
0824 09:54:14134 :: # trying ._abcoll.pyc
0824 09:54:14134 :: # trying lib_abcoll.pyd
0824 09:54:14134 :: # trying lib_abcoll.py
0824 09:54:14192 :: # lib_abcoll.pyc has bad magic
0824 09:54:14320 :: import _abcoll # from lib_abcoll.py
0824 09:54:14320 :: # trying .abc.pyd
0824 09:54:14320 :: # trying .abc.py
0824 09:54:14321 :: # trying .abc.pyw
0824 09:54:14321 :: # trying .abc.pyc
0824 09:54:14321 :: # trying libabc.pyd
0824 09:54:14321 :: # trying libabc.py
0824 09:54:14426 :: # libabc.pyc has bad magic
0824 09:54:14482 :: import abc # from libabc.py
0824 09:54:14483 :: # trying ._weakrefset.pyd
0824 09:54:14483 :: # trying ._weakrefset.py
0824 09:54:14483 :: # trying ._weakrefset.pyw
0824 09:54:14483 :: # trying ._weakrefset.pyc
0824 09:54:14483 :: # trying lib_weakrefset.pyd
0824 09:54:14483 :: # trying lib_weakrefset.py
0824 09:54:14523 :: # lib_weakrefset.pyc has bad magic
0824 09:54:14542 :: import _weakrefset # from lib_weakrefset.py
0824 09:54:14546 :: # trying .copy_reg.pyd
0824 09:54:14546 :: # trying .copy_reg.py
0824 09:54:14546 :: # trying .copy_reg.pyw
0824 09:54:14546 :: # trying .copy_reg.pyc
0824 09:54:14546 :: # trying libcopy_reg.pyd
0824 09:54:14546 :: # trying libcopy_reg.py
0824 09:54:14611 :: # libcopy_reg.pyc has bad magic
0824 09:54:14715 :: import copy_reg # from libcopy_reg.py
0824 09:55:15742 :: import time # builtin
how to fix it?
-
Bridge change to nat and sysinstal Networking auto ip 2x yes and exit reboot and portsnap fetch portsnap extract
-
-
You have to edit length.h,packet.h,constants.cpp(exp_table_common)
on packet.h only CHARACTER_NAME_MAX_LEN + 1
i find this
typedef struct packet_char_additional_info { BYTE header; DWORD dwVID; char name[CHARACTER_NAME_MAX_LEN + 1]; WORD awPart[CHR_EQUIPPART_NUM]; BYTE bEmpire; DWORD dwGuildID; DWORD dwLevel; short sAlignment; BYTE bPKMode; DWORD dwMountVnum; } TPacketGCCharacterAdditionalInfo;
on packet.h all BYTE change to int?
i know i looking on tables.h and i now know where byte to change int
typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; BYTE level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable;
Tables.h fixed
typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; INT level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable;
-
On 8/22/2014 at 8:52 PM, Panda88 said:
/usr/src/mainline/Srcs/Server/common/length.h
PLAYER_EXP_TABLE_MAX = 120,PLAYER_MAX_LEVEL_CONST = 120,to
PLAYER_EXP_TABLE_MAX = 300,PLAYER_MAX_LEVEL_CONST =300,And you may need to edit the exp table in this file (3x)
/usr/src/mainline/Srcs/Server/game/src/constants.cpp
Under this:
const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] =
And this:
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] =
And this:
const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] =
But i think need to edit the navicat/player/player
level tinyint-->int (for 255+level)
(In Design table)
need edit more he need change Byte to unsigned long long and packet.h Server/Cient
what i need edit i know length.h packet.h constains.h and end? or more cpp edit? give name
navicat i change to smallint 5
common length.h
const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 100, 150, 260, 380, 600, 1300, 3300, 5700, 8700, 12800, // 10 18000, 25000, 36000, 52000, 73000, 100000, 125000, 160000, 220000, 280000, // 20 370000, 540000, 670000, 880000, 1000000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2100000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한) 2100000000, // 100 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 105 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 110 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 115 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 };
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 300, 800, 1500, 2500, 4300, 7200, 11000, 17000, 24000, 33000, // 10 43000, 58000, 76000, 100000, 130000, 169000, 219000, 283000, 365000, 472000, // 20 610000, 705000, 813000, 937000, 1077000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2050000000, // 99레벨 일 때 필요경험치 (100레벨이 되기 위한) 2150000000, // 100 2210000000, 2250000000, 2280000000, 2310000000, 2330000000, // 105 2350000000, 2370000000, 2390000000, 2400000000, 2410000000, // 110 2420000000, 2430000000, 2440000000, 2450000000, 2460000000, // 115 2470000000, 2480000000, 2490000000, 2490000000, 2500000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 };
const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = { 300, // 0 800, // 1 1500, 2500, 4300, 7200, 11400, 17000, 24000, 33000, 46000, // 10 62000, 83000, 111000, 149000, 200000, 268000, 360000, 482000, 647000, 868000, // 20 996000, 1143000, 1312000, 1506000, 1729000, 1984000, 2277000, 2614000, 3000000, 3443000, // 30 3952000, 4536000, 5206000, 5975000, 6858000, 7730000, 8504000, 9307000, 10140000, 11330000, // 40 12320000, 13370000, 14490000, 15670000, 16920000, 18240000, 19630000, 21090000, 22630000, 24670000, // 50 26890000, 29310000, 31950000, 34820000, 37960000, 41370000, 45100000, 49160000, 53580000, 58400000, // 60 63660000, 69390000, 75630000, 82440000, 89860000, 97950000, 106760000, 136370000, 151800000, 168300000, // 70 250000000, 340000000, 450000000, 570000000, 690000000, 810000000, 912600000, 1004000000, 1094000000, 1182000000, // 80 1269000000, 1354000000, 1438000000, 1521000000, 1603000000, 1684000000, 1764000000, 1844000000, 1922000000, 2000000000, // 90 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한).. 현재 CIBN이 어떻게 운영하고 있는 지 모르니 신규 테이블을 쓰지 않고 기존값 계속 연장 유지 2000000000, // 100 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 105 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 110 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 115 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 };
const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1] = { 0, 10, 10, 10, 10, 15, 15, 20, 25, 30, 40, // 1 - 10 50, 60, 80, 100, 120, 140, 160, 184, 210, 240, // 11 - 20 270, 300, 330, 360, 390, 420, 450, 480, 510, 550, // 21 - 30 600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, // 31 - 40 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, // 41 - 50 1860, 1920, 2000, 2100, 2200, 2300, 2450, 2600, 2750, 2900, // 51 - 60 3050, 3200, 3350, 3500, 3650, 3800, 3950, 4100, 4250, 4400, // 61 - 70 4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6200, 6400, // 71 - 80 6600, 6900, 7100, 7300, 7600, 7800, 8000, 8300, 8500, 8800, // 81 - 90 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, // 91 - 100 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, // 101 - 110 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 111 - 120 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 121 - 130 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 131 - 140 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 141 - 150 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 151 - 160 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 161 - 170 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 171 - 180 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 181 - 190 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 191 - 200 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 201 - 210 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 211 - 220 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 221 - 230 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 231 - 240 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 241 - 250 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 251 - 260 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 261 - 270 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 271 - 280 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 281 - 290 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 291 - 300 };
const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1] = { 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, // 1 - 10 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 11 - 20 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, // 21 - 30 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 31 - 40 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, // 41 - 50 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 51 - 60 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, // 61 - 70 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 71 - 80 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 81 - 90 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 91 - 100 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 101 - 110 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 111 - 120 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 121 - 130 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 131 - 140 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 141 - 150 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 151 - 160 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 161 - 170 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 171 - 180 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 181 - 190 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 191 - 200 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 201 - 210 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 211 - 220 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 221 - 230 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 231 - 240 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 241 - 250 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 251 - 260 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 261 - 270 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 271 - 280 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 281 - 290 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 291 - 300 };
Tables.h
Tables.h fixed typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; INT level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable;
and edit client binary BYTE to int . end
- 1
-
-
hi dev.
i have a question.
where i can edit max lvl?
-
DBManager.cpp / DBManager.h from mainline/Srcs/Server/db/src and DBManager.o from mainline/Srcs/Server/db/src/.obj tu your directory and you can compile if doesn't work bring from "mainline_released" i don't remeber it.And who have this problem -> https://metin2.download/picture/91n4TNoapsyYH4468UU73Ij9IvrWlzr1/.png
its from mainline_released
ok i go try but its from mainline_released? cant here compile db game
on mainline can only build db on novaline only game
i go to mainline DB copy DBManager.cpp and DBManager.h from mainline to novaline DB and i got this error now:
and i try copy DBManager.cpp and DBManager.h from mainline_sg to novaline and i got the same error..
ok closed.
db_r40250 done thanks all for help
-
-
cd /usr/src/novaline/Srcs/Server/ gmake dep cd /usr/src/novaline/Srcs/Server/db/src/ gmake dep
And recompile db.
Best Regards
Can BARAN...
the same error
-
Source Max lvl 300.
in Community Support - Questions & Answers
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
yea i test it
here screenshots it work:
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
Thanks to Denis And Night