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.

Topics - nathmatt

1
Chat / Mine craft
February 20, 2013, 11:21:36 am
was wondering if anyone knew the difference in playing offline demo world and buying the full game ?
2
i got this error when installing pysqlite on a 64bit pc i found this solution so i thought i would post a link

reg fix
3
General Discussion / rpgmaker vx ace lite
October 15, 2012, 07:53:03 pm
got an email saying you can get rpg maker vx ace lite free no trial

i revert my previous statement limitations list

Spoiler: ShowHide
10 heroes
10 classes
126 skills
16 items
60 weapons
60 armors
30 enemies
30 troops
25 states
110 animations
10 common events
No script editor
6 Tilesets
15 events per map.
20 maps max.
Can save projects
No call script but you can use the script functions of the other event commands like variable.
You can't make it use the RMVXAce RTP. So you have to manually import resources to the project folder.



feel free to move
4
Script Troubleshooting / RMX-OS Map (Instances)
August 21, 2012, 03:41:05 pm
So i have been messing around with an idea of how map instances could work.

This is my server extension so far my idea is to create a class for every map instance that stores the id, map_id, and
list of clients on that instance.

Spoiler: ShowHide
module RMXOS

#------------------------------------------------------------------
# Passes the extension's main module to RMX-OS on the top
# level so it can handle this extension.
# Returns: Module of this extension for update.
#------------------------------------------------------------------
def self.load_current_extension
return Map_Instances
end

end

#======================================================================
# module ExtensionSkeleton
#======================================================================

module Map_Instances

# extension version
VERSION = 1.0
# required RMX-OS version
RMXOS_VERSION = 1.2
# whether the server should update this extension in an idividual thread or not
SERVER_THREAD = true
# the extension's name/identifier
IDENTIFIER = 'Extension Skeleton'

# :::: START Configuration
  NonInstMaps = [] # Array of non instance maps
MaxPlayers = nil  # nill if not using style 2
  # 0 only party  members can see each other requires Blizz ABS.
  # 1 only guild  members can see each other.
  # 2 once there is MaxPlayers player will be sent to a new_instance
  Instance_Style = 0
# :::: END Configuration

#------------------------------------------------------------------
# Initializes the extension (i.e. instantiation of classes).
#------------------------------------------------------------------
def self.initialize
    @instances = {}
    @style = {}
    @index = {}
end
  #------------------------------------------------------------------
# Sets instances.
#------------------------------------------------------------------
  def self.set_instances(client,style = Instance_Style)
    case style
    when 0
      id = client.player.user_id
      id = client.sender.get_client_by_name(client.player.partyleader).user_id if client.player.partyleader !=  ''
      map_id = client.player.map_id
      key = [id,map_id]
      if @instances[key] != nil
        @instances[key].add_client(client)
      else
        @instances[key] = Map_Instance.new(id,[client],map_id)
      end
      return @instances[key]
    when 1
      id = client.player.user_id
      id = client.sender.get_client_by_name(client.player.guildleader).id if client.player.guildleader != ''
      map_id = client.player.map_id
      key = [id,map_id]
      if @instances[key] !=nil
        @instances[key].add_client(client)
      else
        @instances[key] = Map_Instance.new(id,[client],map_id)
      end
      return @instances[key]
    when 2
      map_id = client.player.map_id
      @index[map_id] = 0 if  @index[map_id] == nil
      key = [@index,map_id]
      if @instances[key] != nil
        @instances[key].add_client(client)
      else
        @instances[key] = Map_Instance.new(id,[client],map_id)
      end
      @index[map_id] += 1 if @instances[key].clients.size >= (MaxPlayers - 10) # allow room for instance swap
      return @instances[key]
    end
  end
  #------------------------------------------------------------------
  # Exit map
