i did not find out where you posted bugs please give me a link and where it is known bugs :/
Montana Mod v2.1 (In Development)
#3001
Posted 07 June 2015 - 06:42 PM
#3002
Posted 09 June 2015 - 07:09 PM
i did not find out where you posted bugs please give me a link and where it is known bugs :/
Go into your montana mod file, and there should be a Bug Report form, fill it out and send it to the supplied email address along with your logfile.
#3003
Posted 21 June 2015 - 05:44 PM
When does the patch comes out to fix the bugs?
#3004
Posted 21 June 2015 - 05:57 PM
#3005
Posted 22 June 2015 - 03:13 AM
Has anyone discovered the source of the terminal lag with this mod? I've yet to find the source, though I'd like to try and fix it if anyone can help point me in a good direction.
#3006
Posted 22 June 2015 - 04:47 AM
Has anyone discovered the source of the terminal lag with this mod? I've yet to find the source, though I'd like to try and fix it if anyone can help point me in a good direction.
They said that a fix will hopefully be in the next patch. I believe that the team has found the issue, but correct if I'm wrong...
Join http://ertrpg.com and beecome part in a fun emergency roleplay!
#3007
Posted 22 June 2015 - 03:36 PM
Does anyone know if the next patch will have a MPVFD water tanker unit?
#3008
Posted 22 June 2015 - 07:14 PM
Has anyone discovered the source of the terminal lag with this mod? I've yet to find the source, though I'd like to try and fix it if anyone can help point me in a good direction.
We think it might possibly be coming from the unit or command icons, for whatever reason, if you want to start there.
Does anyone know if the next patch will have a MPVFD water tanker unit?
Probably not.
When does the patch comes out to fix the bugs?
TBA. Probably a matter of a few months.
EMT
Rescue Squad Member
#3009
Posted 23 June 2015 - 12:48 AM
We think it might possibly be coming from the unit or command icons, for whatever reason, if you want to start there.
I think there must be an object on the map with unreasonable physics or something; it's just a matter of locating it. I decided to do a little experiment by removing all the units and GUI that you had created and replacing it with LA MOD units, GUI and specs just to see what would happen. When I did this, I no longer got lag while clicking the vehicles, however the lag did terminally seem to get worse as if a loop of some kind was generating gradually tougher problems for the computer to solve, which led me to believe it was one of two things: A bugged object in the map somewhere with unreasonable physics, or a broken "FOR" loop in one of the custom scripts, though I've yet to confirm either one of my theories. If I'm able to solve the issue, am I free to release whatever files does the trick?
#3010
Posted 23 June 2015 - 12:52 AM
I think there must be an object on the map with unreasonable physics or something; it's just a matter of locating it. I decided to do a little experiment by removing all the units and GUI that you had created and replacing it with LA MOD units, GUI and specs just to see what would happen. When I did this, I no longer got lag while clicking the vehicles, however the lag did terminally seem to get worse as if a loop of some kind was generating gradually tougher problems for the computer to solve, which led me to believe it was one of two things: A bugged object in the map somewhere with unreasonable physics, or a broken "FOR" loop in one of the custom scripts, though I've yet to confirm either one of my theories. If I'm able to solve the issue, am I free to release whatever files does the trick?
Yes.
When does the patch comes out to fix the bugs?
If the moderators see this, they might give you a warning point for asking for a release date. Please be warned.
#3011
Posted 23 June 2015 - 01:01 AM
am I free to release whatever files does the trick?
Yes.
Only after you run it through me first for approval.
Those are all interesting theories and definitely possible, things we're looking in to.
EMT
Rescue Squad Member
#3012
Posted 23 June 2015 - 01:03 AM
Only after you run it through me first for approval.
Those are all interesting theories and definitely possible, things we're looking in to.
Oopsie. Forgot. Its gotta go through the both of us first.
#3013
Posted 23 June 2015 - 03:06 AM
Hey bama and itchboy, this was posted on an Emergency 4 facebook fan group. I thought you guys would like to see it.
just got the Montana mod I love the crap outa it it's so realistic reminds me of my hometown paged the guys to the station and I thought my pager was going off they both have the same tones
#3014
Posted 23 June 2015 - 03:46 AM
Yes.
If the moderators see this, they might give you a warning point for asking for a release date. Please be warned.
Only after you run it through me first for approval.
Those are all interesting theories and definitely possible, things we're looking in to.
MTVolunteerScript.script
Not too familiar with C++, but if it's anything like Python, Java, or JavaScript, there needs to be an integer setting and a variable that's announced to the script before the semi-colon in the beginning of the statement.
E.g: for (int i=0; i < MAX_VOL; i++)
Honestly haven't got the foggiest idea if that'd be the problem, but it's worth the exploration.
#3015
Posted 23 June 2015 - 03:48 AM
MTVolunteerScript.script
Not too familiar with C++, but if it's anything like Python, Java, or JavaScript, there needs to be an integer setting and a variable that's announced to the script before the semi-colon in the beginning of the statement.
E.g: for (int i=0; i < MAX_VOL; i++)
Honestly haven't got the foggiest idea if that'd be the problem, but it's worth the exploration.
Hmmm..in our C++ classes, we were told that we didnt need to include a initial value if we already had the integer value or counter declared already.
The counter in that loop has already been defined as a global variable so re declaring it in the loop would mess it up each time the loop was entered.
Lets keep this public so that we can "crowdfund" the fix for the mod and bring out some of the talented scripters on the site.
Edited by randomperson139, 25 June 2015 - 04:31 PM.
Language removed. Please avoid in future.
#3016
Posted 23 June 2015 - 04:10 AM
Hmmm..in our C++ classes, we were told that we didnt need to include a initial value if we already had the integer value or counter declared already.
The counter in that loop has already been defined as a global variable so re declaring it in the loop would mess it up each time the loop was entered.
Lets keep this public so that we can "crowdfund" the fix for the mod and bring out some of the talented scripters on the site.
Ahh, that makes sense. Does the semi-colon still need to be there in C++? Usually that's used to end a statement, seems like that could equally mess the thing and make it confused. I figure it almost has got to be a for loop causing the terminal lag because when playing the mod, the lag worsens with time, it's not just always bad, so it seems like it must be something that duplicates with time, such as a botched for loop. Though, there are so many scripts it's really hard to tell where it's coming from... I'm thinking my next test will be process of elimination, I'll take one of the custom scripts out each time I run it and see what happens. It'll take time though lol.
Edited by randomperson139, 25 June 2015 - 04:31 PM.
Again, language removed.
#3017
Posted 23 June 2015 - 04:30 AM
Ahh, that makes sense. Does the semi-colon still need to be there in C++? Usually that's used to end a statement, seems like that could equally mess the thing and make it confused. I figure it almost has got to be a for loop causing the terminal lag because when playing the mod, the lag worsens with time, it's not just always bad, so it seems like it must be something that duplicates with time, such as a botched for loop. Though, there are so many scripts it's really hard to tell where it's coming from... I'm thinking my next test will be process of elimination, I'll take one of the custom scripts out each time I run it and see what happens. It'll take time though lol.
There are several custom scripts running in the mod. One, you have the Stop sign script, the other is the night sound script, third is the fire hydrant script. Two of those are by bma, the hydrant is by me. Try checking those because those are the most likely suspects.
In Em4, if a loop in a script such as the one you posted does not terminate, the game crashes. Stack overflow I guess.
#3018
Posted 27 June 2015 - 04:07 PM
Also check this issue with ATF person I found this in the log file playing the game. CTD when tried the AFT unit.
|Model contains 3666 vertices, 1536 polygons, 20 bones, 0 muscleanimframes
?ERROR: Unassigned vertex 367 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3659 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3660 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3661 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3662 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3663 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3664 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3665 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
?ERROR: Unassigned vertex 3666 found in dynamic model mod:Models\Persons\03 LA Police\atf_agent.
|Fixing invalid blended vertex weightings for model mod:Models\Persons\03 LA Police\atf_agent!
Whats up!
#3019
Posted 27 June 2015 - 04:10 PM
There are several custom scripts running in the mod. One, you have the Stop sign script, the other is the night sound script, third is the fire hydrant script. Two of those are by bma, the hydrant is by me. Try checking those because those are the most likely suspects.
In Em4, if a loop in a script such as the one you posted does not terminate, the game crashes. Stack overflow I guess.
Lines: 380 -> 461 in the script: "MTVolunteerScript"
if(ChildID == 0){if(p.HasName(NAME_PERSON01)){VehicleList vl1(NAME_CAR01);for(int j=0; j < vl1.GetNumVehicles(); j++){car = vl1.GetVehicle(j);}}else if(p.HasName(NAME_PERSON02)){VehicleList vl2(NAME_CAR02);for(int j=0; j < vl2.GetNumVehicles(); j++){car = vl2.GetVehicle(j);}}else if(p.HasName(NAME_PERSON03)){VehicleList vl3(NAME_CAR03);for(int j=0; j < vl3.GetNumVehicles(); j++){car = vl3.GetVehicle(j);}}else if(p.HasName(NAME_PERSON04)){VehicleList vl4(NAME_CAR04);for(int j=0; j < vl4.GetNumVehicles(); j++){car = vl4.GetVehicle(j);}}else if(p.HasName(NAME_PERSON05)){VehicleList vl5(NAME_CAR05);for(int j=0; j < vl5.GetNumVehicles(); j++){car = vl5.GetVehicle(j);}}else if(p.HasName(NAME_PERSON06)){VehicleList vl6(NAME_CAR06);for(int j=0; j < vl6.GetNumVehicles(); j++){car = vl6.GetVehicle(j);}}else if(p.HasName(NAME_PERSON07)){VehicleList vl7(NAME_CAR07);for(int j=0; j < vl7.GetNumVehicles(); j++){car = vl7.GetVehicle(j);}}else if(p.HasName(NAME_PERSON08)){VehicleList vl8(NAME_CAR08);for(int j=0; j < vl8.GetNumVehicles(); j++){car = vl8.GetVehicle(j);}}else if(p.HasName(NAME_PERSON09)){VehicleList vl9(NAME_CAR09);for(int j=0; j < vl9.GetNumVehicles(); j++){car = vl9.GetVehicle(j);}}else if(p.HasName(NAME_PERSON10)){VehicleList vl10(NAME_CAR10);for(int j=0; j < vl10.GetNumVehicles(); j++){car = vl10.GetVehicle(j);}}[/QUOTE]
#3020
Posted 27 June 2015 - 04:14 PM
Lines: 380 -> 461 in the script: "MTVolunteerScript"
Hmmm...sounds like a possibilty, because it constantly declares the Vehicle variable "car" each time the loop iterates. It makes use of the same variable all through out for sake of not having to create 10 different variables. The number of VehicleLists is also another possibilty since the game has to search for the specific vehicle x number of times depending on how many persons of those are present on map.