Open Beta Testing - [PCCS 0.1.5]

When I have finished my World T20 db I will allow any editing that seems necessary and it may be used for an up to date T20 db. Just credit me because these take time.
 
When I have finished my World T20 db I will allow any editing that seems necessary and it may be used for an up to date T20 db. Just credit me because these take time.

Yes everyone has to appreciate your effort and we will do so
 
I had the same problem as Afridi, when I set one of my created players as the keeper, it crashed but when I set other players as the keeper, it worked fine. I recreated the player that was making the game crash and then I was able to choose him as my keeper and it worked. I got in the match and checked the 2 options, when I press simulate it waits for a while and then the error message comes send report and thing). I tried it again and the same thing happened, I repeated it but only checked one of the listeners and the same error happened. I simmed a game with 2 default teams and it worked fine. I added my created players to a default team and used the same lineup and simmed a match against another default team and the game still crashed, I only used 4 of my created players in the lineup and the rest were default in a default team, and it worked fine. When I put one of my created payers as a keeper and the rest of the player in my team were default player (your creations) it crashed after it said let the match begin. I'm not sure what the problem is with created players but they don't work well...

I've attached my file.
 

Attachments

  • PCCS(2).rar
    12 KB · Views: 1
No idea why you guys are having a problem with created players. I created all 22 for a Ireland v Netherlands game and it worked fine.
 
I've created a whole bunch o' players for my world t20 db and no problems
 
I had the same problem as Afridi, when I set one of my created players as the keeper, it crashed but when I set other players as the keeper, it worked fine. I recreated the player that was making the game crash and then I was able to choose him as my keeper and it worked. I got in the match and checked the 2 options, when I press simulate it waits for a while and then the error message comes send report and thing). I tried it again and the same thing happened, I repeated it but only checked one of the listeners and the same error happened. I simmed a game with 2 default teams and it worked fine. I added my created players to a default team and used the same lineup and simmed a match against another default team and the game still crashed, I only used 4 of my created players in the lineup and the rest were default in a default team, and it worked fine. When I put one of my created payers as a keeper and the rest of the player in my team were default player (your creations) it crashed after it said let the match begin. I'm not sure what the problem is with created players but they don't work well...

I've attached my file.


Please Post Problem.. Line By Line.. Nothing is understandable...
 
I had the same problem as Afridi, when I set one of my created players as the keeper, it crashed but when I set other players as the keeper, it worked fine. I recreated the player that was making the game crash and then I was able to choose him as my keeper and it worked. I got in the match and checked the 2 options, when I press simulate it waits for a while and then the error message comes send report and thing). I tried it again and the same thing happened, I repeated it but only checked one of the listeners and the same error happened. I simmed a game with 2 default teams and it worked fine. I added my created players to a default team and used the same lineup and simmed a match against another default team and the game still crashed, I only used 4 of my created players in the lineup and the rest were default in a default team, and it worked fine. When I put one of my created payers as a keeper and the rest of the player in my team were default player (your creations) it crashed after it said let the match begin. I'm not sure what the problem is with created players but they don't work well...

I've attached my file.

are u using non english laptop or a pc as think thats the case as this is my cousins french laptop with english settings and some other similutors that i have paid for does not work at all.
 
An early diagnosis (I won't have time to run the DB files through the dev build for a while) suggests that the player names are not being parsed properly. If there are any extra spaces where there shouldn't be or any unwanted characters, the sim is going to crash.

This is because of the following reason. When a player like Mahinder Singh Dhoni players, I want to show MS Dhoni in the scorecard, not M Dhoni. Hence, I expect "Mahinder Singh" to be the first name and "Dhoni" to be the second name. I then split the first name by the space character (resulting in "Mahinder" and "Singh") and then take the first letter of each of these names to construct the scorecard name (MS).

If you input something like "Mahinder " as the first name, the string split algorithm will return two strings when split: "Mahinder" and "". When trying to take the first letter of "", the sim crashes because you cannot take a substring of a string longer than the length of that string. If you have identified which players cause the issue, you can go ahead and rectify their names through the players page (double click on their name and make sure there aren't extra spaces.

sohum added 1 Minutes and 47 Seconds later...

And could you also add a stats system to it as i'm going to be using it for my league now
Stats system won't be in for a while. Right now stats are collected in the form of scorecards but I haven't designed the querying system. I'd recommend you use something like Excel.
 
A question Sohum. You say about having it so that MS Dhoni shows up on the scorecard but when RP Singh plays it just comes up as R Singh. How should it be edited to make it RP Singh?

EDIT: Ahh, it doesn't even come up as MS Dhoni yet. I must've miss-read your post. I guess you mean you are going to try and incorporate it into a later version.
 

Users who are viewing this thread

Top