Jump to content




[CC 1.47] [MC 1.45] AdventureMap Peripheral - Updated to Version 1.5

peripheral java utility

29 replies to this topic

#21 Sukasa

  • Members
  • 8 posts

Posted 27 November 2012 - 06:20 PM

Another request: PlayerDimension(str playername) - returns the dimension that the player is in.

#22 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 27 November 2012 - 06:53 PM

View PostSukasa, on 27 November 2012 - 06:20 PM, said:

Another request: PlayerDimension(str playername) - returns the dimension that the player is in.

Hmm. I like this one. I'll try to implement this in the next update.

#23 00Fant

  • New Members
  • 1 posts

Posted 28 November 2012 - 03:09 AM

and more ideas...

setPlayerSpeed( player, value)
setJumpPower( player, value )

char = getPressedKey( player )


and a other question, can u make a turtle with ur peripheral integrated?

i´ve made a trutle follower but i must spawn ur peripheral on top to get the coords ^^ that is not the best way xD


Thanks for ur peripheral, that is what we need! ;)

#24 Larethian

  • Members
  • 3 posts

Posted 04 December 2012 - 11:14 AM

This sounds interesting and I plan to use it on a server where nobody knows Lua so I can safely use it...
However I cant seem to download this without registering on the downloadpage, which I do not want (There are enough out there who have my (not too reliable) data). Can you upload it maybe at another spot where it can be accessed without having to register?

#25 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 04 December 2012 - 01:45 PM

View PostLarethian, on 04 December 2012 - 11:14 AM, said:

This sounds interesting and I plan to use it on a server where nobody knows Lua so I can safely use it...
However I cant seem to download this without registering on the downloadpage, which I do not want (There are enough out there who have my (not too reliable) data). Can you upload it maybe at another spot where it can be accessed without having to register?

Here is a link to it on Mediafire - http://www.mediafire...87o869ggdo08e6p

Please keep in mind that I've never tested it on a server so I have no idea whether or not it will work. If it doesn't, let me know what (if any) errors you get and I will attempt to fix the issue. Unfortunately my computer is undergoing repairs right now so it may be a few days before I am able to do anything about it.

#26 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 21 January 2013 - 01:35 PM

Sound awesome. Gonna be trying this.
Heh.
-- The Mob Killer 2000 --
args = {...}
if not args[1] or not args[2] or not args[3] or not args[4] then
  print("Usage: mobKiller <x> <y> <z> <loop> [damage]")
  return
end
adv = peripheral.wrap("right")
if loop == "true" then
  while true do
	if args[5] then
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),tonumber(args[5]))
	else
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),1)
	end
  end
else
  if args[5] then
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),tonumber(args[5]))
  else
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),1)
  end
end
Heh.

#27 sirdabalot

  • Members
  • 115 posts

Posted 24 January 2013 - 10:47 PM

View PostShnupbups100, on 21 January 2013 - 01:35 PM, said:

Sound awesome. Gonna be trying this.
Heh.
-- The Mob Killer 2000 --
args = {...}
if not args[1] or not args[2] or not args[3] or not args[4] then
  print("Usage: mobKiller <x> <y> <z> <loop> [damage]")
  return
end
adv = peripheral.wrap("right")
if loop == "true" then
  while true do
	if args[5] then
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),tonumber(args[5]))
	else
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),1)
	end
  end
else
  if args[5] then
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),tonumber(args[5]))
  else
	  adv.createExplosion(tonumber(args[1]),tonumber(args[2]),tonumber(args[3]),1)
  end
end
Heh.

You have just given me an idea to make an explosion circle thingy. O_o Forcefields FTW!

#28 NOTUSEDPLEASEDELETE

  • Members
  • 70 posts

Posted 06 August 2013 - 04:43 PM

Awesome! I have an idea:
Add a function that executes the command added as the parameter.
Example:
--Clears someone's inventory
peripheral.executeCommand("clear")


#29 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 08 August 2013 - 10:14 PM

View PostFlick, on 06 August 2013 - 04:43 PM, said:

Awesome! I have an idea:
Add a function that executes the command added as the parameter.
Example:
--Clears someone's inventory
peripheral.executeCommand("clear")

This project is way dead. Check out immibis' peripherals. I believe he has an AdventureMap peripheral that does more than mine did.

#30 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 09 August 2013 - 09:23 AM

Locked as requested.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users