[Albertos-Help]--DC PROBLEM

06/18/2012 01:32 Zeroxelli#16
Check your connection threshold for MySQL and also if the database threw any errors that were silenced, you can do so by typing
Code:
SHOW ERRORS; SHOW WARNINGS;
into your MySQL command prompt.
06/18/2012 01:37 badguy4you#17
i ran and it seems no errors at all at the Database
06/18/2012 01:55 Zeroxelli#18
Quote:
Originally Posted by badguy4you View Post
i ran and it seems no errors at all at the Database
Then it's probably a problem in the data you're sending, or the clients aren't the same?
06/18/2012 02:09 badguy4you#19
idk really dont know its Albetros Source and Albetros Client and it must work idk whats hapening

the first impresion was that i liked the source very much but idk 2 very baad ( non solvable ) problems at the first step of the way is very disappointing
06/18/2012 02:12 Zeroxelli#20
Quote:
Originally Posted by badguy4you View Post
idk really dont know its Albetros Source and Albetros Client and it must work idk whats hapening
Maybe I'll check when I get home, I think the download of the Albetros client should be done.
06/18/2012 02:19 badguy4you#21
ok really try we may solve the prob together ... Maybe
06/18/2012 02:26 Zeroxelli#22
Quote:
Originally Posted by badguy4you View Post
ok really try we may solve the prob together ... Maybe
It can't be anything too difficult, so we'll see when I get there.
06/18/2012 02:45 badguy4you#23
How long it will take you to get to ur home , so i decide whether i wait or sleep and resume tommorow its 4:00AM Here
06/18/2012 02:48 Zeroxelli#24
Quote:
Originally Posted by badguy4you View Post
How long it will take you to get to ur home , so i decide whether i wait or sleep and resume tommorow its 4:00AM Here
I'm not in town yet, so probably 4-5 hours. Go to bed haha
06/18/2012 03:00 badguy4you#25
ops :D ok see you tommorow :D

ok i think the problem @ Account.cs something with TimeStamp cuz if the TimeStamp @ the Database is == 0 the client gives this error i figured that preventing Account.cs from updating time stamp and the problem started to occure without stoping even after the first login ... dont know what to do so i think there maybe kind of conflict but dont know where
06/18/2012 05:52 Zeroxelli#26
Quote:
Originally Posted by badguy4you View Post
ops :D ok see you tommorow :D

ok i think the problem @ Account.cs something with TimeStamp cuz if the TimeStamp @ the Database is == 0 the client gives this error i figured that preventing Account.cs from updating time stamp and the problem started to occure without stoping even after the first login ... dont know what to do so i think there maybe kind of conflict but dont know where
Hopefully I'll be able to find out what's wrong with it. I'll need to take a closer look at the Albetros source so I actually know where things are first.

How's the timestamp calculated though? Is it a date/time field type in the database, or is it some kind of timestamp created in the server? For all my timestamps I use the Microtime function that I posted earlier.
06/18/2012 06:32 pro4never#27
Quote:
Originally Posted by Zeroxelli View Post
Hopefully I'll be able to find out what's wrong with it. I'll need to take a closer look at the Albetros source so I actually know where things are first.

How's the timestamp calculated though? Is it a date/time field type in the database, or is it some kind of timestamp created in the server? For all my timestamps I use the Microtime function that I posted earlier.

Timestamps used for character logins are assigned based on a unix timestamp. If you were authorized more than say 10 seconds before you try to log into the game server then it's not a legitimate connection. It also checks versus a login key to ensure that you are not just hammering the game server to hijack someone's connection attempts and steal their account.

It's not the best system and it went through a bunch of versions and half the data in the source atm is incorrect.



As for the questions the OP had...

#1: Disconnecting when you first open the client. Someone told me it's an issue with the client version. I tested a number of minor changes to see if we could see a cause but it seems to be the client itself just not connecting when it receives the auth response packet. I can't offer much help here as I haven't really looked at it since

#2: Disconnecting during character creation. Another strange issue we were having... We used the exact same packet sequences as other sources where full character login was working yet it was causing issues! We tried a number of versions and there were always problems with it (some minor, some serious). As a result we decided we simply didn't care and just disconnected when they created a character. TBH I still don't consider it an issue. Clicking login 1 more time after creating is not exactly game breaking ahha

#3: Exp rates: These are all controlled from inside the source, try searching through it some. Probably in Kernel.cs but not really sure. There's Leveling rates, prof and skill rates all in there. All drops are controlled further into the source though.


#4: Shop stalls: I logged all these sobs/npcs from tq official servers. As a result, there's some where people were sitting at the time. Just edit the database some so they are the correct mesh/flag and you'll solve the problem.


As for other bugs in the source, there's plenty. It was a test source for the most part and a bunch of the things we were testing out were never finished or in the slightest bit efficient (EG: the delayed action queue system. So many timers!) I'd suggest writing a custom source but I know very few people are willing to put in the work. As such I'd still say albetros is a reasonable base for learning and building a basic server off of.
06/18/2012 06:47 Zeroxelli#28
Well then, looks like all the questions have been answered. I agree though, not going straight to the game after creating a character isn't a bad thing at all. If anything, it slows bots by a small amount of time.
06/18/2012 07:03 Kiyono#29
Quote:
Originally Posted by pro4never View Post
#2: Disconnecting during character creation. Another strange issue we were having... We used the exact same packet sequences as other sources where full character login was working yet it was causing issues! We tried a number of versions and there were always problems with it (some minor, some serious). As a result we decided we simply didn't care and just disconnected when they created a character. TBH I still don't consider it an issue. Clicking login 1 more time after creating is not exactly game breaking ahha
Which is weird cause it works for me without issues.
06/18/2012 16:11 badguy4you#30
Quote:
Originally Posted by Kiyono View Post
Which is weird cause it works for me without issues.
Maybe Client version you use ? its very strange cuz i really tried your code and what it does is freezing after saying character successfuly created ...

and about the DC that pro4never says its maybe client ! i downloaded the client and the update files that you use from your post so whats wrong ?



_____________
And i need an advice i am willing to open a private server and what made me decide to take albetros for it is because that is the most arranged stable source i ever met but unfortunatly a bit buggy

is there 5525 stable source but less bugs than albetros i work at this moment till i make a whole work on albetros fixig its bugs ?

Please provide me a link to clean 5525 stable source ...