# -----------------------------------------------------------------
  def self.exit_map(client,style = Instance_Style)
    style = @style[client] if @style[client] != nil
    @style[client] = nil
    case style
    when 0
      id = client.sender.get_client_by_name(client.player.partyleader).id
      map_id = client.player.map_id
      key = [id,map_id]
      @instances[key].remove_client(client)
      @instances.delete(key) if @instances[key].clients.size = 0
    when 1
      id = client.sender.get_client_by_name(client.player.guildleader).id
      map_id = client.player.map_id
      key = [id,map_id]
      @instances[key].remove_client(client)
      @instances.delete(key) if @instances[key].clients.size = 0
    end
  end
#------------------------------------------------------------------
# Calls constant updating on the server.
#------------------------------------------------------------------
def self.main
# while server is running
while RMXOS.server.running
self.server_update
sleep(0.1) # 0.1 seconds pause, decreases server load
end
end
#------------------------------------------------------------------
# Handles the server update.
#------------------------------------------------------------------
def self.server_update
# - YOUR SERVER CODE HERE
end
#------------------------------------------------------------------
# Handles updating from a client.
# client - Client instance (from Client.rb)
# Returns: Whether to stop check the message or not.
#------------------------------------------------------------------
def self.client_update(client)
# - YOUR CLIENT MESSAGE CODE HERE
    case client.message
    when /\AMENIM(.+)/
      @style[client] = $1.to_i
      client.sender.get_map_clients(false,$1.to_i)
      return true
    end
return false
end

end

#======================================================================
# Sender
#----------------------------------------------------------------------
# Provides methods for sending messages.
#======================================================================

class Map_Instance
 
  def initialize(id,clients,map_id)
    @id = id
    @clients = clients
    @map_id =clients[0].player.map_id
  end
 
  def add_client(client)
    @clients.push(client) if !@clients.include?(client)
  end
 
  def remove_client(client)
    @clients.delete(client)
  end
 
  def clients
    return @clients
  end
 
end

class Client
 
  alias instance_check_game check_game
  def check_game
    case @message
    when /\AMEX\Z/ # map exit
      Map_Instances.exit_map
    end
    return instance_check_game
  end
 
end

class Sender
 
  #----------------------------------------------------------------------
# Gets all clients on the same map including or excluding self.
#  including - whether to include or exclude this client
# Returns: Clients on the same map.
#----------------------------------------------------------------------
def get_map_clients(including = false,style=nil)
# find all clients on this map
clients = $clients.find_all {|client| client.player.map_id == @client.player.map_id}
# exclude self if necessary
clients.delete(@client) if !including
return Map_Instances.set_instances(@client).clients if !Map_Instances::NonInstMaps.include?(@client.player.map_id)
    return clients
end
 
end


I am editing the get_map_clients method for desired effect as you can see.

I am still trying to come up with a effective way for max map player limits.

What i want to know is if this if an effective way to make them or should i try another method.
5
Electronic and Computer Section / New PC (Reserved)
June 08, 2012, 01:56:44 pm
trying to find a decent cheap pc my budget's not very good only have a part time job i was looking at this 1 trying to figure out if it's a good pc for the price  here is the PC
6
Resources / lava monster shading help
March 25, 2012, 10:11:54 am
ok i am working on this lava monster but im trying to work on the shading

without shade



with shade

7
Resource Requests / [VX] game logo image
October 27, 2011, 06:02:22 pm
i made this image for the logo of this game i have been working on but the image is to 3d for in game use i was wondering if anyone could fix it to match the rtp graphics better i can supply the psd if needed i need it to be 80x80 here the 3d version
Spoiler: ShowHide
8
Script Troubleshooting / (Resolved) In Screen
October 04, 2011, 08:24:04 am
im trying to get an array of events in the maps screen for update purposes but for some reason its not working properly here the script by the way its VX so Graphics.width & Graphics.height are the screen sizes

def in_screen?
 x,y = (@display_x/32),(@display_y/32)
 w,h = x+(Graphics.width/32),y+(Graphics.height/32)
 return @events.values.collect{|value| value if (x..w).include?(value.x) &&  
 (y..h).include?(value.y)}
