The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: ?????? on April 16, 2010, 12:45:27 PM

Title: BIG PROBEL ABOUT RMVX ONLINE
Post by: ?????? on April 16, 2010, 12:45:27 PM
HELLO... I HAVE GOT ONE PROBLEM...  :( WHEN I USE MY SERVER AND OPEN FILE GAME.EXE... I SEE "SCRIPT 'TCPSocket' LINE 45: TYPE ERROR OCCURRED NIL IS NOT A SYMBOL...  :( :( :(
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: ?????? on April 16, 2010, 12:49:06 PM
THIS IS MY PROBLEM:  :( :( :(
[spoiler]raise Errno.const_get(Errno.constants.detect { |c| Errno.const_get(c).new.errno == errno })[/spoiler]
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: modern algebra on April 16, 2010, 01:55:02 PM
Hmm, well I've never used that script, so I can't really help. You're best bet is probably to bring this to the attention of the author of this script.
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: ?????? on April 16, 2010, 04:02:10 PM
THIS IS SCRIPT:  ??? ??? ???
[spoiler]
Quote#===============================================================================
# ** TCPSocket - Creates and manages TCP sockets.
#-------------------------------------------------------------------------------
# Author    Ruby
# Version   1.8.1
#===============================================================================
 
class TCPSocket < Socket

  #--------------------------------------------------------------------------
  # ? Creates a new socket and connects it to the given host and port.
  #-------------------------------------------------------------------------- 
  def self.open(*args)
    socket = new(*args)
    if block_given?
      begin
        yield socket
      ensure
        socket.close
      end
    end
    nil
  end

  #--------------------------------------------------------------------------
  # ? Creates a new socket and connects it to the given host and port.
  #-------------------------------------------------------------------------- 
  def initialize(host, port)
    super(AF_INET, SOCK_STREAM, IPPROTO_TCP)
    connect(Socket.sockaddr_in(port, host))
  end
 
end

#==============================================================================
# ? SocketError
#------------------------------------------------------------------------------
# ?Default exception class for sockets.
#==============================================================================
class SocketError < StandardError
  ENOASSOCHOST = "getaddrinfo: no address associated with hostname."
  def self.check
    errno = Winsock.WSAGetLastError
    # If we are not Testing....
    raise Errno.const_get(Errno.constants.detect { |c| Errno.const_get(c).new.errno == errno })
  end
end
[/spoiler]
THIS PERSON IS (MAYBE) FROM THE SITE "RPG MAKER VX.NET"
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: modern algebra on April 16, 2010, 04:56:01 PM
I can't help you. I suggest you get the latest version: http://vampyrcoders.net/?p=92 and if the problem persists, then ask them how to fix it.
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: ?????? on April 18, 2010, 05:55:09 PM
;D ;D ;D OK... ;D ;D ;D
;D ;D ;D PROBLEM IS FINISHED... ;D ;D ;D
:lol: :lol: :lol: PLEASE LOCK MY TOPIC... :lol: :lol: :lol:
Title: Re: BIG PROBEL ABOUT RMVX ONLINE
Post by: Prinzregent on June 01, 2010, 01:51:40 PM
can you say me how you find the soloution.
Ive got the same problem :(

thx
Prinzregent