The online racing simulator
Searching in All forums
(70 results)
EfsaneTosun
S3 licensed
ip patch+unlocker impeding. or local network continuous 127.0.0.1 this seems to be the case unless we put an obstacle in delete local network and peace.

translate sorry Frown
EfsaneTosun
S3 licensed
translate sorry Big grin


while(LightSequenceID1 == true)
{
insim.Send(new IS_OCO
{
ReqI = 0, // Request ID
OCOAction = OCOAction.OCO_LIGHTS_SET, // Tells the lights to be set
Index = OCOIndex.AXO_START_LIGHTS, // Selects temporary lights
Identifier = 1, // Traffuc light Identifier set in SHIFT + U
Data = BulbInfo.Red1 | BulbInfo.Red2
});
}

EfsaneTosun
S3 licensed
No & yes | Smile

true BulbInfo.Red1 | BulbInfo.Red2
EfsaneTosun
S3 licensed
Thank you all.

Problem fix.
X = short.Parse(StrMsg[3]) * 16,
Y = short.Parse(StrMsg[4]) * 16,
EfsaneTosun
S3 licensed
Quote from LakynVonLegendaus :In my old AXM testing script I found notes saying that for AXM ObjectInfo X and Y - 1 meter = 16.
So maybe you want to do

createaxm.Info.Add(new ObjectInfo
{
X = short.Parse(StrMsg[3]) / 16,
Y = short.Parse(StrMsg[4]) / 16,
Zbyte = byte.Parse(StrMsg[5]),
});