end

9
Advertising / DS Game Maker
September 18, 2011, 04:05:22 pm
10
Electronic and Computer Section / MP3 files don't play
September 17, 2011, 01:21:24 pm
so for some reason today when i turned on my pc and was messing with rpg maker i noticed the music wasn't playing so i opened real player to check my mp3 files they wouldn't play i checked some MIDI files they play just fine
11
Advertising / haunt the house
August 19, 2011, 05:35:25 pm
a fun little mini game made by armor games where you haunt a house

http://armorgames.com/play/7195/haunt-the-house
12
Express your Creativity / Logo image
August 12, 2011, 02:59:09 pm
Spoiler: ShowHide

what do you think
13
Chat / finally got rid of the virus known as Norton
August 08, 2011, 08:28:18 pm
so my Norton has expired so i trying 30day trial of Kaspersky so far i like it better than Norton the virtual keyboard is a nice extra feature
14
Advertising / Game Star Mechanic
August 07, 2011, 02:00:45 pm
seems to be a site that lets you make platform style games and publish them http://gamestarmechanic.com/

edit BTW its web based so you don't have to download it
15
General Discussion / Makefile
August 02, 2011, 09:00:10 pm
ok after searching i found out to run makefile i need to install something where do i it ?
16
Sea of Code / [c] non constant int
August 01, 2011, 02:30:10 pm
how do i return a non constant int when i just use int it gives me an error  case label does not reduce to an integer constant  here is the portion of the code im have issues with

DLLIMPORT int code (const char s)
{
   switch ( s )
   {
   case "string1":
   return 1;
   break;
   case "string2":
   return 2;
   break;
   default:
   return 0;
   break;
   }
}
17
Script Troubleshooting / move tiles
July 26, 2011, 02:01:19 pm
ok im trying to script a forced move tile that forces you to move a direction but also allows partial movement im trying to script the movement tiles from chip if you don't know what chip is check out this link http://forum.chaos-project.com/index.php/topic,10098.0.html
18
Express your Creativity / Chip
July 14, 2011, 06:36:25 pm
i found resources to the old game Chip and got bored so i have been trying to replicate it here is what i have so far this link will stay updated automatically http://dl.dropbox.com/u/23790745/chip.exe

the resources where ripped by Lotos

credit to ForeverZer0 for his Custom Resolution Script which i used to shrink the viewport

edit the original game link http://dl.dropbox.com/u/23790745/chipschallenge.zip

update the the HUD is almost fully functional everything works but the inventory
19
RMXP Script Database / [XP] Unlimited Terrain Tags
July 14, 2011, 09:25:24 am
Unlimited Terrain Tags
Authors: Nathmatt
Version: 1.00
Type: Add On
Key Term: Misc Add-on



Introduction

Ever wish you could use more than 7 terrain tags now you can.


Features


  • allows the use of unlimited terrain tags




Screenshots

nothing to put in a screenshot


Demo

if needed


Script




Instructions

In the script


Compatibility

not compatible with anything that rewrites the terrain_tag method


Credits and Thanks


  • Nathmatt




Author's Notes

As usual if you have any issues or suggestions post here
20
Sea of Code / VC++ 2010
June 09, 2011, 02:30:55 pm
so i figured i would try to learn C++ using VC++ 2010 but im having issues with it

  • I named a Folder Browser Dialog "Query" but when i try to use Query.ShowDialog() it errors

  • I'm trying to access SQL but cant find anything referencing to how to connect to it

  • I'm trying to create a SQL Data Source but cant figure out how

  • I also created a service controller but how do i access it



any help or links would be greatly appreciated
21
Script Troubleshooting / [XP] MCES
May 19, 2011, 10:39:04 am
ok so i am trying to get true event clicking so i am trying to create a table of the events visible pixel locations but i cant seem to figure out how to do it so far i have this

