-
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
-
-
hi dev i try change unsigned32 to unsigned64 on client and binnary i change.i work it 2days but i don't know what i doing bad
binnary:
PyObject * playerGetEXP(PyObject* poSelf, PyObject* poArgs) { long long dwEXP = CPythonPlayer::Instance().GetStatus(POINT_EXP); return Py_BuildValue("K", dwEXP); }
client:
taskbar.py
## Gauge def RefreshStatus(self): curHP = player.GetStatus(player.HP) maxHP = player.GetStatus(player.MAX_HP) curSP = player.GetStatus(player.SP) maxSP = player.GetStatus(player.MAX_SP) curEXP = unsigned64(player.GetStatus(player.EXP)) nextEXP = unsigned64(player.GetStatus(player.NEXT_EXP)) recoveryHP = player.GetStatus(player.HP_RECOVERY) recoverySP = player.GetStatus(player.SP_RECOVERY) self.RefreshStamina() self.SetHP(curHP, recoveryHP, maxHP) self.SetSP(curSP, recoverySP, maxSP) self.SetExperience(curEXP, nextEXP)
uicharacter.py
try: self.GetChild("Level_Value").SetText(str(player.GetStatus(player.LEVEL))) self.GetChild("Exp_Value").SetText(str(unsigned64(player.GetEXP()))) self.GetChild("RestExp_Value").SetText(str(unsigned64(player.GetStatus(player.NEXT_EXP)) - unsigned64(player.GetStatus(player.EXP))))
0209 19:07:22967 :: NameError
0209 19:07:22968 :: global name 'unsigned64' is not defined0209 19:33:22827 :: global name 'unsigned64_t' is not defined
0209 19:35:23706 :: global name 'uint64' is not defined
-
hi someone have unpacker/packer dat?
i search on google but nothing find
-
Explication: You implemented wrong things under /data/monster folder or MySQL mob_proto.
How to test if this is the problem?: Remove values from 'folder' column in MySQL of the latest mobs/monsters/npcs you added by yourself and the latest folders in data/monster and test if it works.
not every error with fdwatch can be fixed by adding/removing things from mob_proto table
@Asta: post ch1 (core1) syserr + syslog & do a core debugg with gdb and post result here
from db conf.txt
TABLE_POSTFIX= ""
change to
TABLE_POSTFIX = " "
SYSERR: Feb 8 01:42:49 :: Load: DirectQuery failed(SELECT login FROM block_exception)
add id to mysql tables block_exception sometjing 1 or what you want
-
Have
return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));
when i give gold, gold not add(only show text gold added)when i pickup gold, gold not add(same, only show text)in navicat not add when i pickup or give gold as GMwhen i add gold via navicat in player gold columnGold in game i seebud when i add 3kkk in game i see only 2.147.483.647 ? where is problem..int = 2147483648
you something not change
-
K Dont work,
try with L
-
Hi, in binary i muset change GetElk but change to? i dont know to what
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
change to?
please help
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}
-
Serverside long long
source game you have long long int?
-
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs){return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD));}
you need to change on clientside int to unsigned long long'
or maybe you have long long int on serverfiles
try change gold 500.000.000.000 to 5.000.000.000
-
try
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs){return Py_BuildValue("ll", CPythonPlayer::Instance().GetStatus(POINT_GOLD));return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));}https://metin2.download/picture/0tQxtLcr58a67bjF51CgJQAmUY5GFpPP/.jpg
Not Fix.
try
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}
-
But where do you edit it? Which file?
userinterface pythonplayermodule.cpp
try change this
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
Not Work
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs){return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));}try
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
here you have litle help https://docs.python.org/2/c-api/arg.html
-
But where do you edit it? Which file?
userinterface pythonplayermodule.cpp
try change this
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
-
f5
9.999.999.999 try change this to more
-
up
you need change int/long on binnary to long long / long long int
-
7600 1 I 0:01.26 ./db ------------- database core is ok
7603 1 I 0:00.15 ./game ------------- i supose is auth core and this is ok too
7606 1 I 0:07.95 ./game ------------- ch1 core 1 is ok
7609 1 I 0:06.32 ./game ------------- ch1 core 2 is ok
7612 1 I 0:03.73 ./game ------------- ch99 is ok too
so there is nothing wrong with your server
okay thanks man : )
the database update these strange characters when loading a proto item
I thought there is something wrong
you give syslog from logs.
why not sysser from auth db channel?
-
?
what you have problem? maybe give syser from db/channel or auth
on this ss all work
use ps on console and see
-
lol i say i need public ip no local computer....
no need any fix to 192.168.xxxx omg
you have to use it and make your internal IP (192.168.1.35) as DMZ
http://www.tp-link.us/article/?faqid=28
I have never tried that at all but at least that is what I know.
hmm so why when i put to game 28k BIND_IP: (public ip) i dont have this message" socket_tcp_bind: tcp_socket: Can't assign requested
address???
i dont have dmz on my internet
-
up
1.
cd /usr/src/mainline/Srcs/Server/libsql
gmake clean
gmake -j20
2.go to /usr/src/mainline/Srcs/Server/db/src
-open makefile
search LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib
change to
LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql
all do what you say but don`t compile, now so:
root@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake cleanp4: not foundp4: not foundroot@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake -j20p4: not foundp4: not foundcompile Config.cppcompile NetBase.cppcompile Peer.cppcompile PeerBase.cppcompile Main.cppcompile Lock.cppcompile DBManager.cppcompile Cache.cppcompile LoginData.cppcompile ClientManager.cppCache.cpp:365:7: warning: no newline at end of filecompile ClientManagerPlayer.cppIn file included from ClientManager.cpp:6:../../common/VnumHelper.h:59:32: warning: no newline at end of filecompile ClientManagerLogin.cppcompile ClientManagerBoot.cppcompile ClientManagerParty.cppcompile ClientManagerGuild.cppcompile GuildManager.cppcompile HB.cppcompile PrivManager.cppIn file included from ClientManagerBoot.cpp:8compile MoneyLog.cppcompile ItemAwardManager.cpp:ProtoReader.h:36:7: warning: no newline at end of filecompile ClientManagerEventFlag.cppcompile Marriage.cppcompile Monarch.cppcompile BlockCountry.cppClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returnedcompile ItemIDRangeManager.cppcompile ClientManagerHorseName.cppp4: not foundItemAwardManager.cpp:129:2: warning: no newline at end of filecompile AuctionManager.cppcompile ProtoReader.cppcompile version.cppAuctionManager.cpp:719:7:compile CsvReader.cppwarning: no newline at end of fileIn file included from ProtoReader.cpp:4:ProtoReader.h:36:7: warning: no newline at end of fileClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':ClientManagerBoot.cpp:402: warning: statement has no effectClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':ClientManagerBoot.cpp:703: warning: unused variable 'testValue'ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':CsvReader.cpp:72: warning: left-hand operand of comma has no effectCsvReader.cpp:72: warning: right-hand operand of comma has no effectCsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':CsvReader.cpp:90: warning: left-hand operand of comma has no effectCsvReader.cpp:90: warning: right-hand operand of comma has no effectProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':ProtoReader.cpp:33: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':ProtoReader.cpp:87: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':ProtoReader.cpp:204: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp:207: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':ProtoReader.cpp:250: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':ProtoReader.cpp:279: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':ProtoReader.cpp:307: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':ProtoReader.cpp:333: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':ProtoReader.cpp:361: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':ProtoReader.cpp:400: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':ProtoReader.cpp:426: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':ProtoReader.cpp:448: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':ProtoReader.cpp:469: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':ProtoReader.cpp:490: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':ProtoReader.cpp:512: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':ProtoReader.cpp:537: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':ProtoReader.cpp:561: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*, std::less<int>, std::allocator<std::pair<const int, const char*> > >&)':ProtoReader.cpp:696: warning: comparison between signed and unsigned integer expressionsProtoReader.cpp:757: warning: comparison between signed and unsigned integer expressionsp4: not foundlinking ...where you have error? i don't see
-
wtf?
BIND_IP: 192.168.1.35
that is what you need to do.
DO NOT CHANGE WHAT I DID !!!
I have already connected with TV and fixed it but I'm sure that he changed it
lol i say i need public ip no local computer....
no need any fix to 192.168.xxxx omg
want to connect to the server from another computer?You open the PC server? To use the computer as a host?yes
-
wtf?
BIND_IP: 192.168.1.35
that is what you need to do.
DO NOT CHANGE WHAT I DID !!!
I have already connected with TV and fixed it but I'm sure that he changed it
lol i say i need public ip no local computer....
no need any fix to 192.168.xxxx omg
-
-
if you look at it not a firewall on your router ?
if i have blocked game 28k dont run too BIND_IP: (public ip) but game 28k work fine i say up post
First check you in start.sh not put another IP, ip The conflict that enter the home at the BIND_IPSecondly, once post a picture from FreeBSD network configuration.now look maybe you now understand....
game28k: BIND_IP(PUBLIC IP) work fine (sorry i dont look on first me post and i fixed game 28k work fine BIND_IP: (public ip)
game 40k my own: BIND_IP (PUBLIC IP) socket_tcp_bind: tcp_socket: Can't assign requested address
this problem is on source i know...
sh start.sh here are you
#!/bin/sh echo -e "033[31m Ile Channeli Uruchomic ? n 1 - (1) Channeln " read traceur case $traceur in 1*) echo -e "033[31m Start Baza Danych ..033[0m" cd logowanie/db && ./db & sleep 2 echo -e "033[31m Start Logowanie.033[0m" cd logowanie/auth && ./auth & sleep 2 echo -e "033[31m Start Channel 1.033[0m" cd ./channel/ch1 && ./game & cd .. esac
-
if you look at it not a firewall on your router ?
if i have blocked game 28k dont run too BIND_IP: (public ip) but game 28k work fine i say up post
-
BIND_IP: http://www.monip.org/
yes but when i add BIND_IP: (public ip) i have this message socket_tcp_bind: tcp_socket: Can't assign requested address .....
- 1
-
not solved...
you fix nothing working i see it on clean config.cpp too work on 192.168.xxx
i need fix to BIND_IP: (PUBLIC IP)
Reboot, on 02 Jan 2015 - 19:24, said:
show me a photo print of FreeBSD network configuration.
network configuration is okey i test on game 28k and work fine.....
lol man all of the posters here asked you about the problem you just say "is okay i tested it"
at least show us photos to help you otherwise try on your own
i test it not work ....... i put BIND_IP: (public ip) and have socket_tcp_bind: tcp_socket: Can't assign requested address if you want i can give you tv and you see..... if you dont believe
up i have modem not router...
Man, sorry to say you're wrong? Not to offend you?I told you that BIND_IP correct solution.Add me on skype and I show you, it works.okey. with BIND_IP: 192.168.xxx work but not work 100% public ip
global name 'unsigned64' is not defined
in Community Support - Questions & Answers
Posted
ok work
but why i can't see experience 8.4kkk?