Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

looting #1

Closed
Heyter opened this issue Feb 16, 2017 · 8 comments
Closed

looting #1

Heyter opened this issue Feb 16, 2017 · 8 comments
Assignees
Labels

Comments

@Heyter
Copy link
Contributor

Heyter commented Feb 16, 2017

[ERROR] gamemodes/nutscript/gamemode/core/libs/sh_item.lua:283: attempt to concatenate local 'uniqueID' (a table value)

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

when player dead. (NS 1.1)

@Heyter
Copy link
Contributor Author

Heyter commented Feb 16, 2017

Example: https://youtu.be/j5EobYmJUEQ
bad computer. sry.

@Thadah Thadah self-assigned this Feb 16, 2017
@Thadah Thadah added the bug label Feb 16, 2017
@Thadah
Copy link
Owner

Thadah commented Feb 16, 2017

Try changing the size of the inventory to something bigger in sh_plugin:32

inventory:setSize(6, 4)

@Heyter
Copy link
Contributor Author

Heyter commented Feb 16, 2017

http://pastebin.com/JEiHgv8U

did not help

@Heyter
Copy link
Contributor Author

Heyter commented Feb 16, 2017

my version. maybe helped.
sh_plugin.lua - http://pastebin.com/xZqv6bjV
nut_loot.lua - http://pastebin.com/XSmHtd6L

@Thadah
Copy link
Owner

Thadah commented Feb 16, 2017

If it works like that you are welcome to make a Pull Request.
I'll add it myself if you don't know how to.

Thanks for helping!

@Heyter
Copy link
Contributor Author

Heyter commented Feb 16, 2017

I have one 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
so bad.. :(
i'm trying fix

@Thadah
Copy link
Owner

Thadah commented Feb 16, 2017

I'm sorry I did that plugin in a rush for a server and decided to upload it because I thought it could help people, seems like I was mistaken :(

Thadah added a commit that referenced this issue Feb 17, 2017
Fixes the looting plugin and adresses #1
@Thadah
Copy link
Owner

Thadah commented Feb 17, 2017

fef193f should have fixed it.

@Thadah Thadah closed this as completed Feb 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants