Post Reply 
 
Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mine
Author Message
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #11
RE: mine
Code:
local.x=<eval {1 <mining>}>
if (<dlocal.x> > <eval <mining> /10>)
  skillgain mining <eval <mining> /10>
  return 1
else
  emote fail to smelt <act.name>
  local.x=<eval {1 5}>
  if (<act.amount> > <dlocal.x>)
    act.amount -= <local.x>
    act.update
  else
    act.remove
  endif
  return 1
endif

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 11-18-2012 10:56 AM by Skul.)
11-18-2012 10:56 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #12
RE: mine
Sphere 55i doesn't have LOCAL, nor can it cast a number to decimal by prefixing a reference with a "d", and it also doesn't have a built-in SKILLGAIN function. From Skul's previous sample code section: There is no NEWITEM function, or NEW reference. There is no CANSEELOS, TRYSRC, or ISNEARTYPE...

Other than that it looks like it would work for 56b ;-)
(This post was last modified: 11-19-2012 04:01 AM by RanXerox.)
11-19-2012 03:52 AM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #13
RE: mine
thanks. its real to change it for 55 r ? Mb there is a prepared variant?
11-19-2012 04:27 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #14
RE: mine
I'd go 56b, it's the same as 55i only it offers so much more and better stability.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
11-19-2012 01:31 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #15
RE: mine
thanks anyway. Of course it will be better for 55 R.
11-19-2012 08:31 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #16
RE: mine
Switching from 55i to 55r makes little sense. You will still find yourself having to make some script changes. It would be better to move up to 56b and make whatever changes are required only once and in the process gain access to the improved stability and features 56b offers over 55r.

[Image: 2nis46r.jpg]
11-20-2012 12:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #17
RE: mine
true that.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
11-20-2012 11:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Spooky
Apprentice
*

Posts: 22
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Dec 2014
Reputation: 0

Sosaria World

Post: #18
RE: mine
Hello, i don't know how to occupy mine dungeneon on sphere world 0.55i? script for ore and ingot i have but players can't mine. Can anybody help me about occupy mine dungeneon spawn ore?
12-08-2014 08:16 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)