Anyone know where I can find a list of animgroups?
also:
I thought this looked kinda silly haha.
[URL=http://s880.photobucket.com/user/ReapDaWrapper/media/99982af427637b0cf8336203ab7bb543.gif.html][IMG]http://i880.photobucket.com/albums/ac4/ReapDaWrapper/99982af427637b0cf8336203ab7bb543.gif[/IMG][/URL]
[QUOTE=ReapDaWrapper;45721320]Anyone know where I can find a list of animgroups?
also:
I thought this looked kinda silly haha.
[URL=http://s880.photobucket.com/user/ReapDaWrapper/media/99982af427637b0cf8336203ab7bb543.gif.html][IMG]http://i880.photobucket.com/albums/ac4/ReapDaWrapper/99982af427637b0cf8336203ab7bb543.gif[/IMG][/URL][/QUOTE]
How did you get the Slave Vort? :dance:
Search for it in your Q menu. It's pretty easy to find.
Okay, I'm kinda stumped over some stupid little thing that has been driving me nuts. I've been able to make grub's RO2 mosin ([url]http://steamcommunity.com/sharedfiles/filedetails/?id=145730038[/url]) into a schema item for my WW1RP server, but here's the thing. I just can't seem to figure out how to make it's ammo into one. The weapon uses a custom base, so someone who's new to LUA scripting like me can't really figure out what to do to get it to work. Here's what I've tried:[CODE]ITEM.name = "Mosin Ammo"
ITEM.weight = 0.5
ITEM.price = 5
ITEM.desc = "A cartridge of bullets used in mosin bolt action rifles."
ITEM.type = "7.62x54mmR"
ITEM.amount = 5
ITEM.flag = "v"
ITEM.model = Model("models/weapons/ammo/grub_stripper.mdl")[/CODE]
Someone wanna tell an insufferable asshat what he's doing wrong?
[B]HAS ANYONE [/B]been able to get clothing items to set bodygroups!? If you have can you show me an example, I can't work this out!?
How do you set stamina and Max HP? And maybe walk/run speeds and separate Hp/Stamina/whatever stats for each faction/class? Like I want rebels to maybe have +100 armor while wearing their clothes, and Combine soldiers should always have +100 armor, CPs +80 etc. and you should be able to maybe also run faster with rebel clothes on and such. So how do I do it?
[QUOTE=RonanZer0;45729581]How do you set stamina and Max HP? And maybe walk/run speeds and separate Hp/Stamina/whatever stats for each faction/class? Like I want rebels to maybe have +100 armor while wearing their clothes, and Combine soldiers should always have +100 armor, CPs +80 etc. and you should be able to maybe also run faster with rebel clothes on and such. So how do I do it?[/QUOTE]
For your learning sake, go look through some scripts and look for 'if then' functions or statements. With those in mind, find the file with stamina/health/armor settings, and note those as well. Now go to the item scripts relevant, and use trial and error to figure out how to set that up within the item code. No one on the forum is going to continuously baby feed you on how to write or modify your script, so try to interpret information for yourself so you don't have to ask all the time.
[QUOTE=Sanic Hegehog;45722442]Okay, I'm kinda stumped over some stupid little thing that has been driving me nuts. I've been able to make grub's RO2 mosin ([url]http://steamcommunity.com/sharedfiles/filedetails/?id=145730038[/url]) into a schema item for my WW1RP server, but here's the thing. I just can't seem to figure out how to make it's ammo into one. The weapon uses a custom base, so someone who's new to LUA scripting like me can't really figure out what to do to get it to work. Here's what I've tried:[CODE]ITEM.name = "Mosin Ammo"
ITEM.weight = 0.5
ITEM.price = 5
ITEM.desc = "A cartridge of bullets used in mosin bolt action rifles."
ITEM.type = "7.62x54mmR"
ITEM.amount = 5
ITEM.flag = "v"
ITEM.model = Model("models/weapons/ammo/grub_stripper.mdl")[/CODE]
Someone wanna tell an insufferable asshat what he's doing wrong?[/QUOTE]
Some weapons use custom entities for things like that, instead of trying to create the specific ammo-type you could try creating the entity.
Why does this not work?
[lua]
onRun = function(player, client, arguments)
[/lua]
[lua]
if ( client:IsCombine() ) then
[/lua]
Attempt to call method ''IsCombine" (a nil value)
Should I try it with player:IsCombine(), should I remove the player and replace it with client (may not work though) etc etc.?
And, player:whatevergoeshere is used in other parts of the command.
Hey there everyone, perhaps I could get a hand here. I've been looking around and seeing what I could do, but literally nothing has been working. I installed NutScript onto my server and I'm getting some errors.
Here's the first bit.
[CODE]TEST [lua/vgui/dnumslider_legacy.lua][lua/vgui/dlabel.lua]
[ERROR] gamemodes/nutscript/gamemode/libs/external/sh_von.lua:150: attempt to call a nil value
1. s_anyVariable - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:150
2. unknown - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:447
3. s_anyVariable - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:150
4. serialize - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:429
5. Start - gamemodes/nutscript/gamemode/libs/external/sh_netstream.lua:137
6. DoClick - gamemodes/sstrp/gamemode/schema/derma/cl_charcreate.lua:304
7. unknown - lua/vgui/dlabel.lua:206
TEST [lua/vgui/dnumslider_legacy.lua][lua/vgui/dlabel.lua][/CODE]
No idea what any of this means so don't even ask. Though is I think there's an issue with the SQL or whatever. I know, I know. Leave it alone or whatever, but I've done fresh reinstalls of it, and still get the "Character creation request timed out!" or whatever. I've also had this popping up into the console.
[CODE][ERROR] gamemodes/nutscript/plugins/autocomplete.lua:14: attempt to call method 'IsTyping' (a nil value)
1. unknown - gamemodes/nutscript/plugins/autocomplete.lua:14
2. unknown - gamemodes/nutscript/gamemode/libs/sh_schema.lua:110[/CODE]
I'm out of options and have literally no idea what I can do to fix this. Any advice?
[QUOTE=Salx182;45777358]-snip-[/QUOTE]
What schema are you using? Are you using SQLite or MySQL?
[QUOTE=RonanZer0;45777883]What schema are you using? Are you using SQLite or MySQL?[/QUOTE]
Schema, it's a custom gamemode that a friend made.. That'd be correct, yeah?
And I assume it's SQLite, since you only have to setup something if you're doing mysqloo or tmysql4, or at least that's what the tutorial said. (The tutorial that links to a broken wiki. :X )
So I've been experiencing this... strange error. Just as a heads up I'm using the HL2RP schema. Anyways continuing on, whenever anyone including myself reloads any kind of gun whether it be the MP7, pistol, etc. the entire gun stops working. Meaning I can still raise it, but it will refuse to fire unless the whole gun is dropped and deleted from the face of the earth. There aren't any errors that show up in console. How can I fix this or is it even able to be fixed? Will I have to remake the sweps?
[QUOTE=Ultimate7MK;45779827]So I've been experiencing this... strange error. Just as a heads up I'm using the HL2RP schema. Anyways continuing on, whenever anyone including myself reloads any kind of gun whether it be the MP7, pistol, etc. the entire gun stops working. Meaning I can still raise it, but it will refuse to fire unless the whole gun is dropped and deleted from the face of the earth. There aren't any errors that show up in console. How can I fix this or is it even able to be fixed? Will I have to remake the sweps?[/QUOTE]
I have this sometimes as well, definitely not EVERY time I reload but at seemingly random times after reloading. SUPER ANNOYING.
[QUOTE=RonanZer0;45781434]I have this sometimes as well, definitely not EVERY time I reload but at seemingly random times after reloading. SUPER ANNOYING.[/QUOTE]
Well it's everytime I reload while the gun isn't aiming. But many others have experienced it breaking and they always have the animation of reloading.
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.
[lua]
PLUGIN.name = "Set Skin"
PLUGIN.author = "Omega"
PLUGIN.desc = "Sets your skin."
nut.command.Register({
superAdminOnly = true,
allowDead = true,
syntax = "<number skin>",
onRun = function(client, arguments)
local target = nut.command.FindPlayer(client, arguments[1])
if (IsValid(target)) then
client:SetSkin(arguments[1])
end
end
}, "charsetskin")
[/lua]
why
why does it not work, i want to be a shotgunner but i don't want to use a custom model for it
help
(YES IM SUPERADMIN THANK YOU VERY MUCH)
[QUOTE=RonanZer0;45797423][lua]
PLUGIN.name = "Set Skin"
PLUGIN.author = "Omega"
PLUGIN.desc = "Sets your skin."
nut.command.Register({
superAdminOnly = true,
allowDead = true,
syntax = "<number skin>",
onRun = function(client, arguments)
local target = nut.command.FindPlayer(client, arguments[1])
if (IsValid(target)) then
client:SetSkin(arguments[1])
end
end
}, "charsetskin")
[/lua]
why
why does it not work, i want to be a shotgunner but i don't want to use a custom model for it
help
(YES IM SUPERADMIN THANK YOU VERY MUCH)[/QUOTE]
If you want to make yourself a shotgunner, make an Overwatch character and include SGS in the name.
[QUOTE=Nope guy;45607740][video=youtube;m1qigz1MP1Y]http://www.youtube.com/watch?v=m1qigz1MP1Y[/video]
I'm not sure if this only on the HL2 schema or basicly the framework.[/QUOTE]
Can Chessnut PLEASE comment on this? Like at all? I'm having a similar issue where about 50% of the time after loading up the server, or changing map, this happens not only when you delete a character, but when you try to load one your second time after already picking one, and you have to A reconnect or B reload the server's map (still may glitch out). And about 5% of the time it won't even let you select your FIRST character ._. CHESSNUT PLS
This sounds like an issue with the database. I'm working on NS1.1 which should not have any of these issues.
Hey Chessnut was the plugin on github for pac3 removed? Can't seem to find it.
[QUOTE=Chessnut;45812196]This sounds like an issue with the database. I'm working on NS1.1 which should not have any of these issues.[/QUOTE]
Yes there is a lot of issues with the database, like sometimes out of nowhere when we just start getting players, we will have some stupid MALFORMED DATA error in vON.lua and we have to reset everything :(
EDIT: Just got that vON.lua malformed data thing again, you can see it about 3-4 pages ago if you want to see the full error. This seemingly happens out of absolutely nowhere, just turning on the server one day and POOF all our hard work and RP characters and whitelists etc. are gone.
Here's another thing about it, when "saving" a character with the error:
[url][img]http://i.imgur.com/XBIxSfI.png[/img][/url]
HELP CHESSNUT HELP D:
[QUOTE=Strangerdanger;45812732]Hey Chessnut was the plugin on github for pac3 removed? Can't seem to find it.[/QUOTE]
[url]https://github.com/Chessnut/NSPlugins/blob/master/pac3_outifts.zip[/url]
I guess these are just pre-made outfits for PAC. I guess the PAC addon should work with Nutscript without any extra plugins or coding?
Ronan, it looks like it's an issue with your database.
[QUOTE=Chessnut;45816979]Ronan, it looks like it's an issue with your database.[/QUOTE]
I'm using the default settings (SQLite)
In other questions:
How to set walk/run speed for specific factions?
You can use client:SetRunSpeed on the PlayerSpawn hook. Just check their teams to the faction and set the runspeed appropriately.
[QUOTE=RonanZer0;45817248]I'm using the default settings (SQLite)[/QUOTE]
Hello, I am a database wizard. From the error displayed there, based on the knowledge that you're using SQLite, it appears that the gamemode is trying to write to the database while another write operation is taking place.
This is a common occurrence when trying to use SQLite for things that require concurrency. The solution would be to queue writes and not write to the db from other processes.
[QUOTE=AndrewPH;45822836]Hello, I am a database wizard. From the error displayed there, based on the knowledge that you're using SQLite, it appears that the gamemode is trying to write to the database while another write operation is taking place.
This is a common occurrence when trying to use SQLite for things that require concurrency. The solution would be to queue writes and not write to the db from other processes.[/QUOTE]
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=AndrewPH;45822836]Hello, I am a database wizard. From the error displayed there, based on the knowledge that you're using SQLite, it appears that the gamemode is trying to write to the database while another write operation is taking place.
This is a common occurrence when trying to use SQLite for things that require concurrency. The solution would be to queue writes and not write to the db from other processes.[/QUOTE]
I have wiremod & fadmin installed (for my other servers), they appear to be putting stuff in the DB... is that a problem???
[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]
Why don't you make multiple scrds shortcuts with different workshop collections? That would allow you to only mount the addons you need for your specific servers. That's what I've been doing and it's worked fine for now. I haven't had any database issues and I've had multiple people playing at once.
Sorry, you need to Log In to post a reply to this thread.