I actually don't know what happened, but i gave it a shot and connected successfully .. that's totally weird O.O
Anyway, thank you guys for trying to help
Hello guys ..
I've been trying since the morning to connect to a server, (HFR)Cruise City. but i keep getting "Connect timed out". Some people kept saying i was banned, but i'm not, cuz i can't open any HFR server ((HFR)Cruise City, (HFR)Cruise Server, or the server where we test the insim).
I tried to restart my pc, but i keep getting the same message. Also i tried to connect to other servers like WKD and TC, and some demo servers, and i connect successfully.
I asked someone else to connect to HFR (to check if the problem was from the server) but i found that there were many players there, so it's not the server's problem.
I also tried to reinstall the game, but i keep getting the same message, "Connect timed out".
There is nothing left to try, so i can't figure out where the problem is !!
So, is there any ideas about this thing?
Thank you all
Wow .. that was fast O.O
I'm facing a problem with the TOC packet.
I have this list:
Dictionary<byte, IS_NPL> Players = new Dictionary<byte, IS_NPL>();
and when the NPL packet is received, it gets added to the list:
Players[NPL.PLID] = NPL;
Now .. when a player takes over a car, the PLID should be transferred to the new player. I can remove the whole record of that NPL (Players.Remove(old.PLID)) but I can't add a new NPL packet and change the NPL.CName or NPL.PLID because all the bits in the packet are set as readonly.
Also I tried to request a new NPL for the new player, with this code:
Ok thank you and sorry for the late response.
I'll change the code from List<clsConnection> to Dictionary<byte, clsConnection>.
I've already started it and found a code for Spark Cruise, so i took a look at his codes, and saw that he uses dictionaries too.
So, i've made two dictionaries:
Dictionary<byte, User> Users = new Dictionary<byte, User>(); Dictionary<byte, IS_NPL> Players = new Dictionary<byte, IS_NPL>();
Let me finish it then i'll see if the problem is fixed or not.
Hello
I have found some problems in my insim, using InSim.NET. I actually don't know if these are simple problems, but i don't know how to fix them
Anyway .. those problems are:
1) Sometimes whenever someone spectates/pits, the methods which are supposed to take place for that users happen for another. What i mean is, when (for example) i pit, someone else loses his trip bonus, and sometimes i lose my trip bonus. I've checked the code but didn't find anything that would do that!!
2) In the CompCar, and after getting the MCI updates, the Node stays Zero and doesn't change while the other values like Speed, Coords, Direction, ... get new values whenever the MCI packet is updated. Why does the Node stays Zero??
3) Sometimes i get a bug in the Send method from the InSim class, which is ThrowIfNotConnected().
Is the solution for it using an event Insim.Disconnected?
Well, what i want to do is, when the player starts a job, a button with a dot (•) appears on his screen (actually on his map), to show him where he needs to go.
I've tried it, but when i switched to the full screen mode, the dot changed its place.
Hello everyone
I placed a button in the game using the insim when the game was in full screen mode, but when i pressed Shift+F4, the button's location changed to somewhere else (possibly because of this screen re-sizing).
I consider that a problem for what i want to do with the button.
So, is there a way to fix that thing or not?? or is there someway to know what screen mode the player is using?
In the CMX, you can see VWS. And in the forum, you can also see VWS skins in the skins section.
But VWS isn't in the s2 content, so where is it? am i missing something??
Hello
I'm sure this is the right section to post this
Anyway .. I need the images of tracks so that i can mark the locations on it for my server
I mean i want to do something like this:
Hello
I copied a skin that had been already uploaded before and changed its color and tried to upload it, but i got this message: "Skin doesn't have correct size - must be 1024*1024 (is 512*512)"
I didn't change the size of the skin, i just changed the color and its name
anyone can help??
Thnx