Hacred Sall
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.



 
InícioProcurarÚltimas imagensRegistarEntrar

Compartilhe | 
 

 [RMVX] Database Limit Breaker

Ver o tópico anterior Ver o tópico seguinte Ir para baixo 
AutorMensagem
Atheron
Soldado
Soldado
Atheron

Áries Ocupação : Vagal

[RMVX] Database Limit Breaker Empty
MensagemAssunto: [RMVX] Database Limit Breaker   [RMVX] Database Limit Breaker Icon_minitimeSex Jul 10, 2009 11:16 am

Database's Limit Breaker
por Woratana


Características
Com ele você poderá quebrar os limites de switchs, armas, heróis, etc. no database.

Como usar
0. Abra o porjeto
1. Cole o script acima de 'Main'.
2. Vá no script e coloque DLB_USE_IT = true
3. De ctrl+ f e procure por "START to setup from here!" então configure os numeros que deseja.
4. Rode o Jogo
5. Vai aparecer um aviso então aperte ok
6. Feche o projeto sem salvar
7. Abra o projeto novamente e pronto
8. Você pode remover o script agora

Screenshot
Spoiler:

script
Código:
#===============================================================
# ● [VX] ◦ Database Limit Breaker ◦ □
# * Break limit of data number in database files *
#--------------------------------------------------------------
# ◦ by Woratana [woratana@hotmail.com]
# ◦ Thaiware RPG Maker Community
# ◦ Released on: 22/05/2008
# ◦ Version: 1.0
#--------------------------------------------------------------

#==========================================
# ** HOW TO USE
#------------------------------------------
# 0. Open your project (Recommend to backup your database files first~)
# 1. Paste this script in above 'Main'.
# 2. Set DLB_USE_IT = true
# 3. Setup database files you want to change, in DLB_DATA
# 4. Run your game...
# 5. When it finished, game will close itself
# 6. Close your project *without save*
# 7. Open your project again. Done!
# 8. You can either remove this script, or set DLB_USE_IT = false
#==========================================

  #===========================================================================
  # Use limit breaker? (set this to false after you run this script,
  # and haven't change anything in DLB_DATA after that)
  # or REMOVE this script when finished~
  #===========================================================================
  DLB_USE_IT = true # (true / false)
 
  DLB_DATA = {
  #======================================================
  # Database file you want to change their number:
  # * Limit of normal database files are 999
  # * Limit of variables and switches are 5000
  # This script will allow you to change their number over their limit~
  #===============================
  # ** How to setup **
  #-------------------------------
  # Add 1 line below per 1 database file you want to change.
  # Structure: 'Database_File' => (number),
  # e.g. 'switch' => 5500,
  # (* Don't forget to put , behind the line!)
 
  #==============================================
  # ** [List] Database_File
  #----------------------------------------------
  # 'switch' for Game Switches
  # 'variable' for Game Variables
  # 'actor' for Actors
  # 'class' for Classes
  # 'skill' for Skills
  # 'item' for Items
  # 'weapon' for Weapons
  # 'armor' for Armors
  # 'enemy' for Enemies
  # 'troop' for Troops
  # 'state' for States
  # 'animation' for Animations
  # 'commonev' for Common Events
  #======================================================
  # * START to setup from here!
  #======================================================
  'actor' => 1011,
  'class' => 1011,
  'skill' => 1011,
  'item' => 1011,
  'weapon' => 1011,
  'troop' => 1011,
  'enemy' => 1011,
  'state' => 1011,
  'armor' => 1001,
  'animation' => 1011,
  'commonev' => 1011,
  'switch' => 6000,
  'variable' => 6000,
  #========================================================
  # * [END] Database Limit Breaker Setup Part
  #========================================================
  'end' => nil # End
  }
  if DLB_USE_IT
    start_time = Time.now
    DLB_DATA.each do |k,v|
      dvar = nil
      case k
      when 'switch'; dname = 'System'; dvar = 'switches'; dnewdata = ''
      when 'variable'; dname = 'System'; dvar = 'variables'; dnewdata = ''
      when 'actor'; dname = 'Actors'; dnewdata = 'RPG::Actor.new'
      when 'class'; dname = 'Classes'; dnewdata = 'RPG::Class.new'
      when 'skill'; dname = 'Skills'; dnewdata = 'RPG::Skill.new'
      when 'item'; dname = 'Items'; dnewdata = 'RPG::Item.new'
      when 'weapon'; dname = 'Weapons'; dnewdata = 'RPG::Weapon.new'
      when 'armor'; dname = 'Armors'; dnewdata = 'RPG::Armor.new'
      when 'enemy'; dname = 'Enemies'; dnewdata = 'RPG::Enemy.new'
      when 'troop'; dname = 'Troops'; dnewdata = 'RPG::Troop.new'
      when 'state'; dname = 'States'; dnewdata = 'RPG::State.new'
      when 'animation'; dname = 'Animations'; dnewdata = 'RPG::Animation.new'
      when 'commonev'; dname = 'CommonEvents'; dnewdata = 'RPG::CommonEvent.new'
      when 'end'; next
      else; p 'unknown DLB_DATA!', 'Check carefully what you typed in DLB_DATA'
      end
      base_data = load_data('Data/' + dname + '.rvdata')
      data = dvar.nil? ? base_data : eval('base_data.' + dvar.to_s)
      unless data.size > v and v - (data.size - 1) <= 0
        add_data = Array.new(v - (data.size - 1)) { eval(dnewdata) }
        data.push *add_data
        save_data(base_data, 'Data/' + dname + '.rvdata')
      end
    end
    p 'Finished in ' + (Time.now - start_time).to_s + ' sec'
    exit
  end


