The online racing simulator
Searching in All forums
(314 results)
DarkKostas
S3 licensed
Which is the best way to keep NCN packets but with some additional information like NCN.IsOfficer?

At the moment im using this method which i copied from SparkCruise and added some by myself.

//Global
private Dictionary<byte, IS_NCN> _connections = new Dictionary<byte, IS_NCN>();
private Dictionary<byte, IS_NPL> _players = new Dictionary<byte, IS_NPL>();

//After InSim Initialise
insim.Send(new IS_TINY { SubT = TinyType.TINY_NCN, ReqI = 255 });
insim.Send(new IS_TINY { SubT = TinyType.TINY_NPL, ReqI = 255 });

//Packets
private void onConnectionJoin(InSim insim, IS_NCN NCN)
{
if (_connections.ContainsKey(NCN.UCID)) _connections[NCN.UCID] = NCN;
else _connections.Add(NCN.UCID, NCN);
}

private void onConnectionLeave(InSim insim, IS_CNL CNL)
{
_connections.Remove(CNL.UCID);
}

private void onPlayerJoin(InSim insim, IS_NPL npl)
{
if (_players.ContainsKey(npl.PLID))
{
// Leaving pits, just update NPL object.
_players[npl.PLID] = npl;
}
else
{
// Add new player.
_players.Add(npl.PLID, npl);
}
}

private void onPlayerLeave(InSim insim, IS_PLL pll)
{
_players.Remove(pll.PLID);
}

//Getting Connection for PLID
private IS_NCN GetConnection(byte plid)
{
IS_NPL npl;
if (_players.TryGetValue(plid, out npl))
{
return _connections[npl.UCID];
}
return null;
}

This code is working fine, but i would like to add extra info to these NCN Packets.
DarkKostas
S3 licensed
As the previous topic about insim changes is locked ill post it here.
I would like a small change to this

struct IS_AXI // AutoX Info
{
byte Size; // 40
byte Type; // ISP_AXI
byte ReqI; // 0 unless this is a reply to an TINY_AXI request
byte Zero;

byte AXStart; // autocross start position
byte NumCP; // number of checkpoints
word NumO; // number of objects

[B]char LName[32];[/B] // the name of the layout last loaded [B](if loaded locally)[/B]
};

Is it possible to make it so when a remote player loads a layout, we can get the name of it? Because i want to store layout name and use it.
DarkKostas
S3 licensed
Quote from NSX_FReeDoM :Well the old Z34 thread is gone so I am expecting a patch to come out soon.

Good to see LFS making some progress.

Its gone because 0.6A1 is released now....
http://www.lfsforum.net/showthread.php?t=74716
DarkKostas
S3 licensed
Quote from Uke :I'm asking this just out of cuiosity, why are you axactly moving to a new letter? Why can't it be another 0.5Z patch?

Because as i said to the previous page, this patch is not compatible with 0.5 versions(you can't join to 0.5 servers).
DarkKostas
S3 licensed
Quote from Jonathon.provost :Will this make the new version compatible with lower version hosts?

0.6 version will be only compatible with 0.6 servers.
I am not sure but next version should be compatible with A1 too.
Thats why clients changed from 0.5 to 0.6
DarkKostas
S3 licensed
This packet (IS_ACR) looks very interested because i had something like that in my mind.


if Result == 3 then
{
if "FirstWord" == "/mycommand" then
{
//do my command things
break;
}
SendMessageToConnection(UCID, "Unknown command");
}

I always wanted commands using slash intested of exclamation mark!
DarkKostas
S3 licensed
I wasn't using a modified .exe and i have z34 since the first day it was released. But today this strange thing happend to these 2 servers. I re-installed LFS and i hope it's now fixed(will try later to test it out)
DarkKostas
S3 licensed
Woohoo! One month bump.

On topic now, today when i joined Drift Heaven server, i was talking with a friend for about 30 secs. After that i got cpw without doing anything else... Also one friend of mine got banned too another day. Both using z34.

Here is the replay. My username is "DarkKostas"(as you can see at the post too) and my friend's username that got banned another day is "Driftovios"(Kenki Driftov)

BTW server is z28 yet

EDIT: Got another CPW in other server after 30 secs again...
Last edited by DarkKostas, .
DarkKostas
S3 licensed
Quote from Ziroh :Seriously, you guys have to be stupid.. I'm sorry!

I guess this is the thanks for the people that are trying to understand something you have not specified corectly, so that they answer wrong.

You should explain better what you want and not be that rude for your faults.

No problem by the way
DarkKostas
S3 licensed
Quote from Dygear :and the plugins themselves would be in SmallC (PAWN) or SourcePAWN so that AMX Mod X and SourceMod plugin writers can come over and fell instantly at home.

*DarkKostas is praying for it
After coding in SA-MP(San Andreas MultiPlayer) for more than 3 years i love this language.

For now i'm still using LFS External because most insim projects were based on it so i got much experience by reading their source and developing my insim. So my vote is C#
DarkKostas
S3 licensed
Quote from NightEye :Not really contact related, but more surface related (FEX). This part is like glue. Never noticed it before, but not 100% sure it's Z34 related.

This was always like that. I hope it will be fixed though because many times i went there accidently and i stuck
DarkKostas
S3 licensed
Quote from Dudles :I'm getting "OOS" and "Lost Synck with the Host" since Z.32.

Tried at a few servers and simetimes it goes lost sync and enters again automatically, but when I choose my car and go to the track, i get OOS and lost sync again.

Possibly you have .vob mods. Remove them!
DarkKostas
S3 licensed
Here is my code from MCI packet

Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].PlayerName

