Cannot find the script/functions for joinServerDlg.gui

Scripting questions, discussions, etc
7 posts Page 1 of 1
Sir_Skurpsalot
Posts: 52
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Thu Apr 30, 2020 7:10 pm
Where is the script/functions that are used by joinServerDlg.gui?? I can't find them anywhere for some reason.
Sir_Skurpsalot
Posts: 52
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Thu Apr 30, 2020 10:12 pm
Found them. Opened up the gui file itself in a text editor and found the functions hidden at the bottom of the gui file itself... could they really not be bothered to put them in a cs file?!?? Only wasted like 4 hours on this today
Duion
Posts: 1602
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Sun May 03, 2020 12:08 am
Yes, sometimes it is done like this, I spend time and separated all of them in my game, but a few instances were left, where the GUI would only work properly when the functions were written in the same file for some unknown reason.
Jason Campbell
Posts: 358
Joined: Fri Feb 13, 2015 2:51 am
 
by Jason Campbell » Mon May 04, 2020 1:24 am
You can use a text editor that allows a Find in Project search to cut down on the endless searching. I've been using one called Atom. Really helps a lot. I just open console.log then go to find in Project. Finds every instance.
Duion
Posts: 1602
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Mon May 04, 2020 1:30 am
@
User avatar
Jason Campbell

I did not realize some people do not know this. I for example use notepad++ and have it search all .cs and .gui files every time I need to find something, the first search takes a while but after it is just a matter of seconds to search every file, so you pretty much can find anything instantly.

Alternatively you can use Torsion for coding, it also finds things easily and helps you with Torquescript coding.
Sir_Skurpsalot
Posts: 52
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Tue May 05, 2020 1:00 pm
Yeah I use Jedit and can do mass search-in-files with that but didn't realize at the time I needed to be looking in .gui files also.... now I know
Duion
Posts: 1602
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Tue May 05, 2020 2:18 pm
In an emergency you could just search all files, will take a bit longer, but will make sure you get everything.
7 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests