Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / CodeSurge -- DarkBASIC Professional IDE

Author
Message
Spydude 777
17
Years of Service
User Offline
Joined: 9th Feb 2007
Location: \"my eyes are glued to the screen..
Posted: 20th May 2007 08:45
I like it, however im a nooby game programmer and would like some help. I havent found any good starter codes. I mean not where it gives you the half or all of the code at a time but explain what each command means. I would so like to learn and get as much help as i can.

Nooby Game Programmer = Death to him and computer

-Fear Me! I am the Dark Spy!
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 20th May 2007 23:23
Feature request:
When you hover the mouse over a function in the treeview, can you make it so that if there is a comment after the function declaration, it will show up in the yellow box which appears on mouse hover

DIGIROSS
17
Years of Service
User Offline
Joined: 15th Dec 2006
Location:
Posted: 23rd May 2007 18:47
This is a great editor, any word on the new update?

Mess with the best, die like the rest!
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd May 2007 19:22
Well, I thought I would have the update ready Sunday night, but it turns out that fixing the little "if" bug and context-sensitive help has turned into a nightmare debugging project. The DBP style of keywords can be hideously complex to parse, and so that's where I'm at right now. I've JUST about got it working perfectly now, but there are still a few minor niggles with it.

I'm going to give it my best shot to get an update out TONIGHT as I know you've been waiting a LONG time for an update. Thanks for your patience.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 23rd May 2007 20:00
Quote: "Feature request:
When you hover the mouse over a function in the treeview, can you make it so that if there is a comment after the function declaration, it will show up in the yellow box which appears on mouse hover"


Can you please also make the intellisense show the function's comments when typing a function call? That would help a LOT. It seems to only show the parameter names...

Thanks again for making the best editor ever.

Beyond this place there be dragons.
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 24th May 2007 09:02
I look forward to the update Hyrichter! Love Codesurge!

I have no signature...
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 24th May 2007 17:55 Edited at: 24th May 2007 22:27
THE UPDATE IS HERE!
Edit: Attachment deleted as it was corrupt. The proper file is a couple posts down.

Seriously, this took waaaay too long, I know, but here it is, and I've fixed lots of things and added a few more features. Here's the list of things I remembered doing:
Selecting a word now only selects the word, without commas, etc.
Fixed icon bug where starting a new project wouldn't clear the previously set icon, even though the project explorer showed it as cleared.
Improved the startup so you don't see so many forms flickering and being positioned. Still needs some perfection, but the Windows MDI system is a PITA to work with.
Added feature to adjust the order in which compilation occurs with the included files.
Finally fixed the bug where it would try to start minimized on certain occasions. This actually seems to be a slight bug with the form storage component I'm using, but it should be fixed now.
Fixed cursor bug -- it now properly writes cursor files to the project file.
Added a status bar and function parameters to it.
Function tips are now shown for ALL user functions in all included files, whether or not they're opened.
FINALLY!!! Fixed the problems with keyword parameters(I certainly hope so, at least...)
Fixed context sensitive help to work with keywords after "if", "while", etc.

I wanted to add a few more features you guys were asking for, but figured you may as well have the update that I have first. The next update should be out within a week or two(assuming all goes well.) In the meantime, enjoy this one and let me know how it works, especially on very large projects.

Cheers.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 24th May 2007 18:10 Edited at: 24th May 2007 22:25
Oops, that attachment didn't work in the last post. Somehow it got corrupted on it's path to the TGC server.

Edit: DON'T download this one. It won't let you properly save your projects. Obviously, I should get some sleep before releasing updates. Download the one in my post below.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 24th May 2007 18:21 Edited at: 24th May 2007 18:21
Very, very nice update Hyrichter!
This IDE just keeps getting better and better!

Cheers.

yaarj
18
Years of Service
User Offline
Joined: 3rd Jun 2006
Location:
Posted: 24th May 2007 20:09
I'm having errors with the latest version of this IDE.

When I open my saved projects I get:

"Access violation at address 0040534C in module 'Codesurge.exe'. Write of address 00000000."

When I try to save I get:

"I/O error 103." - and it doesn't save...

Have fun in whatever you do, no matter how sad it is.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 24th May 2007 21:27 Edited at: 24th May 2007 22:24
yaarj,
That's really weird. I tried it on a few projects on my computer, and one of them had the same problem you're talking about. I'll see if I can figure out what's doing it. Most projects didn't have any trouble, though. Thanks for letting me know.

Edit:
Found the problem. That was a very bad mistake of mine. I had a part of my code that didn't close a file once open, so it couldn't save after you started typing. This file should have everything fixed. Sorry for the problems, and I hope no one lost any code from it.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Attachments

Login to view attachments
Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 25th May 2007 00:39
Great! Codesurge just keeps getting better and better.

I've just begun coding a very large project (expecting it to be at least 10000 lines), I'll see how Codesurge handles its hugeness.

Beyond this place there be dragons.
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 25th May 2007 04:10
Quote: "Great! Codesurge just keeps getting better and better.

I've just begun coding a very large project (expecting it to be at least 10000 lines), I'll see how Codesurge handles its hugeness.
"


10.000 its not that huge...
cheers
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 25th May 2007 05:53
ive downloaded the last version (The one on your last post) and when i run it:
Access violation at address 00462173 in module 'codesurge.exe'

And if i try to open or save or close a project some error like the above one appears. also if i go to Editor Preferences, an error message pops yp , with this:
'Cannot assign a nil to a StringList'

So prery much i cant do anything with this version
Hope you can fix it soon...!!!!!!!!!!

PD: i also try the version on the first post, and it happened the same.

cheers
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 25th May 2007 07:47
@Fersis,
When did you download it? Was it before my last post? If so, you need to download it again, as that one had a few problems. Hopefully, the one I've posted now works for everyone.

This is the one you should download.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
yaarj
18
Years of Service
User Offline
Joined: 3rd Jun 2006
Location:
Posted: 25th May 2007 07:56
Thanks hyrichter, it works well now!

However, the "Access violation" error still pops out whenever I move things up in the compile order window. But the error is harmless, it's just annoying!

Codesurge rules!

Have fun in whatever you do, no matter how sad it is.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 25th May 2007 08:19
Could you please explain how you get an access violation moving things aroung in the project explorer? I can't get it to give me an error, and this is on a project with about 30 include files.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
yaarj
18
Years of Service
User Offline
Joined: 3rd Jun 2006
Location:
Posted: 25th May 2007 10:44 Edited at: 25th May 2007 10:45
An error pops up whenever I move any of my include files up a notch. The file still moves up a notch and the IDE gives me that "access violation" error. I don't think that is really an error because I don't see any errors! (it is just annoying because of the sound Windows play when an error occur.)

And also, I can only add up to two custom cursors.

Have fun in whatever you do, no matter how sad it is.
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 25th May 2007 17:28
hi hyrichter , i ve downloaded the CodeSurge from your last post , and it doesnt work , it happens the same that before.
Codesurge was working fine till the last update.

In case you need info (But if previous version worked the OS isnt the problem):
My OS is Windows XP : Home Edition SP2 , on Spanish Language.

Hope you can fix it for this weekend , im planning to code-a-lot

thanks for all man.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 25th May 2007 18:57
Wow, really strange. I'll look into it tonight and see what's going on then.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 25th May 2007 19:57 Edited at: 25th May 2007 20:02
Lol, you have to be careful hyrichter, that one was almost a megabyte!

edit:
I keep getting an access violation
I got one when codesurge started, and I got one when a tested save.
I get one when I try to close some of the open files
No code box shows up on startup, although the tab for it does, and it shows an access violation whenever I do anything to the non-existant code box

I'll have to go back to the previous version

The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 26th May 2007 01:19
@Diggsey:

Hmm... that's pretty odd. I'm using the new version right now, and I haven't had any problems with it yet. I can do all I did before without problems.

Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 26th May 2007 16:10
Quote: "10.000 its not that huge..."


Well, it's 3 times bigger than any program I've ever written, how big are your projects?

Beyond this place there be dragons.
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 26th May 2007 17:07
Quote: "
Well, it's 3 times bigger than any program I've ever written, how big are your projects?"


mhm, i remember made a game with 30.000 lines , but it was a full game with a lot of levels and level editor, i maded on Div2 Games Studio (On D.O.S :p)

Right now ,my DBPRO Project has 7.000 lines and its far far away to be finished ,maybe ths one , will reach 40.000 ,
7.000 lines and it does very little , just a soldier walking and firing....

cheers and good luck
BTW do you have and older version of CodeSurge ?
Cause the lastone doesnt work for me , and BlueIde on the Last Version has a very very slugish tipying.
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 26th May 2007 19:19
Found a strange yet annoying bug with the latest version. By scrolling sideways and trying to edit something, it goes really slow, pasting this while scrolled to the right on something too long to fit on one line takes about 5 seconds. If I do it not scrolled over it works fine.

Quote: ", val( quest( checkQuest, checkEvent, checkTrigger, 4 ).parameters )"



