RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Sorry another stupid question.. >.<

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 87

Theres a script that I dont get.. [I know how to insert scripts but this one confused me..]

Link: http://www.hbgames.org/forums/showthread.php?t=6305

He lost me on the third step..

"Put this under all the other instance variables
attr_accessor : qupdate # for the quest script
Then put this at the bottom of "initialize"
@qupdate = []
for i in 0...5000
@qupdate = false
end"

Please and Thank You ^__^

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Just use this piece of code and you'll be fine:

Code: [Select]
class Game_Temp

  attr_accessor : qupdate
 
  alias init_qu initialize
  def initialize
    init_qu
    @qupdate = []
    5000.times {@qupdate.push(false)}
  end

end

I also improved the code a lil' bit. ::)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 87
I keep getting an error now >.<



i think i screwed up.. .__.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
hbgames.org smiley corruption I would say. ::) (The code got corrupted by the forums smileys, you should have noticed...) And since somebody locked the topic, you can't use the quote button to get the code from the post itself. ::) Try to report it to a mod there, maybe he can help you.

Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep: +0/-0Level 87
I actually fixed that on my own.. [The smiley thing] Its just the error has to do with:
attr_accessor :totalquests, :totalfound, :moneyearned, :expearned, :rpearned, :totalcompleted,

I don't see much wrong with it.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Ok, upload your Scripts.rxdata somewhere or put it as attachment to your post. I'll fix it directly.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!