The online racing simulator
Searching in All forums
(63 results)
heawy
S2 licensed
Good to know, I was attacked 24/7 before I bought here servers. Nice work.

Btw. Is there any way to check when i need to pay? I really dont remember when i paid and for how much months
heawy
S2 licensed
Yeah, improve stupid mirrors
heawy
S2 licensed
If on server is some Insim with button on screen, your cursor wont disappear.
heawy
S2 licensed
Great prices. Nice, helpful and quick support.
I do not think can be better.

100% satisfaction
heawy
S2 licensed
Yeah, ofc someone spend weeks for admin rank on ur server.

Nope
heawy
S2 licensed
As i said, i always miss things like this

It works! Thanks guys for help!

heawy
S2 licensed
No idea

heawy
S2 licensed
Really thanks now I understand that. I already made one insim for cruise just sometimes I stuck on stupid things like one number etc. Again thanks for help
heawy
S2 licensed
No idea what you mean
"i.PlayerName" everywhere is wrong yes?
[C#]Connections List problem.[SOLVED]
heawy
S2 licensed
Hey, i again stuck in some probably easy thing and need help.
I need Connection list with all who is on server, like this:


But like on screen, insim is copying only one player name, wont show all players and close buttons without player.
I think i do everything wrong but, maybe someone know how to fix it.

Part of code:
bool Found = false;
foreach (clsConnection i in Connections)
{
if (i.InGame == 1)
{
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 125, 3, 190, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 128, 3, 191, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 131, 3, 192, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 134, 3, 193, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 137, 3, 194, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 140, 3, 195, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 143, 3, 196, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 146, 3, 197, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 149, 3, 198, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 152, 3, 199, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 155, 3, 200, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 158, 3, 201, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 161, 3, 202, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 164, 3, 203, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^2A", Flags.ButtonStyles.ISB_DARK, 4, 29, 167, 3, 204, i.UniqueID, 2, false);
}
}
else if (i.InGame == 0)
{
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 125, 3, 190, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 128, 3, 191, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 131, 3, 192, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 134, 3, 193, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 137, 3, 194, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 140, 3, 195, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 143, 3, 196, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 146, 3, 197, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 149, 3, 198, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 152, 3, 199, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 155, 3, 200, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 158, 3, 201, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 161, 3, 202, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 164, 3, 203, i.UniqueID, 2, false);
}
{
Found = true;
InSim.Send_BTN_CreateButton(i.PlayerName + " ^1•", Flags.ButtonStyles.ISB_DARK, 4, 29, 167, 3, 204, i.UniqueID, 2, false);
}
}
}

Last edited by heawy, .
heawy
S2 licensed
Bank is in last pitbox
heawy
S2 licensed
One "^2M^1i^2c^1k^2'^1s ^2S^1t^2o^1r^2e" is in BL1.cs and one in MCI Updates. You used one.
heawy
S2 licensed
If you changed EstablishmentName string this need to works.
Are u sure you debuged not only saved?
heawy
S2 licensed
Im not sure, probably in BL1.cs (or other track) and i dont know which button u mean.

[...], Flags.ButtonStyles.ISB_LIGHT | Flags.ButtonStyles.ISB_CLICK, 4, 10, 73, 100, 120, Conn.UniqueID, 2, false);

ISB_CLICK is useful button
heawy
S2 licensed
In buttons:

[...], Flags.ButtonStyles.ISB_LEFT, 6, 15, 0, 98, 23, C.UniqueID, 2, true);

ISB_LEFT - transparent
ISB_DARK - dark background
ISB_LIGHT - light background

6 - height
15 - width
0 - up - down
98 - left - right
23 - button ID/number

I will not say where, bacause u does not say which insim u use.
heawy
S2 licensed
Hey, when website come back?
heawy
S2 licensed
Guys give up, get started with any cruise server when u learn something about this, u didnt realized yet nobody want play there?
Allday some new cruise in demo for few minutes...
heawy
S2 licensed
AAAAAAAAAAaaaaaaaahahhahaa i dont belive, missed little thing, IT WORKS
Thanks guys really
heawy
S2 licensed
Im really begginer so i dont understand
heawy
S2 licensed
I have no idea, every other options works good except this so i make fail somewhere.

Here code from FileInfo.cs u will see for member, cadet, officer is same thing.
http://pastebin.com/wbRyJPnH

Need to show something more?
Last edited by heawy, . Reason : link edit
heawy
S2 licensed
I already have this, forget to show


NewConn.IsSupporter = FileInfo.IsSupporter(NCN.UName);

[SOLVED]InSim dont save status.
heawy
S2 licensed
Hi.
Im looking for help in code.

I want to add the rank "supporter" (works but not how I want). Problem is with saving rank in .txt file. Command add rank to player but when play leave host this back to Supporter = 0

command:
[Command("addsupp", "addsupp <username>")]
public void addsupp(string Msg, string[] StrMsg, Packets.IS_MSO MSO)
{
clsConnection Conn = Connections[GetConnIdx(MSO.UCID)];

if (StrMsg.Length > 1)
{
if (Conn.IsAdmin == 1 || Conn.IsSuperAdmin == 1 || Conn.IsModerator == 1)
{
foreach (clsConnection l in Connections)
{
if (l.Username == StrMsg[1] && StrMsg[1].Length > 1)
{
MsgAll("^6»^7 " + l.PlayerName + " ^7Added as ^6Supporter");
MsgAll("^6»^7 By: " + Conn.PlayerName);
l.IsSupporter = 1;
}
}
}
}
else
{
InSim.Send_MTC_MessageToConnection("^7Invalid command or Not autorized!", MSO.UCID, 0);
}

}

When it did not work i just copy all from Moderator rank, because Mod works and its sam thing but still nothing.

It is in NewConn section and in FileInfo same like Moderator rank but still same problem.
No idea what i do wrong when there is no difference between ranks.

Other:
public byte IsSupporter;

NewCruiser:
Sr.WriteLine("Support = 0");

SaveUser:
Sw.WriteLine("Support = " + C.IsSupporter);

SaveOffline
Sw.WriteLine("Support = " + IsSupporter);

public static byte IsSupporter(string Username)
{
StreamReader Sr = new StreamReader(Database + "\\" + Username + ".txt");

string line = null;
while ((line = Sr.ReadLine()) != null)
{
if (line.Substring(0, 6) == "Support")
{
string[] Msg = line.Split('=');
Sr.Close();
return byte.Parse(Msg[1].Trim());
}
}
Sr.Close();
return 0;
}

Any ideas?
Last edited by heawy, .
heawy
S2 licensed
I can chage port via admin command?
InSim relay - another person added server.
heawy
S2 licensed
Hello!
I have a question, some person with who i end cooperation, added my server to InSim relay and now i cant do it again with my admin pass.
This person is not responding to my messages i think hes angry because he lose host...
What i can do?
heawy
S2 licensed
Oh god, easier than I thought.
Thanks Chriship, i didnt expected this from you




THANKS IT WORKS!
Last edited by heawy, .
FGED GREDG RDFGDR GSFDG