itsatrap Posted December 2, 2014 Report Share Posted December 2, 2014 Hey Why is the player name replaced in the database when a player is offline ? I'm trying to figure out how to make and control panel but it's going to be a bad solution to store steamid and name in an separate database Link to comment Share on other sites More sharing options...
FastPoint Gaming Posted December 4, 2014 Report Share Posted December 4, 2014 You could always loop through every key begining with "Player:" from there you can get the player UID's from each keyname also. Link to comment Share on other sites More sharing options...
itsatrap Posted December 4, 2014 Author Report Share Posted December 4, 2014 Think I found the problem sometimes when you log out you will get a clone for 60 sec. The name of that clone is update to the database :( Link to comment Share on other sites More sharing options...
itsatrap Posted December 9, 2014 Author Report Share Posted December 9, 2014 Okay, been trying to figure this name thing out. when a players die there is no data in the player:STEAMID row only a empty array [] The name of the players changes if they logout in combat/near others players Most players get an BOT name when logging of this array shows how many players have the same name Real names is use one time bot multiple. With this "bug" its hard to find players by name or make a good controlpanel with out make som MAD hack thats sync player name and steamid to another database Array ( [Faisal Siddiqi] => 4 [Khalil Amani] => 4 [Jabr Yusufzai] => 3 [Habib Sangeen] => 3 [Idris Zakhilwal] => 2 [Karim Jalali] => 2 [Majeed Amin] => 2 [Haikal Gailani] => 2 [Abdul-Aziz Ghafurzai] => 2 [Rahim Saikal] => 2 [Latif Amin] => 2 [Rahim Khalili] => 2 [Callum Lee] => 2 [Akbar Sangeen] => 2 [Farid Jalali] => 2 [BK-snake] => 2 [Adil Kakar] => 2 [Dexter Morgan] => 1 [mikkel] => 1 [Agurk] => 1 [Amir Ajani] => 1 [Dialogic] => 1 [Paul Watson] => 1 [Jonthe] => 1 [SgtSeymour] => 1 [Stainer] => 1 [Abdul-Aziz Shah] => 1 [Nitro3000dk] => 1 [maLakai] => 1 [Mahmood Kakar] => 1 [Kesagake] => 1 [Sami Sangeen] => 1 [SpliffBoy] => 1 [Lappel] => 1 [[GP] Emptyz] => 1 [stefan] => 1 [Terham] => 1 ) Link to comment Share on other sites More sharing options...
DivineHoliness 2.0 Posted December 9, 2014 Report Share Posted December 9, 2014 Its not a hack, I never used a NoSQL database is standalone, like it is currently being done is Epoch. Normal a NoSQL is used for caching, like the login system or number of other things like that, and that NoSQL service reads and syncs with a backend SQL server like MySQL or MSSQL. Building a backend database to your control panel that syncs with the Redis isn't a bad idea, SQL has a schema, which can be a limitation and a blessing. Lets take logs, and we want to store them for 6 plus months that could be a million plus rows. With out indexes and schema that is going to be a PITA to sort and deal with. Granted NoSQL having no schema is way easier to developer for and has lower hardware requirements per performance.. but syncing with a SQL for reporting and management isn't bad either. Link to comment Share on other sites More sharing options...
itsatrap Posted December 9, 2014 Author Report Share Posted December 9, 2014 Sync with an mysql still don't fixes the renaming of players Link to comment Share on other sites More sharing options...
DivineHoliness 2.0 Posted December 10, 2014 Report Share Posted December 10, 2014 Have you change the doppelgangerTime time to 0? Link to comment Share on other sites More sharing options...
itsatrap Posted December 10, 2014 Author Report Share Posted December 10, 2014 Might test that later today, but not a solution since I lose the anti combat log function also dead players have no names :S just an [] in the database Link to comment Share on other sites More sharing options...
itsatrap Posted December 11, 2014 Author Report Share Posted December 11, 2014 Well tried to set doppelgangerTime to 0, but no luck still bot names. Array ( [Faisal Siddiqi] => 6 [Majeed Amin] => 6 [Khalil Amani] => 5 [Jabr Yusufzai] => 4 [Idris Zakhilwal] => 3 [Adil Kakar] => 3 [Farid Jalali] => 3 [Karim Jalali] => 2 [Rahim Saikal] => 2 [Callum Lee] => 2 [Latif Amin] => 2 [Habib Sangeen] => 2 [Akbar Sangeen] => 2 [BK-snake] => 2 [[GP] Emptyz] => 1 [SgtSeymour] => 1 [Abdul-Aziz Shah] => 1 [Sami Sangeen] => 1 [Lappel] => 1 [Agurk] => 1 [mikkel] => 1 [Dialogic] => 1 [Mahmood Kakar] => 1 [Dexter Morgan] => 1 [Rahim Khalili] => 1 [SpliffBoy] => 1 [Terham] => 1 [Stainer] => 1 [Paul Watson] => 1 [Nitro3000dk] => 1 [Jonthe] => 1 [Amir Ajani] => 1 [Abdul-Aziz Ghafurzai] => 1 [Haikal Khalili] => 1 [stefan] => 1 [Bente S├©rensen] => 1 [Haikal Gailani] => 1 [Kesagake] => 1 [maLakai] => 1 Link to comment Share on other sites More sharing options...
poolacko Posted January 20, 2015 Report Share Posted January 20, 2015 I can not find how to fix anyone has idea? Link to comment Share on other sites More sharing options...
itsatrap Posted January 22, 2015 Author Report Share Posted January 22, 2015 Will be fixed in 0.3 nedfox 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now