Razborka! - Like playing Dota 2, but you're the one screaming "CYKA!"
96 replies, posted
Getting this error here:
[code]
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple' (function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. PlayerDeathFunc - gamemodes/razborka/gamemode/sh_gametypes.lua:1223
4. unknown - gamemodes/razborka/gamemode/init.lua:403
5. FireBullets - [C]:-1
6. FireBullet - gamemodes/razborka/entities/weapons/razborka_base/shared.lua:242
7. unknown - gamemodes/razborka/entities/weapons/razborka_base/shared.lua:185
[/code]
[editline]11th January 2014[/editline]
also it has trouble restarting the round and realizing when there is more than 2 players (i have to changelevel to force gamestart once more players connect)
[editline]11th January 2014[/editline]
more errors
[code]
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple'
(function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. unknown - gamemodes/razborka/gamemode/sh_gametypes.lua:857
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple'
(function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. unknown - gamemodes/razborka/gamemode/sh_gametypes.lua:857
Timer Failed! [Simple][@gamemodes/razborka/gamemode/sh_gametypes.lua (line 847)]
[/code]
[b]usa[/b]:
Go to line 557 and change [i]timer.Simple[/i] to [i]timer.Create[/i].
p.s: you shouldn't own a server if you don't know how to fix this shit.
[QUOTE=usa;43495082]Getting this error here:
[code]
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple' (function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. PlayerDeathFunc - gamemodes/razborka/gamemode/sh_gametypes.lua:1223
4. unknown - gamemodes/razborka/gamemode/init.lua:403
5. FireBullets - [C]:-1
6. FireBullet - gamemodes/razborka/entities/weapons/razborka_base/shared.lua:242
7. unknown - gamemodes/razborka/entities/weapons/razborka_base/shared.lua:185
[/code]
[editline]11th January 2014[/editline]
also it has trouble restarting the round and realizing when there is more than 2 players (i have to changelevel to force gamestart once more players connect)
[editline]11th January 2014[/editline]
more errors
[code]
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple'
(function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. unknown - gamemodes/razborka/gamemode/sh_gametypes.lua:857
[razborka] gamemodes/razborka/gamemode/init.lua:557: bad argument #2 to 'Simple'
(function expected, got number)
1. Simple - [C]:-1
2. EndRoundWinningTeam - gamemodes/razborka/gamemode/init.lua:557
3. unknown - gamemodes/razborka/gamemode/sh_gametypes.lua:857
Timer Failed! [Simple][@gamemodes/razborka/gamemode/sh_gametypes.lua (line 847)]
[/code][/QUOTE]
Wow, go me, I forgot to change it to timer.Create.
I'll upload an update shortly.
[editline]11th January 2014[/editline]
[QUOTE=Walrus Viking;43495399]p.s: you shouldn't own a server if you don't know how to fix this shit.[/QUOTE]
No, it's actually purely my fault.
EDIT: Update released, server owners, update your stuff.
1.02:
/\ Rounds played until a vote is started is now set by the gametype: Death to the Vodka Thief - 3, Drunken Superiority - 2, Steal the Vodka - 2, Bandit War - 2, Bandit Shootout - 1
/\ Fixed a critical bug regarding restarting a round
/\ Fixed map voting incorrectly setting up maps for voting
/\ Optimized a small thing
Thanks for the fixes, it's a lot better, but getting this error here occasionally:
[code]
[ERROR] gamemodes/razborka/gamemode/sh_gametypes.lua:592: attempt to concatenate a nil value
1. DrawHUDFunc - gamemodes/razborka/gamemode/sh_gametypes.lua:592
2. unknown - gamemodes/razborka/gamemode/cl_hud.lua:138
[/code]
[editline]11th January 2014[/editline]
It doesnt visibly do much except disconnect me for too many lua errors.
[QUOTE=usa;43496355]Thanks for the fixes, it's a lot better, but getting this error here occasionally:
[code]
[ERROR] gamemodes/razborka/gamemode/sh_gametypes.lua:592: attempt to concatenate a nil value
1. DrawHUDFunc - gamemodes/razborka/gamemode/sh_gametypes.lua:592
2. unknown - gamemodes/razborka/gamemode/cl_hud.lua:138
[/code]
[editline]11th January 2014[/editline]
It doesnt visibly do much except disconnect me for too many lua errors.[/QUOTE]
I'll fix that, also, set sv_kickerrornum to 0 on your server.
I remember joining the testing on your server, this gamemode is so much fun :D
This gamemode is pretty cool. I like how you don't have very many files for the entire gamemode. I always struggle with limiting myself to how many files I use. I have the urge to split things into pieces I'd like to call classes.. :(
Also soz to usa, I didn't mean to seem so rude. I was tired and irritated. pls acept mi apology [img]http://www.facepunch.com/fp/ratings/heart.png[/img]
[b]edit[/b] also you should make a public github of this, I would gladly submit fixes if I come across any errors.
I recommend you create a steamcommunity group for this gamemode, and plan gamenights and the like, it helps to get servers filled up, worked pretty well for a sourcemod called overwatch
That's why he made the Green Shift group, just for if you didn't know :P
Gonna test this out. If it's as fun as it looks in the videos I might set up a server for this :)
Edit: The game got stuck at after the first round 1/3. Might be a bug you want to fix since the server just got stuck until someone forced to change the map.
[QUOTE=xaldeon;43502609]Gonna test this out. If it's as fun as it looks in the videos I might set up a server for this :)
Edit: The game got stuck at after the first round 1/3. Might be a bug you want to fix since the server just got stuck until someone forced to change the map.[/QUOTE]
You sure you have 1.02 and not 1.01 installed?
Also, update released.
1.021:
/\ 'Kill-the-spawn-killer' is now timed (10 secs by default)
/\ Increased 'kill-the-spawn-killer' spawn protection radius to 96 units (was 64)
/\ Disabled collision for same-team players in Bandit War, Bandit Shootout, Steal the Vodka and Death to the Vodka Thief
/\ Fixed a Lua error on line 592 of sh_gametypes.lua
/\ Fixed a Lua error on line 113 of cl_hud.lua
The guitar weapon reminds me this picture :v:
[IMG]http://www.y0himba.net/images/misc/lvl20bard.jpg[/IMG]
[QUOTE=LEETNOOB;43508908]You sure you have 1.02 and not 1.01 installed?
Also, update released.
1.021:
/\ 'Kill-the-spawn-killer' is now timed (10 secs by default)
/\ Increased 'kill-the-spawn-killer' spawn protection radius to 96 units (was 64)
/\ Disabled collision for same-team players in Bandit War, Bandit Shootout, Steal the Vodka and Death to the Vodka Thief
/\ Fixed a Lua error on line 592 of sh_gametypes.lua
/\ Fixed a Lua error on line 113 of cl_hud.lua[/QUOTE]
I don't know what version the server was running. But it pushed me the files from the workshop.
I have one suggestion:
what about changing "stalker_music" cvar so you can set music volume by putting decimal in there
kinda like "volume" command works
[QUOTE=Lubci;43518950]I have one suggestion:
what about changing "stalker_music" cvar so you can set music volume by putting decimal in there
kinda like "volume" command works[/QUOTE]
I believe this was mentioned during a playtest. iirc spy said it is impossible to control volume for one sound.
A problem I see occurring on a regular base is unbalanced teams. Is there a way that you can add auto team balance?
Edit: I've been running a server as well with the latest version from the workshop. At the end of Bandit War - WAR! the game mode is stuck. It doesn't allow people to vote for any game mode. Btw, how does the map voting work in this game mode?
Edit2: It's actually going into round 2 after Bandit War -WAR that the game gets stuck.
[QUOTE=MrBunneh;43519060]I believe this was mentioned during a playtest. iirc spy said it is impossible to control volume for one sound.[/QUOTE]
couldn't you run ChangeVolume() on the sound object?
-snip-
10/10 gamemode, the shooting is amazing, the music is awesome, general gameplay is making it so fun. Recommend trying this! Looking forward to future updates.
Is it possible to make the green healing lockers non collision? People are frequently spawning inside of them and can't get out.
[QUOTE=xaldeon;43540137]Is it possible to make the green healing lockers non collision? People are frequently spawning inside of them and can't get out.[/QUOTE]
Can you tell me on what maps? I'll reposition them
[QUOTE=LEETNOOB;43543436]Can you tell me on what maps? I'll reposition them[/QUOTE]
I've experienced getting stuck on nuke CT side and office T side.
[QUOTE=xaldeon;43544153]I've experienced getting stuck on nuke CT side and office T side.[/QUOTE]
Thanks.
[QUOTE=xaldeon;43544153]I've experienced getting stuck on nuke CT side and office T side.[/QUOTE]
I spawned one time in the Green locker (In the offices) at cs_office
I tried to set-up a server of razborka and when i spawn into it I get a bunch of lua errors and am stuck in spectate. I have nothing but the gamemode and css mounted to my server and if I play in single player it works fine, the lua errors are along the lines of the fists weapon:
TEST [gamemodes/razborka/entities/weapons/razborka_fists/shared.lua][gamemodes/razborka/entities/weapons/razborka_fists/shared.lua]
FOUND IN ADDON [0]
[ERROR] gamemodes/razborka/entities/weapons/razborka_fists/shared.lua:253: attempt to perform arithmetic on upvalue 'blur' (a nil value)
1. func - gamemodes/razborka/entities/weapons/razborka_fists/shared.lua:253
2. unknown - gamemodes/base/gamemode/cl_init.lua:363
everytime same error spammed and then stops spamming but it still doesn't work. Thanks.
I'm cooking up an update for this, because I remembered how fun it is. So far the changelog is 14 lines big, with various balance changes and new features. I'll keep you guys posted for when I release it.
Here's a small heads-up. So far there are quite a few changes and new additions, tl;dr version is: 3 new secondary weapons (M1911, MP5, F1 grenade), and various balance and visual changes. Long version is:
[quote=Changelog for 1.1]1.1:
+ Guitar-buffed players now have guitar icons displayed above their heads (to display who is within the buff range)
+ Guitars now regenerate nearby team mates' health by 1 point every second (except for the guitar wielder!)
+ Added prefered player voice selection (F3, AKA gm_showspare1)
+ Kill notifications now have green/red colors when a team mate kills an enemy/gets killed by an enemy (suicide text is white)
+ Added 3 new secondary weapons - M1911, MP5 and Limonka (F1 Grenade)
+ Killed enemies now drop ammo if they have any
+ Added pretty main menu icons
/\ Resupply cabinet use delay increased to 10 seconds (was 2)
/\ Resupply cabinets can now be used to change weapons
/\ Tweaked deploy times on some weapons
/\ Picking up vodka that a player drops when he dies now has a 20% chance of your character saying "Oba!"
/\ Weapons now have to wait a certain amount of time before being able to reload after firing (based on the firerate)
/\ Resupply particles are no longer drawn when you have a resupply cooldown
/\ Enabled lag compensation for melee weapons
/\ Guitar wielders no longer receive their own buffs
/\ Very minor code optimizations here and there
/\ Decreased spread decrease delay on most weapons
/\ Stealing/returning the vodka now displays text that you stole a bottle of vodka/returned it
/\ Corrected the position of weapon selection GUI elements
/\ Gametype changes on the same map should not cause various issues anymore
/\ Fixed an issue with pain sounds and added 1 unused pain sound to high damage pain sound table
/\ Fixed players not colliding with other players in some gametypes
/\ Fixed players having green (aka friendly) text in Drunken Superiority
/\ Teams are now swapped in Steal the Vodka and Bandit War when a new round starts
/\ Fixed the weapon viewmodel recoiling too much when firing while not aiming[/quote]
Keep in mind that this isn't the full changelog, it'll get bigger as I keep developing.
Oh and, I'll most likely make another gametype, which will be coop.
Here's a video of that coop gametype I mentioned:
[media]http://www.youtube.com/watch?v=-D4MCkPvTUM[/media]
I think I'll release this soon enough.
I hope the music is included
Add cocaine, krokodil, and Ukraine, and this'll be Russia Simulator 2014.
[editline]16th March 2014[/editline]
Are those spawns in the co-op dynamic?
If so, I have some code from an abandoned gamemode you could use. It's pretty efficient (it doesn't work too well on displacements, though).
Sorry, you need to Log In to post a reply to this thread.