Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/editmap command
#1
I know this is pretty simple, but people coming from elysium may find it really annoying to type "/editmap" and have nothing happen, and then realize that they have to type "/mapeditor" also it is really counter-intuitive to have every other editor be "/editX" expect for the map.


Ok anyway.
in modGameLogic, in the HandleKeypresses sub, find
Code:
' Map Editor
            If LCase$(Mid$(MyText, 1, 10)) = "/mapeditor" Then
                frmMirage.Width = 14175
                Call SendRequestEditMap
                MyText = vbNullString
                frmMirage.txtMyChat.Text = vbNullString
                Exit Sub
            End If

under it put

Code:
' Map Editor Alternative
            If LCase$(Mid$(MyText, 1, 8)) = "/editmap" Then
                frmMirage.Width = 14175
                Call SendRequestEditMap
                MyText = vbNullString
                frmMirage.txtMyChat.Text = vbNullString
                Exit Sub
            End If
Reply
#2
OMG thx soo much! You saved my life :wink:
Reply
#3
Your welcome Wink
Reply
#4
Who said Americans can't detect sarcasm? Wink
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#5
Code:
' Map Editor
            If LCase$(Mid$(MyText, 1, 10)) = "/mapeditor" or LCase$(Mid$(MyText, 1, 8)) = "/editmap" Then
                frmMirage.Width = 14175
                Call SendRequestEditMap
                MyText = vbNullString
                frmMirage.txtMyChat.Text = vbNullString
                Exit Sub
            End If
Reply
#6
Thank you for that great optimization! I am sure it will help people with slow computers!
Reply
#7
Actually, speed-wise it does fuck all. It's still doing two checks.

Just saves on space.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#8
And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused.
Reply
#9
Labmonkey Wrote:And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused.

Keep on trying, I'm sure you'll learn how to properly utilize the amazing skills of sarcasm eventually.
Reply
#10
Labmonkey Wrote:And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused.

I know you were being sarcastic. From what you said though, I thought you were just exaggerating on the sense that it would increase speed by a small amount.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#11
I hate when this happens on the internet.... the sarcasm part, not the ... wait what parts weren't sarcastic???
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)