![]() |
|
IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Hi!
I really like all the new servers with custom scripting that gives us nice multi player "modes" that are not available in "stock CoD"! As I never have any crashes offline I start thinking if the custom online C# scripts could cause crashes for us playing online? Could it be that a lot of guys out there with rather limited experience in programming C# cause the clients to crash too maybe? Like I said, I really appreciate the stuff done by them, but I have seen some really "rookie" C# code snippets floating around on the net for CoD... Could it be that the API:s exposed by CoD for the scripting are not safe so we get weird stuff happening on the client side too? Naturally the answer will be that the game is unstable as it is, but it's getting better and I just wonder if anyone knows some stuff done in the scripts that could cause client crashes? After my last crash online "launcher.exe" used 3Gb of memory so that sure feels like a problem for a 32-bit process, and I don't know how a server side script could cause a problem like that... Maybe by creating to much stuff like ground units etc and then not cleaning up correctly?
__________________
i7 2600k @ 4.5 | GTX580 1.5GB (latest drivers) | P8Z77-V Pro MB | 8GB DDR3 1600 Mhz | SSD (OS) + Raptor 150 (Games) + 1TB WD (Extra) | X-Fi Fatality Pro (PCI) | Windows 7 x64 | TrackIR 4 | G940 Hotas Last edited by mazex; 10-22-2011 at 10:29 PM. |
#2
|
|||
|
|||
![]()
well, if this was true, i bleieve a bugged script would rather kick everyone at the same time, instead of keep crashing people individually. Unless the crashes are related with specific events, aircraft creation or destruction.
the only time i crashed online i was simply flying straight following leader. |
#3
|
|||
|
|||
![]()
Mazex, I am currently on the quick 'scripting' learning curve. All that I am personally interested in at the moment is a basic script that lets you move through a mission or campaign with success or failure scripting. After much testing, these basic scripts do not seem to effect the gameplay if they work properly.
What I have noticed is that 'triggering script' can cause 'crashes', particularly if you are triggering a lot of aircraft/objects into the gameplay which could 'dig deep' into your computers RAM. We are getting great member support about scripting from Ataros, FG28 Kodiak, Blackdog kt and others, though when Ilya issues a proper sdk I am afraid it is a still a 'hit and miss' affair? DFLion |
#4
|
|||
|
|||
![]()
Same a dflion, I found the trigger scripts could cause crashes (SP missions). This was during the last official version.
__________________
MP ATAG_EvangelusE AMD A8 5600K Quad Core 3.6 Ghz - Win 7 64 - 8Gb Ram - GTX660ti 2Gb VRAM - FreeTrack - X52 - Asus 23' Monitor. |
#5
|
|||
|
|||
![]() Quote:
Sure there are other bugs present. That is why server owners need help from experienced C# programmers. FG28_Kodiak is very helpful in solving some key issues with scripts but he does not have time to check out and correct every server script out there alone. As I understand from your message you have some C# knowledge. If you are willing to help fixing code for Repka servers, please let me know, we will appreciate it. We need a programmer with goodwill and dedication to develop R2 and R3 missions (Steppe map for now). Last edited by Ataros; 10-23-2011 at 01:17 PM. |
#6
|
||||
|
||||
![]() Quote:
![]() I do have a few side projects in my spare time though and sometimes I code something around games that is one of my oldest hobbies! Among them I did an LCD app for Logitech keyboards in C++ showing real time online stats for good old IL2 which I still have some users on ![]() I've been waiting for the game to mature before getting into doing something for CoD too, and soon is the time I realize. The problem is that many weeks I'm lost in work/family etc so I'm not a reliable resource. Let me fiddle around a bit to get up to speed on how the C# scripting works in CoD before I contribute! I have not done a "Hello world" in CoD scripting yet so my knowledge is more on the actual coding which may be fine, but to contribute in these matters a bit of first hand knowledge on how to work with the maddox-classes is needed! It would naturally not hurt if MG released some decent documentation themselves! I really like the ambitions of the Repka servers and that's where I mostly go myself the few times I manage to go online in CoD. The problem is that it has been so unstable online and it's just the latest patches that I really have felt the old fun from IL2 return! What I have reacted on while seeing some of the code snippets is really that many of them are obviously written by people that are not that proficient in how to code in C# and more do it like in less powerful scripting support in other games (though most of the examples are good too!). For example a general lack of error handling with try-catch etc will sure get the servers into problems, and it should be possible to write some good dll:s with all the basic stuff done all over in the different scripts? I was thinking of writing a dedicated server manager myself, maybe with some web based GUI to handle a lot of the stuff that is hard coded in the scripts today... There seems to be a lot of people waking up now as the possibilities of the C# scripting is starting to show with good examples like the Repka server! One of my thoughts is to write a web based GUI in Silverlight to be able to have a real time map of the battlefield where a commander could issue orders that the server side scripts then display to the correct pilots etc... That would be interesting, but there is naturally a risk of accuses of cheating if fog of war is not handled with care ![]() ![]()
__________________
i7 2600k @ 4.5 | GTX580 1.5GB (latest drivers) | P8Z77-V Pro MB | 8GB DDR3 1600 Mhz | SSD (OS) + Raptor 150 (Games) + 1TB WD (Extra) | X-Fi Fatality Pro (PCI) | Windows 7 x64 | TrackIR 4 | G940 Hotas Last edited by mazex; 10-23-2011 at 07:16 PM. |
![]() |
|
|