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... :( :( :(
THIS IS MY PROBLEM: :( :( :(
[spoiler]raise Errno.const_get(Errno.constants.detect { |c| Errno.const_get(c).new.errno == errno })[/spoiler]
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.
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"
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.
;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:
can you say me how you find the soloution.
Ive got the same problem :(
thx
Prinzregent