Main Menu
  • Welcome to The RPG Maker Resource Kit.

Sum1 plzplzplzplzplzplzplz read this

Started by BPKS0, December 19, 2005, 04:05:00 AM

0 Members and 1 Guest are viewing this topic.

BPKS0

My comp wont load rmxp.net for sumreason and they have a script I need for my possible on line game plz go to this site and get the script for me


http://www.rmxp.net/forums/index.php?showtopic=29873




u have to be registerd at rmxp.net to go there. THX IF U HELP


The Moogle

QuoteThis is a runescape chat style sytem. It will show all the chat at the bottom with out hiting F5. But to chat you still need to hit F5.
This script was not by me it was by:
freakboy.And the fix's are by nanotechmonkey. Give them credit not me. So enjoy.

First of all add:
CODE
attr_accessor :chat

To: game_temp*. It should look like this when you are done:


#==============================================================================
# ? Game_Temp
#------------------------------------------------------------------------------
# ??????????????????????????????????????
# ????? $game_temp ????????
#==============================================================================

class Game_Temp

#--------------------------------------------------------------------------
# ? Attributes
#--------------------------------------------------------------------------
attr_accessor :spriteset_refresh
attr_accessor :chat_refresh
attr_accessor :chat_log
attr_accessor :chat
#--------------------------------------------------------------------------
# ? ?????????
#--------------------------------------------------------------------------
alias netplay_initialize initialize
def initialize
netplay_initialize
@spriteset_refresh = false
@chat_refresh = false
@chat_log = []
@chat = false
end

end

And in def initialize add:


@chat = false

It should look like the above one. If you cant do this just replace game_temp* with the above one.
Then add this above main. Call it Runescape_Chat for example if you want:


class Scene_Map
alias netplay_main main
alias netplay_update update
def main
@input_window = Window_ChatInput.new
@chat_window = Window_Chat.new

netplay_main

@input_window.dispose
@chat_window.dispose
end
def update
@input_window.update
@chat_window.update
$network.update
if Input.trigger?(Input::F5)
$game_temp.chat = true
$scene = Scene_Chat.new
end
netplay_update
end
end

Good job if you got this far. Now go to Scene_Chat, and add:


$game_temp.chat = false

Under:


if Input.getkey(27)

It should look like this once you have added it:
[code]

if Input.getkey(27)
$game_temp.chat = false
$scene = Scene_Map.new
end

Now for the final steps. I will post two of each of the scripts just in case if they don't work their will be a fix.
Go to Window_Chat and replace it with this:
CODE

#==============================================================================
#



Unless I say so, I'm using RPG Maker XP.