Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - khkramer

21
It works perfectly fine with windows 7.
I use windows 7 64-bit myself.
I am not even using compatibility mode.
22
Sometimes I would get a flash of the screen after logging in but then it crashes again :(
The log file is not much of a help either:
[atres] initializing atres
[atresttf] initializing atresttf
[xal] initializing XAL
[xal] initializing DirectSound
[xal] audio system created: DirectSound
[xal]

starting audio update thread
[zer0] initializing Zer0 Division Engine
[atres]

registering font resource 'Arial'


23
Fixed some bugs that made my game crash and now I get this o.0 :


Note: The login/server selection works fine, this happens after I login.
24
RMXP Script Database / Re: [XP] RMX-OS
August 03, 2012, 08:34:36 am
Tried it, but it was incompatible with too many scripts.
Converting some strings to integers by adding .to_i did the trick.
However the next error has nothing to do with RMX-OS I think so should I pm it to you? (or post in an ARC thread)
25
RMXP Script Database / Re: [XP] RMX-OS
August 02, 2012, 05:07:07 pm
Mmmmkay, I'll try to give a shot at fixing it tommorow.
26
RMXP Script Database / Re: [XP] RMX-OS
August 02, 2012, 02:51:57 pm
I think you mean the compiler for the PBS files (the text files you were reffering too)
I already tried recompiling with that.
http://slideshow.rubyforge.org/ruby19.html#13
^ Could this be the explanation for the "Cannot convert fixnum to string" errors?
27
RMXP Script Database / Re: [XP] RMX-OS
August 02, 2012, 01:02:46 pm
"String"
28
RMXP Script Database / Re: [XP] RMX-OS
August 02, 2012, 12:12:27 pm
The variable growth is in fact the growthrate variable, which it retrieves from the file dexdata.dat
Only I have no clue how to open this kind of .dat file..
29
RMXP Script Database / Re: [XP] RMX-OS
August 01, 2012, 04:50:51 pm
I looked it up, but it doesn't save the growth variable in the database.
30
RMXP Script Database / Re: [XP] RMX-OS
August 01, 2012, 04:02:42 pm

    CREATION_DATA[PokeBattle_Trainer] = '\'\',\'\''
    CREATION_DATA[PokeBattle_Pokemon] = '1,1'
    CREATION_DATA[PokemonMail] = '\'\',\'\',\'\''
    CREATION_DATA[PokemonBox] = '\'\''
    CREATION_DATA[PBMove] = '1'
31
RMXP Script Database / Re: [XP] RMX-OS
August 01, 2012, 11:52:11 am
Thanks for the fix, and I just found out the crash was not occuring because of RMX-OS but because of the Pokémon scripts.
I guess comparables have changed between 1.8 and 1.9 too.

EDIT:

Example:

It crashes with this:
# Gets the number of Exp Points needed to reach the given
# level with the given growth rate.
# growth -- Growth rate.
 def PBExperience.pbGetStartExperience(level,growth)
   if growth>=6 || growth<0
     return ArgumentError.new("The growth rate is invalid.")
   end
   if level.to_i<0
     return ArgumentError.new("The level is invalid.")
   end
   level=MAXLEVEL if level>MAXLEVEL
   return pbGetExpInternal(level,growth)
 end


But works if I change it to this:
# Gets the number of Exp Points needed to reach the given
# level with the given growth rate.
# growth -- Growth rate.
 def PBExperience.pbGetStartExperience(level,growth)
   if growth.to_i>=6 || growth.to_i<0
     return ArgumentError.new("The growth rate is invalid.")
   end
   if level.to_i<0
     return ArgumentError.new("The level is invalid.")
   end
   level=MAXLEVEL if level>MAXLEVEL
   return pbGetExpInternal(level,growth)
 end


Does that mean I would have to edit every comparison manually, or do you know an easier way?
32
RMXP Script Database / Re: [XP] RMX-OS
July 31, 2012, 12:27:53 pm
I'll take a look at the string problem, too.

EDIT: Converting the variables to integers fixes the error. (I think)
However, that means I'll have to add it to a lot of variables..
There should be an easier way to fix this.
33
RMXP Script Database / Re: [XP] RMX-OS
July 31, 2012, 05:13:48 am


Updated as you said, replaced rmxp.rb ,
$1.unpack('CCC')
is there in the rmx-os code.
Here is the modified part of the scene_servers:
def create_scene
   super
   # get all server names
   server_names = []
   RMXOS::Options::SERVERS.each {|server| server_names.push(server.name)}
   server_names.push(RMXOS::Data::Exit)
   # create server selection window
   @command_window = Window_CommandPokemon.new(server_names, 224) #(224, server_names)
   @command_window.x, @command_window.y = 64, 128
   @command_window.active = true
   @command_window.index = 0
   # create server states window
   states = []
   @server_states.size.times {states.push(RMXOS::Data::ServerOffline)}
   @online_window = Window_CommandPokemon.new(states, 224) #(224, states)
   @online_window.x, @online_window.y = 352, 128
   @online_window.active = false
   @online_window.index = -1
 end



EDIT: When I set my server ip to 127.0.0.1 and in my RMX-OS options, it suddenly works.
Could it be that ARC doesn't handle external ip's the right way?

Also looks like RMX-Os is starting to do funny stuff with comparisons:
34
RMXP Script Database / Re: [XP] RMX-OS
July 30, 2012, 04:21:14 pm
Good luck! :D

EDIT: hmmm, updated rmxp.rb and rmx-os but server still shows as offline..
Could the problem be that I'm using an older version of the server selection scene? (I'm using it for compatibility with pokemon essentials)
35
RMXP Script Database / Re: [XP] RMX-OS
July 30, 2012, 12:32:05 pm
YOURETHEBEST
Works like a charm :D
edit: yeah I did read something about the string function changed in Ruby 1.9.x from 1.8 but I had no idea how to fix it myself.
Unfortunately I have found another bug/error...
When using ARC the servers always show as Offline thus the player cannot connect.
In RMXP the server shows as Online.
Any idea how to fix this?

