#GitHub - Srlion/Hook-Library

1 messages · Page 1 of 1 (latest)

lusty roost
split rivet
#

ulib hook library is the slowest library on earth

lusty roost
#

exactly

#

nice comparison

split rivet
#

lol

#

it aint any faster than meep’s or dash, they are all very close

#

but meep got random duplicated calls

lusty roost
#

im using your hook lib in ulib, works great

split rivet
#

just make sure to use ulib priority names to work with it

lusty roost
#

yeah, your old version uses numbers in the exact same way as ulibs so that works

tawdry garden
#

btw is native ulib support in the works? i was planning on just making a PR if it isnt, right now i did some hackjob to get mine working

lusty roost
#

we replace the base hook lib by using the same path

#

otherwise you get dumb bugs where the third arg wasnt supported yet like regular ulibs way of doing it

tawdry garden
#

same, i was planning on just creating a fake GetUlibHookTable function to trick ulib if i made a pr

split rivet
#

i wanted to add ulib support but i was worried that it would break lots of stuff

tawdry garden
#

it prevents loading the original ulib hook lib

split rivet
#

like darkrp does some checking to do postplayersay if ulib is installed

tawdry garden
#

oh ive been running your lib with ulib for atleast 2 years without breakages

#

it works flawlessly so far

split rivet
#

might make a pr to fix that

lusty roost
tawdry garden
#

Would be a ulib support pr be appreciated or not?

split rivet
#

just make it monitor_high = pre_hook

#

depends on how good it is

#

cant release it on steam

tawdry garden
#

its probably a 2 line change, maybe a couple more if hook prio vars are different

lusty roost
#

idk, most people downvoted that guys change because

  1. it was a shitty paste
  2. didnt properly port GetULibTable iirc
  3. he's a known pedo
split rivet
#

lmfao

lusty roost
#

average gmod server owner

lusty roost
#

long story

split rivet
#

GetULibTable will never work

lusty roost
#

works in mine i think

tawdry garden
#

works in mine so far too

split rivet
#

It returns the table itself

tawdry garden
#

i recreated ulibs hooking bullshit too

#

so hacky

split rivet
#

not a copy

lusty roost
split rivet
#

Lmfao

#

yeah what about changes

#

If it was returning a copy i would say yes it works

#

but u have to use setmetatable

#

so that if anything changed/added/removed you would do it to main hook library

lusty roost
#

yeah its not that far backwards compatible

split rivet
#

releasing it needs to be fully backwards compatible

lusty roost
#

yeah understandable

split rivet
#

bruh would setmetatable even work with that shit

#

ah ye it would work

lusty roost
#

i didnt know that darkrp did that wth

split rivet
#

thats what stopped me from adding ulx support

#

i dont even think its even worth to add ulx supp when ulx itself needs to get nuked

lusty roost
#

fair, i still use ulib/ulx tho

#

heavily modified but yeah, its not great

#

switching over to something like sam would take a bunch of work

#

we're considering it though

#

iirc sam has like subranks for donor and such which would be super useful for certain staff ranks

split rivet
#

u could use the one on github

#

but its just a bad idea to have double ranjs

lusty roost
#

some kind of way to give extra perms without remaking the entire role is super useful

split rivet
#

but maintaining two ranks is a nightmare

#

old school way vip_mod is the best thing

#

u wont be touching ranks every sec to worry about that

lusty roost
#

easier said than done when you got ~20 ranks

split rivet
#

could always code it, maybe create a json file where you have all ranks

#

vip: {} mod:{} and just merge them into one rank

split rivet
#

fadmin is decent, works with other admin mods

nova scaffold
#

I always wondered if it was worth using solo. Don't really see the point of having both ULX and FAdmin alongside each other, but such is the norm

#

Any commands ULX has that FAdmin doesn't could just be re-implemented I'd imagine

split rivet
#

its just a pain to work with but it doesnt hurt to use it solo

tawdry garden
#

whats a good replacement for ulx anyways, at this point ive rewritten all the ulib/ulx networking to not bog my server down but its a completely hacky mess now

split rivet
#

pssst

nova scaffold
#

I always wanted to write my own for my server's needs, but it takes time to reinvent the wheel

tawdry garden
split rivet
#

(paid)

tawdry garden
#

as long as its source code isnt completely locked down a admin mod is worth a fair price

split rivet
nova scaffold
split rivet
#

the menu, adding ranks, modifying ranks, the commands

#

all outdated

lusty roost
tawdry garden
#

ulx be like "lets send a entire 5kib json file over net to all players whenever anyone joins/disconnects"

#

fucking meme mod

split rivet
#

thats why i made my admin mod, every time i spawn a bot i lag for 2 secs

nova scaffold
#

Guess I'll have to find out the hard way

tawdry garden
#

i could not put this in a PR in a thousand years with the amount of jank it has

split rivet
#

welp, ulx wouldnt hurt if u got a low playerbase

tawdry garden
#

im in the top 50 biggest gmod servers Harold

split rivet
#

could do the job fine till servers gets big then u switch to another admin mod

lusty roost
nova scaffold
split rivet
#

@tawdry garden bruh and not using my admin mod

tawdry garden
#

wait lemme slide into your dms

nova scaffold
# lusty roost

Yeah fuck this, I'm getting rid of ULX and gonna try and make something of FAdmin

tawdry garden
lusty roost
#

i see you use gametracker but that shit is rigged af

#

they block some servers from showing up iirc

tawdry garden
#

for a while our battlemetrics was higher than gametracker

lusty roost
split rivet
#

@nova scaffold do u have a big server?

tawdry garden
#

but constant ddos that forced a move really knocked that down

#

we will recover!

lusty roost
#

im usually in the top 100

nova scaffold
#

However I'm considering bringing it back as I keep getting people to this day asking for it lol

#

So good time to consider stuff like this

#

I'm in the process of rewriting stuff anyway because my old stuff is total shit and its long overdue, so again trying to dump ULX would be very beneficial as it was a thorn in my ass back in the day

split rivet
#

pssst

#

just use ulx for the time being till ur server revives

#

wont hurt u for now

lusty roost
#

tbh ulx would be fine if they fixed networking / storage

split rivet
#

no it acutally needs a rewrite

nova scaffold
#

Which I believe is why they were working on ULX4

#

But afaik that's dead

lusty roost
#

time to make my own admin mod with cppi...

nova scaffold
#

I would like to write my own, but there's enough shit to do as it is. Maybe someday

tawdry garden
#

but ulx is still garbage as a user experience

lusty roost
#

yep

quaint rose
#

it's fine

#

it carried gmod for like a decade too so show some respect 💪
just a shame all the maintainers are boomers now