• Print

Author Topic: UPS - Ulysses Prop Share  (Read 547152 times)

0 Members and 1 Guest are viewing this topic.

Offline Patrik

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #105 on: June 18, 2008, 09:25:54 am »
Ok, I think I found something, everytime someone spawns a vehicle this error comes up:
Code: [Select]
ERROR: Hook 'UPSCollectOwnership' Failed: ups\lib.lua:86: attempt to index field '?' (a nil value)
Removing Hook 'UPSCollectOwnership'

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #106 on: June 18, 2008, 10:18:51 am »
I'm getting the same thing, Spammed in my lua error file

Quote
ERROR: GAMEMODE:'UPSAssignOwnership' Failed: ups\sh_lib.lua:184: Tried to use a NULL entity!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [BETA] UPS - Ulysses Prop Share
« Reply #107 on: June 18, 2008, 02:50:35 pm »
Ok, I think I found something, everytime someone spawns a vehicle this error comes up:
Code: [Select]
ERROR: Hook 'UPSCollectOwnership' Failed: ups\lib.lua:86: attempt to index field '?' (a nil value)
Removing Hook 'UPSCollectOwnership'

It appears your clients aren't getting initialized. I'd like to look into this further with you when I get some more free time (maybe tomorrow... if not then next week).

I'm getting the same thing, Spammed in my lua error file


You appear to be running an old version, line 184 is "local id", which obviously would not cause an error of that sort.
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #108 on: June 19, 2008, 02:04:06 pm »
Weird, I'll just reinstall it

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #109 on: June 20, 2008, 10:25:49 am »
Just reinstalled it, Just noticed I can't control anybody elses props, nor can any of my other admins.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [BETA] UPS - Ulysses Prop Share
« Reply #110 on: June 20, 2008, 12:24:24 pm »
You screwed up your permissions. I'll give you instructions on how you can fix your groups over STEAM.
Experiencing God's grace one day at a time.

Offline jrwr

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #111 on: June 20, 2008, 07:45:55 pm »
how about making it where you can gain owner ship of world props (like in gm_botmap)

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #112 on: June 21, 2008, 12:15:14 am »
Is the time until deletion after player leaves meant to save itself to a file? When my server restarts it goes back to default

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [BETA] UPS - Ulysses Prop Share
« Reply #113 on: June 21, 2008, 05:00:56 am »
It is, works for me, dunno why it wouldn't for you.
Experiencing God's grace one day at a time.

Offline Patrik

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #114 on: June 24, 2008, 06:47:05 am »
I removed Stargate and now it seems to work, so I would guess it is Stargate causing all problems :/

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [BETA] UPS - Ulysses Prop Share
« Reply #115 on: June 24, 2008, 09:05:08 am »
I removed Stargate and now it seems to work, so I would guess it is Stargate causing all problems :/

Thanks for the tip, I'll try stargate on my server.
Experiencing God's grace one day at a time.

Offline Patrik

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #116 on: June 25, 2008, 03:12:11 pm »
Ok, most of my problems are gone, however I suspect the deleting bug is back, but only after a map change, never after a restart, I'll look more closely into it.

Also, I made a small script that replaces the bouncy ball with a similar entity, but it gets owned by the map, is there a easy way to make it get owned by the people who spawned the bouncy ball or at least make it up for grabs? (With simple I mean really simple, I don't even consider myself as a real coder :P)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [BETA] UPS - Ulysses Prop Share
« Reply #117 on: June 25, 2008, 03:35:06 pm »
Sure, your best option here would be to use CPPI as it will hopefully become an adopted standard for prop protectors. Just call:

Code: Lua
  1. ent:CPPISetOwner( ply )

Where ent is the Entity object you want the player to own and ply is the Player object that is spawning the ent.
Experiencing God's grace one day at a time.

Offline Patrik

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: [BETA] UPS - Ulysses Prop Share
« Reply #118 on: June 26, 2008, 09:30:34 am »
Thank you!

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: [BETA] UPS - Ulysses Prop Share
« Reply #119 on: July 03, 2008, 10:40:25 pm »
Code: [Select]
[FB] Killzor<STEAM_0:0:18160483> spawned model models/props_wasteland/depot.mdl
Precache of sprites/redglow1 ambigious (no extension specified)
[UPS ERROR] Ownership table is not setup for a ply in onEntRemoved! Could be a b
ad UPS addon installed or bad initialization?   Please report this error to ulys
sesmod.net with information on how you got it.
Tor-Eirik: you spawned a prop at the same tim i hit fire on the stacker
[FB] Killzor: way too big


No Idea what caused it, so I copied everything b4 and after it.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

  • Print