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.

FPSC Classic Scripts / FPSC Script Debugger (Free)

Author
Message
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 3rd Jan 2009 13:39 Edited at: 5th Jan 2009 15:51
I've built a script debugger program that goes through your scripts and checks them for errors, spelling mistakes and more...

Progress:
5th Jan 09: Added Player Movement System and new help system.
4th Jan 09: Added Variable Simulator and line numbers.
3rd Jan 09: Program released, it currently searches for missing colons, commas and checks the code structure. It also checks each command and checks to make sure it is not mis-spelt.

Future Updates:
1. Adding script simulation so the script is actually executed and the user can see what each line does in 'real time' mode. (20% Completed.)
2. Adding script value checking to make sure the user doesn't set the wrong type of variable to the wrong command. (80% Completed)

I've had good feedback so I'm continuing with the program.

Screenshot attached to post.

Download URL:
http://www.rkwebcreations.co.uk/FPSC%20Script%20Debugger.zip

FPSC Script Debugger (Free)
http://forum.thegamecreators.com/?m=forum_view&t=142689&b=23

Attachments

Login to view attachments
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 3rd Jan 2009 18:45
I downloaded it and think that it will be a great addition to fpi scripting. Especially for all new scriptwriters.



Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 4th Jan 2009 03:45
Rretty nice. I'm interested how you are going to have it run in realtime without running FPSC(or are you going to use FPSC to run the scripts?)

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 4th Jan 2009 11:30
My program will run the code and check each condition and action, then it will act upon each one and do the appropriate thing on a 2d fake 'map'.
I'm currently working on a variable simulator and player moveement simulator that I can hopefully release later today
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 4th Jan 2009 16:37
Perhaps line numbers for each line, that way if it's a large script and there's an error on, say line 43, you can see immediately without having to count the lines.

Looks great.

knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 4th Jan 2009 17:49
I've now added the variable simulator and line numebrs to the program.

This is how the lines are numbered:
No text: Blank
Descriptions and other text: Black
Code: Dark Red

Variable Simulator:
Once you've loaded some code you can go through it line-by-line and see which variables are set and which variables aren't, what each variables value is and by how much each variable is changed.

You get to choose which lines are processed and you can change your code anytime.

The variables are split into global and local for easier viewing.

Screenshot of variable simulator attached.

Please Note: If I have missed any commands or you have some other problem then please contact me and tell me about them, and if you have any ideas for this program then please tell me

FPSC Script Debugger (Free)
http://forum.thegamecreators.com/?m=forum_view&t=142689&b=23

Attachments

Login to view attachments
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 5th Jan 2009 15:46
Here's the update with the Player Movement Simulator and a new help system.

The Player Movement Simulator lets you see what your player will do, if he'll collide with walls or objects and if he does what you want him to do.

There's more info in the new help system ('Help' button in top-right of program.)

Screenshot of Player Movement Simulator attached.

If you've got any ideas please tell me and also how long does it take to not have to have your posts checked before they appear?

Same download link as before:
http://www.rkwebcreations.co.uk/FPSC%20Script%20Debugger.zip

FPSC Script Debugger (Free)
http://forum.thegamecreators.com/?m=forum_view&t=142689&b=23

Attachments

Login to view attachments
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 15th Jan 2009 04:33
Downloaded and enjoying it.

You should try to adapt the player simulator to entities such as non playable characters.


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 15th Jan 2009 15:54 Edited at: 15th Jan 2009 15:55
nice mate


Red Eye - The Game: Work In Progress - W.I.P.

Login to post a reply

Server time is: 2024-11-24 18:44:40
Your offset time is: 2024-11-24 18:44:40