[XP] Blizz-ABS

Started by Blizzard, January 09, 2008, 08:21:56 am

Previous topic - Next topic

Blizzard

@TLarch: Yes, I know of your bug and it has been fixed in v1.99. Here's a hotfix for now until v1.99 comes out. Find the line that says:

return true if [0, 7].include?($data_skills[act[1]].scope)


and change it to:

return true if act[1] > 0 && [0, 7].include?($data_skills[act[1]].scope)


Let me guess, you have the last skill in your database with either scope "None" or "User", right? xD Aqua had the same problem. She sent me her game and I was able to find the cause of the problem that way. It was one of the nastier bugs I encountered. Ironically the fix is trivial.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mojobo1

July 27, 2008, 11:31:47 am #541 Last Edit: July 27, 2008, 12:04:07 pm by mojobo1
Yeah, I'm using 1.92 Config. (the one in red at the top.)
I'm going to re-install the config program, see if that helps. But again, I'm going to be gone most of today...:<_<:

- :ninja: The Dark Knight was sweet. :ninja:-

Edit: Reinstalling did not work.
I wont be on for a while.

TLarch

Blizz, you are the man  8)

The line of code worked, and you are right about the skills.  When the enemies worked, I had a max of 1 skill, which I was using.  When I needed another skill, I set the max to 30, not using 28 of them, so you are right on.

I wish I could do something for you in return, but my skills are not very good.  Thanks again!

@mojobo1 - Indeed, Dark Knight was awesome.

Blizzard

Does anybody else have that problem that mojobo has? Does that error happen when you load a .cfg file or with a fresh configuration? It's possible that your Animations.rxdata file isn't read properly. Have you tried the "Reload Data" option?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mojobo1

Well, I don't know. Sorry, did I say that the message comes up the second I double click the ABS-config icon? I have to click continue just to get it open. And I haven't been able to load any files. I *can* load sound files, but haven't yet. I don't see any way to load any image files. I've been trying to though. Where is the reload data option? I'm gonna go look, so I'll probably find it by myself.
P.S., I'm back.

Blizzard

Menu on top; Tools -> Reload Data
If you're getting an error message when your run the app, then it's obvious that something is wrong. Let me guess, it tells you that it couldn't find Animations.rxdata. -_-
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mojobo1

July 27, 2008, 08:38:51 pm #546 Last Edit: July 27, 2008, 08:49:35 pm by mojobo1
Em, actually, I'm getting more than one error message. I guess I always did, but I didn't notice. They're each a bit different. Should I post a picture (+ details) of each message?

If you wanted, I have registered Hypercam.. I could take a 2-3 minute long video, opening it, so you can see the message, then show you each thing that gets an error. I could upload it to youtube.. But the quality isn't that great, even with registered hypercam.

Or I could just screenshot them all.


Edit: Ah, almost forgot.... I found the reload data thing (but it says reload game data, same thing, right?)
I get a error message... I can't "open" or "save" anything either, just noticed that. If I try to open its the same message, but instead of not finding animations.rxdata, it says: Object reference not set to an instance of an object.
Does that just mean I haven't finished configuring the script? Because the message looks like the others, just says something different.


Edit again:

The message when I open the app:

(This one says .NET framework, is that the problem?)

When I click on details (I don't know if the details are the same as the other error message's details or not):

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\Compaq_Owner\Desktop\Data\Actors.rxdata'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.File.Open(String path, FileMode mode)
   at BlizzABS.Forms.WinConfig.reloadData()
   at BlizzABS.Forms.WinConfig.setupDefaultConfiguration()
   at BlizzABS.Forms.WinConfig.completeInit()
   at BlizzABS.Forms.WinConfig.Config_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Blizz-ABS Config
    Assembly Version: 1.9.2.0
    Win32 Version: 1.9.2.0
    CodeBase: file:///C:/Documents%20and%20Settings/Compaq_Owner/Desktop/Blizz-ABS%20Config.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.


Pic of the other error message (the one I posted before... In case you want to compare them):



Should I try to download a earlier version, and see if that works?

Blizzard

That problem with the object reference is because something is wrong with you game data. How is it possible that it can't open your files? Did you put the app in the same folder as your game?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mojobo1

