When you CarReset all the checks are client sided. So you can carreset on servers without this patch if you have a hack to remove the client side checks.
Q/A: Q: Does this work on vista? A: No clue, this was built/tested on XP sp3 32bit.
Q: What are the differences between Regular/.Net Build? A: Regular is 76kb and doesn't require to .net framework to run. .Net Build is 16kb and requires the .net framework to run. I don't know about speed differences.
Q: What next? A: I am working on allowing the insim create/move/delete objects.
Q: I don't want to use feature x. A: Well atm there is only one feature so... . Anyways when there are more features I will add an ini so you can select what features you want.
Please post any questions/comments/etc.
If you have and suggestions that are possible, please post them.
There is an old proof of concept project that I was working on banging around somewhere here, called luaLFS, which was basically an InSim Client with the lua engine embedded, and it passed stuff backwards and fowards from lua scripts. It was very, very hacky but worked relatively well for single servers.
In concept it worked pretty much in the same way as you're proposing - hooks and events.
My goal was to make InSim a bit more accessible, but the big problem, in my belief, was actually making it easier to understand. If this is the same goal you're trying to hit then I'd be interested in seeing what can be brought up now
I'm not saying it's a bad idea, but I'm just wondering what the goal is (not that there has to be one) and whether or not previous projects can help solve some of the possible issues you might come across with adoption
What I want to do is make insim connectionless. So insim is handled inside the dedicated server itself instead of being dealt over a connection.
So I was thinking, while the system insim being cool. It isn't great for huge servers. Lots of traffic going back and forth.
Anyways... I was thinking of adding lua to LFS dedi (Building it right in so there is no connection needed). Would anyone be interested in this?
An example of how it would work.
function MSO(mso) local msg = string.Sub(mso.Msg,mso.TextStart, (mso.Msg.Length - mso.TextStart)) if (msg == "hi") then insim.Send_MST_Message("/msg hi") end
end hook.Add("MSO","MSOhook",MSO)
Just wondering if anyone is interested in this. If not then I wont bother.
Q: How will I connect to mysql?
A: I would add module support so that you can create your own dll to use with it. (mysql would be a default module of course)
Q: I don't want to use lua.
A: I am still figuring out what to use. I might allow C++ too. Or use C++ instead. Let me know what you want.
Do you meant the artwork of the floating minimap? I think its generated ingame by the path files. Or perhapse they are stored in a non-graphic file format. Like a dat file or something. So you probably can't mod them very easily. I'm probably no help here, but no one else has replied for a while.