931
Modification Help / Re: guiMessageVectorCtrl crashes when I try to use it
« on: February 05, 2015, 12:34:27 PM »Your fix: You need to put the GuiMessageVectorCtrl in a GuiScrollCtrl.Thank you soooo much <3 :D.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Your fix: You need to put the GuiMessageVectorCtrl in a GuiScrollCtrl.Thank you soooo much <3 :D.
I've never seen someone use connectifyChatbox.variable = $connectifyChatMessage; So I'm unsure if that works. It probably won't help, but you could try swapping that with:Code: [Select]connectifyChatbox.getValue();to get the text.
I've never even heard of this control. Are you certain that it actually works?It's used in RTB, and I found 2 coding help topics on the forums with it. It seems obscure, but in those topics and RTB it works. I don't know what I'm doing something wrong.
//--- OBJECT WRITE BEGIN ---
new GuiControl(connectifyGui) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
new GuiWindowCtrl(connectifyGuiWindow) {
profile = "GuiWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "135 134";
extent = "384 256";
minExtent = "64 64";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Connectify - Alpha";
maxLength = "255";
resizeWidth = "0";
resizeHeight = "0";
canMove = "1";
canClose = "1";
canMinimize = "0";
canMaximize = "0";
minSize = "64 64";
closeCommand = "Canvas.popDialog(connectifyGui);";
new GuiTextEditCtrl(connectifyChatbox) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "14 223";
extent = "280 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
variable = "$connectifyChatMessage";
maxLength = "64";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiBitmapButtonCtrl(connectifySendButton) {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "300 217";
extent = "75 30";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "Connectify_MsgVector.pushBackLine($connectifyChatMessage,0);connectifyChatbox.setValue(\"\");";
text = "Send";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 255 255";
};
new GuiMessageVectorCtrl(connectifyMessageVectorControl) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "16 36";
extent = "350 170";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
lineSpacing = "0";
lineContinuedIndex = "10";
matchColor = "0 0 255 255";
maxColorIndex = "9";
};
};
};
//--- OBJECT WRITE END ---function connectifyGui::onWake(%this)
{
if(!isObject(Connectify_MsgVector))
new MessageVector(Connectify_MsgVector);
connectifyMessageVectorControl.attach(Connectify_MsgVector);
}Connectify_MsgVector.pushBackLine($connectifyChatMessage,0);crashes as wellwhy does everybody gotta mention minecraft around me -_-I don't know, maybe it's because your name is minecraft???
You're thinking with portals and I'm thinking that this is a great segment :3
Now you're thinking with portals
the forums requirement file size for avatars are ridiculously low. i wouldnt recommend anything with more than a couple of framesMy avatar has 30 frames though..?
this is good rightYep.
Remember to keep it generally tower-themed.

Made another one, hopefully no mistakes?Looks good.
