Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetAccountItemInfo Query Error #29

Open
ghost opened this issue May 24, 2018 · 3 comments
Open

GetAccountItemInfo Query Error #29

ghost opened this issue May 24, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented May 24, 2018

AccountItem dont exists in the sqlite db, when the server make a request give an throw error
i love ur project :)
#off
do u think in put the tooltip in items ? like the gunz 1.5, make the ui more clean removing the fixed ui to item desc.

@matheusot
Copy link

I tried adding the table manually, but, the server closes automatically. I'm trying logging the server to see where it breaks.

Have you found something since you opened this issue?

@matheusot
Copy link

I have solved it. Just create the table:

CREATE TABLE "AccountItem" ( AIIDINTEGER PRIMARY KEY AUTOINCREMENT,AIDINTEGER NOT NULL,ItemIDINTEGER NOT NULL,RentDateINTEGER DEFAULT NULL,RentHourPeriodINTEGER DEFAULT NULL,Cnt INTEGER DEFAULT NULL )

and in MatchServer/SQLiteDatabase.cpp add "outItemNode[NodeCount].nItemID = 0;" before outItemNode[NodeCount].nItemID = itemid;.

The errors and crashes stopped. Unfortunately, the game dont show the items loaded, so, I think there is some modification in the GunZ files causing it to not show.

@matheusot
Copy link

So, some testing later and it is not stable, some times the server crashes even with the corrections I made, it feels like loading when clicking on the tab make things a little buggy and unpredictable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant