LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



Go to page : Previous  1, 2, 3, 4, 5  Next

View previous topic View next topic Go down Message [Page 2 of 5]

The only one
The only one
#11 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
I have 3 days now. Saturday, Sunday and Monday. That'll be done probably soon.

EDIT:
The script is edit.

EDIT 2:
When I'll have finish, I'll make a super big job suite with windows in the main menu and everything else...
The only one
Show Signature
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
EVENTALIST
EVENTALIST
#12 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Sorry but i wont be able to until tuesday. :\
EVENTALIST
Show Signature
EVENTALIST
The only one
The only one
#13 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
@mr_wiggles or Gameface
The script don't want to work. It's incomprehensible for me. Can you check for that? I don't know why...

The script is finish. Someone can help me to polish it and fix the bug?
The only one
Show Signature
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
The only one
The only one
#14 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
I' m actually sleeping. I'll come back soon. And with the first fonctionnal version of this script. See you later.Razz
The only one
Show Signature
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
EVENTALIST
EVENTALIST
#15 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Hope you get it figured out, i run into snags like this all the time but your determination will help you get over the bumps and it will make that feeling when you complete it all the more satisfying.
EVENTALIST
Show Signature
EVENTALIST
The only one
The only one
#16 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
I'll need help to fix the last bugs. I need a scripter. I searched around 2 weeks the problems, but, I didn't find all of them. Here's the mos recent error I get:

Lumberjack script. In progress again... - Page 2 646319Woodcutting
The only one
Show Signature
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
EVENTALIST
EVENTALIST
#17 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Code:

$woodcutting = Woodcutting.new

This is whats causing your error. Your trying to create the class before the global $game_party is created causing the NIL. You should try to get rid of the global variables, try building this script into the Game_Player class. You can do calls to it by using $game_party.what_ever and it will save the class variables as well so it will remember the cutting level.

Code:

if @can_cut == true
  case woodcutting_lvl
  when 1..9
  @cctt = 1
  cut_tree = true
  @random = true
  when 10..19
  @cctt = 2
  cut_tree = true
  @random = true
  when 20..29
  @cctt = 3
  cut_tree = true
  @random = true
  when 30..39
  @cctt = 4
  cut_tree = true
  @random = true
  when 40..49
  @cctt = 5
  cut_tree = true
  @random = true
  when 50..59
  @cctt = 6
  cut_tree = true
  @random = true
  when 60..69
  @cctt = 7
  cut_tree = true
  @random = true
  when 70..79
  @cctt = 8
  cut_tree = true
  @random = true
  when 80..89
  @cctt = 9
  cut_tree = true
  @random = true
  when 90..100
  @cctt = 10
  cut_tree = true
  @random = true
  end
end
This whole thing can be reduced to this.
Code:

if @can_cut
  @cctt = (woodcutting_lvl / 10).ceil
  cut_tree = true
  @random = true
end

Seems your learning a lot, keep studding and you'll get the hang of it. Very Happy
EVENTALIST
Show Signature
EVENTALIST
Tutorial Wizardmaster
Tutorial Wizardmaster
#18 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

calvin624

calvin624
Tutorial Wizardmaster
Tutorial Wizardmaster
Tutorial Wizardmaster
profile
Looking forward to seeing the finished product. Mr_Wiggles is the perfect guy to learn the tricks of the trade from.
Tutorial Wizardmaster
Show Signature
Tutorial Wizardmaster
http://xasabs.com
The only one
The only one
#19 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

NuKa_BuBble

NuKa_BuBble
The only one
The only one
profile
Thank you mr_wiggles but, i'm not sure about game_party.what_ever.

I do like that?

The class
Code:
class Woodcutting < Game_Party

The end
Code:
#-----------------------------CASE BLOCK---------------------------------------#

if @can_cut
  @cctt = (woodcutting_lvl / 10).ceil
  cut_tree = true
  @random = true
end
  $game_party.woodcutting    ##### I need to put the game_party here? ######
#------------------------------------------------------------------------------#
#-----------------------End of the block and class-----------------------------#
#------------------------------------------------------------------------------#
end #class woodcutting end
The only one
Show Signature
The only one
http://nukabubble.deviantart.com/ http://soundcloud.com/nuka_bubble https://www.youtube.com/user/NuKaBuBble?feature=mhee
EVENTALIST
EVENTALIST
#20 Lumberjack script. In progress again... - Page 2 Empty Re: Lumberjack script. In progress again...
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
no, sorry the .whatever was an expression.

like to change the what ever to "what ever".

like so:
Code:

class Game_Party
def wood_level
return level
end
end

what ever just meant some def or var in the party class. Like $game_party.items, or $game_party.gold
EVENTALIST
Show Signature
EVENTALIST

Sponsored content

profile

View previous topic View next topic Back to top Message [Page 2 of 5]

Go to page : Previous  1, 2, 3, 4, 5  Next

 

Chatbox system disabled
Personal messaging disabled