Rokco
-
Posts
14 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Rokco
-
-
23 hours ago, narcisxb said:
If I add #ifdef ENABLE_CHEQUE_SYSTEM I get this error when I compile db:
ClientManagerPlayer.cpp:165:12: error: no member named 'cheque' in SPlayerTable' ,pkTab-cheque ClietnManagerPlayer.cpp:536:23: erro: no member named 'cheque' in SPlayerTable' str_to_number(pkTab-»cheque, rowăcol++])
If I do it without the #ifdef I don t get the error? Why?
I have ENABLE_CHEQUE_SYSTEM defined in my Service.h file in common.
Check if you have put all import's for exemple ((( Table.h = #include "service.h" )))
ClientManagerPlayer.cpp = #include "../../common/service.h"
-
1 hour ago, narcisxb said:
I did and I managed to get the server started but only if I deleted the preprocessor directive (ifdef) from tables.h variables. If I use with directive I m getting a db compile error saying that my variables are missing from SPlayerTable (a struct that contains DWORD cheque). Any ideea?
Go back in Tables.h and check for the line
typedef struct SPlayerTable
{
After( short horse_skill_point;) ADD:
#ifdef ENABLE_CHEQUE_SYSTEM
int cheque;
#endif
----------------------------------------------------------
After that checktypedef struct SShopItemTable
{After ( DWORD price;)
#ifdef ENABLE_CHEQUE_SYSTEM
DWORD cheque;
#endif -
6 hours ago, narcisxb said:
ok, but what am I missing? I did everything and my server now won t let me connect to it. It worked just fine before this. Now I get an error when typing in correct account and a ¨user or pwd is wrong¨ when typing in wrong login data. Also why my cheque code won t highlight the right way (it s like cheque_system is not enabled). What do I do wrong? Does common get compiled or I just edit stuff in there and it gets read or linked at some point during game/db compilation?
EDIT: it also worked fine before adding the code to the server source (client and client binary part was fine).
Check one more time in surce/db/src - ClientManagerPlayer.cpp /
Im thinking you have just miss a part or you have doing wrong. + ProtoReader.cpp and to the end you need to have the colum *Won* on your navicat you need to run the sql file from the arhive.
-
Hello guys.
I got a vizual problem on my offline shop by great,
it's something from python, maiby uitooltip.py but i still no have a solution for this,
It's anyone who have an ideia about this problem, and hi can help me?
Thx i really appreciate
This is how the item and its bonuses are seen, how you view the shop like players!
This is the wrong way how you see when you are editing your shop,
-
58 minutes ago, OsmiumBlade said:
Know anyone how too fix the Problem?
https://youtu.be/qa9Z4UiwqRYso i still don't understand your problem about this system??
- 2
-
On 6/13/2021 at 12:37 PM, Exille said:
Hi, I have a little problem. The system works, but when the server is restarted, all players in the database get -1077945576 check. You can help? Where could the error be?
Check one more time all changes what you have done in *(serve/db/src) ClientMagagerPlayer.cpp
I think you have done something wrong.
-
6 hours ago, Rokco said:
I will check immediately and come back with an answer. Although I think you're right.
Thank you very much.
Problem solved, I was remake all the DB part,
Thank you so much @TMP4
-
17 minutes ago, TMP4 said:
Then check your CreatePlayerSaveQuery and CClientManager::QUERY_PLAYER_LOAD (in ClientManagerPlayer.cpp) because you made some mistake there.
I will check immediately and come back with an answer. Although I think you're right.
Thank you very much.
-
13 minutes ago, TMP4 said:
If you revert your skill_proto back to it's original state the problem stays? (Since you have custom one)
I haven't made any recent changes to skill_proto.
The only thing recently added is the sash system with scale, but with this system everything goes perfectly. There are no bugs / errors.
From what I noticed in the DB, the following things are not saved after a reboot, / shutdown No matter how long I wait, even if I wait 15 minutes. Not saved (Skill (what it's bring with him this error / Player Level and Horse Level)
-
Hello everybody,
I have a problem with skills,
You have an explicit video below.
More precisely what happens: I enter the game I try to use the skills and it doesn't work, the only solution is to (die) then everything returns to normal Syserr empty (CH-core / DB / Auch)
Any opinion matters, Thanks in advance,
Regords Rokco.
- 1
-
OK, I found the solution for this, but I don't understand why he does this when his name is too long in DB.
The solution is this, I got in * DB * PLAYER = Item_proto (name and Locale_name) to the object that displayed my error, It was called [Esarfa Suveran (Ancient)]
if you cut 4 or 5 characters from the object name, Example: [Esarfa Suv (Ancient)] (error disappears).
I think because the name is too long, but I still don't see the connection.
If anyone has an explanation for this, I would be happy to hear it! Thank you.
-
Hi, i was just install sash with scale, All done no bugs or problem,
Only thing what i can't solve it's this, Has anyone an idea about this error.
(The error its aparar when i try to combine sash of different grades) Iven if is show this error no bug / problems in game.
SYSERR: Jul 15 21:23:08 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 519, 968863, 278983, 11895041, 'COMBINE (REFINE SUCCESS)', 'Esarfa Roiala (Antica) 1 ', errno: 1064)
Thank you in advence.
-
It's work perfectly, Thx
Regords, Rokco
On 2/28/2020 at 9:40 PM, tarata12 said:My problem is the same can someone help me?
@tarata12To short that problem
https://metin2.download/picture/ie89ITu4U9DIJ034tir393ex7S4W4eRU/.gif
you shod not chenge Item_proto (Client side)
Make change just in DB (Navicat - Player - Item_Proto) (Type 28 and Subtipe 3/4/5 Depending how many things you got on your costume system)
If you whant to make change in Item_proto from client you shud put a (REAL_TIME 86400) Value on your Mount!
And Sorry for my bad ENG, I hope you undestend me.
- 3
- 3
- 1
- 2
Cheque / Won System
in Features & Metin2 Systems
Posted
yes, you need to add them, if you do that im shure you solve all your compile errors.