On line 25, replace ClientRPC with ClientRPCPlayer
Portgun
Moved
Total Downloads: 2,152 - First Release: Oct 19, 2014 - Last Update: Nov 9, 2017
- 5/5, 4 likes
-
NetworkData.Write - no handler to write System.Object[] -> System.Object[] -
I also am getting the 2nd above error....
Code:[Oxide] 6:29 AM [Error] Failed to call hook 'cmdTeleport' on plugin 'Portgun' File: portgun.lua Line: 25 invalid arguments to method: BaseEntity.ClientRPC: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: May 26, 2015 -
Code:player:ClientRPC(nil,player,"ForcePositionTo",newobj)
Code:player:ClientRPCPlayer(nil, player, "ForcePositionTo", destination)
-
Reneb updated Portgun with a new update entry:
mughisi fix
-
how do i take the /up and /down commands out of this? the building grades mod uses /up and /down as commands to change the grade of your build and sometimes this will override them. i dont use the /up or /down command since admins can fly
-
1. Is there some way you can mount a user onto a parachute (like the airdrop) with the same drop rate as the loot container on a given path? I am trying to create a jump tower for users to get the experience of skydiving.
2. I would also like to define an area inside a building with zero-gravity for users to experience space.
If it is possible, I would like to make my server a playground for real skydivers to enjoy. Please give this idea serious consideration and let me know your answer.
Thank you,
-SUE
PS: Your stuff is great! -
Do I need to set permission? It's says I'm not allowed to use this command.
-
Any ideas on how to fix that ?
Code:7:07 PM [Info] Unloaded plugin Portgun v1.3.4 by Reneb 7:07 PM [Info] Loaded plugin Portgun v1.3.4 by Reneb 7:07 PM [Error] Failed to call hook 'cmdTeleport' on plugin 'Portgun' File: portgun.lua Line: 79 attempt to call method 'Ray' (a string value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
<3 <3 <3
-
Thanks Wulf, you're the man
Regards -
Please help, I can't use my /p command.
This is the error I get.
Code:[Oxide] 2:34 AM [Error] Failed to call hook 'cmdTeleport' on plugin 'portgun v1.3.4' File: portgun.lua Line: 118 attempt to call method 'Ray' (a string value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 4, 2015 -
Ok, now I'm getting this error, and it's rubber banding me back to where I start, every time I portal.
[8/22/2015 6:54:26 PM] [Oxide] 6:54 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'm-Teleportation v1.4.17' took: 703ms
[8/22/2015 6:54:26 PM] TimeWarning: AIHandler.Cycle took 0.71 seconds (706ms) -
Apparently nobody's paying attention to this thread anymore. :/
-
Wulf Community Admin
-
Is there anyone out there who would be willing to take a look into fixing the portalgun.lua file for experimental? I'm trying to use it, but I"m just rubberbanding back to my starting point, and can't hop anywhere on the map.
-
Wulf Community Admin
-
Yeah, I figured that out, but I'm not getting any kind of error in any of the logs, just rubberbanding back to the original spot when using /p. I can't even find the error logs for this plugin.
-
Wulf Community Admin