Jump to content

the control+v game


Caesar15

Recommended Posts

  • 3 weeks later...
  • 2 weeks later...

who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone who banned someone

Link to comment
Share on other sites

Public Sub StartIridium()

Console.WriteLine("Iridium Server v2 by ROFLCopter64bit")

Console.WriteLine("Finding Persistence file....")

For Each f As String In IO.Directory.GetFiles(My.Computer.FileSystem.CurrentDirectory)

If f.Contains(".sfs") Then

PersistenceFile = f

Exit For

End If

Next

If PersistenceFile = "" Then

MsgBox("No file was found in server directory with .sfs ending!" & vbCrLf.ToString & "Please place a .sfs file in the same directory as the server!", MsgBoxStyle.Critical, "Error")

End

End If

Console.WriteLine("File found. Using " & """" & PersistenceFile & """")

Console.WriteLine("Initializing Chat TCP listener on port " & ChatPort.ToString & "...")

ChatServer = New TCPServer(ChatPort)

Console.WriteLine("TCP Chat Listener started.")

Console.WriteLine("Initializing File TCP listener on port " & FilePort.ToString & "...")

FileServer = New TCPServer(FilePort)

Console.WriteLine("TCP File Listener started.")

Do

Dim c As String() = Console.ReadLine.Split("|"c)

Select Case c(0)

Case "exit" : End

Case "sendall" : ChatServer.SendToAll("message|Server - " & c(1))

End Select

Loop

End Sub

Link to comment
Share on other sites

  • 3 weeks later...

if(Select == Profile[0])

{

cout << "Welcome " << Profile[0] << "!";

}

else

{

if(Select == Profile[1])

{

cout << "Welcome " << Profile[1] << "!";

}

else

{

if(Select == Profile[2])

{

cout << "Welcome " << Profile[2] << "!";

}

}

}

Sleep(300);

}

}

int main() {

Array();

// Profile();

cout << Profile[0];

return 0;

}

I'm trying to pass an array through functions, anyone want to help? (C++)

Link to comment
Share on other sites

  • 3 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...