ImportBot Posted November 17, 2011 Author Share Posted November 17, 2011 Originally Posted by sfwombat*: The kills etc are not being recorded because you need four or more players on the server to kick in that part of the script. You could change all the >= 4 to >=1 as a temp fix for now. I still cannot turn off the weapon stats, and I daren't try to do it via the script..... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 17, 2011 Author Share Posted November 17, 2011 Originally Posted by EBassie*: Do you have entries in the table tbl_server ?no, this table is empty. But now I was able to drop both the tables.... weird. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 17, 2011 Author Share Posted November 17, 2011 Originally Posted by EBassie*: So, let the plugin rebuild all tables again. Still got this message: [17:58:39 53] Error: Error in Startstreaming: [17:58:39 53] Index #0 [17:58:39 53] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.35]Cannot add or update a child row: a foreign key constraint fails (`stats_db`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION) [17:58:39 53] Native: 1452 [17:58:39 53] Source: myodbc5.dll [17:58:39 53] SQL: HY000 I'm not using the weaponstats. tbl_chatlog gets filled tbl_server stays empty, mapstats shows 2 records, with serverID "0". tbl_playerdata gets filled, tbl_playerstats stays empty, tbl_server_player stays empty Hope this info is helpful Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 17, 2011 Author Share Posted November 17, 2011 Originally Posted by 0mni*: I have experience with MySQL and programing in php, is there anything I can do to help you out ? As well I have a dedicated server that I don't mind using as a testing ground with my BF3 server. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 17, 2011 Author Share Posted November 17, 2011 Originally Posted by XpKiller*: @Ebastard You getting this error because you tbl_server is empty. Normally on each onserverinfo the entry in the tabl_server should be created. It really weird because work me its working. You could try to add your server manually to this table with ServerID 1 Ip_Address is required the rest can stay empty. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by sohixe*: Hello XpKiller. I was wondering if something is possible with your plugin. I am looking to log players by time played and send a welcome message to only those top 100 players with the most time played. Is this possible with your plugin? Thanks a lot. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by XpKiller*: @sohixe Is possible would be easy to implement because is a quite simple query but i will make the other main feature work again first. ;-) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by SinBad-OTF*: type this in your query box first..... SET FOREIGN_KEY_CHECKS=0; //SinBad Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by XpKiller*: @SinBad-OTF This is not a solution. Because it disables Data integrity Checks and wont solve the Problem because if the tbl_server stays empty the data in the other Tables loses there relation to each other. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by FARSTAN*: thios plugin works waoo ty http://img11.hostingpics.net/pics/183904stat.png Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by SinBad-OTF*: Ok.. Was just offering a solution that had presented itself during a google search of the error message. Sounded feasible. No harm meant. //SinBad Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by max1982*: am not to sure if its MYSQL error or script error am getting this error : [12:34:41 60] Error: SQLQuery: [12:34:41 60] Index #0 [12:34:41 60] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.60-community]Unknown column 'playerScore' in 'field list' [12:34:41 62] Native: 1054 [12:34:41 62] Source: myodbc5.dll [12:34:41 63] SQL: 42S22 what work is @rank @session when i type @top10 this error comes up, Do any one what it can be am runing windows server 2008 with iss7 and some much more fully online system Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by XpKiller*: @max1987 Ingame commands not working yet will fix them this weekend. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by stan77*: Hello, for me it works fine, I type! Stats, and they come, even in pictures, I look forward, the welcome stats http://img11.hostingpics.net/pics/183904stat.png Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by EBassie*: You could try to add your server manually to this table with ServerID 1 Ip_Address is required the rest can stay empty. Maybe I got this error, because of both my servers have the same IP, only a different port? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by max1982*: Thanks take all the time you need:smile: i will be donating later on to support you Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 18, 2011 Author Share Posted November 18, 2011 Originally Posted by EBassie*: Hey XpKiller, Got no errormessages anymore. Players are recorded, but somehow no info on: Kills Headshots Deaths Suicide Score, Rounds & Playtime are properly recorded though. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by XpKiller*: @EBastard You have really a strange DB^^ I must see what causes this. Maybe i will release a new Version this night with working (mostly) ingame commands. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by EBassie*: @EBastard You have really a strange DB^^ I must see what causes this. Maybe i will release a new Version this night with working (mostly) ingame commands. Yeah, it's pretty strange indeed. I cleared all tables again to see if it helps. Also I noticed I'm unable to switch "weaponstats" off. There is also no line in the config for it anymore. As I did not replace the BF3.def file with yours, maybe that explains the no kills? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by EBassie*: Yeah, it's pretty strange indeed. I cleared all tables again to see if it helps. Also I noticed I'm unable to switch "weaponstats" off. There is also no line in the config for it anymore. As I did not replace the BF3.def file with yours, maybe that explains the no kills? ^^ Problem is fixed by replacing the original BF3.def file with yours But I see no weaponstats tables. Is that correct? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by XpKiller*: there is no weapontable anymore each weaponclass has its own table to improve overall performance. Its better to have smaller tables then a big one. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by EBassie*: Never mind... they are suddenly there Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by EBassie*: I think I found a real bug this time: I run 2 servers and I played 4 rounds on server 1, My personal entry in "tbl_server_player" for server 1 is: StatsID = 165 ServerID = 1 PlayerID = 165 Now I just finished a round on server 2 and there is no new record created for PlayerID 165 on server 2. Also my points of this round are counted to StatsID 165, which are my stats of server 1. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by HelloKitty*: 1st version gave no errors. 2nd ver: ProCon stopped. Plugin updated. All tables in sql deleted. Procon started: Error: Error in Startstreaming: [10:37:13 22] Index #0 [10:37:13 23] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.8]Cannot add or update a child row: a foreign key constraint fails (`bf3stats`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION) [10:37:13 23] Native: 1452 [10:37:13 24] Source: myodbc5.dll [10:37:13 24] SQL: HY000 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by XpKiller*: I think I found a real bug this time: I run 2 servers and I played 4 rounds on server 1, My personal entry in "tbl_server_player" for server 1 is: StatsID = 165 ServerID = 1 PlayerID = 165 Now I just finished a round on server 2 and there is no new record created for PlayerID 165 on server 2. Also my points of this round are counted to StatsID 165, which are my stats of server 1. Ok Thanks for report will take a look at this issue. Update: Found the bug: I miss a Parameter in a SQL Query. This cause that no secound entry was created. Anyway good find. @HelloKitty This error occurs when the tab_server has no content. Normally every 30 Secounds a Update of the ServerStatus should be written to this table. Im really not sure what causes this bug it could also be a bug of procon or the gameserver too in Handling of the onServerinfo event. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by Legate*: It's ok don't have (on the playerstats table), stats about kills, deaths, headshots? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by EBassie*: It's ok don't have (on the playerstats table), stats about kills, deaths, headshots?If you dont have these stats, you did not copy the BF3.def file to Procon's config folder. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2011 Author Share Posted November 19, 2011 Originally Posted by XpKiller*: the tbl_playerstats should contain Stats too. Will upload a fix version soon. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 20, 2011 Author Share Posted November 20, 2011 Originally Posted by XpKiller*: Changelog: [0.0.0.3beta] Fixed ingame Commands (mostly) Fixed an error with cause stats getting mixed between the different gameserver. Various code improvents SQL Improvements Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 20, 2011 Author Share Posted November 20, 2011 Originally Posted by iNilo*: Hey, I'm looking for some help, I'm running MySQL 5.5 server, installed the ODBC connector. Now when I'm running the procon layer with the plugin on the same server as the MySQL & ODBC it works, When I try to run the server on another computer (same local network) its failing to connect. I've never setup a ODBC connection, but I think I did it right because its able to connect when the plugin runs locally (same server as mysql) this is the ODBC screen : IP : my remote IP but this gives me the following error Code: [16:39:09 39] Error in Tablebuilder: [16:39:09 42] Index #0 [16:39:09 51] Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified [16:39:09 52] Native: 0 [16:39:09 53] Source: [16:39:09 53] SQL: IM002Does the ODBC driver needs to run on the MySQL server or on the server where PRoCon would be running ? Thx. Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.