Author Topic: Mods and multiplay  (Read 1568 times)

0 Members and 1 Guest are viewing this topic.

Offline asyikarea51

  • 210
  • -__-||
So I had a friend help me in testing out a mod I'm working on. The mod uses a fairly extensive list of weapons and enough ships up to the point where I had to omit the ships.tbl of Vasudan entries completely. However I left the weapons alone.

Unfortunately, this happens to the client. The server, on the other hand, gets the loadout perfect:


Also, when firing these nameless weapons, there's no effects (e.g. no trail, no missile POF spawned), and more importantly no missile lock (you fire the missile completely unguided). Ballistic weapons also end up not having any ammo, so the client cannot fire said weapons at all.

(Since there's an existing SCP bug on ballistic primaries and reloading/sounds with the first primary bank, I restricted my ballistic stuff to the second bank).

Strange thing is, these effects and POF spawns are visible on the server computer, and these weapons do hit the target (if the client's lucky enough to score a hit, that is). Basically the client sees and hears nothing, while the server sees and hears everything, and also the client can't shoot ballistics and can't gain target lock with nameless missiles. To add to that, the ballistic weapon isn't reloaded by the support ship, but the missiles are (and the missile count decreases as per normal when... fired).

Any ideas? I use TBM's, expanded sounds.tbl, edited ships tbl and expanded messages.tbl, in case it matters. Both server and client running 369 Official. :confused:

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
I saw something related to this while playing with [DW]-Hunter and RazorsEdge. If one of the players has a modified weapons.tbl (say from a rogue Inferno VP), and the others don't, strange things start happening. like the loadouts looking different on the two computers.

The most memorable moment was when RazorsEdge (who had the modified table) started seeing our tempests (in reality they were harpoons) track enemy ships.
« Last Edit: January 24, 2007, 09:24:22 am by Turey »
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline asyikarea51

  • 210
  • -__-||
Now that's odd. :wtf: With the exception of several test missions, I still think I rar'd the mod to my friend correctly. I even made sure I didn't change the tables or the test mission any more prior to sending and playtesting - he should definitely have the same entries, since the regular energy weapons all look and sound the same on both computers.

eg. when he filled his batteries full of rockets (secondary) and played turret, he couldn't see/hear them at all, but I could see him fire off loads of rockets, and damage was registered on the same target on both computers. Then he played server, me a client, and he loaded up on a cannon (primary) - both of us heard and saw the same firing sound and projectile effect. Difference is, he could fire that cannon - mine showed zero ammo, I couldn't shoot off a round and the support ship was useless.

Unless MediaVPs is to blame... but mine differs from his only via ship models AFAIK. I have VA's Zeus+tbm, and maybe a few other things such as a modded warp effect. He's probably still running a stock Shivan install (there were MvPs-related CRC failures on two files thanks to my POC mobile HDD, but I solved that by getting fresh copies off the forum).

I don't recall any difference in weapons. For me, the loadouts don't look different (might be true, but I have to playtest again to see if it's repeatable). It's either there is an effect/spawn/whatever, or there isn't.

Any help would be appreciated... :(

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I've not looked at the code but I can easily see a single table entry causing you problems. All the entries on the client machine could easily end up off by one with the result that they think they have one weapon but are getting the effects of another.

Make certain your friend (and you for that matter) have no TBMs that the other doesn't. A search for *.vp, *.tbl and *.tbm noting any differences you have in Freespace2, Freespace2\Data or anywhere in your mediavps folders seems like a good idea to me.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline asyikarea51

  • 210
  • -__-||
Make certain your friend (and you for that matter) have no TBMs that the other doesn't. A search for *.vp, *.tbl and *.tbm noting any differences you have in Freespace2, Freespace2\Data or anywhere in your mediavps folders seems like a good idea to me.

Looking through my folders right now. I haven't looked into any VP files yet, but for me, only the MediaVPs has a single tbm within its folders to get the Zeus working. I don't touch the main VPs in the Freespace2 folder, and the main /data folder is only for missions, with no VP's or /tables folder whatsoever. 

Don't know if it matters though, but we can both play the MediaVPs fine (hence my asteroid thread :lol:).

Ahwell, back to my search. I'll post again if I find anything. :)