aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-04-02 20:17:19 -0400
committerlempamo <[email protected]>2017-04-02 20:17:19 -0400
commit3afc5f0362cba789e1d4049401566f711dd08065 (patch)
tree2d00eef6ea1d2266afd71946a8391dc0a1f108c2
parentdb3a41715a3d49c275fd924f1d590de2956d972f (diff)
downloadhistacom2-3afc5f0362cba789e1d4049401566f711dd08065.tar.gz
histacom2-3afc5f0362cba789e1d4049401566f711dd08065.tar.bz2
histacom2-3afc5f0362cba789e1d4049401566f711dd08065.zip
fixed textbox not auto scrolling to bottom
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs10
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx220
2 files changed, 220 insertions, 10 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
index de03b93..85ac07c 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
@@ -48,7 +48,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
TitleScreen.username = txtscreenname.Text;
login.Hide();
listBox1.Items.Add(TitleScreen.username);
- history.Text = "System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine;
+ history.AppendText("System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine);
join.Play();
Chat.Start();
}
@@ -57,7 +57,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
if (!guessing)
{
- history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine;
+ history.AppendText(wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine);
switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
{
case "addsh":
@@ -96,11 +96,11 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
if (correctname)
{
- history.Text += "SkyHigh: yay you got it right!" + Environment.NewLine;
+ history.AppendText("SkyHigh: yay you got it right!" + Environment.NewLine);
}
else
{
- history.Text += "SkyHigh: sorry, my name is actually bill" + Environment.NewLine;
+ history.AppendText("SkyHigh: sorry, my name is actually bill" + Environment.NewLine);
}
guessing = false;
receive.Play();
@@ -111,7 +111,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void Button2_Click(object sender, EventArgs e)
{
- if (typechat.Text != "") history.Text += TitleScreen.username + ": " + typechat.Text + Environment.NewLine;
+ if (typechat.Text != "") history.AppendText(TitleScreen.username + ": " + typechat.Text + Environment.NewLine);
typechat.Text = "";
send.Play();
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
index d20d707..30ebbbf 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
@@ -182,21 +182,21 @@
},
{
"user": "SkyHigh",
- "delay": 6000,
+ "delay": 3000,
"message": "hey rain",
"special": null,
"userchat": true
},
{
"user": "SkyHigh",
- "delay": 4000,
+ "delay": 3000,
"message": "ive sort of been waiting",
"special": null,
"userchat": true
},
{
"user": "rain49",
- "delay": 5000,
+ "delay": 4000,
"message": "sorry man",
"special": null,
"userchat": true
@@ -224,7 +224,7 @@
},
{
"user": "SkyHigh",
- "delay": 3000,
+ "delay": 2500,
"message": "oh, he's someone who just came on. doesnt seem to talk much",
"special": null,
"userchat": true
@@ -273,10 +273,220 @@
},
{
"user": "rain49",
- "delay": 2500,
+ "delay": 5000,
"message": "ok then",
"special": null,
"userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 5500,
+ "message": "so @user, we are going to break the chat rules here..",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 3000,
+ "message": "so if you dont wanna get banned i recommend you just logout now",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 2500,
+ "message": "let's give him some time",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 9000,
+ "message": "to leave the chat",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 3500,
+ "message": "...",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 3000,
+ "message": "i guess he wants to risk it",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 3000,
+ "message": "tell him what we will do",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 2000,
+ "message": "you haven't said that yet",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 6000,
+ "message": "right, right",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 4000,
+ "message": "so there's this really cool program on the 12padams website called skindows95",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 5500,
+ "message": "normally youd have to pay for it",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 4000,
+ "message": "Yeah... it's really hard to even get to the buy button - stupid",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 6500,
+ "message": "But.. i have a copy i can send to you and skyhigh",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 2000,
+ "message": "Yeah... kind of not pirating because he managed to steal a copy from someone else who bought it",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 1500,
+ "message": "So hey...",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 1500,
+ "message": "You haven't left",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 2500,
+ "message": "Send it now...",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 1500,
+ "message": "I really want to skin my system",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 2500,
+ "message": "sending!",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 6000,
+ "message": "thx man",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "System",
+ "delay": 3000,
+ "message": "File \"skin95setup.exe\" has been uploaded.",
+ "special": "addfile",
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 4000,
+ "message": "yay!",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 5000,
+ "message": "im downloading it now",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 3500,
+ "message": "and @user, why dont you go and download it too?",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 4000,
+ "message": "i think he already is ;)",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 3000,
+ "message": "OH THIS IS SO COOL",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 4000,
+ "message": "lemme send a screenshot",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "System",
+ "delay": 2000,
+ "message": "12padams has joined the chat.",
+ "special": "addpadams",
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 500,
+ "message": "CRAP",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 500,
+ "message": "ah NO WE ARE DED",
+ "special": null,
+ "userchat": true
}
]
}</value>