Author Topic: TextPulse - Update 2.4  (Read 11285 times)

Ok guys, in order to try and reduce the ridiculous number of updates, I'd like to have you all post your ideas. So far, I've got:
- variables and conditionals
- ability to use internet urls as images

any other ideas?

Code: (Wat) [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at WindowsFormsApplication1.MainWin.getcmd(String input)
   at WindowsFormsApplication1.MainWin.execute(String input)
   at WindowsFormsApplication1.MainWin.process(String input)
   at WindowsFormsApplication1.MainWin.textBox_input_KeyPress(Object sender, KeyPressEventArgs e)
   at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
TextPulse2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/owner/AppData/Local/Apps/2.0/MLEHAMXJ.68X/RAB5NB37.K13/text..tion_a00adf8e229ab058_0001.0000_5188d84dd793f731/TextPulse2.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Suggestion: Ability to make zones on the picture that are not visible, it will be in the picture, but they will link with a viable.

So like, instead of text commands, image zones that link like a command?

Also, when did it throw that exception, Alp?

So like, instead of text commands, image zones that link like a command?

Also, when did it throw that exception, Alp?
Just look at that and my story
Code: [Select]
(init)
[txt]You lie awake in your room. What will you do?[/txt]
[vis]Eat|Play|Sleep[/vis]
(/init)

(Eat)
[txt]Too tired.[txt]
[vis]Play|Sleep[vis]
(/Eat)

(Play)
[txt]To tired.[/txt]
[vis]Play|Sleep[vis]
(/Play)

(Sleep)
[txt]Good idea.[/txt]
[edl]5000[/edl] [exe]Wake up[/exe]

When does that crash occur? At what point in the story?

Because you are missing (/sleep) and a Wake Up entity.

EDIT: I'm pretty sure it's because of the missing (/sleep).
« Last Edit: July 13, 2010, 08:15:38 PM by cucumberdude »

When does that crash occur? At what point in the story?

Because you are missing (/sleep) and a Wake Up entity.

EDIT: I'm pretty sure it's because of the missing (/sleep).
Nope.avi
I added the init, it's named main.txt

And i added (/sleep)

hmm, send me the whole folder and I'll go into debug mode and see whats wrong

AHA found it

in your eat entity you put two [eat] tags, you forgot the /

:D


EDIT: Really nice update about to come out, includes a debug system that will check for basic syntax errors.
« Last Edit: July 13, 2010, 09:54:50 PM by cucumberdude »



odear fixing

EDIT: Fixed.

Also, was your problem solved, alp?

odear fixing

EDIT: Fixed.

Also, was your problem solved, alp?
I don't actually see the issue

Code: (Wat) [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at WindowsFormsApplication1.MainWin.getcmd(String input)
   at WindowsFormsApplication1.MainWin.execute(String input)
   at WindowsFormsApplication1.MainWin.process(String input)
   at WindowsFormsApplication1.MainWin.textBox_input_KeyPress(Object sender, KeyPressEventArgs e)
   at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
TextPulse2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/owner/AppData/Local/Apps/2.0/MLEHAMXJ.68X/RAB5NB37.K13/text..tion_a00adf8e229ab058_0001.0000_5188d84dd793f731/TextPulse2.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


:3?

EDIT: Anyone feel up to making a detective type deal for this? That would be awesome! :D
« Last Edit: July 13, 2010, 11:00:08 PM by cucumberdude »

EDIT: Anyone feel up to making a detective type deal for this? That would be awesome! :D
I may just do this.