Example with username auto-clearing PIT Penalty @ PLA Packet

private void PLA_PitLaneChanged(Packets.IS_PLA PLA)
{
if (PLA.Fact == 0)
{
InSim.Send_MST_Message("/p_clear " + Connections[GetConnIdx(Players[GetPlyIdx(PLA.PLID)].UniqueID)].Username);
}
}

DarkKostas
S3 licensed
OH-MY-GOD, look at the last photo the forces.... thankfully it will be fixed in the next test patch
DarkKostas
S3 licensed
Quote from avetere :I reckon this means mpr-format will be altered?
If so, would it be possible, you let me/us know, in what way (e.g. which packets are affected)?

I think it will be incompatible because of the objects, same with the mod i posted above its not compatible online(unless host is using the same one)
DarkKostas
S3 licensed
Quote from Scawen :I have never heard of them. Can you tell me where to look, so I can see what the extra objects are?

Quote from CrAbStEr DrIfTeR :go on lfsdrift.com

go on layouts part and look for bluewinds layouts.


EDIT : its blackfinch's layouts pack - ebisu is in there for car park (and other needed thing)

Although he means lfsdrift.net not .com
And here is the topic that i found http://www.lfsdrift.net/layout ... (update!-newest-ver-1-2)/

But im quite sure that this mod was made by Henrique. One disadvantage on this mod is that makes any non-moving object like barriers, movable...

EDIT: Master beat me ,but I found some more things
DarkKostas
S3 licensed
Home run.
Quote :or InSim programs that can add or remove objects.

woohoo!

Scawen, as you said this will be multiplayer incompatible and you have some other things in priority. Does this means that the next patch won't include this? (I am happy anyway that this is being worked on, just saying)

Also if every single object will be available to all track, i wonder how the object list will be, maybe sub-categories?
DarkKostas
S3 licensed
Quote from Bose321 :They are relevant as people don't want LFS to have nicer graphics it won't run any good on computers from the stone-age. Read the thread next time.

But people are comparing their computers and what compatibility has each OS. I read the thread and thats why im posting this one. I think you should read it better and understand what im saying.
DarkKostas
S3 licensed
I thought the subject of the topic was to upgrade LFS graphics engine and not your computers, sorry wrong thread.

* [OPC] DK leaves
DarkKostas
S3 licensed
Quote from delta13 :hello all

why the demo version can not load the circuit or bl1x bl2x ?

thx

demo users are restricted to BL1-2-3, you have not access to reverse and x/y
DarkKostas
S3 licensed
Im S2 player but i doesnt even care for the avatar. "Why so serious?"
DarkKostas
S3 licensed
Open config maybe?
DarkKostas
S3 licensed
Quote from cargame.nl :You want everyone to have 5 FPS?

When z30 first released i placed all 800 objects in front of me as barriers. I had no lag at all. Only Open Configs are making the difference and possibly "movable" objects like tires and cones. But as Carlos said he want to make a cruise layout which we all know its made of barriers...
DarkKostas
S3 licensed
Quote from THE WIZARD DK :EDIT: i think DarkKostas mean, he have windows installed.. i also have to uinlock when reinstalling windows.. but in the same HDD it is possible to copy lfs like descibed below.

I have a 2nd home which is 500meters away from this one and hasn't internet connection, so i can't plug it in even for a second
DarkKostas
S3 licensed
Thanks for the update.
Skids are back!!

I would like to ask if its possible to make a "offline" activator for LFS, because i have LFS to a PC which does not have connection to the internet so i can't enable S2 and i want so much to continue making layouts there.
FGED GREDG RDFGDR GSFDG