Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

25 Pages V  « < 5 6 7 8 9 > »   
Reply to this topicStart new topic
> Vampyr SABS 12 & Verus Tempus Proelium, Modified 24 March 2010
buny
post Jul 21 2009, 11:30 PM
Post #121


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




@Lennox55

the script that i replace can work on Requiem8....
that's no error on that script...


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
Lennox55
post Jul 22 2009, 07:13 AM
Post #122


Level 2
Group Icon

Group: Member
Posts: 29
Type: Event Designer
RM Skill: Skilled




QUOTE (buny @ Jul 22 2009, 09:30 AM) *
@Lennox55

the script that i replace can work on Requiem8....
that's no error on that script...


I'm sorry, but an error pops up anyway.. I haven't modified anything, and I have tried different palces for the script aswell.. No luck!
God, I feel like such a bother.. Hope you don't mind if I use the script btw? I forgot to ask xD
I don't get how to set the script... What do i have to do? Error message tells me it can't find Graphics/Pictures/0.

Do i have to set pictures for the numbers?
I dunno... And again, Buny - I'm sorry to trouble you this much... rolleyes.gif
Thank you!

Edit: I use Requiem 8, if that was what you meant... tongue.gif

Edit2: When I set the Actor_ID = 0 as 1 I get this error message; ?????? "Hp&MpNumbers'? 63 ??? NoMethodError ???????? undefined method 'hp' for nil:NilClass.
Maybe I'm not supposed to touch that one? xD

This post has been edited by Lennox55: Jul 22 2009, 07:22 AM
Go to the top of the page
 
+Quote Post
   
viraco
post Jul 22 2009, 10:12 AM
Post #123


Level 1
Group Icon

Group: Member
Posts: 5
Type: Event Designer
RM Skill: Beginner




I too am looking for a way to prevent the game over screen if you get killed... would like to be able to call an event instead of getting game over screen.... custom event would set variables, states, teleport character an so forth... so like if character died while on a quest... then the quest could be reset to a specific point based on logic.
Go to the top of the page
 
+Quote Post
   
BizarreMonkey
post Jul 22 2009, 11:58 AM
Post #124


Gone and never coming back.
Group Icon

Group: Revolutionary
Posts: 112
Type: Developer
RM Skill: Undisclosed




Well, i'm glad this abs has no bugs now. But i haven't got a chance to test it. Tell me... can you still set up enemys like target dummys, so to speak? so when they have no actions in the enemy skill list, will it still attack, happened last time.

Another question, do events run in the trrops section still work in battle, probably not, but if so that is pretty awesome.

And I would like to see a Common Event when you die too, or even better, be able to choose a common event, I could imagine using aglobal variable for this, so like...

Common Event 1 = Variable 1

Common event 1 is:

Conditional Branch: Player have item [Second Wind]?
@>:Change Player State -[Death]
@>:Change Player HP += 100
@>:
Else
@>:Game Over
Branch End

Common Event 2 could be...

Transfer Player: [008: The Necropolis]
Show text: Monster, 5, Dark, Bottom
: Back so soon? I thought you would manage to survive a little longer than that.

That would be awesome... we could have Baldur's gate save points, the Temple of Tyr from Neverwinter nights, and we could even have check points!

Cause heck, going to that same game over screen over and over is a little boring, And limited.


__________________________

Go to the top of the page
 
+Quote Post
   
buny
post Jul 22 2009, 10:59 PM
Post #125


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




QUOTE (Lennox55 @ Jul 22 2009, 10:13 PM) *
QUOTE (buny @ Jul 22 2009, 09:30 AM) *
@Lennox55

the script that i replace can work on Requiem8....
that's no error on that script...


I'm sorry, but an error pops up anyway.. I haven't modified anything, and I have tried different palces for the script aswell.. No luck!
God, I feel like such a bother.. Hope you don't mind if I use the script btw? I forgot to ask xD
I don't get how to set the script... What do i have to do? Error message tells me it can't find Graphics/Pictures/0.

Do i have to set pictures for the numbers?
I dunno... And again, Buny - I'm sorry to trouble you this much... rolleyes.gif
Thank you!

Edit: I use Requiem 8, if that was what you meant... tongue.gif

Edit2: When I set the Actor_ID = 0 as 1 I get this error message; ?????? "Hp&MpNumbers'? 63 ??? NoMethodError ???????? undefined method 'hp' for nil:NilClass.
Maybe I'm not supposed to touch that one? xD