really just guessing since I have no idea what value you have stored in short.Parse(StrMsg[#]) nor even what are you trying to do with that ObjectInfo (Add an object I assume?).

Thank you.
Police barier !location and !barrier x y z Smile
EfsaneTosun
S3 licensed
Quote from LakynVonLegendaus :Don't know what are you trying to do but I don't think you have to divide those values at all. So maybe just

createaxm.Info.Add(new ObjectInfo
{
X = short.Parse(StrMsg[3]),
Y = short.Parse(StrMsg[4]),
Zbyte = byte.Parse(StrMsg[5]),
});

No promises.

Coordinate system is different X y z 65536 mci also works I ask axm x y z
IS_AXM Problem
EfsaneTosun
S3 licensed
Hi,

IS_MCI Coordinate with an object
var X = Conn.CompCar.X / 65536;

IS_AXM How can I do with objects? What should I add as 65536 ??? By

createaxm.Info.Add(new ObjectInfo
{
X = short.Parse(StrMsg[3]) / ???,
Y = short.Parse(StrMsg[4]) / ???,
Zbyte = byte.Parse(StrMsg[5]) / ???,
});
EfsaneTosun
S3 licensed
Quote from Skinzinho :Teleport works fine either on Tweaks and not-tweaked server. You wont get OOS when the teleport distance is not far, on non-tweaked.

For Z axis, you can simply define a max value that user can reach, and program a kick/ban/whatever you want if the player go beyond this point.

For X and Y, is a bit harder. As I said, big jumps are caught by LFS. With small distances, you need to calculate user's speed using the difference between initial position and final position, according to the scale you use X and Y. Remembe that 65536 on MCI packet, without scaling, means 1 meter.

An example of the idea: Initial X is 0, and after 1 second, the X is 9175040. This distance, divided by 65536 is 140. So, the player moved 140 meters in one second, with means 500 Km/H.

You can have different tolerances to different cars. Also, just a tip to you: consider using a timer to monitor the X and Y. During crashes, the car flip around with 200, 300 or even 400 Km/H (I already tested a lot of times to implement a anti-cheat on my server... believe me Wink).

Thank you. I used zbyte for flyhack but I could not figure out how to define zbyte for teleport
EfsaneTosun
S3 licensed
Quote from Draggo :Teleport not working on normal servers (OOS error).

And best solution for crash mod is admin on server. You can make user report system with insim.

Thanks Smile Teleport hack no OOS Error. /modified=no server Smile I need to prevent this with insim

Quote from Bose321 :Wouldn't there be a way to look at each position packet and compare the current with previous? Maybe that way you could detect teleporting.

I did not understand Smile
Cruise Crash+Teleport Hack
EfsaneTosun
S3 licensed
Hi,
I am using InSim.Net. What do you recommend to prevent crash hack with teleport?

I'm DCon.exe /modified=no But this is not the solution.
EfsaneTosun
S3 licensed
Quote from RacerAsh3 :I would imagine you would use an 'Insim Circle'. When you set your traffic lights to red, set a boolean to reflect this, and when a user travels through that InSim Circle whilst that boolean is true, then do whatever action you wish.

Thanks bro, I added Finish line.


Problem fix thanks lfs.net

Quote from cargame.nl :or create a polygon with X,Y coordinates and trigger on this.. Easy.

(saves object usage).

Thanks bro, Object kontrol More logical continuous x - y insertion is bad Smile
Cruise ran a red light (InSim.Net)
EfsaneTosun
S3 licensed
Hi,
I am using InSim.Net. How do I add the feature found in the picture?

EfsaneTosun
S3 licensed
Problem fix. IS_HLV Zbyte > 59 spec user Smile
EfsaneTosun
S3 licensed
Quote from Skinzinho :What you mean with "retired" and "money continues to come" ?

If you mean the player joined spectator and his money continue increasing, it means the UniqueID/PlayerID is being wrongly set.

Please explain a bit better what is going on.

Quote from Yisc[NL] :Completely unclear what the question is.
You are talking about a retired Cruise System and then link to Insim Wiki.

Flyhack and Leave the race Money keeps coming

I Use InSim.Net

Photo
Last edited by EfsaneTosun, .
Cruise System (RETIRED) Problem
EfsaneTosun
S3 licensed
Hi,
Retired and the money continues to come. What are your solution suggestions?


https://en.lfsmanual.net/wiki/InSim.txt
I could not find a solution for the site retired.
EfsaneTosun
S3 licensed
Quote from Skinzinho :This error is related to the program (InSim in this case) trying to connect to a mysql database through an already opened connection.

First, you need to be sure that you have a "connection.close()" after running your script. Otherwise, you can reach either the pool limit and get errors if another part of the code, which uses the same connection, try to open a connection.

The second thing you should consider is to do not declare the connection outside the function, as a global variable for example.

If the connection is declared outside, all parts of the code will call the SAME connection, which cannot be handled by the MySQL connector you are using.

For example, inside CNL you declare the MySQL connector:


void CNLPacket....blablabla
{
if (some.player == something)
{
MySQLConnection connection = new MySQLConnetion......
connection.open();
YOUR CODE HERE DOING SOMETHING
connection.close();
}
}

Then, if you need to call something on your database in another packet or timer, for example, you call it again for inside that function.

I tried to be clear, but tell us if you didn't understad.

thank you. The problem comes from a value that is returned as false at user exit. There is no solution yet, but there is no problem.
EfsaneTosun
S3 licensed
Quote from Bose321 :First: Use InSim.NET.

Second: Show us the code.

Third: Think. The error message tells you what's wrong.

I use .... and convert it to insim.net there is no crashesh but when player leave the server he can't join again
Last edited by EfsaneTosun, . Reason : fix
Datareader Problem Mysql InSim
EfsaneTosun
S3 licensed
Problem(ERROR): CNL - There is already an open DataReader associated with this Connection which must be closed first.

What do you recommend to fix?
Last edited by EfsaneTosun, . Reason : fix
EfsaneTosun
S3 licensed
Quote from K0Z3L_43V3R :No, some translatable strings are missing ... will be added in next release.

Hi,
EN & TR
I've added translations to some required places.

EfsaneTosun
S3 licensed
Quote from Popughini :web admin password?

admin
password
FGED GREDG RDFGDR GSFDG