36
RMXP Script Database / Re: [XP] RMX-OS
July 30, 2012, 12:23:02 pm
Yeah I was pretty surprised too when I found out it was working with the RGSS2 player.
Anyways, I hope you find a solution. (I desperately need the performance increase from ARC)
37
RMXP Script Database / Re: [XP] RMX-OS
July 30, 2012, 08:44:24 am
Is this the right place to post?

The bug I mentioned earlier in the RMXP Converter thread also occurs on a fresh copy of RMX-OS without any modifications. (Version 1.21)
I should note when using the RGSS or RGSS2 player it works fine but when I use the RGSS3 player the same bug occurs.
Maybe it has something to do with the newer ruby versions?
38
ARC Welder / Re: RMXP Project Converter
July 29, 2012, 03:30:15 pm
Blizzard, I hate to keep bothering you but:

I updated RMX-OS to 1.21 but the error keeps ocurring.
I should note that my edits are in separate scripts and have the following modifications:

Selection screens etc. are now using Window_CommandPokemon instead of Window_Command.
Window_Selectable to SpriteWindow_Selectable
Window_Item to SpriteWindow_Selectable
Window_Help to Window_UnformattedTextPokemon
Window_Button to Window_CommandPokemon
39
ARC Welder / Re: RMXP Project Converter
July 29, 2012, 12:01:09 pm
Do I have to update everything or just the input module, cause I have made some modifications to some parts?
40
ARC Welder / Re: RMXP Project Converter
July 29, 2012, 09:00:17 am
Ok so I converted my game (Pokémon Nox Online) and I'm running into a few errors I can't seem to fix on my own.
One error I'm getting is with the RMX-OS input module:

Undefined method '&' for "\u0000":String