Hummanoid Typhoon
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 27th May 2007 18:17
i was trying to create a new project in codesurge and every time i tried to add a new source file it stuck it into the cursors section??

Would be nice if you could have a new project window like in the DBPro-IDE you know just something where you type the project name and it will make a folder in projects called that and save the project file plus a main *.dba

I don't know if this is comeing or in and i haven't seen it but the keyword files for the editor "C:\Program Files\Dark Basic Professional\Editor\Keywords" contain info that says what parameters a command takes so for example when you type input at the bottom it says "INPUT Print statments, Input Variable" that is a handy feature.

Saying that it's a very nice tool so far! I've migrated

Clever code is fast code

Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 30th May 2007 20:34
I believe that in the latest version that context sensitive help is broken on any keywords which contain a space. Such as 'Delete Object' or 'Set Object Diffuse' etc. Other than that, good work

Visit the Wip!
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 30th May 2007 21:29 Edited at: 30th May 2007 21:59
Also, when I hover my mouse over the toolbar (but not over a specific tool icon (say in the blank area to the right of the icons)) I get a popup help that says something like '$00D2BDB6', I figure that is probably the toolbar handle.

Visit the Wip!
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 30th May 2007 21:45
Hmm, obviously I need to do a bit more refining on this update. I was rather rushed to get it out. I'm going to take a bit of time over the weekend and see if I can make it more acceptable. I'm actually a little embarassed with this last update.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Vampiric
18
Years of Service
User Offline
Joined: 30th Oct 2006
Location:
Posted: 31st May 2007 14:48
Great update, intellisense actually works when you nest a function call inside a function call

e.g. position object 1,1,1,object position z(2)+20

Computer says n00bed
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 31st May 2007 19:29
Hyrichter:
You should release new versions as betas first, that way those who wanna help testing it can do so and those who don't want to install somthing that might be buggy doesn't have to worry.

[center]
Game development made simple!
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 31st May 2007 23:21
hi , does anyone have an older version of CodeSurge , i mean the one before of the lastone.
Sorry for my english , and thanks.
Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 1st Jun 2007 00:19
So, when will CodeSurge be version 1.0?

Beyond this place there be dragons.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 1st Jun 2007 03:13
@Fersis,
[url]http://forumfiles.thegamecreators.com/?i=1123386]This is the last update. Sorry about the newest one not working quite right for everyone.

Quote: "So, when will CodeSurge be version 1.0?"

Well, I've been telling myself for the past 8 months that the next update I do will bring it up to what I consider 1.0, but I'm such a perfectionist that I don't know that it'll ever actually make version 1.0.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Jun 2007 15:57 Edited at: 3rd Jun 2007 15:59
It appears that if the executable path in the project file starts with %temp, compilation will fail. This doesn't happen in the original IDE (ie. how DARE it happen in your editor ).

Besides that, I really like your editor.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
ThinkDigital
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 3rd Jun 2007 22:37
hyricher, I have these icons I made for codesurge if you're interested in using them. Not great, but they are separate code/project icons.

"Variables won't, constants aren't."

Attachments

Login to view attachments
Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 6th Jun 2007 23:26
Has anyone noticed that the keyword 'as' only gets highlighted sometimes?

You never really know a person until you look at their google autocomplete entries.
Kaneda
17
Years of Service
User Offline
Joined: 12th Dec 2006
Location:
Posted: 9th Jun 2007 15:55
I just got the latest version and I love it, but I've noticed a few issues with its stability. Its typing response time takes a little while. Also its been giving me 'invalid pointer address' errors after a while. I know its free, which is great, and I fully support that, I thought I could help you to make it even better.

Keep up the great work!

Signature?...Signature!!??
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 10th Jun 2007 20:36 Edited at: 10th Jun 2007 23:14
I'm using 0.9 b5. I've read that F1 has been fixed for keywords and wanted to know if any of these problems have been addressed:

* Save on compile saving after compile and not before
* I/O error if project .dba directory is incorrect. CodeSurge does not report a useful error or identify which file is the problem.
* Ctrl-Y, a common hotkey for redo in many windows applications, is volatile in CodeSurge. I would like an option to disable it.

http://3dfolio.com
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 10th Jun 2007 23:12
CTRL+Y is not a hot key for undo but for redo

[center]
Game development made simple!
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 10th Jun 2007 23:14
Quote: "CTRL+Y is not a hot key for undo but for redo "


You are correct. My mistake.

http://3dfolio.com
Mark Garrett
Reviewed AGK on Steam
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 11th Jun 2007 06:20
I've been using it for 2 hours now with a 2 file project. Very nice, and I changed the editor colors, and it went to the error line when I made errors and highlighted it in red on the second file.