class Game_Event < Game_Character
 
 def mouse_over?
   return if !$scene.is_a?(Scene_Map)
   return check_sprite[$mouse.x,$mouse.y] == 0x01
 end
 
 def get_sprite
   return if !$scene.is_a?(Scene_Map)
   $scene.spriteset.character_sprites.each{|s|return s if s.character == self}
 end
 
 def check_sprite
   s = get_sprite
   a = Table.new($game_map.width*32, $game_map.height*32)
   w,h,x,y = s.src_rect.width,s.src_rect.height,s.src_rect.x,s.src_rect.y
   (x..w).each{|xs|(y..h).each{|ys| pix = s.bitmap.get_pixel(xs,ys)
   p s.x-xs/32,s.y-ys/32
   a[s.x-xs,s.y-ys] = 0x01 if pix.alpha == 255}}
   return a
 end
   
end
class Scene_Map;        attr_reader :spriteset         end
class Spriteset_Map;    attr_reader :character_sprites end
class Sprite_Character; attr_reader :ch,:cw            end
22
RMXP Script Database / [XP] Move Route Conditions
April 30, 2011, 10:36:35 am
Move Route Conditions
Authors: Nathmatt
Version: 1.0
Type: Conditioning for move routes
Key Term: Misc Add-on



Introduction

Ever want to use a condition branch in move routes this will allow you to do that doesn't allow else


Features


  • Allows use of condition branches

  • Command to check distance between self and target




Screenshots

no screen shots


Demo

no demo


Script

above main



Instructions

in script


Compatibility

shouldn't have any compatibility issues


Credits and Thanks


  • Nathmatt




Author's Notes

Any suggestions for updates are appreciated
24
Express your Creativity / My Title
March 30, 2011, 01:30:53 pm
what do you think Gallery
25
ok i have almost completely rebuilt my Battle Dome Config program but im not sure if i should build the terrain config the same way as i did in python or if there if a better way in visual C#
26
Programming / Scripting / Web / HTML Help
March 04, 2011, 07:48:47 pm
ok so i used a website to create a menu for my website but the images wont load until the mouse goes over them

HTML: ShowHide
<HTML>
<HEADER>
<TITLE>Nathmatt-Produtions.com - Home-Page </TITLE>
</HEADER>
<HEAD>
<script src="menuscript.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="menustyle.css" media="screen, print" />
</HEAD>
<BODY>
<table border="0" cellpadding="0" cellspacing="0"><tr><td>
<a href="http://nathmatt-productions.net63.net" onmouseover="setOverImg('1','');" onmouseout="setOutImg('1','');" target=""><img src="buttons/button1up.png" border="0" id="button1" vspace="1" hspace="1"></a><a href="http://products.nathmatt-productions.net63.net" onmouseover="setOverImg('2','');" onmouseout="setOutImg('2','');" target=""><img src="buttons/button2up.png" border="0" id="button2" vspace="1" hspace="1"></a><a href="http://forum.nathmatt-productions.net63.net" onmouseover="setOverImg('3','');" onmouseout="setOutImg('3','');" target=""><img src="buttons/button3up.png" border="0" id="button3" vspace="1" hspace="1"></a><a href="http://contact-us.nathmatt-productions.net63.net" onmouseover="setOverImg('4','');" onmouseout="setOutImg('4','');" target=""><img src="buttons/button4up.png" border="0" id="button4" vspace="1" hspace="1"></a><br>
</td></tr></table>
</BODY>
</HTML>


Java i think: ShowHide
/*** SET BUTTON'S FOLDER HERE ***/
var buttonFolder = "images/buttons/";

/*** SET BUTTONS' FILENAMES HERE ***/
upSources = new Array("button1up.png","button2up.png","button3up.png","button4up.png");

overSources = new Array("button1over.png","button2over.png","button3over.png","button4over.png");


//*** NO MORE SETTINGS BEYOND THIS POINT ***//
totalButtons = upSources.length;



