marcusm
Member-
Content Count
39 -
Joined
-
Last visited
-
Medals
Everything posted by marcusm
-
not really, you could only continously setpos a second gun at the tank's/boats position... but thats a dirty way i'd only recommend for a cutscene, for example. regards!
-
hello! First, my question: Does the server REALLY ALWAYS know the status of EVERY trigger ALL THE TIME? The base of my question: I wrote a spawnscript that creates enemies in a certain area (condition: -> units from players side are in a triggers radius). As so often, this works fine in SP or when i play alone in MP, but not always in real MP! The script contains the typical '?!(local server):exit' - query With the help of a friend(and his PC, of course ), i tested a little bit: We were both in one team, my PC was the server(non-dedicated) and i was the group leader: I will call my friend 'client' and myself 'CS' = Client&Server 1)CS & Client are placed ~10 meters in front of the trigger, CS runs in the trigger: -> everything works as expected,         enemies are created 2)CS & Client are placed ~10 meters in front of the trigger, Client runs in the trigger: -> everything works as expected,         enemies are created  3) I placed myself(CS) ~ 5 kilometers away from the trigger and the client again in front of it(client runs in trigger) -> NOTHING happens After that, i rewrote a small part of the spawnscript so that fnSendServer(of the great CoC NS) is used to grab the vars from the trigger and send them to the server. Now when the triggers cond. is true, every client and ClientServer creates one instance of the spawnscript on the server. I recreated the three scenarios: 1) works, but as expected, the enemies are created twice(1x for my friends PC, 1x for myself) 2) same as above 3) curious: the enemies are created TWICE!  I expected that the enemies are created ONCE! ->  my friends PC, client: ->     create one instance of the spawnscript on the server   my PC(client-part): -> do nothing   my PC(server-part): -> create enemies from my friends pc  I would appreciate it VERY MUCH if anyone has an idea/theory or just can/want say sth. to it! Thank you very much for your time and for reading thru this quite large post! Greetings P.S. Someone wrote in his signature: 'do not expect anything to work in MP' - maybe thats the solution? i don't think/hope so...
-
MP & triggers - is their activation...
marcusm replied to marcusm's topic in OFP : MISSION EDITING & SCRIPTING
Thank you both for your replies! @Pimmelorus: First, thanks for your encouraging words! ...and thats the crucial point! I don't understand why the server recognizes the trigger activation in case 2 and NOT in case 3. As you said, in both cases, the client activates the trigger and the only difference is the distance between trigger and clientServer. If it is really ok for you, i would like to enlist your help... I'd comment & format my code a little bit and PM you in a few days(drowning in work @ job atm ). Would that be ok? @bn880 yes, it seems illogical & complicated to me sometimes, but luckily, there is your CoC NS. Â I should try to build further missions on your NS from the beginning... Thank you both again!! regards -
MP & triggers - is their activation...
marcusm replied to marcusm's topic in OFP : MISSION EDITING & SCRIPTING
hi! it would be great if at least someone could say sth. about the general behaviour of triggers in MP. Thank you all again for reading my post!! regards -
*wir sind draußen!* i..just..can't..believe..it! btw - congrats to Czechia!
-
holy sh**! what more can i say?! Greetings!
-
@Benaksoy: Â i can confirm this! For me, it only affects the BIS standard-leader(M16), OFP crashes even if he is equipped with magazines! greetings!
-
Trouble with a server-side spawn script for...
marcusm replied to marcusm's topic in OFP : MISSION EDITING & SCRIPTING
Thank you! :-D -
Trouble with a server-side spawn script for...
marcusm posted a topic in OFP : MISSION EDITING & SCRIPTING
Hi all! ATM, i'm working on a large, dynamic MP-mission(sth. like Unscripted War for MP, but, of course, not as complex and fascinating as Unscripted War itself!). Now i have a question with a small enemy spawn script i wrote for the mission. The script itself is called by a trigger(any unit of my squad reaches a certain area) and should only run on the server! And this is where my problem lies: If any unit, except for the host, calls the trigger, my script is terminated because of the '?!local Server...'-query. My question: Is it possible to call the trigger by any client AND to pass the script execution to the server? (client fires the trigger->script runs on the server(only!)) It was my first idea just not to use the'?!local server'-query but i'm working very often with the 'player'-command which describes another player for every client in MP and thats not what i need. :-/ The second problem is that the spawn script depends on many variables that only exist and change on the server... I would be very appreciated for any suggestions! Thank you all very much for your time! Greetings -
Hi! I can confrim this bug too! Greetings!
-
hmm, also waiting for it... Greetings!
-
Hi! inspired of some dynamic-weather topics in the past months, i'm trying to write my own dynamic weather script for MP missions. Here it is: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> changetime=0 #start ~changetime+30 ;servercode ?!(local server) : goto "wait" changetime=1200+(random 1200) weather=random 1 ?(weather >= .52) : goto "foghigh" ?(weather < .52) : goto "foglow" #foghigh fog=.44+(random .41) goto "continue" #foglow fog=.075+(random .25) goto "continue" #continue ;here the problem starts... publicVariable "changetime" publicVariable "weather" publicVariable "fog" #wait ;code executed on all machines... @(changetime != 0) ~1 changetime setOvercast weather changetime setFog fog goto "start" #end exit and now my problem: when the three variables (changetime, weather and fog) shall be declared as public variables, i get the "unknown operator"-message. Does anybody know why? Thank you all very much for your help!
-
...sounds interesting, i'll have a look at ECP. Thank you again for your time! Greetings !
-
Thank you for your time, RED! I just found the bug, it was my init.sqs! : In the init.sqs i wrote: publicVariable = "variable" instead of publicvariable "variable"... hmm, it was just a stupid/small mistake so i hope that i didn't cause too much excitement just because of this... Greetings!
-
great! Thank you very, very much! Â Is it o.k. if i (try to) write a save-function for my mission based on the information you provided? Of course, i would credit you and SOW! Greetings!
-
Hello, first, thank you all for your answers! @DV Chris Death: yes, that's right. I rewrite some scipts of that mission very often, so i directly placed it as a folder in my MPMissions directory.(The final version, of course, will be a pbo ) @Crashdome: Sines of War sounds very, very interesting, especially the save-function! Is it possible that you tell us a little bit about the function or is it kept secretly? Thank you
-
Hi! sorry for grabbin' out this REALLY old topic, but i have two questions... 1) In the FlashpointDir\Users\username\Saved\mpmissions\missionname.island - dir, some missions are placing a weapons.cfg. Can I use that file for anything(maybe with "loadStatus") or is it only a temporary file created for a running game? 2) In a test-MP-Mission, I used the 'savegame'-command and OFP really created the expected autosave.fps in same dir as ment. above. Same question: Is there any way to work with or to convert that file so that we can use it...? Thanks & Greetings !!
-
ahh, great! Thank you!
-
hmm, flashpoint.ru seems to have problems atm and i can't find any place hosting this Mafia-Addon by T-Rex... Is there any other place where i can find it? Thanks!
-
hmm, i also hope so...
-
great! I don't have any words...
-
Hi, First of all, i wan't to excuse me for my bad English(I'm from Germany...)! Thank you! My problem is, that Resistance (v. 1.91) runs much, much slower than original Flashpoint (v. 1.46) under the SAME conditions. When i played Resistance for the first time(s), i mentioned that some missions , especially "Battlefields", ran slower and stuttered more than before. The game-"feeling" wasn't as smooth and "fast"as before... I decided to look at my problem closer so i searched for it in the forum and Avon Lady's great FAQ. Both said that i should decrease my landscape detail and my range of sight. I did so...! As i tried it again, nothing, really nothing changed! Now i wanted to know it exactly! I started fraps 99( a small tool that shows you your actual fps) and played the first part of "Battlefields"(...where you run down the hill with hundreds of your comrads) for several times in Flashpoint(v.1.46) and Resistance(v.1.91). I gave them exactly the same settings ... : - max. Memory: 256 ( I tried 512 for Resitance too), Geo-Perf. set to 2275 - all textures set to 256x256, except for landscape(128x128) Â and sfx(64x64) - in game: frames set to "20 - 40", detail to "7 - 19" additionally in Resistance: terrain detail set to very low (should be the same as in original OFP) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ... and range of sight to 900m (") ... and got the following "scores" : ~ Flashpoint(1.46): Â min fps: 19, appr. fps: 30, max fps: 37 Resistance(1.91): min fps: Â 7, appr. fps: 16 , max fps: 24 why that?! As you can see, i get two absolutely different fps with exactly the same detail-settings...! :o(??? My system: ----------------- AMD Athlon XP 1600+ (1,4 GHz) 512MB DDR-RAM Geforce3 (Detonator 40.72) WinXP Prof. If anybody can give me a hint and/or has the same problem, it would be very great if he/she could post it here! Thank you very much for your attention!! Greetings.
-
New & serious performance-troubles with resistance
marcusm replied to marcusm's topic in TROUBLESHOOTING
I think that he is referring to the stuttering... But I also think that it would be great if he can tell us a little bit more about the slowdowns with the same settings on 1.46 and Resistance. Greetings -
Hi, I have a similar problem, but only w/ Resistance. Please look at this topic and write, if this could be your problem, too. Greetings
-
New & serious performance-troubles with resistance
marcusm replied to marcusm's topic in TROUBLESHOOTING
@Suma: Thank you very much for reading this topic! For the moment, i'll live with my problem! (but if i find a solution/workaround for it within the next months, i'll definitely post it here to help others with the same problem! ) ---- Thank you all very much for your support and your suggestions. The support i received thru this board is truly awesome! Greetings!