SphereCommunity
mine - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions)
+--- Forum: Sphere 55i Help (/Forum-Sphere-55i-Help)
+--- Thread: mine (/Thread-mine)

Pages: 1 2


RE: mine - Skul - 11-18-2012 10:56 AM

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



RE: mine - RanXerox - 11-19-2012 03:52 AM

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 ;-)


RE: mine - mrkarlo - 11-19-2012 04:27 AM

thanks. its real to change it for 55 r ? Mb there is a prepared variant?


RE: mine - Skul - 11-19-2012 01:31 PM

I'd go 56b, it's the same as 55i only it offers so much more and better stability.


RE: mine - mrkarlo - 11-19-2012 08:31 PM

thanks anyway. Of course it will be better for 55 R.


RE: mine - Mordaunt - 11-20-2012 12:40 AM

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.


RE: mine - Skul - 11-20-2012 11:53 AM

true that.


RE: mine - Spooky - 12-08-2014 08:16 AM

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?


This forum uses Lukasz Tkacz MyBB addons.