• Flow - Collection of gamemodes and accessories
    536 replies, posted
[QUOTE=Goodra;50075791]Is there a way to add multihop to the gamemode?[/QUOTE] It's in there by default. If you mean mpbhops, make sure you have bhop_ents.lua put in lua/autorun
[QUOTE=Gravious;50076952]It's in there by default. If you mean mpbhops, make sure you have bhop_ents.lua put in lua/autorun[/QUOTE] Thank you! I also get this error; timer failed in my console, multiple times often with different lines, I didn't change anything so I'm not sure what's wrong.
[QUOTE=Goodra;50079603]Thank you! I also get this error; timer failed in my console, multiple times often with different lines, I didn't change anything so I'm not sure what's wrong.[/QUOTE] That means a portion of the Lua code errored. Can you post exactly what is going wrong?
[QUOTE=Gravious;50083036]That means a portion of the Lua code errored. Can you post exactly what is going wrong?[/QUOTE] Yes! Forgive me if these errors are stupid and easy to solve, I've just gotten back into hosting servers so I'm rather rusty. First one is from the in game console while the second one is from the srcds.exe console. If it helps, I'm using the flow gamemode (and yes I've renamed all of the necessary things to bunnyhop since for some reason it's not letting me delete the previous bhop folder) Here you go; [CODE][ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 282)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] enabled Third person mode enabled. [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 Timer Failed! [Simple][@gamemodes/bunnyhop/gamemode/cl_init.lua (line 283)] [/CODE] I also get this error over and over: [CODE]100.8 fps 3/20 on map bhop_eazy ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_ C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [TS] goodra: . [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 ulx adduser [TS] goodra superadmin Command "ulx adduser", argument #2: invalid group "goodra" specified [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 ulx adduser "[TS] goodra" superadmin (Console) added [TS] goodra to group superadmin ServerLog: [ULX] (Console) added [TS] goodra to group superadmin [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodra|2|STEAM_0:1:70600576] Lua Error: [ERROR] gamemodes/bunnyhop/gamemode/cl_init.lua:286: attempt to index global '_C' (a nil value) 1. unknown - gamemodes/bunnyhop/gamemode/cl_init.lua:286 [[TS] goodr
[QUOTE=Goodra;50085689]Yes! Forgive me if these errors are stupid and easy to solve, I've just gotten back into hosting servers so I'm rather rusty. First one is from the in game console while the second one is from the srcds.exe console. If it helps, I'm using the flow gamemode (and yes I've renamed all of the necessary things to bunnyhop since for some reason it's not letting me delete the previous bhop folder) Here you go; [CODE]Snip[/CODE] Also are the bots a necessary thing or is there a way to remove them?[/QUOTE] You can remove the bots by editing the sv_bot.lua file. It seems that the _C table isn't being created, so there has to be an error showing even before this. The errors you're posting are results of earlier errors so I can't do anything with them. Edit: Another problem might be that you named your folder 'bunnyhop' and not 'bhop' as instructed.
[QUOTE=Gravious;50092157]You can remove the bots by editing the sv_bot.lua file. It seems that the _C table isn't being created, so there has to be an error showing even before this. The errors you're posting are results of earlier errors so I can't do anything with them. Edit: Another problem might be that you named your folder 'bunnyhop' and not 'bhop' as instructed.[/QUOTE] Okay, I'll try renaming the folder to bhop, since I managed to delete the previous one now. I'll also look for any previous errors. Edit: Thank you so much! It turned out to be such a stupid thing too. Having it named bhop seemed to do the trick.
Gravious for some reason I cannot place zones when using your surf gamemode. There are no errors what so ever in the client/server consoles. I just click set zone, normal start, move where I wanna go, click set zone again and it disappears.
[QUOTE=NyeBlock;50593121]Gravious for some reason I cannot place zones when using your surf gamemode. There are no errors what so ever in the client/server consoles. I just click set zone, normal start, move where I wanna go, click set zone again and it disappears.[/QUOTE] There's gotta be an error in the server console. Most surf/bhop servers are running some version of this GM (myself included). Make sure you've installed mysqloo and libmysql, as well as having replaced the default sv.db with one of the included ones.
I wanted to use the Singleplayer version of the Bunny Hop gamemode (GFL Version 5.1 - Singleplayer I think) but I can't add start/end zones. If I type !admin it says the command doesn't exist and I cannot find a command to add start/end zones. Help?
Okay, I was able to fix it but I've also noticed that the speed bar isn't working, no errors in the console. Help? Because I'd like to see my speed without using cl_showpos 1.
[QUOTE=Mr. Burguers;50715528]Okay, I was able to fix it but I've also noticed that the speed bar isn't working, no errors in the console. Help? Because I'd like to see my speed without using cl_showpos 1.[/QUOTE] The speedbar not working would be directly related to an error in the client HUD file. I'll load it up real quick and see if I get the same issue. [SIZE=1][COLOR=#444444][B]Edited:[/B][/COLOR][/SIZE] Fix here. Replace the entire GM:HudPaintBackground() function with this, as this will be the easiest option. [code]function GM:HUDPaintBackground() if not CHUD:GetBool() then return end local nWidth, nHeight = ScrW(), ScrH() - 30 local nHalfW = nWidth / 2 if LocalPlayer():Team() == TEAM_SPECTATOR then local ob = LocalPlayer():GetObserverTarget() if IsValid( ob ) and ob:IsPlayer() then local nMode = ob:GetNWInt( "Mode", Config.Modes["Auto"] ) local szMode = Config.ModeNames[ nMode ] if ob:IsBot() then DrawText.Header = "Spectating WR Bot" if Spectator.Data.Contains and Spectator.Data.Bot then DrawText.Player = Spectator.Data.Player .. " (" .. szMode .. ")" DrawText.Additional = "Percentage:" else DrawText.Player = ob:Name() .. " (" .. szMode .. ")" DrawText.Additional = "Time to WR:" end else DrawText.Header = "Spectating" DrawText.Player = ob:Name() .. " (" .. szMode .. ")" DrawText.Additional = "Time to WR:" end surface.SetDrawColor( Color(44, 62, 80) ) surface.DrawRect( 20, ScrH() - 145, 230, 125 ) surface.SetDrawColor( Color(52, 73, 94) ) surface.DrawRect( 25, ScrH() - 140, 220, 55 ) surface.DrawRect( 25, ScrH() - 80, 220, 25 ) surface.DrawRect( 25, ScrH() - 50, 220, 25 ) draw.SimpleText( "Time:", "HUDFont", 30, ScrH() - 125, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( "Best:", "HUDFont", 30, ScrH() - 100, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( DrawText.Additional, "HUDFontSmall", 30, ScrH() - 68, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) local nCurrent, nRecord, szPercentage = 0, 0, nil if Spectator.Data.Contains then nCurrent = Spectator.Data.Start and CurTime() - Spectator.Data.Start or 0 nRecord = Spectator.Data.Best and Spectator.Data.Best or 0 if nRecord > 0 and ob:IsBot() then szPercentage = mFormat( "%.1f", (nCurrent / nRecord) * 100 ) end end draw.SimpleText( ConvertTime( nCurrent ), "HUDFont", 120, ScrH() - 125, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( ConvertTime( nRecord ), "HUDFont", 120, ScrH() - 100, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( szPercentage and szPercentage or GetToWR( nCurrent, nMode ), "HUDFontSmall", 120, ScrH() - 68, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) local Speed = ob:GetVelocity():Length2D() local BarWidth = (mClamp( Speed, 0, 2000) / 2000 ) * 220 local speedBar = math.Clamp( Speed - 500, 0, 5000 ) / 5000 surface.SetDrawColor( Color( 42 + speedBar * 98, 0, 150 ) ) surface.DrawRect( 25, ScrH() - 50, speedBar * 220, 25 ) draw.SimpleText( mFormat( "%.0f", Speed ), "HUDFont", 135, ScrH() - 38, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER ) draw.SimpleText( DrawText.Header, "HUDHeaderBig", nHalfW + 2, nHeight - 58, Color(25, 25, 25, 255), TEXT_ALIGN_CENTER ) draw.SimpleText( DrawText.Header, "HUDHeaderBig", nHalfW, nHeight - 60, Color(0, 120, 255, 255), TEXT_ALIGN_CENTER ) draw.SimpleText( DrawText.Player, "HUDHeader", nHalfW + 2, nHeight - 18, Color(25, 25, 25, 255), TEXT_ALIGN_CENTER ) draw.SimpleText( DrawText.Player, "HUDHeader", nHalfW, nHeight - 20, Color(255, 255, 255), TEXT_ALIGN_CENTER ) end local text = Config.SpectatorModes[ Spectator.Mode ] .. Lang.HUDSpecMode draw.SimpleText( text, "HUDHeader", nHalfW + 2, 32, Color(25, 25, 25, 255), TEXT_ALIGN_CENTER ) draw.SimpleText( text, "HUDHeader", nHalfW, 30, Color(255, 255, 255), TEXT_ALIGN_CENTER ) draw.SimpleText( Lang.HUDSpecCycle, "HUDTitleSmall", nHalfW, 60, Color(255, 255, 255), TEXT_ALIGN_CENTER ) if not SpecTypeRemote then return end else surface.SetDrawColor( Color(44, 62, 80) ) surface.DrawRect( 20, ScrH() - 145, 230, 125 ) surface.SetDrawColor( Color(52, 73, 94) ) surface.DrawRect( 25, ScrH() - 140, 220, 55 ) surface.DrawRect( 25, ScrH() - 80, 220, 25 ) surface.DrawRect( 25, ScrH() - 50, 220, 25 ) draw.SimpleText( "Time:", "HUDFont", 30, ScrH() - 125, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( "Best:", "HUDFont", 30, ScrH() - 100, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( "Time to WR:", "HUDFontSmall", 30, ScrH() - 68, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) local nCurrent = GetCurrentTime() draw.SimpleText( ConvertTime( nCurrent ), "HUDFont", 120, ScrH() - 125, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( ConvertTime( TRecord ), "HUDFont", 120, ScrH() - 100, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) draw.SimpleText( GetToWR( nCurrent ), "HUDFontSmall", 120, ScrH() - 68, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER ) local Speed = LocalPlayer():GetVelocity():Length2D() local BarWidth = (mClamp( Client.Speed, 0, 2000) / 2000 ) * 220 local speedBar = math.Clamp( LocalPlayer():GetVelocity():Length2D() - 500, 0, 5000 ) / 5000 surface.SetDrawColor( Color( 42 + speedBar * 98, 0, 150 ) ) surface.DrawRect( 25, ScrH() - 50, speedBar * 220, 25 ) draw.SimpleText( mFormat( "%.0f", LocalPlayer():GetVelocity():Length2D() ), "HUDFont", 135, ScrH() - 38, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER ) local Weapon = LocalPlayer():GetActiveWeapon() if Weapon and IsValid( Weapon ) and Weapon.Clip1 then local nAmmo = LocalPlayer():GetAmmoCount( Weapon:GetPrimaryAmmoType() ) local szWeapon = Weapon:Clip1() .. " / " .. nAmmo if nAmmo == 0 then return end draw.SimpleText( szWeapon, "HUDHeader", nWidth - 18, ScrH() - 18, Color(25, 25, 25, 255), TEXT_ALIGN_RIGHT, TEXT_ALIGN_CENTER ) draw.SimpleText( szWeapon, "HUDHeader", nWidth - 20, ScrH() - 20, Color(255, 255, 255), TEXT_ALIGN_RIGHT, TEXT_ALIGN_CENTER ) end if SpecTypeRemote then return end end if CSpec:GetBool() then local nStart = (nHeight + 30) / 2 - 50 local nOffset, bDrawn = nStart + 20, false for _,name in pairs( SpecList ) do if not bDrawn then draw.SimpleText( SpecTitle, "HUDLabelSmall", nWidth - 165, nStart, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP ) bDrawn = true end draw.SimpleText( name, "HUDLabelSmall", nWidth - 165, nOffset, Color(255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP ) nOffset = nOffset + 15 end end end[/code] [SIZE=1][COLOR=#444444][B]Edited:[/B][/COLOR][/SIZE] Also, this will make the speedbar purple. Edit the colors in the surface.SetDrawColor below the speedBar variable to change that. [SIZE=1][COLOR=#444444][B]Edited:[/B][/COLOR][/SIZE] Fixed the code - Forgot an end because I suck at copy/pasting.
Okay, I replaced the code with yours. However, once I start a game, my HUD is completely invisible. This is the very first error I get: [CODE][ERROR] gamemodes/bhop/gamemode/cl_init.lua:88: attempt to index global 'Timer' (a nil value) 1. unknown - gamemodes/bhop/gamemode/cl_init.lua:88 Timer Failed! [Simple][@gamemodes/bhop/gamemode/cl_init.lua (line 24)][/CODE] After that, my console randomly prints [CODE][ERROR] LuaCmd:1: attempt to index global 'Timer' (a nil value) 1. unknown - LuaCmd:1[/CODE] Could you please help me? NOTE: line 88 in cl_init.lua is: [CODE] if Client.AFKChecks >= (Timer.Start and Config.Player.AFKLimit * 3 or Config.Player.AFKLimit) then[/CODE] line 24 in cl_init.lua is: [CODE] timer.Simple( 5, Client.Tick )[/CODE]
[QUOTE=Mr. Burguers;50744556]Okay, I replaced the code with yours. However, once I start a game, my HUD is completely invisible. This is the very first error I get: [CODE][ERROR] gamemodes/bhop/gamemode/cl_init.lua:88: attempt to index global 'Timer' (a nil value) 1. unknown - gamemodes/bhop/gamemode/cl_init.lua:88 Timer Failed! [Simple][@gamemodes/bhop/gamemode/cl_init.lua (line 24)][/CODE] After that, my console randomly prints [CODE][ERROR] LuaCmd:1: attempt to index global 'Timer' (a nil value) 1. unknown - LuaCmd:1[/CODE] Could you please help me? NOTE: line 88 in cl_init.lua is: [CODE] if Client.AFKChecks >= (Timer.Start and Config.Player.AFKLimit * 3 or Config.Player.AFKLimit) then[/CODE] line 24 in cl_init.lua is: [CODE] timer.Simple( 5, Client.Tick )[/CODE][/QUOTE] It seems like it's possible you replaced the entire cl_timer.lua file with that code, rather than just the HUDPaintBackground function.
Apparently you did a little error in the code. I simply added another "end" line at the very end of your code without tabbing and it worked! Thank you so much! Now I can finally play Bunny Hop in singleplayer!
[QUOTE=Mr. Burguers;50754957]Apparently you did a little error in the code. I simply added another "end" line at the very end of your code without tabbing and it worked! Thank you so much! Now I can finally play Bunny Hop in singleplayer![/QUOTE] Oh wow, I'm an idiot. Not sure how I missed the end to close the function. Sorry about that! Glad it's working well now! Edit: I just suck at copy/pasting. The end was there in my code, I just didn't highlight it when copied. Post updated with fixed code.
Is there any way to get ULX to properly work with the "Flow Network - Bunny Hop v7.26" version? And by properly work I mean that it actually saves the user ranks throughout map changes, server restarts and what not. I've read through the entire thread but there's nothing mentioning this. And yes, I've tried reinstalling the server, gamemode, addons etc.
How do setup a clean database so there can be no maps in the !nominate menu when you stated [QUOTE]you can use a clean database to remove all of the maps form the nominate menu[/QUOTE] in the how to add more maps using the flow network gamemode.
[QUOTE=ItsMoney;50804014]How do setup a clean database so there can be no maps in the !nominate menu when you stated in the how to add more maps using the flow network gamemode.[/QUOTE] 1. When putting the database file in the gmod directory, use the clean version. Edit: It seems the clean version includes all the maps, you could do `DELETE FROM game_map` 2. I'd reconmmend watching [video=youtube;j3c4XypOZF0]https://www.youtube.com/watch?v=j3c4XypOZF0[/video]
[QUOTE=bigdogmat;50804124]1. When putting the database file in the gmod directory, use the clean version. Edit: It seems the clean version includes all the maps, you could do `DELETE FROM game_map` 2. I'd reconmmend watching [video=youtube;j3c4XypOZF0]https://www.youtube.com/watch?v=j3c4XypOZF0[/video][/QUOTE] Thanks i figured it out.
Hello Gravious, I recently got this gamemode and wanted to say that I love it. I am using the flow network. However even after toying with the Player.Scalar I can't figure out how to drop JUST the Normal style ranks. I want them to be the same as HSW and SW. Thanks in advanced. -Penrouk
[QUOTE=Penrouk;50845528]Hello Gravious, I recently got this gamemode and wanted to say that I love it. I am using the flow network. However even after toying with the Player.Scalar I can't figure out how to drop JUST the Normal style ranks. I want them to be the same as HSW and SW. Thanks in advanced. -Penrouk[/QUOTE] [img]http://i.imgur.com/DBDbIkv.png[/img] I believe this may be where you'd need to look.
could you make up a function that we can run that will add a player to vip cause we wont all use the donation system you supply and we don't wanna open our sv.db database file every time we wanna add a vip :/
[QUOTE=defyReality;50917045]could you make up a function that we can run that will add a player to vip cause we wont all use the donation system you supply and we don't wanna open our sv.db database file every time we wanna add a vip :/[/QUOTE] Why would he make a function when you could learn Lua and do it yourself? He provided the file to do it his way. Either learn from it, learn Lua and do it yourself, or keep editing the sv.db manually.
[QUOTE=Clouds;50921565]Why would he make a function when you could learn Lua and do it yourself? He provided the file to do it his way. Either learn from it, learn Lua and do it yourself, or keep editing the sv.db manually.[/QUOTE] sorry leafy
[QUOTE=defyReality;50921670]sorry leafy[/QUOTE] [code]sql.Query( "INSERT INTO gmod_vips ( nID, szSteam, nTime, nLength ) VALUES ( '" .. id .. "', '" .. steam .. "', '" .. time .. "', '" .. length .. "' ) ")[/code] Example of an SQL query you could use. Will this work well? Probably not. It's a super basic query and syntax might be fucked up. But this took 2 seconds to create. Sorry for making it so difficult. I left my spoon at home.
[QUOTE=Clouds;50929137][code]sql.Query( "INSERT INTO gmod_vips ( nID, szSteam, nTime, nLength ) VALUES ( '" .. id .. "', '" .. steam .. "', '" .. time .. "', '" .. length .. "' ) ")[/code] Example of an SQL query you could use. Will this work well? Probably not. It's a super basic query and syntax might be fucked up. But this took 2 seconds to create. Sorry for making it so difficult. I left my spoon at home.[/QUOTE] woah O_O are you a pru cudr (doesnt work but good try)
[QUOTE=defyReality;50943516]woah O_O are you a pru cudr (doesnt work but good try)[/QUOTE] [quote]Example of an SQL query you could use[/quote] [quote]...syntax might be fucked up.[/quote] You're one of those copy/paste server devs, aren't you?
[QUOTE=Clouds;50951320]You're one of those copy/paste server devs, aren't you?[/QUOTE] it doesnt work with other donation systems cause of the nID needs to be + 1 but you know since your smart you knew that
[QUOTE=defyReality;50965220]it doesnt work with other donation systems cause of the nID needs to be + 1 but you know since your smart you knew that[/QUOTE] I'm pretty sure you can use the LastInsert() function in mysqloo or do some SQL and use SELECT MAX to get the highest nID value in the gmod_vips table. This isn't rocket science.
Is it possible to have the ability to bhop in sandbox (for personal use) instead of being a standalone gamemode?
Sorry, you need to Log In to post a reply to this thread.