Ok, well, first of all... I didn't know I'm supposed to open my game data to configure it, and I haven't. So how can there be a problem with my game data, if I haven't even opened it in the config? (I think I'm understanding correctly?)
No, the script+config are on my desktop. My game data is in like, Documents>something>RPG Maker XP.
I can't even start to open anything. I click the "open" option (in the menu on top), and the message comes up. So I can't even get the window open, to choose a file.

Aqua

The config app is supposed to go in the same folder as your project.

mojobo1

Ah... That... Might help...
Where does it say that? Because I don't remember reading that... Hehe.
Anyways, should I just copy+paste the config file into my game folder, or should I re-download the whole thing into the folder?

I don't usually say it, because I hate the word, but... Lol.

Thanks for the help.. I'll go do that now.

Aqua

I'm pretty sure you can just copy and paste it without problems.

mojobo1

Yeah, I just did.. It works perfectly.
Oh my god, I can't believe that. Seriusly, where does it tell you to put it with your project? is that just something everyone should now, and I'm just one of a million that doesn't, or did I just miss it?  :^_^':

Anyways, thanks Blizzard, it works just fine now.  :roll:

Blizzard

July 27, 2008, 09:32:52 pm #553 Last Edit: July 27, 2008, 09:34:36 pm by Blizzard
Blizz-ABS Config is supposed to give an error message and notify that it is supposed to be in the game project's folder. Since I restructured the application in v1.9, something went wrong and it doesn't do that now. I have fixed that problem and put up v1.93. You can redownload it, but you don't have to. Except for that error message fix nothing is different. You should have read the error message more closely, maybe you would have noticed that it's trying to open OWNPATH\Data\*.rxdata. :P
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Aqua

July 27, 2008, 09:33:36 pm #554 Last Edit: July 27, 2008, 09:34:20 pm by Aqua
Straight from the Config Doc: ShowHide
Quote from: From the Configuration Document
1.1. What is Blizz-ABS Config?
Blizz-ABS Config makes configuration of Blizz-ABS easier than ever. It is a separate
application that allows you to configure and set up Blizz-ABS quickly and convenient. After
you have finished configuring Blizz-ABS you can let the application generate an equivalent
module BlizzABS script which you only need to copy-paste into Part 1 of Blizz-ABS
instead of the default configuration. The application allows you to save and load different
configurations as well, so you can quickly switch between two or more completely different
game setups. You SHOULD NOT include the "Blizz-ABS Config.exe" and the
configuration files with your game when you release it. The application needs to be put
into the folder where your game is located. It will access following files in order to display
data:
- Actors.rxdata
- Weapons.rxdata
- Skills.rxdata
- Items.rxdata
- Enemies.rxdata
- MapInfo.rxdata
- Animations.rxdata
- States.rxdata
The application is able to read the Marshal format and restore some of the necessary data
for display. The files are never being modified, created or deleted, they are only read. Blizz-
ABS configurations files are saved in .cfg format. Opening a damaged, corrupted .cfg file or
a .cfg file in the wrong format can damage the current configuration or even crash the
application. After you are done with your configuration, you can let the application generate
a configuration script. Keep in mind that .cfg files only serve for saving and loading
various configurations, you MUST generate a script and paste it into the script editor
in order to apply it on Blizz-ABS.


The application needs to be put
into the folder where your game is located.

Blizzard

That, too, yeah. <_<;
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mojobo1

Ah, thanks. Haha, it works so awesomely now.

Sin86

Hey, been awhile since I found an error. I found this error in script 3.

"Script 'blizz 3' line 3658 NoMethodError Occurred

undefined `color' for nil:NilClass"

It happens if you were to set an enemy on a tile and the enemy requires a switch to be activated in order to appear. Here is where the error comes in, it happens if you use a magic skill where you select the target.

Blizzard

Does it happen with v1.98 as well?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sin86

July 27, 2008, 10:36:52 pm #559 Last Edit: July 27, 2008, 10:52:25 pm by Sin86
Yep, thats the one I'm using. If lets say you have an enemy or several enemies that are not activated by switch and the other one is switch activated and the switch is not yet activated, the error will appear before the target select circle does.