ok so.... that script that i modified is finish already?(i maen the HUD script......)
how many character in one picture sprite?


QUOTE (viraco @ Jul 23 2009, 01:12 AM) *
I too am looking for a way to prevent the game over screen if you get killed... would like to be able to call an event instead of getting game over screen.... custom event would set variables, states, teleport character an so forth... so like if character died while on a quest... then the quest could be reset to a specific point based on logic.



oh....
you can find respawn script....


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
viraco
post Jul 24 2009, 05:22 PM
Post #126


Level 1
Group Icon

Group: Member
Posts: 5
Type: Event Designer
RM Skill: Beginner




QUOTE (buny @ Jul 23 2009, 02:59 AM) *
QUOTE (Lennox55 @ Jul 22 2009, 10:13 PM) *
QUOTE (buny @ Jul 22 2009, 09:30 AM) *
@Lennox55

the script that i replace can work on Requiem8....
that's no error on that script...


I'm sorry, but an error pops up anyway.. I haven't modified anything, and I have tried different palces for the script aswell.. No luck!
God, I feel like such a bother.. Hope you don't mind if I use the script btw? I forgot to ask xD
I don't get how to set the script... What do i have to do? Error message tells me it can't find Graphics/Pictures/0.

Do i have to set pictures for the numbers?
I dunno... And again, Buny - I'm sorry to trouble you this much... rolleyes.gif
Thank you!

Edit: I use Requiem 8, if that was what you meant... tongue.gif

Edit2: When I set the Actor_ID = 0 as 1 I get this error message; ?????? "Hp&MpNumbers'? 63 ??? NoMethodError ???????? undefined method 'hp' for nil:NilClass.
Maybe I'm not supposed to touch that one? xD



ok so.... that script that i modified is finish already?(i maen the HUD script......)
how many character in one picture sprite?


QUOTE (viraco @ Jul 23 2009, 01:12 AM) *
I too am looking for a way to prevent the game over screen if you get killed... would like to be able to call an event instead of getting game over screen.... custom event would set variables, states, teleport character an so forth... so like if character died while on a quest... then the quest could be reset to a specific point based on logic.



oh....
you can find respawn script....


thanks, i kept searching but could not find a lot to look through
Go to the top of the page
 
+Quote Post
   
buny
post Jul 24 2009, 10:19 PM
Post #127


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




@viraco

i already give you the link?
http://www.rpgrevolution.com/forums/index....mp;#entry248356


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 25 2009, 08:20 AM
Post #128


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




Yes, you did ;/

Like, 2 posts above...


__________________________

Go to the top of the page
 
+Quote Post
   
buny
post Jul 25 2009, 05:29 PM
Post #129


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




Ok.....

really....
i got many script that not connect with abs....
sadly....
like weather system....
i want it..


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 25 2009, 05:34 PM
Post #130


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




Weather system? I'm pretty sure reijubv's mod to Kylocks Time System works with it .. (It does have a weather system included)

http://www.rpgrevolution.com/forums/index....c=31170&hl=



__________________________

Go to the top of the page
 
+Quote Post
   
buny
post Jul 26 2009, 03:47 AM
Post #131


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




QUOTE (Khev @ Jul 26 2009, 08:34 AM) *
Weather system? I'm pretty sure reijubv's mod to Kylocks Time System works with it .. (It does have a weather system included)

http://www.rpgrevolution.com/forums/index....c=31170&hl=



I think not that system...
the weather fog system...


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
doggyhouse
post Jul 26 2009, 08:29 PM
Post #132


Dooms Cool
Group Icon

Group: Revolutionary
Posts: 102
Type: None
RM Skill: Beginner




im doing ABS 7 and when i play test it says 'ABS' line 6: SyntaxError occurred. What should i do?
it and on line six

6 [] [][][][]+ [] 'Z

This post has been edited by doggyhouse: Jul 26 2009, 08:30 PM


__________________________
No Current Signature, Please Check Back In A While =D
Go to the top of the page
 
+Quote Post
   
buny
post Jul 26 2009, 11:18 PM
Post #133


Level 15
Group Icon

Group: Revolutionary
Posts: 294
Type: Developer
RM Skill: Intermediate




QUOTE (doggyhouse @ Jul 27 2009, 11:29 AM) *
im doing ABS 7 and when i play test it says 'ABS' line 6: SyntaxError occurred. What should i do?
it and on line six

6 [] [][][][]+ [] 'Z


do you just copy all the script?


__________________________







Topic'Z

VLAD REQUIEM IS UPDATE! to ~8~
The TopicszZ


