Not sure what that is tbh, Dont know why it kept happening even after a restart. That said, The next version should have an auto reconnect feature.
---
In version 2 Im working and rewoking on a lot of stuff. I have removed all the !kick, !ban, !spec commands. Im reworking them into an interface, As seen in the pic attached.
PS: You will not see yourself and the host in the release version, I changed the code purely so I could show you.
I would like to see some packets added to insim. If not new packets, Then sub types of SMALL. My suggestion is to be able to control the "no restart within X seconds of race start" and "no restart within X seconds of race finish". I would like to see this in insim as I cannot remember how many times I have been in CTRA and the Track is ment to change. due to people voting restart, The track doesnt change when its ment to. People might think, "Why not use VTC in insim", basically... its crap. Everytime Ive tried to use it in multiplayer. It didnt work. Simple as. Anyway, What do you think?
E: I should add, I know this is suggested in "Server options wishlist" thread as commands, but im thinking via InSim maybe easier.
TBH, I dont mean to be rude, but your making a mountain out of a molehill. You could update the player(All of them on the track 8+) in a very simple way.
private void MCI_CarInformation(Packets.IS_MCI MCI) { for (int i = 0; i < MCI.NumC; i++) { Players[GetPlyIdx(MCI.Info[i].PLID)].position = ++MCI.Info[i].Position; } }
That code WILL work for more then 8 players, Its cleaner and its a lot smaller. Unless im missing something, why not just do that.
MSI Isnt a packet? I think you mean MCI. You are best off using the MCI packet to maintain the positions. Then you will have a constantly updated list of positions. You can turn them on in the ISI packet, Or in LFS_External the connect method. All you have to do, In the MCI method, Is make a for loop and iterate through the MCI packet.
for(int i = 0; i < MCI.NumC; i++) { Players[GetPlyIdx(MCI.Info[i].PLID)].position = ++MCI.Info[i].Position; }
If your wondering why I have put ++MCI.Info[i].Position, Thats because LFS counts from zero (Example: 1st = 0, 2nd = 1; 3rd = 2..etc etc) So it makes your life a little simpler. That also should work if there is more then 8 players.
Tiscali acutally arnt bad for me. Ive had them about 1 and 1/2 years now. Never had a connection go down, Never needed to contact support. The speed is quick, Im constantly at around 6.5mb (8mb advertised, but meh). That said, I dont get to enjoy much of it with this stupid D-Link Wireless box..
No, You didnt get what I was saying. I was saying, You dont have an insim, Nor do you have insim. InSim is a protocol that uses packets to transfer data and report various info.