Author Topic: Uclip v1.13 -- A noclip alternernative!  (Read 21836 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Uclip v1.13 -- A noclip alternernative!
« on: July 19, 2007, 09: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)
* PropProtection (recommended!)
* Simple Prop Protection
* EPS
* PropSecure
* Protector

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".


If you want further demonstration, just join our server at ulyssesmod.net:27016 or click here.

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?
* Unnoclip -- There was a valve function that would get you out of a prop if you were stuck. We had to override this because you could go through walls with it. Now you'll just stay where you are when you unnoclip. Another thing for a future version.

Special thanks:
* 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_13.zip
« Last Edit: April 21, 2008, 11:53:05 AM by Megiddo »
This space for rent

Offline Kyzer

  • Full Member
  • ***
  • Posts: 191
  • Karma: 11
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #1 on: July 20, 2007, 03: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, 05:25:57 PM by Kyzer »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3348
  • Karma: 108
  • Project Specialist
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Uclip -- A noclip alternernative!
« Reply #2 on: July 20, 2007, 06: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. :)
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it - David Pogue

adamscybot

  • Guest
Re: Uclip -- A noclip alternernative!
« Reply #3 on: July 22, 2007, 02: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
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #4 on: July 25, 2007, 08: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: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #5 on: July 25, 2007, 01: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.
This space for rent

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #6 on: July 26, 2007, 07: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: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #7 on: July 26, 2007, 11:57:21 AM »
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.
This space for rent

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #8 on: July 26, 2007, 04: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
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #9 on: July 26, 2007, 05: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, 05:13:42 PM by truck »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #10 on: July 26, 2007, 05: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
This space for rent

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #11 on: July 26, 2007, 08: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: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #12 on: July 26, 2007, 09:13:10 PM »
Stay on topic please.
This space for rent

Offline truck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #13 on: July 26, 2007, 09: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: 3583
  • Karma: 191
  • Project Lead
    • View Profile
Re: Uclip -- A noclip alternernative!
« Reply #14 on: July 26, 2007, 10:35:35 PM »
Are you still able to go through the world, or only props?
This space for rent