//*** MAIN BUTTONS FUNCTIONS ***//
// PRELOAD MAIN MENU BUTTON IMAGES
function preload() {
for ( x=0; x<totalButtons; x++ ) {
buttonUp = new Image();
buttonUp.src = buttonFolder + upSources[x];
buttonOver = new Image();
buttonOver.src = buttonFolder + overSources[x];
}
}

// SET MOUSEOVER BUTTON
function setOverImg(But, ID) {
document.getElementById('button' + But + ID).src = buttonFolder + overSources[But-1];
}

// SET MOUSEOUT BUTTON
function setOutImg(But, ID) {
document.getElementById('button' + But + ID).src = buttonFolder + upSources[But-1];
}


//preload();


.dropmenu {
  position: absolute;
  left: -1500px;
  visibility: visible;
  z-index: 101;
  float: left;
  width: 0px;

  border-width: px;
  border-style: solid;
  border-color: ;
  background-color: ;
}
.dropmenu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.dropmenu li {
  display: inline;
}
.dropmenu a, .dropmenu a:visited, .dropmenu a:active {
  display: block;
  width: px;

  padding: px;
  margin: px;
  font-family: ;
  font-size: px;
  font-weight: ;
  text-align: ;
  text-decoration: ;

  color: ;
  background-color: ;
}
.dropmenu a:hover {
  padding: px;
  margin: px;
  font-family: ;
  font-size: px;
  font-weight: ;
  text-align: ;
  text-decoration: ;

  color: ;
  background-color: ;
}


fixed i forgot to fix the location in the html


edit i have a question i see the menu uses onmouseout="setOutImg('3',''); to get the images from the java script but i cant get it to send me a url

i tried this in the java code
function web_link(ext){return 'http://'+ext+'nathmatt-productions.net63.net'};

but it wont let me do
href="web_link('')"
27
General Discussion / Rgss hidden Classes
March 02, 2011, 11:43:35 am
probable not exactly how there made but heres what i found
Window
Plane
28
Script Troubleshooting / battle dome help
February 28, 2011, 08:56:24 pm
ok so in trying to get an event command to run after battle but it doesn't seem to run

i created my hash to make things easier
@keys = {0 => 601, 1 => 602, 2 => 603}


i have this to get the commands for each result

class Interpreter
 
  alias battle_dome_command_301 command_301
  def command_301
    $Battle_Dome.event = @event_id
    ((@index+1)..@list.size).each{|i|
    case @list[i].code
    when 301 then break
    when 601,602
      id = $Battle_Dome.keys.index(@list[i].code)
      $Battle_Dome.list.push([id,@list[i+1]])
    when 603
      id = $Battle_Dome.keys.index(@list[i].code)
      $Battle_Dome.list.push([id,@list[i+1]])
      break
    end}
    battle_dome_command_301
  end
 
end


and this to get the command needed

def set_result(i)
  return if $game_temp.battle_proc == nil
  @list.each{|a|@list = a[1] if a[0] == i}
  $game_temp.battle_proc = nil
end


this so i can edit the list

class Game_Event
  attr_accessor :list
end


and finally this to in Scene_Map update to run the event after leaving

if !$Battle_Dome.in_battle && $Battle_Dome.event != nil && 
    !$game_temp.player_transferring
  $game_map.events[$Battle_Dome.event].list = [$Battle_Dome.list]
  $game_map.events[$Battle_Dome.event].start
  $game_map.events[$Battle_Dome.event].refresh
  $Battle_Dome.event = nil
end
29
General Discussion / RMX-OS server aplication
February 07, 2011, 10:39:36 am
ok so i am making an application using python to connect to the server you are running and give you more control over your server i just need ideas of what all to add i plan to add a tab for msg's so you can broadcast to all from the application pm and msg to a chosen map also i will have a list of active players  

edit no ideas ?
30
Programming / Scripting / Web / py2exe
January 29, 2011, 11:44:12 pm
ok i feel like an idiot because i cannot figure out how to install it i click on the installer but where do i install it i tried the python dir but no luck am i doing something wrong ?