@~Action Battle System~@


[Show/Hide] Action Battle System
Bored Battle System Like This
[Show/Hide] Normal Style


So Do you liem MMORPG style?or Zelda?
if yes you'll need this...
style~>
[Show/Hide] Requiem SABS


Join Here ABS


@###@@@###@#
@####@##@##@##
@@#@@@##@@


[Show/Hide] good again
[Show/Hide] NEVER GIVE UP
[Show/Hide] DONT WASTE MY TIME AGAIN!!!!!!!!!!!!!!!!!!!!
[Show/Hide] LASSSSTTTTT ONE
clever you are the 99999999 visitors who open this get outta here!!!!!
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 27 2009, 07:56 AM
Post #134


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




@buny: http://www.rpgrevolution.com/forums/index....c=31848&hl=

This is the fog script, and it works with the ABS (I've tested it).

If it's not that you want, then you might want to be a little more specific ;/


__________________________

Go to the top of the page
 
+Quote Post
   
doggyhouse
post Jul 27 2009, 08:32 AM
Post #135


Dooms Cool
Group Icon

Group: Revolutionary
Posts: 102
Type: None
RM Skill: Beginner




@buny I copied the script and put it in. Did i not read something? I dont know. and i deleted the line 6 and then line 11 had a problem

This post has been edited by doggyhouse: Jul 27 2009, 08:33 AM


__________________________
No Current Signature, Please Check Back In A While =D
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 27 2009, 08:42 AM
Post #136


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




@doggyhouse: I think you forgot the Input and Requiem Masterpiece scripts. (Just put them above the ABS Script)


CODE
#==============================================================================
# Input Module (Modificated by Vlad)
#==============================================================================

module Input
  
  Mouse_Left = 1
  Mouse_Right = 2
  Mouse_Middle = 4
  
  Back = 8
  Tab = 9
  Enter = 13
  Shift = 16
  Ctrl = 17
  Alt = 18
  CapsLock = 20
  Esc = 27
  Space = 32
  PGUP = 33
  PGDN = 34
  End = 35
  Home = 36
  Left = 37
  Up = 38
  Right = 39
  Down = 40
  PrintScreen = 44
  Insert = 45
  Delete = 46
  
  Numberkeys = {}
  Numberkeys[0] = 48
  Numberkeys[1] = 49
  Numberkeys[2] = 50
  Numberkeys[3] = 51
  Numberkeys[4] = 52
  Numberkeys[5] = 53
  Numberkeys[6] = 54
  Numberkeys[7] = 55
  Numberkeys[8] = 56
  Numberkeys[9] = 57
  
  Letters = {}
  Letters["A"] = 65
  Letters["B"] = 66
  Letters["C"] = 67
  Letters["D"] = 68
  Letters["E"] = 69
  Letters["F"] = 70
  Letters["G"] = 71
  Letters["H"] = 72
  Letters["I"] = 73
  Letters["J"] = 74
  Letters["K"] = 75
  Letters["L"] = 76
  Letters["M"] = 77
  Letters["N"] = 78
  Letters["O"] = 79
  Letters["P"] = 80
  Letters["Q"] = 81
  Letters["R"] = 82
  Letters["S"] = 83
  Letters["T"] = 84
  Letters["U"] = 85
  Letters["V"] = 86
  Letters["W"] = 87
  Letters["X"] = 88
  Letters["Y"] = 89
  Letters["Z"] = 90
  
  LWin = 91
  RWin = 92
  Apps = 93
  
  Numberpad = {}
  Numberpad[0] = 96
  Numberpad[1] = 97
  Numberpad[2] = 98
  Numberpad[3] = 99
  Numberpad[4] = 100
  Numberpad[5] = 101
  Numberpad[6] = 102
  Numberpad[7] = 103
  Numberpad[8] = 104
  Numberpad[9] = 105
  Multiply = 106
  Add = 107
  Subtract = 109
  Decimal = 110
  Divide = 111
  
  Fkeys = {}
  Fkeys[1] = 112
  Fkeys[2] = 113
  Fkeys[3] = 114
  Fkeys[4] = 115
  Fkeys[5] = 116
  Fkeys[6] = 117
  Fkeys[7] = 118
  Fkeys[8] = 119
  Fkeys[9] = 120
  Fkeys[10] = 121
  Fkeys[11] = 122
  Fkeys[12] = 123
  
  NumLock = 144
  ScrollLock = 145
  LShift = 160
  RShift = 161
  LControl = 162
  RControl = 163
  LAlt = 164
  RAlt = 165
  
  Collon = 186
  Equal = 187
  Comma = 188
  Underscore = 189
  Dot = 190
  Backslash = 191
  Uncle = 192
  LB = 219
  Bar = 220
  RB = 221
  Quote = 222
  
  @time = Array.new(256, 0)
  @press = Array.new(256, false)
  @trigger = Array.new(256, false)
  @repeat = Array.new(256, false)
  @release = Array.new(256, false)
  @dirs = [0, 0]
  
  InputInitialize = Win32API.new("Input", 'InputInitialize', 'LLLLLL', '')
  InputUpdate = Win32API.new("Input", 'InputUpdate', '', '')
  
  REG_KVALUES = {0=>32,1=>13,2=>27,3=>96,4=>16,5=>90,6=>88,7=>67,8=>86,9=>66,
                 10=>65,11=>83,12=>68,13=>81,14=>87}
                
  DEFAULT_KEYS = {11=>[16,90],12=>[27,88,96],13=>[13,32],14=>[65],15=>[83],
                  16=>[68],17=>[81],18=>[87]}
  
  def convert_keys(key)
    begin
      keys = []
      rkey = 'HKEY_CURRENT_USER\\Software\\Enterbrain\\RGSS'
      data = Registry.read_entry(rkey, 'ButtonAssign')[10, 25].scan(/./)
      15.times {|i| keys.push(REG_KVALUES[i]) if key == data[i].unpack('C')[0]}
      keys
    rescue
      DEFAULT_KEYS[key] rescue []
    end
  end  
  
  module_function :convert_keys
  
  LEFT = 37
  UP = 38
  RIGHT = 39
  DOWN = 40
  A = convert_keys(11)
  B = [45] + convert_keys(12)
  C = convert_keys(13)
  X = convert_keys(14)
  Y = convert_keys(15)
  Z = convert_keys(16)
  L = [33] + convert_keys(17)
  R = [34] + convert_keys(18)
  SHIFT = 16
  CTRL = 17
  ALT = 18
  F5 = 116
  F6 = 117
  F7 = 118
  F8 = 119
  F9 = 120
  
  InputInitialize.call(@time.object_id, @press.object_id, @trigger.object_id,
  @repeat.object_id,  @release.object_id, @dirs.object_id)
  
  def self.update
    InputUpdate.call
  end
  
  def self.trigger?(id)
    @trigger.indexes(*id.to_a).include?(true)
  end
  
  def self.press?(id)
    @press.indexes(*id.to_a).include?(true)
  end
  
  def self.triggerd?(what)
    if triggered.include?(what)
      return true
    end
  end
  
  def self.triggered
    array = Array.new
    @trigger.each_index {|i| array.push(i) if @trigger[i]}
    array
  end
  
  def self.pressed?(what)
    if pressed.include?(what)
      return true
    end
  end
  
  def self.pressed
    array = Array.new
    @press.each_index {|i| array.push(i) if @press[i]}
    array
  end
  
  def self.repeat?(id)
    @repeat.indexes(*id.to_a).include?(true)
  end
  
  def self.repeated
    array = Array.new
    @repeat.each_index {|i| array.push(i) if @repeat[i]}
    array
  end
  
  def self.release?(id)
    @release.indexes(*id.to_a).include?(true)
  end
  
  def self.released
    array = Array.new
    @release.each_index {|i| array.push(i) if @release[i]}
    array
  end
  
  def self.dir4
    @dirs[0]
  end
  
  def self.dir8
    @dirs[1]
  end

  KEYS_NAMES = {1=>'Mouse Left',2=>'Mouse Right',3=>'Cancel',
  4=>'Mouse Middle',5=>'Mouse 4th',6=>'Mouse 5th',8=>'Backspace',9=>'Tab',
  12=>'Clear',13=>'Enter',16=>'Shift',17=>'Control',18=>'Alt',19=>'Pause',
  20=>'Capitals Lock',21=>'Kana',23=>'Junja',24=>'Final',25=>'Kanji',
  27=>'Escape',28=>'Convert',29=>'Non Convert',30=>'Accept',31=>'Mode Change',
  32=>'Space',33=>'Page Up',34=>'Page Down',35=>'End',36=>'Home',37=>'Left',
  38=>'Up',39=>'Right',40=>'Down',41=>'Select',42=>'Print',43=>'Execute',
  44=>'PrintScreen',45=>'Insert',46=>'Delete',47=>'Help',48=>'0',49=>'1',50=>'2',
  51=>'3',52=>'4',53=>'5',54=>'6',55=>'7',56=>'8',57=>'9',65=>'A',66=>'B',
  67=>'C',68=>'D',69=>'E',70=>'F',71=>'G',72=>'H',73=>'I',74=>'J',75=>'K',
  76=>'L',77=>'M',78=>'N',79=>'O',80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',
  85=>'U',86=>'V',87=>'W',88=>'X',89=>'Y',90=>'Z',91=>'Left Windows',
  92=>'Right Windows',93=>'Application',95=>'Sleep',96=>'PAD 0',97=>'PAD 1',
  98=>'PAD 2',99=>'PAD 3',100=>'PAD 4',101=>'PAD 5',102=>'PAD 6',103=>'PAD 7',
  104=>'PAD 8',105=>'PAD 9',106=>'*',107=>'+',108=>'Separator',109=>'-',110=>'.',
  111=>'/',112=>'F1',113=>'F2',114=>'F3',115=>'F4',116=>'F5',117=>'F6',118=>'F7',
  119=>'F8',120=>'F9',121=>'F10',122=>'F11',123=>'F12',124=>'F13',125=>'F14',
  126=>'F15',127=>'F16',128=>'F17',129=>'F18',130=>'F19',131=>'F20',132=>'F21',
  133=>'F22',134=>'F23',135=>'F24',144=>'Number Lock',145=>'Scroll Lock',
  146=>'OEM 15',147=>'OEM 16',148=>'OEM 17',149=>'OEM 18',150=>'OEM 19',
  160=>'Left Shift',161=>'Right Shift',162=>' Left Control',163=>'Right Control',
  164=>' Left Alt',165=>'Right Alt',166=>'Browser Back',167=>'Browser Forward',
  168=>'Browser Refresh',169=>'Browser Stop',170=>'Browser Search',
  171=>'Browser Favorites',172=>'Browser Home',173=>'Volume Mute',
  174=>'Volume Down',175=>'Volume Up',176=>'Media Next Track',
  177=>'Media Previous Track',178=>'Media Stop',179=>'Media Play Pause',
  180=>'Launch Mail',181=>'Launch Media Select',182=>'Launch Application',
  183=>'Launch Application',186=>'OEM 1',187=>'OEM 2',188=>'OEM 3',189=>'OEM 4',
  190=>'OEM 5',191=>'OEM 6',192=>'OEM 7',219=>'OEM 8',220=>'OEM 9',221=>'OEM 10',
  222=>'OEM 11',223=>'OEM 13',225=>'OEM 20',226=>'OEM 14',227=>'OEM 21',
  228=>'OEM 22',229=>'Proccess',230=>'OEM 23',232=>'OEM 24',240=>'OEM 25',
  241=>'OEM 26',242=>'OEM 27',243=>'OEM 28',244=>'OEM 29',245=>'OEM 30',
  246=>'ATTN',247=>'CRSEL',248=>'EXSEL',249=>'EREOF',250=>'Play',251=>'Zoom',
  253=>'PA1',254=>'OEM Clear'}
  
  def self.name?(id)
    return (KEYS_NAMES[id].nil? ? '???' : KEYS_NAMES[id])
  end
  
end

#-----------------------------------------------------------------------------
module Registry
  
  module_function
  
  RegCloseKey = Win32API.new('advapi32', 'RegCloseKey', 'L', 'L')
  RegOpenKeyExA = Win32API.new('advapi32', 'RegOpenKeyExA', 'LPLLP', 'L')
  RegQueryValueExA = Win32API.new('advapi32', 'RegQueryValueExA','LPLPPP','L')
  HKEYS = {'HKEY_CLASSES_ROOT' => 0x80000000,'HKEY_CURRENT_USER' =>0x80000001,
  'HKEY_LOCAL_MACHINE' => 0x80000002, 'HKEY_USERS' => 0x80000003,
  'HKEY_CURRENT_CONFIG' => 0x80000005}
  
  def read_entry(key, entry)
    key.sub!(/(.*?)\\/, '')
    if HKEYS[$1] != nil
      hkey = HKEYS[$1]
    else
      return nil
    end
    opened, type, size = [0].pack('V'), [0].pack('V'), [0].pack('V')
    RegOpenKeyExA.call(hkey, key, 0, 131097, opened)
    opened = (opened + [0].pack('V')).unpack('V')[0]
    RegQueryValueExA.call(opened, entry, 0, type, 0, size)
    data = ' ' * (size + [0].pack('V')).unpack('V')[0]
    RegQueryValueExA.call(opened, entry, 0, type, data, size)
    RegCloseKey.call(opened)
    data = data[0, (size + [0].pack('V')).unpack('V')[0]]
    type = (type += [0].pack('V')).unpack('V')[0]
    case type
    when 1
      data.chop
    when 2
      data.chop.gsub(/%([^%]+)%/) { ENV[$1] || $& }
    when 3
      data
    when 4
      (data += [0].pack('V')).unpack('V')[0]
    when 5
      data.unpack('N')[0]
    when 7
      data.split(/\0/)
    when 11
      (data.unpack('VV')[1] << 32) | data[0]
    else
      nil
    end
  end
  
end


[Show/Hide] REQUIEM MASTERPIECE

CODE
#==============================================================================
# Requiem Masterpiece
#==============================================================================
# This module is necessary to activate and enhance compatibility of all Requiem's Scripts
#------------------------------------------------------------------------------
module Requiem_Masterpiece
  
  Version = 1.2
  
  @scripts = {}
  @warnings = {}
  
  Print_Errors = false
  
  def self.register(script, version, date)
    @scripts[script] = [version, date]
  end
  
  def self.enabled?(script, version = nil)
    if version != nil and @scripts.include?(script)
      if @scripts[script][0] >= version
        return true
      elsif @warnings[script].nil? and Print_Errors
        print "'#{script}' is obsolete.\r\nSome functions won't work correctly"
        @warnings[script] = ["is obsolete"]
        self.write_log
      end
    end
    return true if @scripts[script] != nil
    if @scripts[script].nil? and $TEST and @warnings[script].nil? and Print_Errors
      print "Unable to find script '#{script}' or it is placed in wrong place.\r\nSome functions won't work correctly"
      @warnings[script] = ["Unable to find"]
      self.write_log
    end
    return false
  end
  
  def self.show_scripts(alert=true)
    list = "Requiem Scripts [#{@scripts.size}]:\r\n\r\n"
    @scripts.each { |key, value| list += "#{key.gsub("Requiem ", "")}  #{value[0]}  #{value[1]}\r\n" }
    list += "\r\nWarnings:\r\n" if @warnings != {}
    @warnings.each { |key, value| list += "#{key} #{value}\r\n" }
    return print list if alert
    return list
  end
  
  def self.write_log
    file = File.new("Requiem/Requiem_Log-#{Time.now.strftime("%m_%d_%Y")}.log", "w")
    file.write(self.show_scripts(false))
    file.close
  end
  
end


This post has been edited by Khev: Jul 27 2009, 08:44 AM


__________________________

Go to the top of the page
 
+Quote Post
   
doggyhouse
post Jul 27 2009, 09:24 AM
Post #137


Dooms Cool
Group Icon

Group: Revolutionary
Posts: 102
Type: None
RM Skill: Beginner




Ok i got those added in. I get error are the input and masterpeice for ABS 8? Im using 7

This post has been edited by doggyhouse: Jul 27 2009, 09:25 AM
Attached File(s)
Attached File  ERROR________________.png ( 698.14K ) Number of downloads: 8
 


__________________________
No Current Signature, Please Check Back In A While =D
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 27 2009, 09:40 AM
Post #138


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




Well yeah.. This is the ABS8 thread :/

Try switching to ABS8 and see what happens.

EDIT: Just remembered what the problem might be, you're missing the Input.dll, gonna go look for it.

Here it is: http://www.4shared.com/file/121049220/9ef6e73c/Input.html

This post has been edited by Khev: Jul 27 2009, 09:51 AM


__________________________

Go to the top of the page
 
+Quote Post
   
doggyhouse
post Jul 27 2009, 11:01 AM
Post #139


Dooms Cool
Group Icon

Group: Revolutionary
Posts: 102
Type: None
RM Skill: Beginner




alright if this doesnt work ill switch to ABS8 i looked at 7 and it looked easier to use. But i guess using ABS 8 wont hurt.

EDIT: should i save it to a specific file?

This post has been edited by doggyhouse: Jul 27 2009, 11:02 AM


__________________________
No Current Signature, Please Check Back In A While =D
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 27 2009, 11:03 AM
Post #140


I'm sorry.. What?
Group Icon

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled




All right, keep us posted.


__________________________

Go to the top of the page
 
+Quote Post
   

25 Pages V  « < 5 6 7 8 9 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th June 2013 - 06:59 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker