1. Post #201
    Soren's Avatar
    May 2008
    1,192 Posts
    Does nutscript 1.1 still break chat after a random amount of time?
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events Agree Agree x 1 (list)

  2. Post #202
    Shadico's Avatar
    August 2009
    178 Posts
    I'm having issues running console commands in Nutscript, even with Lua strings.

    This is the code I want to implement:

    Code:
    PLUGIN.name = "PAC Patch"
    PLUGIN.author = "Tazmily"
    PLUGIN.desc = "Clears your PAC upon character load."
    
    function PLUGIN:PostPlayerLoadout(client)
    client:ConCommand("pac_clear_parts")
    end;
    Nothing happens, despite the fact that I get no errors. I try to manually run the command in my server but I get nothing. Are console commands disabled in Nutscript deliberately? Is there any way I can change that?

    EDIT: Nevermind.
    Reply With Quote Edit / Delete Windows 7 Chrome Show Events

  3. Post #203

    April 2009
    193 Posts
    So, to avoid weapon model positioning issues I switched to player models instead of NPC models. It fixed everything except for the F1 menu.
    How on earth do I fix this? Some weapons even appear under the players feet when in the menu. I would imagine it's PAC related, but I don't know.
    Reply With Quote Edit / Delete Windows 7 Firefox United States Show Events

  4. Post #204

    July 2013
    266 Posts
    Am I dumb or is the documentation just poor? I'm looking at creating items, but I don't see any of the attributes, just the functions. I don't see stuff like ITEM.ammo, ITEM.price, ITEM.ammoDesc as in the ModernRP schema

    Are these custom defined? I'm a bit new to lua, but still.
    Reply With Quote Edit / Delete Windows 7 Chrome United States Show Events Agree Agree x 1 (list)

  5. Post #205
    Scriptmonkey's Avatar
    June 2016
    16 Posts
    Need help. When people die in my server, they spawn back halfway through the ground where they died. (But for everyone else they are simply standing in their normal spawn) When they go into third person, from their point of view they start noclipping backwards. What is the cause of this, and how do I fix this?

    Second issue: I have no idea how to add M9K weapons to a vendor.
    Reply With Quote Edit / Delete Windows 10 Chrome Norway Show Events Dumb Dumb x 2 (list)

  6. Post #206
    robinkooli's Avatar
    October 2012
    143 Posts
    Is NutScript 1.1 abandoned?
    Reply With Quote Edit / Delete Windows 10 Chrome Finland Show Events Late Late x 1 (list)

  7. Post #207
    Soren's Avatar
    May 2008
    1,192 Posts





    i wish people would put more time into ui design for character create in gamemodes
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events Artistic Artistic x 1 (list)

  8. Post #208
    orc

    September 2015
    158 Posts
    I like that, is that released or private?
    Reply With Quote Edit / Delete Windows 7 Chrome Australia Show Events

  9. Post #209
    Soren's Avatar
    May 2008
    1,192 Posts
    I like that, is that released or private?
    if someone wants it ill send it to them, its in a private version of nutscript that's half-broken lol
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events

  10. Post #210
    aka Devul
    mib999's Avatar
    September 2010
    1,495 Posts
    I think it looks pretty bad to be honest. A mix of things everywhere..
    Reply With Quote Edit / Delete Windows 10 Chrome United Kingdom Show Events Agree Agree x 2Disagree Disagree x 2Informative Informative x 1 (list)

  11. Post #211
    Soren's Avatar
    May 2008
    1,192 Posts
    I think it looks pretty bad to be honest. A mix of things everywhere..


    i guess? i just wanted everything on one page without scrolling, wasnt sure how to explain the menu w/o using tool tips but there's so little buttons the user should be able to grasp what they should be doing just by clicking on random stuff


    also it's suppose to give a passport type vibe
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events

  12. Post #212
    Gold Member
    Zelpa's Avatar
    December 2011
    921 Posts


    i guess? i just wanted everything on one page without scrolling, wasnt sure how to explain the menu w/o using tool tips but there's so little buttons the user should be able to grasp what they should be doing just by clicking on random stuff


    also it's suppose to give a passport type vibe
    isn't wintermute the name of that shitty point and click engine used for Limbo of the Lost?
    Reply With Quote Edit / Delete Android Unofficial Facepunch Android App Australia Show Events Zing Zing x 2 (list)

  13. Post #213
    Soren's Avatar
    May 2008
    1,192 Posts
    isn't wintermute the name of that shitty point and click engine used for Limbo of the Lost?
    http://williamgibson.wikia.com/wiki/Wintermute
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events Informative Informative x 1 (list)

  14. Post #214
    Reply With Quote Edit / Delete Android Unofficial Facepunch Android App Australia Show Events Informative Informative x 1 (list)

  15. Post #215

    July 2013
    266 Posts
    This project dead? Everybody on the github is saying it's dead, and hasn't been updated in over a year, which sucks, because it's a really nice project. I've been encountering some bugs with writing code for it (which I'm 90% sure isn't my fault), and I'm not really into paying for CW (since I really don't like it)
    Reply With Quote Edit / Delete Windows 7 Chrome United States Show Events

  16. Post #216
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    blame korean army dood I couldn't finished all the things I've started.
    I did fixed a lot of NS 1.1 framework for my private project with my friend but it went too far :(
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Agree Agree x 1Funny Funny x 1 (list)

  17. Post #217

    July 2013
    266 Posts
    blame korean army dood I couldn't finished all the things I've started.
    I did fixed a lot of NS 1.1 framework for my private project with my friend but it went too far :(
    It's alright man. I was just wondering, because I have been having some problems with the base. Don't stress.
    Reply With Quote Edit / Delete Windows 7 Chrome United States Show Events

  18. Post #218
    Glunar's Avatar
    January 2017
    72 Posts
    I used to play in a server which is running NutScript. Thanks for releasing it and making it for free.
    Reply With Quote Edit / Delete Windows 10 Chrome Turkey Show Events Dumb Dumb x 1 (list)

  19. Post #219

    July 2013
    266 Posts
    I used to play in a server which is running NutScript. Thanks for releasing it and making it for free.
    It was always free.
    Reply With Quote Edit / Delete Windows 7 Chrome United States Show Events Agree Agree x 1 (list)

  20. Post #220
    orc

    September 2015
    158 Posts
    blame korean army dood I couldn't finished all the things I've started.
    I did fixed a lot of NS 1.1 framework for my private project with my friend but it went too far :(
    Welcome back.
    Reply With Quote Edit / Delete Android Chrome Australia Show Events

  21. Post #221

    December 2016
    14 Posts
    Welcome back.
    fix this is plugin.
    https://github.com/Thadah/NSPlugins/tree/master/looting
    bug:
    [ERROR] gamemodes/nutscript/gamemode/core/libs/sh_item.lua:283: attempt to concatenate local 'uniqueID' (a table value)

    new - gamemodes/nutscript/gamemode/core/libs/sh_item.lua:283
    unknown - gamemodes/nutscript/gamemode/core/libs/sh_item.lua:381
    func - gamemodes/nutscript/gamemode/core/libs/thirdparty/sh_netstream2.lua:155
    unknown - lua/includes/extensions/net.lua:32
    Edited:

    blame korean army dood I couldn't finished all the things I've started.
    I did fixed a lot of NS 1.1 framework for my private project with my friend but it went too far :(
    Welcome back.
    Reply With Quote Edit / Delete Windows 7 Chrome Russian Federation Show Events

  22. Post #222

    April 2011
    125 Posts
    ^ you can't use NS 1 plugins with NS 1.1.

    Code:
    nut.flag.add("i", "Flag for a basic loadout.", function(client, isGiven)
    		if (isGiven) then
    			inventory:add("blz_416")
    		end
    end)
    upon receiving the flag, the console prints this error:
    Code:
    [ERROR] gamemodes/ww3/schema/sh_schema.lua:11: attempt to index global 'inventory' (a nil value)
      1. callback - gamemodes/ww3/schema/sh_schema.lua:11
       2. giveFlags - gamemodes/nutscript/gamemode/core/libs/sh_flag.lua:60
        3. onRun - gamemodes/nutscript/gamemode/core/sh_commands.lua:84
         4. run - gamemodes/nutscript/gamemode/core/libs/sh_command.lua:145
          5. parse - gamemodes/nutscript/gamemode/core/libs/sh_command.lua:180
           6. Run - gamemodes/nutscript/gamemode/core/hooks/sv_hooks.lua:248
            7. unknown - gamemodes/nutscript/plugins/chatbox/sh_plugin.lua:69
             8. func - gamemodes/nutscript/gamemode/core/libs/thirdparty/sh_netstream2.lua:117
              9. unknown - lua/includes/extensions/net.lua:32
    anyone have a solution?
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events

  23. Post #223

    December 2016
    14 Posts
    ^ you can't use NS 1 plugins with NS 1.1.

    Code:
    nut.flag.add("i", "Flag for a basic loadout.", function(client, isGiven)
    		if (isGiven) then
    			inventory:add("blz_416")
    		end
    end)
    upon receiving the flag, the console prints this error:
    Code:
    [ERROR] gamemodes/ww3/schema/sh_schema.lua:11: attempt to index global 'inventory' (a nil value)
      1. callback - gamemodes/ww3/schema/sh_schema.lua:11
       2. giveFlags - gamemodes/nutscript/gamemode/core/libs/sh_flag.lua:60
        3. onRun - gamemodes/nutscript/gamemode/core/sh_commands.lua:84
         4. run - gamemodes/nutscript/gamemode/core/libs/sh_command.lua:145
          5. parse - gamemodes/nutscript/gamemode/core/libs/sh_command.lua:180
           6. Run - gamemodes/nutscript/gamemode/core/hooks/sv_hooks.lua:248
            7. unknown - gamemodes/nutscript/plugins/chatbox/sh_plugin.lua:69
             8. func - gamemodes/nutscript/gamemode/core/libs/thirdparty/sh_netstream2.lua:117
              9. unknown - lua/includes/extensions/net.lua:32
    anyone have a solution?
    Code:
    	nut.flag.add("i", "Flag for a basic loadout.", function(client, isGiven)
    		if (isGiven) then
    			client:getChar():getInv():add("blz_416")
    		end
    	end)
    Reply With Quote Edit / Delete Windows 7 Chrome Russian Federation Show Events

  24. Post #224

    April 2011
    125 Posts
    that didn't work.
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events

  25. Post #225
    KiruKiru's Avatar
    January 2016
    23 Posts
    I fu**ed a lot with development S.T.A.L.K.E.R. RP schema on nutscript, now i just got stuck at trying to setup armor adding when equipping jacket.
    ITEM.armorBoost = 20
    ...
    onEquip = function(item)
    ...
    if (item.armorBoost) then
    item.player:SetArmor(armorBoost)
    end

    Chessnut, where i coded wrong? It's literally not working, i tried over 9000 times.
    Reply With Quote Edit / Delete Windows 10 Chrome Ukraine Show Events

  26. Post #226
    Kemerd's Avatar
    September 2013
    514 Posts
    I fu**ed a lot with development S.T.A.L.K.E.R. RP schema on nutscript, now i just got stuck at trying to setup armor adding when equipping jacket.
    ITEM.armorBoost = 20
    ...
    onEquip = function(item)
    ...
    if (item.armorBoost) then
    item.player:SetArmor(armorBoost)
    end

    Chessnut, where i coded wrong? It's literally not working, i tried over 9000 times.
    Code:
    ITEM.armorBoost = 20
    ...
    onEquip = function(item)
    ...
    if (ITEM.armorBoost) then
    item.player:SetArmor(ITEM.armorBoost)
    end
    LUA is case sensitive.
    Reply With Quote Edit / Delete Windows 10 Chrome United States Show Events

  27. Post #227
    sannys's Avatar
    August 2016
    476 Posts
    LUA is case sensitive.
    Now that's some good irony.
    Reply With Quote Edit / Delete Windows 10 Chrome Show Events Agree Agree x 6Funny Funny x 1 (list)

  28. Post #228

    February 2017
    31 Posts
    Hey, for some reason the sample schema just says "Unknown" as name and doesn't have an option to create any characters, only to quit.
    Reply With Quote Edit / Delete Windows 7 Firefox Spain Show Events

  29. Post #229
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    fixed pretty much problems of 1.1 but it needs it's own thread.
    If you still do RP or use NS 1.1
    Stay tune

    I'm coming with new schemas and stuffs
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Winner Winner x 9Lua King Lua King x 1 (list)

  30. Post #230
    SellMG's Avatar
    August 2015
    13 Posts
    fixed pretty much problems of 1.1 but it needs it's own thread.
    If you still do RP or use NS 1.1
    Stay tune

    I'm coming with new schemas and stuffs
    I follow you in Github and I've seen your new repositories, waiting for it!
    Reply With Quote Edit / Delete Windows 8.1 Chrome Malawi Show Events

  31. Post #231
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    Also, It will take some time to do something about the chat.
    It just breaks and few things will be changed or fixed/deleted from the Framework because they're buggy and not working.

    Changelist and all of functions will be documented.
    If you have some good wiki to use in your mind, suggest me some.
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Winner Winner x 3 (list)

  32. Post #232
    robinkooli's Avatar
    October 2012
    143 Posts
    Reply With Quote Edit / Delete Windows 10 Chrome Finland Show Events Agree Agree x 1Winner Winner x 1 (list)

  33. Post #233
    Soren's Avatar
    May 2008
    1,192 Posts
    Also, It will take some time to do something about the chat.
    It just breaks and few things will be changed or fixed/deleted from the Framework because they're buggy and not working.

    Changelist and all of functions will be documented.
    If you have some good wiki to use in your mind, suggest me some.
    i spent awhile trying to find a way to fix the chat, i think i fixed it by not having the chat lua stuff as a plugin? i dont remember

    also the default radio is wacky, maybe because of the way the actual chat channels/filters are setup?

    while im mentioning things, a way to search players inventories would be great, i had to make my own function for it but i never got it to work
    Reply With Quote Edit / Delete Windows 10 Chrome Canada Show Events

  34. Post #234
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    Official _Nutscript 1.1 thread will be up in one or two weeks.
    Starting with Documents.


    If you're server owner or developer of Nutscript 1.1
    Gimme feedback and bugs they'll mostly get fixed pretty soon


    and here is small list of bugs that fixed:
    1. Inventory Desync (99% fixed)
    2. Metatable Corruption in Item (fixed)
    3. Stash Function (Virtual Inventory for Crafting, Stash, Auction... etc..)
    4. SQL Database Problems (Short size for the data)
    5. Removal of Controversial Plugins (LEGS)
    6. Classes are working good
    7. Slight Networking changes.
    8. Almost No Lag up to 35 players. (above 42-45 players, there's gonna be some issue. I know why, but it's pretty hard to fix.)
    9. and more...


    Oh yeah, Also If you Really Really Really wants 1.0 like inventory.....
    well....
    I might think of conversion plugin for that.
    but don't expect it too much.
    Only pretty good developer can handle those.


    Edited:


    Also I'm coming with new plugins and schema.


    Storage Plugin: Redone


    DayZ like Schema (don't have name yet.)





    CityRP base (mostly aiming for light DarkRP like RP)
    There's going to be more serious CityRP variation



    !! CityRP: Not all of stuffs in the screenshot will available in release !!
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Lua King Lua King x 8 (list)

  35. Post #235
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    Experimental Fixes are live!
    Tell me if there is new bugs.
    I pulled of private things (mostly lazy hacky fixes) so might few things not works.
    If you give me the bug through rebel1324/Nutscript Github, I'll get into it.


    https://github.com/rebel1324/NutScript




    Full Changelog:
    Fixed In-game Item Entity's Spamnations
    Now you can't get your other character's money
    Shipment is now more prettier
    PlayerThrowPunch is now more useful
    Now database is configurable outside of actual framework gamemode.
    Now Attribute bar has more texts also supports boosts.
    Fixed some issues with business tab.
    Fixed some issues with characters tab.
    Now Characters tab always will be in front of all other tabs.
    Added some failsafe for charcreate.
    Fixed Classes Tab.
    FIXED INVENTORY ISSUE
    Now Notify is always on top.
    Now Nutscript Supports Foreign Characters.
    Scoreboard is now somewhat good?
    Now traceline is begone. Trace hull is the new thing for information target search.
    information display.
    Now displaying entity's information is more faster.
    Now you can boost your character's attribute.
    Fixed wrong inventory allocation on wrong character in random chance
    Now character's class is global variable.
    TODO: Sorry, Can't do much things about the chatbox
    Now command search supports foreign characters.
    Now you can log the money flow. (If you're available.)
    Fixed Item corruption.
    Now you can set the permission for the fixing the god damn config with gamemode hooks.
    Playtime calculator now has failsafe.
    SQL Database connection notification in initialization gives you more information.
    Ammo display align fixed.
    Now bag is more stabilized.
    PAC3 Outfit is now fixed.
    Weapon is now fixed.
    GLORY TO GOD, Now Nutscript will never initializes twice when you're fixing your stuffs.
    Somehow Doors are fucking up with high player count like 40+, so I changed the networking to DT Values.
    Fixed door ownership menu.
    Keys are now normal in playermodel.
    Now you can bind the door on class.
    Fuck off legs.
    Ignore PAC3 Korean comments. They're now good, you should not care about it.
    Now you can prevent generated items saved in the server when the server is turned off.
    Stamina is pretty good. Now you can the status in clientside. Good thing.
    Now Storage supports Keypad. Check the official plugin.
    Good thing is, Now you can determine the inventory is the bag or the storage. yes.
    Now you can't do much attribute whoring.
    Removed Obsolete hooks.



    Edited:


    For new plugins
    https://github.com/rebel1324/BlackTea-Nutscript-Plugins
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Winner Winner x 2Lua King Lua King x 1 (list)

  36. Post #236

    November 2016
    22 Posts
    Woah, that list just goes on and on, nice!
    Reply With Quote Edit / Delete Windows 10 Chrome Australia Show Events

  37. Post #237
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    Going to make proper document for Schema/Plugin development.

    Do i have to make it as Google Document or just setup some wiki?
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events

  38. Post #238
    NootNootEh's Avatar
    March 2017
    64 Posts
    Wiki if you don't mind, It'll be the most easily read/useful in my opinion
    Reply With Quote Edit / Delete Windows 7 Chrome Canada Show Events Dumb Dumb x 1 (list)

  39. Post #239
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    I just found wiki is more convient.
    https://nutscript.miraheze.org/wiki/Main_Page
    Reply With Quote Edit / Delete Windows 10 Chrome Korea, Republic of Show Events Lua King Lua King x 1 (list)

  40. Post #240
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,241 Posts
    Who do I have to talk to get this thread closed?
    Reply With Quote Edit / Delete Linux Firefox Korea, Republic of Show Events