Recent Posts

Pages: 1 2 [3] 4 5 ... 10
General Chat & Help and Support / MOVED: Make Persistent freezing server
« Last post by MrPresident on January 13, 2017, 12:13:03 AM »
Off-Topic / Re: Make Persistent freezing server
« Last post by MrPresident on January 13, 2017, 12:12:55 AM »
Hi, ulx doesn't do this at all.
We don't handle props in any fashion. If you are getting saves every 10 minutes, something other than ULX is causing it.

Moving this to Off Topic.
Off-Topic / Make Persistent freezing server
« Last post by ZergHunter on January 12, 2017, 10:52:22 PM »
The issue I'm having is every 10 minutes my server freezes and my CPU core on the server box spikes for about 8 seconds, then it drops back down and everything runs fine. This wasn't happening before we added a good amount of props to the map so I think this is persistent saving the props every 10 minutes. I'm far from an expert on this so I could be way off. We're running Nutscript so we don't really need to save every 10 minutes, I've searched and searched but I've been unable to find a way to force a save, and stop the auto saving. Is this a possibility? It'd be great to not have this lag spike every 10 minutes.

Any advice would be greatly appreciated!

My ULib/ULX versions (run "ulx version" in console):
ULib v2.61
ULX v3.71

Game mode(s) I am having this problem on: Nutscript

Thanks in advanced!
Developers Corner / Re: Help With HUDDrawTargetID?
« Last post by iViscosity on January 12, 2017, 09:05:43 PM »
Ah that seems fairly easy to understand... I'll take a look and see what I can do, thanks.
Developers Corner / Re: Help With HUDDrawTargetID?
« Last post by MrPresident on January 12, 2017, 08:55:46 PM »
Take a look at


This is how garrysmod handles HUDDrawTargetID()

You don't need to mix it with HUDPaint, it's just saying that it's called from within HUDPaint. you essentially just draw elements in that function.

It is entirely clientside, so any information about a player you want to draw will need to be networked or saved to NWVars.
This is true, and in fact, autopromote WILL cause issues with your server and ULX down the road if you use it due to how it works and some limitations of ULX. Use at your own risk. :)
IMO, this question should have been asked in the autopromote release thread you're using, not the support section for ULib/ulx.
I'm not moving it at this time, because a ULX solution can be used, but, Apromote isn't recommended nor created by Team Ulysses.

Developers Corner / Help With HUDDrawTargetID?
« Last post by iViscosity on January 12, 2017, 07:53:38 PM »
You know in some gamemodes like TTT how if you look at someone it can show you information about them like if they have 90 or higher health it'll say "Healthy" or something like that when you look at them? How can I access that? I'm writing an Experience mod that I want to display some information under this stuff, but I'm not sure how to get it.

Is it gamemode specific, like will I have to look through the TTT code or any other gamemode that supports it, or can I find it on the wiki somewhere?

Edit: Think I found it... GM:HUDDrawTargetID except I'm not sure how I could draw it to position correctly. I want it to display the amount of experience they currently have / the experience they need to level up and the value of the Level they're at (I have functions for these, I just need to know how to position them).

The description says

"Called from GM:HUDPaint to draw player info when you hover over a player with your crosshair or mouse."

So how do I mix these together? Never really used HUD Painting before, not sure how to use this  :'(
Developers Corner / Ternary Operator
« Last post by iViscosity on January 12, 2017, 07:29:26 PM »
Edit: Nevermind, figured out how to do it, I just checked that if the variable wasn't given, then it = 1.
Pages: 1 2 [3] 4 5 ... 10