ULX

Author Topic: Uclip v1.20 -- A noclip alternative!  (Read 415548 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Uclip v1.20 -- A noclip alternative!
« on: July 19, 2007, 10:08:43 PM »
What is it?
Uclip is a noclip alternative. By this we mean it's similar but different in the fact that you can't noclip through anything but your own props (If you're running a prop protection). So, you can't noclip through the world or through others' props. Admins can still noclip through everything.

Prop protectors supported: (if you don't have one of these everyone can noclip through every prop)
* UPS (recommended!)
* Simple Prop Protection
* FPP
* Anything else that uses CPPI (contact the mod author)

Video:
This video demonstrates noclipping up to a player's prop (handles odd angles okay), noclipping up to the ground, then noclipping through a tight space by "ducking".


Known bugs:
* If you're noclipped, people can move props inside of you. You'll then be able to noclip through their prop in order to get out. Better than getting stuck though, right?

Special thanks:
* Ryno-SauruS - Figuring out a workaround for garry's noclip bug.
* Spbogie: Helping me think of different ways to accomplish this, writing the initial version.
* Banyon: Bug testing.
* DrogenViech: Finding +moveup/+movedown exploit.

Download:
http://ulyssesmod.net/archive/Uclip/Uclip-v1_22.zip
« Last Edit: January 27, 2013, 07:36:41 PM by Megiddo »
Experiencing God's grace one day at a time.

Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: Uclip -- A noclip alternernative!
« Reply #1 on: July 20, 2007, 04:40:08 PM »
Interesting  :o

I will try it, thanks.

edit:

Here is my config, i use PropProtection and i would like to test this noclip protection but i'm an admin;
Code: [Select]
-- Config
local function adminCheck( ply ) -- Who can move through everything? Comment out these lines for no one.
//if ulx and ply:query( "ulx noclip" ) then
// return true
//elseif ply:IsAdmin() or ply:IsSuperAdmin() then
// return true
//end

return false
end
-- End config

local hasPropProtection = true -- Chaussette's Prop Protection (preferred over PropSecure)
local propProtectionFn -- Function to call to see if a prop belongs to a player. We have to fetch it from a local so we'll store it here.

local hasPropSecure = false -- Prop Secure by Conna
local hasProtector = false -- Protector by Conna

local noProtection = false -- If there's no protection whatsoever, this is flagged.

As you can see i disable the admincheck. But it doesn't do anything, i mean as an admin i can still move outside world and inside players props. Also the function admincheck is never used in the script, and i can't find the word 'admin' in another place on this script. Strange :o

How can i test it without changing my group etc ?

For future update (if any but i guess yes), i would like to see a menu, like just below PropProtection's control panel, with some options like:

admins functions:
toggle on/off
admins can noclip everything (on/off)

functions for all:
a list of players that we can choose to be allowed to noclip our prop, like, if player1 is not allowed and player2 is allowed:

Player1 [allow]
Player2 [disallow]

well..i'm sure you know what i mean X)

They are just suggestions i would like to see!

REEDIT: error report!
Code: [Select]
Warning: Unhandled usermessage '[STRING NOT POOLED]'
**********************************************************
ERROR: Hook 'UclipMove' Failed: ULib/_cl_2.05/sh_ucl.lua:19: attempt to call method 'IsListenServerHost' (a nil value)
Removing Hook 'UclipMove'
**********************************************************
« Last Edit: July 20, 2007, 06:25:57 PM by Kyzer »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Uclip -- A noclip alternernative!
« Reply #2 on: July 20, 2007, 07:43:17 PM »
Kyzer. Nice thoughts.
However, I've not tested this yet, but would hope that the various prop protects allow player sharing. If the prop protect allows a player to touch, then wouldn't this allow the player to also noclip?

This would make the 'player' portion of your menu idea redundant. :)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

adamscybot

  • Guest
Re: Uclip -- A noclip alternernative!
« Reply #3 on: July 22, 2007, 03:26:31 AM »
Can this script be modified so SuperAdmins can go through everything (as they do now) but admins cant go through the World, SuperAdmins props, or other normal admins props (so basically they can only go through normal users props). I use Uteam too.

I use PropProtection.

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #4 on: July 25, 2007, 09:57:54 AM »
How i use this script??

I put TRUE after prop protection

Code: [Select]
local hasPropProtection = true -- Chaussette's Prop Protection (preferred over PropSecure)
local propProtectionFn -- Function to call to see if a prop belongs to a player. We have to fetch it from a local so we'll store it here.

local hasPropSecure = false -- Prop Secure by Conna
local hasProtector = false -- Protector by Conna


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Uclip -- A noclip alternernative!
« Reply #5 on: July 25, 2007, 02:37:36 PM »
Sorry, guess I should've been clear in the comments. Those flags are all set by the script itself, you shouldn't (read: DON'T!) set those yourself.
Experiencing God's grace one day at a time.

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #6 on: July 26, 2007, 08:59:25 AM »
I get the same error of Kyzer

Code: [Select]
Warning: Unhandled usermessage '[STRING NOT POOLED]'
**********************************************************
ERROR: Hook 'UclipMove' Failed: ULib/_cl_2.05/sh_ucl.lua:19: attempt to call method 'IsListenServerHost' (a nil value)
Removing Hook 'UclipMove'
**********************************************************

You can fix this error??? Because nobody can use noclip perfectly. Collision work but nobody can move when he flying

Thx

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Uclip -- A noclip alternernative!
« Reply #7 on: July 26, 2007, 12:57:21 PM »
Try changing this:
Code: [Select]
-- Config
local function adminCheck( ply ) -- Who can move through everything? Comment out these lines for no one.
if ulx and ply:query( "ulx noclip" ) then
return true
elseif ply:IsAdmin() or ply:IsSuperAdmin() then
return true
end

return false
end
-- End config

To this:

Code: [Select]
-- Config
local function adminCheck( ply ) -- Who can move through everything? Comment out these lines for no one.
if ply:IsAdmin() or ply:IsSuperAdmin() then
return true
end

return false
end
-- End config

See if that works or not.
Experiencing God's grace one day at a time.

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #8 on: July 26, 2007, 05:55:28 PM »
ok finaly your script work before your new solution.... Your new solution is for remove the error in the console???

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #9 on: July 26, 2007, 06:08:55 PM »
I get error again with your new solution

EDIT: How i remove the right of the admin for flying??? Because admin can go anywhere and i want to remove that

thx
« Last Edit: July 26, 2007, 06:13:42 PM by truck »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Uclip -- A noclip alternernative!
« Reply #10 on: July 26, 2007, 06:51:14 PM »
In that case replace that chunk of code with this:

Code: [Select]
-- Config
local function adminCheck( ply ) -- Who can move through everything? Comment out these lines for no one.
return false
end
-- End config
Experiencing God's grace one day at a time.

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #11 on: July 26, 2007, 09:16:53 PM »
i need your help to change color of my scoreboard... I try but its hard. I find how to change the logo and hostname color but im not sure i do it properly

You can explain me please

thx

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Uclip -- A noclip alternernative!
« Reply #12 on: July 26, 2007, 10:13:10 PM »
Stay on topic please.
Experiencing God's grace one day at a time.

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Uclip -- A noclip alternernative!
« Reply #13 on: July 26, 2007, 10:20:16 PM »
ok.... Your code doesnt work... I can pass in all thing

Other solution???

Explain how for color by PM... thx

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Uclip -- A noclip alternernative!
« Reply #14 on: July 26, 2007, 11:35:35 PM »
Are you still able to go through the world, or only props?
Experiencing God's grace one day at a time.