Créditos
-> Woratana, por criar.

Comentários
É um bom trabalho do autor, apesar de eu achar que não seja necessário, mas enfim, aqui está! Aproveitem.
Ir para o topo Ir para baixo
Scoppio
Sargento
Sargento
avatar

Leão Ocupação : Cientista e Técnico em eletrônica

[RMVX] Database Limit Breaker Empty
MensagemAssunto: Re: [RMVX] Database Limit Breaker   [RMVX] Database Limit Breaker Icon_minitimeSex Jul 10, 2009 12:53 pm

Convenhamos, o Woratana é um programador em Ruby ducacete!
Ir para o topo Ir para baixo
Matt RvdR
Capitão
Capitão
Matt RvdR

Escorpião

[RMVX] Database Limit Breaker Empty
MensagemAssunto: Re: [RMVX] Database Limit Breaker   [RMVX] Database Limit Breaker Icon_minitimeSex Jul 10, 2009 12:54 pm

Scoppio escreveu:
Convenhamos, o Woratana é um programador em Ruby ducacete!

Realmente...

Obrigado pela contribuição Atheron, esse script sempre foi muito útil nos projetos que faço! XD

Até mais. ^^
Ir para o topo Ir para baixo
Atheron
Soldado
Soldado
Atheron

Áries Ocupação : Vagal

[RMVX] Database Limit Breaker Empty
MensagemAssunto: Re: [RMVX] Database Limit Breaker   [RMVX] Database Limit Breaker Icon_minitimeSex Jul 10, 2009 1:52 pm

De nada... vou tentar trazer mais alguns...
^^
Ir para o topo Ir para baixo
Conteúdo patrocinado




[RMVX] Database Limit Breaker Empty
MensagemAssunto: Re: [RMVX] Database Limit Breaker   [RMVX] Database Limit Breaker Icon_minitime

Ir para o topo Ir para baixo
 

[RMVX] Database Limit Breaker

Ver o tópico anterior Ver o tópico seguinte Ir para o topo 

 Tópicos semelhantes

+
Página 1 de 1

Permissões neste sub-fórumNão podes responder a tópicos
Hacred Sall :: Centro de Operações :: Armazém :: Scripts-
Ir para: