opendarkeden / server

42 stars 32 forks source link

Create Guild #97

Closed Supacek closed 1 year ago

Supacek commented 1 year ago

yo guys is Create guild working i dont think so its not seen ingame did someone test it ?

xDezossAx commented 1 year ago

image Here there was an error when creating, the sharedserver crashed.

Supacek commented 1 year ago

Wrong Query there isnt 'intro' default in database table GuildMembers so i set it to 0 default but after that no error the database is working im member of the guild now but still dont see it in guild list or cannot open anythink :/

xDezossAx commented 1 year ago

Wrong Query there isnt 'intro' default in database table GuildMembers so i set it to 0 default but after that no error the database is working im member of the guild now but still dont see it in guild list or cannot open anythink :/

I also changed the Intro column to accept null, but even though I am Guild Leader and member, I can't see it.

Supacek commented 1 year ago

image didnt find anythink else i dont know wheres problem :/

xDezossAx commented 1 year ago

I did a test on other files, and it returns the following when creating a guild:

Receive:CGRegistGuild(GuildName:BYEBYEGuildIntro:WELCOME TO THE JUNGLE) Receive:GSAddGuild (GuildName:BYEBYE GuildMaster:▒▒▒▒▒▒▒▒ GuildIntro:WELCOME TO THE JUNGLE GuildState:1 GuildRace:0ServerGroupID:0 ) Receive:SGAddGuildOK( GuildID:25580 GuildName:BYEBYE GuildRace:0 GuildState:1 GuildZoneID:16052 GuildMaster:▒▒▒▒▒▒▒▒ GuildIntro:WELCOME TO THE JUNGLE) Receive:SGAddGuildMemberOK( GuildID:25580Name:▒▒▒▒▒▒▒▒ GuildMemberRank:1) Receive:CGVerifyTime()

and returns this when I enter the guild wait list

Receive:CGSelectGuild(GuildID:25580)

I think it has something to do with the file: SGAddGuildOK.* '-'

xDezossAx commented 1 year ago

in SGAddGuildOK.cpp exist this line "#ifdef __GAME_SERVER__" if you comment her should work void SGAddGuildOK::execute (Player * pPlayer ) {

//#ifdef __GAME_SERVER__

__BEGIN_TRY

SGAddGuildOKHandler::execute(this);

__END_CATCH

//#endif }

the same should do with the SGAddGuildMemberOK, I'm going to sleep now later test

Supacek commented 1 year ago

image

xDezossAx commented 1 year ago

in the makefile you have to reference it when creating the libsharedserverpackets.a, when i get home i will test.

Supacek commented 1 year ago

in the makefile you have to reference it when creating the libsharedserverpackets.a, when i get home i will test.

did u test it is it working ?

xDezossAx commented 1 year ago

@Supacek These are the same files here, only with the Cpackets, Gpackets, Lpackets, Spackets folders restored, just send the make depall command and then run make in this version you will see that the GuildWait List and Guild List work normally. you can have a base to adjust this without the respective folders. also tests the "Recall Motorcycle problem" src.zip GuildInfo.zip

Supacek commented 1 year ago

im so glad u trying help but i dont like those files theres so many copy files some of them are like 5x same i dont know this type of src can u please like try to stay with the same files and help me what to do ? sorry my english still sux.,.

Supacek commented 1 year ago

im trying scan the files what we have but it looks same the problem is only maybe in the make file ?

xDezossAx commented 1 year ago

@Supacek these zip files is the same here, but with the restored folders, you can get what works in this base to correct the files here, the inclusion of files changes in the compiled librarys. I took advantage of the makefile of other files in these files here from opendarkeden :)

xDezossAx commented 1 year ago

there must be somewhere, where I inform the GCActiveGuildList and GCWaitGuildList, but I haven't had time to tinker with it yet.

Supacek commented 1 year ago

is it working with the same client and the server core?

xDezossAx commented 1 year ago

is it working with the same client and the server core?

yes, same cliente same files 👍 , I'll try to adjust it at home without needing the folders again, but this one is good for testing bugs, it could also be something related to the CGRequestGuild

Supacek commented 1 year ago

i scan the files and theres nothing it must by another files

Supacek commented 1 year ago

Cant even Quit Guild
image

Supacek commented 1 year ago

still didnt figure it out im done lol :/

NEW-BOY1 commented 1 year ago

When you create guild . Need your 5 friends support. To be successful

Supacek commented 1 year ago

When you create guild . Need your 5 friends support. To be successful

the guild is created in database but didnt opening in game

Supacek commented 1 year ago

image no Guild

Supacek commented 1 year ago

image

Supacek commented 1 year ago

cant even open Clan info nothink image

NEW-BOY1 commented 1 year ago

You may try the game created within the guild

Supacek commented 1 year ago

is it working with the same client and the server core?

yes, same cliente same files 👍 , I'll try to adjust it at home without needing the folders again, but this one is good for testing bugs, it could also be something related to the CGRequestGuild

hallo, did u trz it without the files ? i need telp to figure out this the Guild is importent for me..

Supacek commented 1 year ago

Tested in other Server Files image Like i dont even get those messages about u image or image

VS our

image

Supacek commented 1 year ago

image SGGuildInfo.cpp commend it

////////////////////////////////////////////////////////////////////// // execute packet's handler ////////////////////////////////////////////////////////////////////// void SGGuildInfo::execute (Player * pPlayer ) {

//#ifdef __GAME_SERVER__

__BEGIN_TRY

SGGuildInfoHandler::execute(this);

__END_CATCH

//#endif }

FIXED !!!

Supacek commented 1 year ago

its not working did u test it ? it create guild after restart but its not working normaly theres no message nothink

tiancaiamao commented 1 year ago

its not working did u test it ? it create guild after restart but its not working normaly theres no message nothink

Are you using the latest version? I've tested it and it should have been fixed.