• NutScript - Nutty name, serious framework
    2,778 replies, posted
[QUOTE=Reyjr43;45823726]Couldn't queuing up writing cause an issue with not only slowness, but considering the OS it's running on is likely Windows, doesn't a process eventually crash if you have too many things queued up? I could be COMPLETELY wrong here, so don't take my word for it.[/QUOTE] Long-running processes don't get randomly killed. Queuing up things is as simple as sitting them in a list or array and completing them sequentially (or randomly, if you hate your users). [QUOTE=RonanZer0;45825638]I have wiremod & fadmin installed (for my other servers), they appear to be putting stuff in the DB... is that a problem???[/QUOTE] SQLite is really not great for concurrency without significant work. You should consider using MySQL or a similar solution.
Well isn't this great. After a fresh install of GMod, SteamCMD and SRCDS (no seriously, all I did was install the gmod with steamcmd, put in the nutscript and hl2rp folders (obviously removing the -master at the end of them), make a basic bat file and open up the server on gm_construct, nothing else) I'm getting THIS error when I join (not when the console is open, only when in a character menu or spawned in etc.) [code] [ERROR] gamemodes/nutscript/plugins/autocomplete.lua:14: attempt to call method 'IsTyping' (a nil value) [/code] [QUOTE=AndrewPH;45827272]Long-running processes don't get randomly killed. Queuing up things is as simple as sitting them in a list or array and completing them sequentially (or randomly, if you hate your users). SQLite is really not great for concurrency without significant work. You should consider using MySQL or a similar solution.[/QUOTE] I need to be able to host it on my PC for free...
[QUOTE=RonanZer0;45827593] I need to be able to host it on my PC for free...[/QUOTE] MySQL is free, and is available for Windows.
[QUOTE=RonanZer0;45827593]I need to be able to host it on my PC for free...[/QUOTE] You can download a bundled package that contains both the MySQL server and phpMyadmin as well as some other development tools in a really easy setup. I recommend using either the WAMP Stack from bitnami or XAMPP.
NS1.1 config menu preview: [t]http://i.imgur.com/xQo5IUP.jpg[/t]
[QUOTE=Chessnut;45831246]NS1.1 config menu preview: [t]http://i.imgur.com/xQo5IUP.jpg[/t][/QUOTE] Looking great Chessnut!
[QUOTE=Chessnut;45831246]NS1.1 config menu preview: [t]http://i.imgur.com/xQo5IUP.jpg[/t][/QUOTE] AW ES OME! now we don't have to dig all the way into the core files to adjust some settings :v:
[QUOTE=Chessnut;45831246]NS1.1 config menu preview: [t]http://i.imgur.com/xQo5IUP.jpg[/t][/QUOTE] I don't like new tab menu or whatever menu is this.
The fact that there's this whole empty black space at the bottom is kind of annoying, I'm hoping that won't always be empty or won't always be there?
[QUOTE=Chessnut;45831246]NS1.1 config menu preview: [t]http://i.imgur.com/xQo5IUP.jpg[/t][/QUOTE] I LOVE IT! And using NS 1.1, would HL2RP be broken or can we still use HL2RP + NS 1.1? I hope so, because NS 1.1 is so much better (Thanks JSON for hopefully not being as buggy as vON)
[QUOTE=AirBlack;45834778]I don't like new tab menu or whatever menu is this.[/QUOTE] Suggest a way to improve it. [QUOTE=Chimpanzee;45836038]The fact that there's this whole empty black space at the bottom is kind of annoying, I'm hoping that won't always be empty or won't always be there?[/QUOTE] If I add more settings it will be gone.
Here's a vid [media]http://www.youtube.com/watch?v=mYHxy93tM00[/media]
Help About 60-70% of my players can create a character. The other ones, no matter how many restarts or reconnects or retries, it ALWAYS says "character creation request timed out" and they can't play...
Hi guys! I can not understand what happened to my interface. I first made ​​my interface and everything was going well until I turned off the computer and went to bed. In the morning I find that I did not do with the files in a folder Nutscript\gamemode\derma , nothing is changed auto-refresh in the console does not show, I even removed the whole folder DERMA - but the interface remains as was my Customise. What the hell ...Confused
Minor adjustments to the new menu: [t]http://cloud-4.steampowered.com/ugc/38599918436567374/330B993F183A3A395A945C24538AA3DC9B0643BF/[/t]
Needs more nut.config.mainColor thrown around in some of that code.
Has the wiki been moved? The link in the readme no longer works.
[QUOTE=Chessnut;45868265]BLUR, BURN, EXPLOSIONS AND MICHAEL BAY[/QUOTE] Now I like it) [editline]3rd September 2014[/editline] [QUOTE=KillerLUA;45871524]Has the wiki been moved? The link in the readme no longer works.[/QUOTE] [QUOTE=Chessnut;45788291]The wiki won't be hosted on my site. Instead, I'm going to try to use the GitHub wiki system. [url]https://github.com/Chessnut/NutScript/wiki/nut.chat[/url] For example.[/QUOTE]
Nobody knows why 20% of my players are getting "Character request timed out" but others are fine??? Chessnut pls
Check for server-side/client-side errors.
I'm really excited to see how NS1.1 turns out. I've been looking through the code on GitHub and I'm damn impressed.
How i can make persistent entities, brothers?
[QUOTE=steamchild;45906253]How i can make persistent entities, brothers?[/QUOTE] As far as I know entities are persistent automatically.
Some players are seeing other players as T-Pose, while other players do not. So far I haven't found a pattern in this. Is there any fix or is it on their end?
Awesome! When will it be out in public?
Am I doing something wrong here? [QUOTE]ITEM.name = "Kevlar Vest" ITEM.category = "Medical" ITEM.desc = "Rock Solid Body Armor." ITEM.model = Model("models/warz/armoredplatevest.mdl") ITEM.useSound = "items/medshot4.wav" ITEM:AddQuery("on use: give 50 armor") ITEM.price = 60[/QUOTE] When I use the item I get this console error and the blue armor bar fills to the top. [QUOTE][ERROR] gamemodes/nutscript/gamemode/libs/sh_item.lua:64: attempt to call method 'SetArmor' (a nil value) 1. callback - gamemodes/nutscript/gamemode/libs/sh_item.lua:64 2. ProcessQuery - gamemodes/nutscript/gamemode/libs/sh_item.lua:144 3. Call - gamemodes/nutscript/gamemode/libs/sh_item.lua:281 4. DoClick - gamemodes/nutscript/gamemode/libs/sh_item.lua:781 5. OnMouseReleased - lua/vgui/dlabel.lua:206 6. unknown - lua/vgui/dmenuoption.lua:116 [/QUOTE]
[QUOTE=RubixGamer;45935798]Am I doing something wrong here? When I use the item I get this console error and the blue armor bar fills to the top.[/QUOTE] Try [quote]ITEM:AddQuery("add 50 armor on use")[/quote] instead of your line.
Thank you Devul. I have three more questions, then I'll go away. 1. I banned the bot from the server, how do I unban him? Is there a file that keeps track of bans? 2. How do I make it so people don't have to recognise each other, I want it so everyone knows everyone. If I deleted the recognition plugin everyone on the scoreboard becomes a unknown skeleton. 3. How do I get the ammo hud to appear? Players don't know how much ammo they have.
[QUOTE=RubixGamer;45943657]Thank you Devul. I have three more questions, then I'll go away. 1. I banned the bot from the server, how do I unban him? Is there a file that keeps track of bans? 2. How do I make it so people don't have to recognise each other, I want it so everyone knows everyone. If I deleted the recognition plugin everyone on the scoreboard becomes a unknown skeleton. 3. How do I get the ammo hud to appear? Players don't know how much ammo they have.[/QUOTE] I actually don't know about any of that, sorry :(
Been a little busy but this is what I finished today. The bug with the menus have been fixed. [media]http://www.youtube.com/watch?v=c4OzYX638Es[/media]
Sorry, you need to Log In to post a reply to this thread.