Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-23-2008, 11:10 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
GScript2 Syntax Highlighting for Notepad++

Well, since Stefan said that ScriptedRC will be used in the future, and I dont want to use that for scripting, I thought I would go and do the GScript2 syntax highlighting for Notepad++. Its basically Notepad with syntax highlighting and more cool features, totally open source.
You can get it here.
Go download it if you dont have it, and unpack it. Please choose the zipped version, and not the installer, since some tests showed me that it wont create the custom languages file after installing with the installer, for some reason.
After you are done, download the attachment of this post, and unpack its contents into the folder where Notepad++ is located. Then, start up Notepad++ (or restart if it was already running), open a file of your choice, containing any GS2 code. Then click the "Language" tab, and if everything went right, there should be "GScript2" at the bottom. Select it.
This was the closest I could get with Notepad++. There is probably also still things that arent highlighted when they should be. Please post things like that here, so I can add it.
A nice feature is also the auto detection of the language. If you save your code with a ".gs2" extension, Notepad++ will automatically select GScript2 when its opened.

Enjoy!

Note: The link to the website of Notepad++ was approved by Moonie.
Attached Files
File Type: zip gscript2_npp_syntax.zip (824 Bytes, 371 views)

Last edited by Crow; 02-24-2008 at 01:29 AM..
Reply With Quote
  #2  
Old 02-23-2008, 11:16 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by Crow View Post
Well, since Stefan said that ScriptedRC will be used in the future, and I dont want to use that for scripting, I thought I would go and do the GScript2 syntax highlighting for Notepad++. Its basically Notepad with syntax highlighting and more cool features, totally open source.
You can get it here.
Go download it if you dont have it, and unpack it. Please choose the zipped version, and not the installer, since some tests showed me that it wont create the custom languages file after installing with the installer, for some reason.
After you are done, download the attachment of this post, and unpack its contents into the folder where Notepad++ is located. Then, start up Notepad++ (or restart if it was already running), open a file of your choice, containing any GS2 code. Then click the "Language" tab, and if everything went right, there should be "GScript2" at the bottom. Select it.
This was the closest I could get with Notepad++. There is probably also still things that arent highlighted when they should be. Please post things like that here, so I can add it.
A nice feature is also the auto detection of the language. If you save your code with a ".gs2" extension, Notepad++ will automatically select GScript2 when its opened.

Enjoy!

Note: The link to the website of Notepad++ was approved by Moonie.
Now how about that CVS/SVN thing....
Reply With Quote
  #3  
Old 02-23-2008, 11:46 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I trust Stefan will make the external GuiMLTextEditCtrl efficient enough for scripting.
__________________
Reply With Quote
  #4  
Old 02-24-2008, 12:08 AM
Programmer Programmer is offline
Coder
Programmer's Avatar
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
Programmer has a spectacular aura aboutProgrammer has a spectacular aura about
Send a message via AIM to Programmer Send a message via MSN to Programmer Send a message via Yahoo to Programmer
Made one for jEdit as well.


http://www.jedit.org

-
Unzip the file and read readme.txt for more info.
Attached Files
File Type: zip gscript.zip (1.7 KB, 176 views)
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
Reply With Quote
  #5  
Old 02-24-2008, 01:26 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Novo View Post
Now how about that CVS/SVN thing....
I have no idea what you are talking about, sorry.


Quote:
Originally Posted by Inverness View Post
I trust Stefan will make the external GuiMLTextEditCtrl efficient enough for scripting.
Well, I guess/hope this also has some other use.
Reply With Quote
  #6  
Old 02-24-2008, 01:35 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
We also still have plans to connect Graal to Eclipse for easier script editing and eventually debugging, but this can take some time.
Reply With Quote
  #7  
Old 02-24-2008, 01:55 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
We also still have plans to connect Graal to Eclipse for easier script editing and eventually debugging, but this can take some time.
Nice :O
__________________
Reply With Quote
  #8  
Old 02-24-2008, 02:11 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
You know, if we just stuck with external RC, would there really be a need to fuse it with Eclipse, etc?


Still, I see how this could work if we added an FTP or something for playerworlds.
__________________
Reply With Quote
  #9  
Old 02-24-2008, 09:56 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
so you're the one that messaged me yesterday, post that URL i gave you.
__________________
Reply With Quote
  #10  
Old 02-24-2008, 11:20 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by xAndrewx View Post
so you're the one that messaged me yesterday, post that URL i gave you.
I dont have that anymore, and would need to get it approved anyway. My MSN history isnt saved, and I just needed your help so I could finish the syntax highlighting for N++ ;D
Reply With Quote
  #11  
Old 02-24-2008, 03:20 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Nice. Notepad++ <3
Reply With Quote
  #12  
Old 08-02-2010, 12:25 AM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
bump, cus its a great thread for offline scripting.
also,
Quote:
Originally Posted by Stefan View Post
We also still have plans to connect Graal to Eclipse for easier script editing and eventually debugging, but this can take some time.
is this gonna happen?


and, nice work to both of you (Again?).
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #13  
Old 08-02-2010, 12:54 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
My thread, bumped? Thanks, I guess.
Reply With Quote
  #14  
Old 08-02-2010, 01:18 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by Crow View Post
Note: The link to the website of Notepad++ was approved by Moonie.
Wuss.
Reply With Quote
  #15  
Old 08-02-2010, 01:41 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Nice
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.