• NutScript - Nutty name, serious framework
    2,778 replies, posted
[url]http://nutscript.rocks/blacktea/[/url] :v:
[QUOTE=Chessnut;47123970][url]http://nutscript.rocks/blacktea/[/url] :v:[/QUOTE] o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 o7 make us proud, son
Are there any Anti-Cheat addons for Nutscript? I opened server 2weeks ago with NORMAL people. now there are only hackers left.
Workshop content should be updated to include 1.1 content. For the anti-cheat, you need to find one yourself.
Updated the website style: [url]http://nutscript.rocks[/url]
Using modernrp as test (not tried with others) there seems to be an issue where suitcase inventory cannot be accessed and dropped it to the floor then trying to pick it up produces another error and effectively clones the suitcase. It also gives the player the suitcase, but still displays it in the chat (and errors) if you try to give the user a suitcase. /chargiveitem would be more useful if it worked for partial matches too so we didn't have to navigate the give item menu. In good news I'm working on an "opt in" wallhack so you can choose whether you want other players to be able to find you through the built in (also optional) wallhack system or not. I imagine this will be useful on servers with fewer players or larger maps and want something to do. Here's the plugin for prerelease testing: [url]https://dl.dropboxusercontent.com/u/334984/findplayers.zip[/url]
I fixed a similar issue a couple days ago. Usually if you cannot access an item it's probably because the client-side inventory is out of sync.
Do I need to set up (and where, if optional) a database? I'm getting an error on singleplayer while trying to unequip an appearence item. I'm also pretty sure the Nutscript Weapons base has bugs, errors every time I fire. Is it possible to modify or disable core features in nutscript from a schema? I wanted to change a single line in cl_intro.lua (colors) without feeling bad for making a base edit. Is the pistol animation for crouching without moving broken for anybody else? I don't have, only EP1/EP2. Thanks, lol! [CODE]LOG] testymctest, drop -> Improvised Helmet. [ERROR] gamemodes/nutscript/gamemode/items/base/sh_pacoutfit.lua:79: attempt to index global 'item' (a nil value) 1. removeParts - gamemodes/nutscript/gamemode/items/base/sh_pacoutfit.lua:79 2. onRun - gamemodes/nutscript/gamemode/items/base/sh_pacoutfit.lua:117 3. unknown - gamemodes/nutscript/gamemode/core/libs/sh_item.lua:664 4. func - gamemodes/nutscript/gamemode/core/libs/external/sh_netstream2.lua:132 5. unknown - lua/includes/modules/net.lua:32 [/CODE]
So any time I decide to make a character, right after hitting submit - the script freezes up not letting me click anything or get out of the derma creation screen until it "timesout." This is the error that I get when that happens. [CODE][ERROR] gamemodes/nutscript/gamemode/derma/cl_charmenu.lua:818: attempt to call field 'creatingCallback' (a nil value) 1. unknown - gamemodes/nutscript/gamemode/derma/cl_charmenu.lua:818 2. func - gamemodes/nutscript/gamemode/libs/external/sh_netstream.lua:164 3. unknown - lua/includes/modules/net.lua:32 [/CODE] I've been getting this error the entire time I've been making a schema. I got it day one when I was trying out the HL2 rp schema to see what the script was like. I have no idea what is causing this. Especially since I haven't touched the core of nutscript at all.
Edit: Im not going to release it anymore cause people think its "Dumb".
Making some clothing for Nutscript 1.0, and I've run into a problem. I wish to set each clothing's drop model as a custom drop model, but currently they only drop as suitcases. How do I set my clothing to have custom drop models? This is probably a stupid question but I'm asking anyways, won't learn any other way.
Hey everyone i'm having a little trouble over here, [code] else local newText, source local permitted = true if (permitted) then newText, source = nut.voice.Play(client, "citizen", text, 0.3, nil, nil, mode == "y" and 160 or 100) end text = newText or text [/code] And i want them to be male and female but they only play male... [code] nut.voice.Register("citizen", "Ended up with you", "Sometimes I wonder how I ended up with you.", "vo/npc/male01/vquestion04.wav", "vo/npc/female01/vquestion04.wav") [/code]
I installed the Moderator plugin, but I don't know how to give myself admin privileges.
[QUOTE=VexusTK;47184663]I installed the Moderator plugin, but I don't know how to give myself admin privileges.[/QUOTE] mod rank <name> owner - I think. That or setrank instead of rank.
Why a character's faction get stored in the database as the faction index, when the faction index is generated at run time based on how the faction files are loaded in? Consequently, if I add / remove a faction, all of the faction index's are shifted causing everyone's character faction to point to the incorrect faction. I think the solution should be to create a mapping between the faction's unique id (string) to the faction's index in the database so that they don't change.
It is already? [img]http://i.imgur.com/LdVCkuZ.png[/img]
[media]http://www.youtube.com/watch?v=9krP3-Bf3_4[/media]
[QUOTE=Chessnut;47189060]It is already? [img]http://i.imgur.com/LdVCkuZ.png[/img][/QUOTE] What branch was that screenshot taken from? I'm using the standard nutscript branch. [img]http://i.gyazo.com/c51fa775906631b786237707656b21fb.png[/img]
I'm uising 1aI'm using 1.1 branch.
So Chessnut, 1.1 is looking pretty damned close to being ready for a stable release; Do you think I'd be correct in saying that?
Well, no-one has posted on this thread for a while so i'll ask something NS 1.0 Came with attachments plugin and they don't work ingame do i need a workshop addon or something for this? [Edit] How the hell is this dumb? I am requesting for help.
[QUOTE=Austin1456;47280361]Well, no-one has posted on this thread for a while so i'll ask something NS 1.0 Came with attachments plugin and they don't work ingame do i need a workshop addon or something for this? [Edit] How the hell is this dumb? I am requesting for help.[/QUOTE] Can you be more specific about which plugins, what file you're putting them etc. The only plugins I know of are the ones offered on the github. From that they should work whether you put them in the nutscript plugins folder or the schema's own plugins folder (such as the one in HL2 RP) but I found that placing in Nutscript plugins works better for whatever reason. I can recall when it wouldn't detect some plugins sometimes in the schema's plugin folder, which is weird. So yeah, place it there unless you have multiple schemas and don't want plugins that are meant for x schema to interfere with y schema etc.
[QUOTE=Boom Rainbow;47281993]Can you be more specific about which plugins, what file you're putting them etc. The only plugins I know of are the ones offered on the github. From that they should work whether you put them in the nutscript plugins folder or the schema's own plugins folder (such as the one in HL2 RP) but I found that placing in Nutscript plugins works better for whatever reason. I can recall when it wouldn't detect some plugins sometimes in the schema's plugin folder, which is weird. So yeah, place it there unless you have multiple schemas and don't want plugins that are meant for x schema to interfere with y schema etc.[/QUOTE] I have the attachment plugins in my nutscript folder, i load up my HL2RP Schema and i have SMG in my inv i equip it and it isn't working.
GMod update is out. Waiting for NS 1.1 release.
Knowing that you've worked on this plugin, is there any reason the crafting plugin seems to do nothing? [url]https://github.com/rebel1324/modernrp/tree/master/plugins/crafting[/url]
[QUOTE=AirBlack;47285989]GMod update is out. Waiting for NS 1.1 release.[/QUOTE] nutscript.rocks ??
Hey, i'm wanting to design for nutscript stuff how do i make the Clockwork armour and health bar and their tab menu and implent them for nutscript (Mines not gonna be a proper server) add me on steam if you can help and please do not rate this as dumb: &#9730;Shawn2517&#9730;
[QUOTE=Austin1456;47353033]Hey, i'm wanting to design for nutscript stuff how do i make the Clockwork armour and health bar and their tab menu and implent them for nutscript (Mines not gonna be a proper server) add me on steam if you can help and please do not rate this as dumb: &#9730;Shawn2517&#9730;[/QUOTE] Nutscript's UI is 10x better than Clockwork's, especially in 1.1, idk why you would want to change it.
[QUOTE=Pastor_Necro;47353568]Nutscript's UI is 10x better than Clockwork's, especially in 1.1, idk why you would want to change it.[/QUOTE] NutScripts UI might be better but I think everyone should be enable to change it to what they want it to be. [QUOTE=Austin1456] Hey, i'm wanting to design for nutscript stuff how do i make the Clockwork armour and health bar and their tab menu and implent them for nutscript (Mines not gonna be a proper server) add me on steam if you can help and please do not rate this as dumb: &#9730;Shawn2517&#9730;[/QUOTE] You will have to script it on your own, nobody will do it for you. I also doubt Copy&Paste will work.
[QUOTE=soliv;47353941]NutScripts UI might be better but I think everyone should be enable to change it to what they want it to be. You will have to script it on your own, nobody will do it for you. I also doubt Copy&Paste will work.[/QUOTE] I guess it might be time to learn .LUA, which'll be hard.
Sorry, you need to Log In to post a reply to this thread.