| Posted by: SkyMix_RMT - Tuesday, June 13, 2017 5:06:26 PM |
|---|
|
Release Crash at Tue Jun 13 16:35:50 2017
; Reason Uncaught Exception in GameEngine::update
Last error:
Exception is access violation
WinMain at 401700
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:00000000 was read from.
Stack Dump:
|
| Posted by: zero hour mad map maker - Tuesday, June 13, 2017 9:39:18 PM |
|---|
| Holy sheeeet! This is a nice investigation that is quite intriguing! I understand your frustration, because a couple of years back when my map making was at its peak I too made a map that worked JUST perfectly! Then I added, like you, the second part without TOUCHING the first part, and then the map when bad. It didn't get as bad as yours is now; as I was able to fix it by making adjustments here and there. But, based on your investigation I too am now wondering if there does indeed exist such a limit. |
| Posted by: zero hour mad map maker - Tuesday, June 13, 2017 9:41:11 PM |
|---|
| Though I am also doubtful, because I have seen/created maps with LOAD upon loads of timers and such, and it worked fine. Out of wonderment, does this map happen to be your "Kihill Beach" project? If it is it's probably the sheer size of the thing! It's the biggest map I have laid witness to in my 9 years of map making! |
| Posted by: acidbrain - Wednesday, June 14, 2017 12:56:53 AM |
|---|
| Make a campaign from the map. Area 1 mission 1, area 2 mission 2 etc For the second mission delete all the scripts from the first mission and so on... Use 2000 objects as maximum next time, the more you add to the map the more has to be stored in memory, the map becomes laggy if you have too much objects, trees also cause lag because of the sway they have. You really don't need that much objects to make a nice map, jujst make a campaign and divide you idea into parts for the separate missions... Greetz |
| Posted by: SkyMix_RMT - Wednesday, June 14, 2017 5:39:56 AM |
|---|
| [quote=Zero Hour Mad Map Maker;145503] I was able to fix it by making adjustments here and there. [/quote] I too made adjusments, I tried re-making some scripts and changed name of the flags counters and timers, but it changed nothing [quote=Zero Hour Mad Map Maker;145503] Though I am also doubtful, because I have seen/created maps with LOAD upon loads of timers and such, and it worked fine. [/quote] I've seen maps like that too wich is why I'm confused. We also have skirmish scripts that are huge and they always worked. Could this be hapenning only on my machine and version of my game? I'll give a copy to a friend and see if he has the same problem. [quote=Zero Hour Mad Map Maker;145503] Out of wonderment, does this map happen to be your "Kihill Beach" project? If it is it's probably the sheer size of the thing! It's the biggest map I have laid witness to in my 9 years of map making! [/quote] Yes, this is Operation Kihill Beach, and yeah I guess I was too ambitious when I started working on this, I wanted to do something that no one had ever seen before, there are more than 1000+ missions around, I wanted to make a mission that would stand out from those, not only because it's big, but is heavily customized (hence the 5000 lines of code), something that deviated from the generic mission format [build a base; build a defence line that is able to hold all enemy waves; spam units and destroy the enemies base]. [quote=acidbrain;145507] Make a campaign from the map. Area 1 mission 1, area 2 mission 2 etc For the second mission delete all the scripts from the first mission and so on... [/quote] There's a problem with this though, on the first part you're supost to capture an area and build a small outpost/base there, and the second part depends on that small base. What I could try is separating the intro cinematic, making it on another map. The intro cinematic alone has around 100 timers counters and flags. [quote=acidbrain;145507] Use 2000 objects as maximum next time, the more you add to the map the more has to be stored in memory, the map becomes laggy if you have too much objects, trees also cause lag because of the sway they have. [/quote] I still think that objects are not a problem nowadays, and if you have problems with them, just disable "show props" in the graphics settings, then no trees or props will be loaded. But if you still want to keep the props, disabling "Extra animations" disables tree sway. [quote=acidbrain;145507] You really don't need that much objects to make a nice map, jujst make a campaign and divide you idea into parts for the separate missions... [/quote] Most of the objects in the map are units, essential for gameplay wich I can't remove, I could replace them with waypoints and scripts that spawn them but that would be a hassle. [b]Thank you ZHMMM and AcidBrain[/b] for all the help and suggestions, this definitely gave me ideas for new solutions, can't wait to try them when I get home. |
| Posted by: Zatsupachi - Wednesday, June 14, 2017 10:40:09 AM |
|---|
| If I were you, I'd have 1 timer per cutscene. That way you can also clear up some variables. Also, you don't need a million counters either. You'd need a few at best-- only make counters when it's really needed. You can also re-use counters if you can. |
| Posted by: Unknown Editor - Wednesday, June 14, 2017 11:08:37 AM |
|---|
| You know , there are some Tricks everyone Will Learn to Descrease any Kind of Bugs . For Example my Way is to check Everything After A Change (A Folder of Scripts , a System or sth) on the Map and Debug it at the Time . You know , when I try Sth Several times with different ways and It still Has the Problem , I just Remove Everything about it and Reprogram it in a case that is not like the last One . To now I've just Found And fixed more than 1500 Scripts , INI Codes , Bad Train Bugs in my map . Also , Some of the Scripts Made by EA won't work correct , For example there are several things to Test or Do just One thing and so , Some are Fake and won't work . Always try one thing With another Kind of scripts and watch out for the best result . Good Luck |
| Posted by: zero hour mad map maker - Wednesday, June 14, 2017 7:40:40 PM |
|---|
| These points are true, but they would pose a huge amount of work, considering that you have to remake the scripts to basically to the same thing; but in a more efficient way. I would suggest making a Master Timer and a Master Counter, that other scripts would have to follow. You could also rely on some "Sequential Scrips" as they can be repeated to your hearts desire. |
| Posted by: Gameanater - Thursday, June 15, 2017 4:10:03 PM |
|---|
| Two possible ways you could divide the mission into two or more missions. On a side note, I also think this is a good idea because I generally get tired of a mission if it starts going on for like 45 minutes and more. And hour and a half is needlessly long and will likely cause your player to get fatigued and lose interest in finishing the mission. Dividing it up into smaller, "bite-sized" missions would help. For example, GLA mission 05 in ZH could have probably been merged with China mission 01 (assuming there was a way to script the player to switch factions or whatever). But if that happened, that'd probably lead to a tired player who feels compelled to finish the mission but he's already spent around half an hour on the GLA half of the mission already. Anyway.... Mission 1 could easily be the portion of the mission where you simply have to clear through and destroy the first enemy encampment with the special team you get at the beginning and the swarms of allied Rangers constantly pouring in and never stopping. The second mission could start with actually building the base, with the team there and a fairly large amount of Rangers to start with to protect your Dozers in the beginning. The rest of the mission could proceed as originally intended. Or probably the best option - Split the mission into half so there's probably about half an hour of gameplay per mission at most. The first mission has the player clearing out the beach to build a base and smash the GLA contorlling the village. The second mission starts with an intro of the GLA destroying USA forces and the text informs the player the GLA launched a devastating counter-attack and built a second base right next to the USA's, and the player must rebuild their base while fending off attacks and then smash the GLA controlling the top half of the map. As is however, it sounds like you've just overloaded the game on how much it can handle for a single map. I love the ambition but I think the mission could end up being too long for one mission and it might be best to either split it up into two or more maps, or shorten the mission as a whole. |
| Posted by: Unknown Editor - Thursday, June 15, 2017 4:30:33 PM |
|---|
| Nice Idea but just having a Big mission Can be Intresting too . Just Requires abit of nice Scripting and Bordering . About Generals 30 mins is nothing , I usually Don't play Less than 1 Hour and Also , Making the Map finish in 30 mins can make it a way too easy to win and We are not playing just to win . Just needs to make it less Possible to Lose Every minutes , For Example if you Lose at the Biggining , You'll Try Again but If Lose Because of a Little thing after 1:20 minutes of Playing , Might not Play it or Get the Bored of it . Once it happened to me and I deleted the map . Difficulty must be Medium or Hard (not EXPert) , Must also Include Intersting Scripts , New Attack ways and Special Effects . Also If can't Work With a couple of Scripts , try to minimize them to a Major Script folder . Lots and Lots and ... So , That was a way more Difficult than I Thought Good Luck |
| Posted by: SkyMix_RMT - Thursday, June 15, 2017 4:58:35 PM |
|---|
| [quote=Gameanater;145547] Mission 1 could easily be the portion of the mission where you simply have to clear through and destroy the first enemy encampment with the special team you get at the beginning and the swarms of allied Rangers constantly pouring in and never stopping. The second mission could start with actually building the base, with the team there and a fairly large amount of Rangers to start with to protect your Dozers in the beginning. The rest of the mission could proceed as originally intended. [/quote] This is exactly what I did! Mission will be seperated into 2 parts. Currently Part 1 is done, playtested, and playable. And I made part 2 in a different map wich is about halfway done. [quote=Gameanater;145547] Split the mission into half so there's probably about half an hour of gameplay per mission at most. The first mission has the player clearing out the beach to build a base and smash the GLA contorlling the village. The second mission starts with an intro of the GLA destroying USA forces and the text informs the player the GLA launched a devastating counter-attack and built a second base right next to the USA's, and the player must rebuild their base while fending off attacks and then smash the GLA controlling the top half of the map. [/quote] This is a very good ideia, but it would problably add one more year of development xD , as I would have to re-do most of everything that is already done in order for that to work. [quote=Unknown Editor;145548] Difficulty must be Medium or Hard (not EXPert) , Must also Include Intersting Scripts , New Attack ways and Special Effects. [/quote] The mission was firstly intended to be very hard. But I made some friends playtest it and it was way too hard. Ever since then I was planning to have 4 difficulties, [Easy, Medium, Hard, IMPOSSIBLE] each one a different map, it wouldn't take much work since all I had to do was change a few variables like starting money and wave timers. As for the others, very interesting concepts, but to apply those to my current version would take ages. I appreciate them though, will definitely take notes for future projects. |
| Posted by: Gameanater - Thursday, June 15, 2017 11:53:06 PM |
|---|
| [quote]As for the others, very interesting concepts, but to apply those to my current version would take ages. I appreciate them though, will definitely take notes for future projects.[/quote] I understand for sure. [smile] The work you've done already is MASSIVELY impressive and it's awesome! [+1] I can't wait to play it soon. Perhaps I can playtest it one more time before it's released? [grin] I also created a map.ini full of special effects edits. The main changes are adding dynamic flashing lighting to several weapon effects, and adding blood to infantry while also adding a little sound effect to make them grunt when shot. The changes are very small, but I think they'd be awesome in your map! One more thing... I really want to get back into mapmaking for Zero Hour soon. I think there was a map I sent you before that I unfortunately never did anything with. I'm thinking of picking that map back up but with a vastly different design and structure. I tend to do pretty well with landscaping and adding the buildings and all-- but I absolutely STINK at map scripting and am a novice at map.ini's. Perhaps we could collaborate on the map again? [grin] ---- [quote] [quote]Difficulty must be Medium or Hard (not EXPert) , Must also Include Intersting Scripts , New Attack ways and Special Effects.[/quote] The mission was firstly intended to be very hard. But I made some friends playtest it and it was way too hard. Ever since then I was planning to have 4 difficulties, [Easy, Medium, Hard, IMPOSSIBLE] each one a different map, it wouldn't take much work since all I had to do was change a few variables like starting money and wave timers.[/quote] If you want some cool names for the difficulties, here's some suggestions. XD The text after the intro could tell what difficulty you have for the map. Just a simple "Difficulty: Medium" or whatever. I also would suggest possibly leaving the amount of cash the player gets, and their tech tree, the same throughout every difficulty, but to increase the amount of cash and reinforcements, etc, that the enemy gets, and for harder difficulties maybe even start increasing the armor of enemy units (but not their damage). Anyway, the names could be.... [b]I'm Too Young To Die (Easy) Give Me a Fun Challenge (Medium) Hit My Army Hard (Hard) Hurt Me Plenty (Expert) Enemy Is a Cheating Bast4rd (Torment I) Enemy Cheats Even More (Torment II) Impossible (Torment III)[/b] XD [b]"Difficulty: I'm Too Young To Die (Easy)[/b] You wimp." [b]"Difficulty: Give Me a Fun Challenge (Medium)[/b] Good luck, general!" [b]"Difficulty: Hit My Army Hard (Hard)[/b] Now we're talkin'!" [b]"Difficulty: Hurt Me Plenty (Expert)[/b] You're in for a rough ride, general... The enemy has unlimited funds, periodic reinforcements from plane, and all enemy units have 25% stronger armor." [b]"Difficulty: Enemy Is a Cheating Bast4rd (Torment I)[/b] Enemy gets stronger periodic reinforcements from plane that get harder as you progress. Enemy has unlimited funds and enemy units all have 25% stronger armor." [b]"Difficulty: Enemy Cheats Even More (Torment II)[/b] Enemy gets larger periodic reinforcements from plane that get harder as you progress. Enemy has unlimited funds. Enemy units all have 25% stronger armor, enemy structures self-repair. [b]"Difficulty: Impossible (Torment III)[/b] Enemy gets stronger and larger periodic reinforcements from plane that get harder as you progress. Enemy has unlimited funds. Enemy units all have 25% stronger armor, all enemy missiles have EMP, enemy structures self-repair, all enemy units have Horde Bonus, and enemy receives Stealth Quad Snipers." You could also add certain special things for the player on harder difficulties. For example they may be able to train more special units, or have access to more general's points. On the Torment difficulties they could even have access to every general's point, but the mission would still be freaking hard. XD I think I may actually incorporate these ideas into my future maps. Having several difficulty levels like this might be fun. |
| Posted by: Unknown Editor - Friday, June 16, 2017 2:27:31 AM |
|---|
| Nice Idea , I think Expert could be Useful For Me . In this case Hard is So Boring |
| Posted by: i^love^mixery - Monday, June 19, 2017 9:49:43 PM |
|---|
| One multiplayer mission map I created years ago features roundabout 2,000 scripts. Another guy who I assisted creating the Hide and Seek maps has like 10 or 15 randomizer script constructions in his map, causing an equal or even higher amount of scripts. But I've never stumbled upon any limits nor did I hear of such limits. Maybe this only happens if all your scripts are active from the beginning? Don't you work with activating and deactivating script folders? |
| Posted by: Unknown Editor - Tuesday, June 20, 2017 1:59:57 AM |
|---|
| About Scripts EVERY TIME But about the Folders Not Really , Just Sometimes for Really Necessary things . |
| Posted by: SkyMix_RMT - Tuesday, June 20, 2017 1:14:18 PM |
|---|
| [quote=i^love^mixery;145620]Maybe this only happens if all your scripts are active from the beginning? Don't you work with activating and deactivating script folders?[/quote] That's a good point. All my folders are active from the beginning, that may be what's causing the issues. |
| Posted by: SkyMix_RMT - Monday, August 27, 2018 8:25:04 PM |
|---|
| Found the reason to this issue, and I do recall back in the day of the existence of this file, and the first thing I thought when I read this was this topic [img]https://cdn.discordapp.com/attachments/248203433125871616/483794424753553408/Capture3.PNG[/img] Source: http://sdi.cncguild.net/page.php?file=/quotes/tips Thanks acidbrain for sharing it. |
| Posted by: acidbrain - Monday, August 27, 2018 10:51:01 PM |
|---|
| Check [url=http://www.cnclabs.com/forums/cnc_postst10891_Generals---tmpChunk-DAT--Remover.aspx][color=blue]This[/color][/url] stuff...:P Also working on a java app that automatically removes this file after closing worldbuilder, here is a pic. [img]http://s5.postimg.cc/osbjbag8n/shot6.png[/img] You can make shortcuts with this app, make templates so you can combine shortcuts into a package specific for 1 map for testing purposes and such, remove/add commandline args really quickly and lots more fun stuff. App is 90% finished, havent worked on it for weeks because im not in the mood for java coding for a while now...Coming in a few months maybe... Cheers |
| Posted by: UTD^Force - Tuesday, August 28, 2018 10:14:34 AM |
|---|
| Btw, what is the script debugger mentioned in point 6? |
| Posted by: acidbrain - Tuesday, August 28, 2018 12:03:55 PM |
|---|
| [quote=UTD^Force;147958]Btw, what is the script debugger mentioned in point 6?[/quote] The scriptdebugger does what is says, you have to add a dynamic link lib(.dll) to the root to get it all to work, you also need to add a commandline switch to the sourcepath. If you set it up right you will see a minimized gamewindow with a second window next to it in which you can see all parameters and scripts that are running in your map, i used it a freakin lot and it is a awesome tool if you ask me... Here is a pic: [img]http://s5.postimg.cc/8upshra1j/debug.png[/img] More detailed: I attached a rar with the dll file needed, put that file in your gameroot, where all the big files are. Create shortcut to generals.exe in that same gameroot and put it on your desktop, right click shortcut and pick 'Properties', pick tab 'Shortcut' if it isnt already selected and add following commandline switch to the source: -scriptDebug -win -quickstart -quickstart is optional btw, the path should look something like this now: "C:\Program Files (x86)\EA Games\Command & Conquer The First Decade\Command & Conquer(tm) Generals Zero Hour\generals.exe" -scriptDebug -win -quickstart Be sure that there is a space between the end of the path and the first argument! Close properties window and run the game with your edited shortcut and voila, scriptdebugger is installed... Oh if you try to play a skirmish map with scriptdebugger it might not work, in my opinion you can use it the best for testmaps, not too many scripts, try it out for yourself, maybe im full of sjit, happens more... Cheers [ATTACH]2167[/Attach] |
| Posted by: acidbrain - Tuesday, August 28, 2018 12:12:58 PM |
|---|
| [quote=SkyMix_RMT;147948] Thanks acidbrain for sharing it. [/quote] Dont thank me, im just a messenger, thank the guys at SDI... Cheers |