I think I'll keep using it instead of the DBpro editor. I like it too when I can cascade my 2 files on the same window, I started doing that .

It's more fun to Code.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 11th Jun 2007 07:16
Quote: "CTRL+Y is not a hot key for undo but for redo"

Actually, you're both wrong. It's actually the hotkey for delete line. I think I'll just disable it for now. In a future version, I plan on letting you customize all your hotkeys to your heart's content.

I have it fixed now to speed up the issues with intellisense on large projects. I've also got printing support almost ready. You can now print out your source in full color if you like. I'll get it uploaded tomorrow morning after a few tweaks.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 11th Jun 2007 08:32
This update fixed every instability issue I'd been having with previous versions. It did reintroduce the slowness on a line that the bracket matching initially did. Working on GH if I start typing in the middle of a line or scrolling with left/right arrow keys, it slows WAY down.

But, it's still a good update, and I've continued using it since you posted it. Before, after I had a CS browser open for a day or two (usually if I had multiple browsers open) it would crash. I could still save and exit, all that would happen is the Project Manager and Code Explorer taskbars would be disabled. Not bad as far as crashes go

You know, I'd love function folding. I've resisted saying that before now, but I've got so damned many functions in GH that function folding would be amazing. What would really be awesome is if you could collapse every function at once, then open just the ones you wanted. And, it would be awesome is CS remembered which ones were opened and closed.

I definitely look forward to the next update!


Come see the WIP!
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 11th Jun 2007 17:19
hyrichter
Great ! im looking forward to te new release.
Cause the last one , it dosnt work for me (it crash as i open it)
keep the good job
Hummanoid Typhoon
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 12th Jun 2007 23:39 Edited at: 12th Jun 2007 23:41
thanks hyrichter context sensitive is working now

I found a bug ocasionally when I compile and run at a lower resolution than the current screen the window will think it's maximised but actually be stuck at the resolution of the game. You can fix it by hitting maximise twice it's just kinda annoying.

I have a few ideas for new features, some of these are probably not practical but hopefully useful.

Highlighting and context help for user functions like that in visual studio 2005
Setting to have all the functions and labels for the whole project in sidebar
Autocomplete
Toolbox to insert common commands/snippets customisable
Auto indentation of functions,if,for,while etc

thanks again looking forward to the next update!

hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 14th Jun 2007 14:57 Edited at: 14th Jun 2007 14:59
Here's the update. This speeds up the intellisense and gives you basic printing support. I wanted to get more done on the printing feature, but I've run out of time, and I know you guys have been waiting.

So, enjoy it, and thanks for your comments.

EDITb]Attachment may not work -- I got a CGI timeout error when uploading it, and right now, I'm suffering with dial-up until my wireless gets fixed. I'll have to try again later. Sorry guys.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 14th Jun 2007 17:34
Quote: "
EDIT:Attachment may not work -- I got a CGI timeout error when uploading it, and right now, I'm suffering with dial-up until my wireless gets fixed. I'll have to try again later. Sorry guys.
"




i need CodeSurge !!!
The last version didnt work for me..... i was waiting this update..
please upload it , today.

PD:Since CodeSurge stop working , ive tried BLUEIDE2 , SYNERGY IDE and SYNERGY EDITOR....
But the best is CodeSuge , really.
Thanks for all your work man!
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 15th Jun 2007 02:46 Edited at: 15th Jun 2007 02:47
Sorry for the delay everyone. This attachment should work properly.

Thanks again for all the feedback.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Attachments

Login to view attachments
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 15th Jun 2007 18:05
Quote: "
Sorry for the delay everyone. This attachment should work properly.

Thanks again for all the feedback.
"


When i open CodeSurge i got:
Access violation at address 00462EFB in module 'CodeSurge.exe'. Read of address 000001B4.

If i go to option i get:
Cant Assign a nil to a TStringList.

If i open a proyect:
Access violation at address 005661AF in module 'CodeSurge.exe'. Read of address 00000368.

NOW, if i put the option to view the Code explorer i CAN open the proyect. BUT with no colors on the reserved words.

If its any help to you , i tell you that im using DBPRO trial and the path of his is :
C:\Archivos de programa\The Game Creators\Dark Basic Professional Trial

Im using a Spanish Windows, C:\Archivos de programa its equal to c:\Program files

Hope that this help you , i need Codesurge!!! on the meanwhile i will use an old version of CodeSur wich woks fine.

cheers and thanks a lot!

Login to post a reply

Server time is: 2024-11-24 04:10:42
Your offset time is: 2024-11-24 04:10:42