• Flow - Collection of gamemodes and accessories
    536 replies, posted
[QUOTE=rikyy;47201976]Yep, that did it thanks a lot :3 but I still have one small question unanswered, how can I add chat tag and modify chat text? Or I need a plugin for that? I ask because I've seen another server with your gamemode and they had chat tags with chat text colors :) EDIT: figured that out! I need to add VIPs in the SQL database and set the colors :3 but what are nType, nStart and nLenght?[/QUOTE] Alright, So svSteam you put their steamid, svTag you put nothing, svName you out nothing, nLength is how long you want them to have vip for, in minutes, the nStart you have to go here: [url]http://www.epochconverter.com/[/url] and get the current time in epoch, and put that as your nStart, and the nType is is ether VIP or Elevated VIP, Basicly 1=vip and 2=vip+ edit: Sorry for my horrible explanation :^)
[QUOTE=qTY3;47205756]Alright, So s[B]z[/B]Steam you put their steamid, s[B]z[/B]Tag you put nothing, s[B]z[/B]Name you out nothing, nLength is how long you want them to have vip for, in minutes, the nStart you have to go here: [url]http://www.epochconverter.com/[/url] and get the current time in epoch ([B]the Unix time, from 1 January 1970[/B]), and put that as your nStart, and the nType is is ether VIP or Elevated VIP, Basicly 1=vip and 2=vip+ edit: Sorry for my horrible explanation :^)[/QUOTE] That's exactly right, nothing horrible about it. Thank you! :)
:* to both of ya, thanks a lot
Hey grav theres something wrong with one of my maps, bhop_strafe_fix, the no jump part is broken... Don't know really how to explain it, so if you know how to fix it could you reply? or get on steam or something XD thanks
[QUOTE=qTY3;47213038]Hey grav theres something wrong with one of my maps, bhop_strafe_fix, the no jump part is broken... Don't know really how to explain it, so if you know how to fix it could you reply? or get on steam or something XD thanks[/QUOTE] It's already fixed o.o Have a look at gamemodes/bhop/gamemode/maps/bhop_strafe_fix.lua That gets executed on map load and will make sure that the no jump parts work. Did you mess around with sv_zones.lua? That file includes the fix file.
Hey, I hope you don't mind me asking yet another question :S Do you know what's up with mist_3 and the broken props? EDIT: I noticed cs props are broken on all maps. Do I have to mount some content in some way? EDIT2: nvm fixed it, again! Thank you based Google. For those (nobody here, really...) wondering what I did was mounting the css content. Google is your friend. EDIT3: Is it normal for the console to spam "DataTable warning: player: Out-of-range value <354.000000> (sometimes it's anywhere from 354 to 359) in SendPropFloat 'm_angEyeAngles[0]', clamping." twice for every fail? I noticed this in bhop_mist_3, every time I fail to land on a block and get tp'd I get two of those, I think it happens for every time any player does. I mean I can finish the map no problem but I hate having my console looking like that, it has to be perfect :3
[QUOTE=rikyy;47216807]Hey, I hope you don't mind me asking yet another question :S Do you know what's up with mist_3 and the broken props? EDIT: I noticed cs props are broken on all maps. Do I have to mount some content in some way? EDIT2: nvm fixed it, again! Thank you based Google. For those (nobody here, really...) wondering what I did was mounting the css content. Google is your friend. EDIT3: Is it normal for the console to spam "DataTable warning: player: Out-of-range value <354.000000> (sometimes it's anywhere from 354 to 359) in SendPropFloat 'm_angEyeAngles[0]', clamping." twice for every fail? I noticed this in bhop_mist_3, every time I fail to land on a block and get tp'd I get two of those, I think it happens for every time any player does. I mean I can finish the map no problem but I hate having my console looking like that, it has to be perfect :3[/QUOTE] Not really sure what the DataTable warning is, but for older maps you tend to get more console spam than on newer ones. I don't really get how an Eye Angle would give an Out-of-range value for 354 though, since there's always 360 degrees :o
Am i doing something wrong adding admins for pgs gm? [code] util.AddNetworkString("BHOP_ADM") ----------- -- ADMIN -- ----------- Admin = {} Admin.Access = { ["Owner"] = 3, ["Admin"] = 2, ["Moderator"] = 1 } Admin.List = { {"1045641950", Admin.Access["Owner"]}, } [/code] everything works but the admin its like its not checking and the rtv panel somtimes breaks help would be appreciated thanks :)
I updated the original post with a ton of new F.A.Q. questions and uploaded the latest version of my release (v1.03)! [QUOTE=Matt0722;47234679]Am i doing something wrong adding admins for pgs gm? [code] util.AddNetworkString("BHOP_ADM") ----------- -- ADMIN -- ----------- Admin = {} Admin.Access = { ["Owner"] = 3, ["Admin"] = 2, ["Moderator"] = 1 } Admin.List = { {"1045641950", Admin.Access["Owner"]}, } [/code] everything works but the admin its like its not checking and the rtv panel somtimes breaks help would be appreciated thanks :)[/QUOTE] I'm not familiar with this gamemode anymore, so I wouldn't be able to tell you right away what's wrong. If you've entered that in your Admin.List, anytime "Admin:GetAccessLevel(ply)" gets called, you'll surely be checked as Admin. Double-check your UniqueID, then see if you can correctly use !admincp About the RTV, what exactly is wrong with it?
[QUOTE=Gravious;47238646]I updated the original post with a ton of new F.A.Q. questions and uploaded the latest version of my release (v1.03)! I'm not familiar with this gamemode anymore, so I wouldn't be able to tell you right away what's wrong. If you've entered that in your Admin.List, anytime "Admin:GetAccessLevel(ply)" gets called, you'll surely be checked as Admin. Double-check your UniqueID, then see if you can correctly use !admincp About the RTV, what exactly is wrong with it?[/QUOTE] sometimes the rtv panel breaks like it makes alot of lua errors one of the errors is in cl_window.lua Also i followed how you get your UniqueID So i did [code] Running script test.lua... 1045641950 And gm_STEAM_0:0:43481051_gm result 1045641950 [/code] and its the same EDIT: NVM I GOT ADMINS TO WORK :) thanks for you help anyways :D
Hey Grav, not really an issue (or yes, idk :/) but I'm having a friend telling me the blocks/triggers on some maps are broken. You see, some maps have those old 1-hop triggers that lower themselves for a couple seconds when you jump on them, he says on other servers they don't move. Now this isn't really an issue for me because the server runs on the same machine I use to play, but he says they are sort of glitchy and slow him down when he plays. Isn't there a way of making them stay on place? Could you help me figure this out? Pretty please? Btw nice updated FAQ, now my blind ass can finally see that you posted about VIPs and how they work :)
[QUOTE=Matt0722;47238916]sometimes the rtv panel breaks like it makes alot of lua errors one of the errors is in cl_window.lua Also i followed how you get your UniqueID So i did [code] Running script test.lua... 1045641950 And gm_STEAM_0:0:43481051_gm result 1045641950 [/code] and its the same EDIT: NVM I GOT ADMINS TO WORK :) thanks for you help anyways :D[/QUOTE] It'd be nice to know for me, and for others, how you did it. Also, can you post some of those Lua errors? [QUOTE=rikyy;47239306]Hey Grav, not really an issue (or yes, idk :/) but I'm having a friend telling me the blocks/triggers on some maps are broken. You see, some maps have those old 1-hop triggers that lower themselves for a couple seconds when you jump on them, he says on other servers they don't move. Now this isn't really an issue for me because the server runs on the same machine I use to play, but he says they are sort of glitchy and slow him down when he plays. Isn't there a way of making them stay on place? Could you help me figure this out? Pretty please? Btw nice updated FAQ, now my blind ass can finally see that you posted about VIPs and how they work :)[/QUOTE] This sounds like you missed the emulated MPBhops for Single Hop maps. Did you add the bhop_ents.lua file to your autorun directory? Check the README.txt in "Flow Network - Bunny Hop\Essential files", I briefly explain it there. And you're welcome :p
[QUOTE=Gravious;47240057]It'd be nice to know for me, and for others, how you did it. Also, can you post some of those Lua errors? This sounds like you missed the emulated MPBhops for Single Hop maps. Did you add the bhop_ents.lua file to your autorun directory? Check the README.txt in "Flow Network - Bunny Hop\Essential files", I briefly explain it there. And you're welcome :p[/QUOTE] Heres the errors i get :) [code] Matt0722|2|STEAM_0:0:43481051 [ERROR] gamemodes/bhop/gamemode/cl_init.lua:319: bad argument #1 to 'gsub' (string expected, got userdata) 1. gsub - [C]:-1 2. FriendlyName - gamemodes/bhop/gamemode/cl_init.lua:319 3. LoadWindowData - gamemodes/bhop/gamemode/cl_window.lua:207 4. InitActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:79 5. SetActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:49 6. ParseData - gamemodes/bhop/gamemode/cl_data.lua:118 7. func - gamemodes/bhop/gamemode/cl_data.lua:108 8. unknown - lua/includes/modules/net.lua:32 FiBs|3|STEAM_0:1:48688711 [ERROR] gamemodes/bhop/gamemode/cl_init.lua:319: bad argument #1 to 'gsub' (string expected, got userdata) 1. gsub - [C]:-1 2. FriendlyName - gamemodes/bhop/gamemode/cl_init.lua:319 3. LoadWindowData - gamemodes/bhop/gamemode/cl_window.lua:207 4. InitActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:79 5. SetActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:49 6. ParseData - gamemodes/bhop/gamemode/cl_data.lua:118 7. func - gamemodes/bhop/gamemode/cl_data.lua:108 8. unknown - lua/includes/modules/net.lua:32 [/code]
Alright extremely stupid question here grav XD, I cannot find a link to bhop_eazy_4xl anywhere, XD little help here? Saw it in one of your tutorials :^) EDIT: thanks @rikyy
[URL="https://mega.co.nz/#!w4A3hA4D!zy3KYeX4NmvZe2s00I-zRDJiFqLSnKdzPoTPdWmaqs8"]There you go[/URL], I know how frustrating this is, I got most of my maps from open fastDL repositories accessible via google because it was getting really annoying not finding half of the maps. Btw thanks Grav, I might've missed it when moving the server to a new steamCMD install, the previous one had too many unused lua files from other shit I had on it. EDIT: Does someone have kz_watertemple? EDIT2: Found it finally! [URL="http://fastdl.gflclan.com/garrysmod/maps/"]This is GFL's fastDL repo[/URL], you can find all kinds of maps that might have been removed from gamebanana ^^
Anyway how do I always enable the sync? I think it would be nice to have always on without having to type !sync everytime :P thanks
[QUOTE=Matt0722;47240743]Heres the errors i get :) [code] Matt0722|2|STEAM_0:0:43481051 [ERROR] gamemodes/bhop/gamemode/cl_init.lua:319: bad argument #1 to 'gsub' (string expected, got userdata) 1. gsub - [C]:-1 2. FriendlyName - gamemodes/bhop/gamemode/cl_init.lua:319 3. LoadWindowData - gamemodes/bhop/gamemode/cl_window.lua:207 4. InitActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:79 5. SetActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:49 6. ParseData - gamemodes/bhop/gamemode/cl_data.lua:118 7. func - gamemodes/bhop/gamemode/cl_data.lua:108 8. unknown - lua/includes/modules/net.lua:32 FiBs|3|STEAM_0:1:48688711 [ERROR] gamemodes/bhop/gamemode/cl_init.lua:319: bad argument #1 to 'gsub' (string expected, got userdata) 1. gsub - [C]:-1 2. FriendlyName - gamemodes/bhop/gamemode/cl_init.lua:319 3. LoadWindowData - gamemodes/bhop/gamemode/cl_window.lua:207 4. InitActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:79 5. SetActiveWindow - gamemodes/bhop/gamemode/cl_window.lua:49 6. ParseData - gamemodes/bhop/gamemode/cl_data.lua:118 7. func - gamemodes/bhop/gamemode/cl_data.lua:108 8. unknown - lua/includes/modules/net.lua:32 [/code][/QUOTE] I'm pretty sure that's when you reload the server with "changelevel". That input can't be a userdata string... At least, not under normal circumstances. You could use this simple fix. Replace the FriendlyName function in your cl_init (line 318) with this one: [code] function FriendlyName(input) if type(input) != "string" then return "Error" end return string.gsub(string.gsub(input, "bhop_", ""), "_", " ") end [/code] [QUOTE=qTY3;47247119]Anyway how do I always enable the sync? I think it would be nice to have always on without having to type !sync everytime :P thanks[/QUOTE] You know, my gamemode is pretty obvious and makes a lot of sense, even for people who haven't written it themselves. Let's go! So, when you type !sync, something triggers. We want this to trigger whenever they join, so, let's have a look what it is. 1. Open up sv_command.lua 2. Ctrl + F: sync 3. We find: [code] self:Register( { "sync", "showsync", "sink", "strafe", "monitor" }, function( ply ) SMgrAPI:ToggleSyncState( ply ) end ) [/code] Now I know that the SMgrAPI offers more than just a toggle, so what you can do is look up the ToggleSyncState and see what it does. Here's what it does for new players that type it for the first time: [code] SMgrAPI:Monitor( ply, true ) ply.SyncDisplay = "" [/code] So really all you have to do is go to sv_player.lua and find Player:Load then after [code] if Bot.RecordAll then Bot:AddPlayer( ply ) else local bRank, bEmpty = ply.Rank >= 20, CurTime() - RTV.Initialized > Bot.MinimumTime and #player.GetHumans() < 12 if bRank or bEmpty then Bot:AddPlayer( ply, bRank and " because of your high rank." or " because the server has low player count." ) end end [/code] Simply add what we found and you'll end up with: [code] Player:LoadBest( ply ) Player:LoadRank( ply ) Timer:SendInitialRecords( ply ) Admin:CheckPlayerStatus( ply ) Bot:CheckStatus() if Bot.RecordAll then Bot:AddPlayer( ply ) else local bRank, bEmpty = ply.Rank >= 20, CurTime() - RTV.Initialized > Bot.MinimumTime and #player.GetHumans() < 12 if bRank or bEmpty then Bot:AddPlayer( ply, bRank and " because of your high rank." or " because the server has low player count." ) end end SMgrAPI:Monitor( ply, true ) ply.SyncDisplay = "" ply.ConnectedAt = CurTime() [/code] This will start monitoring their sync when they join without putting a message everytime!
Thanks for this man!
Garry's Mod received an update and it broke the millisecond displaying on the scoreboard. I decided to promptly bring out an update so we might have arrived at a final version: Version 1.04 of my release bundle! Applied functionality [quote] - Updated Skill Surf gamemode to have the latest fixes of Bunny Hop - Added an extra fix for RTV map checking (if it really exists on the server) - Fixed integer networked vars to be changed to the float type where necessary - Updated some strings - Improved the locking mechanism (to be more friendly to server owners) - Fixed an issue with bot rejoining when the server has been locked - Changed Operator handling for server setup (they will now permanently be operator) - Fixed an issue with console spam about missing entities [/quote] Also updated the F.A.Q. with the answer to fixing the milliseconds glitch yourself. [quote] [B]Q:[/B] Why do the times not show milliseconds on the client side? [B]A:[/B] Because of a Garry's Mod update, NWInt variables no longer support decimals (they're now actually integers, which is logical and good), so you have to change all "Record" NWInts to NWFloats. This is fixed in the latest version! [/quote]
2fast4me grav, well done. Now to my little rant. These server updates are fucking bullshit, first it breaks the pointshop on my dr server and now that I updated the bhop one I cant figure out how to import the tables that I've exported as sql files. Could you help me figure out what to do, please? What I did, through navicat, was export wizard times, bot, zones etc as individual .sql, deleted the sv.db and let the server generate another one, but when I execute each .sql it gives me errors on every line and the import wizard doesn't have an option for .sql ;-; nid halp
[QUOTE=rikyy;47289877]2fast4me grav, well done. Now to my little rant. These server updates are fucking bullshit, first it breaks the pointshop on my dr server and now that I updated the bhop one I cant figure out how to import the tables that I've exported as sql files. Could you help me figure out what to do, please? What I did, through navicat, was export wizard times, bot, zones etc as individual .sql, deleted the sv.db and let the server generate another one, but when I execute each .sql it gives me errors on every line and the import wizard doesn't have an option for .sql ;-; nid halp[/QUOTE] Whuuut. I couldn't follow so here's a mini-tut on how I do it (I've never touched Import / Export in my life): 1. Dump -> Structure & Data (this will save the rows as well) [img]http://puu.sh/gtHKY/c85a24875c.png[/img] 2. You'll get an .SQL file with data like this: [img]http://puu.sh/gtHQJ/6d95d0e792.png[/img] 3. To restore, delete the tables to be re-created 4. Then right click the white square behind it and Execute SQL File [img]http://puu.sh/gtHTb/ea863e0f28.png[/img]
So, I just updated to the latest version of the gamemode, and now when typing things like !p90 it gives you a gun, but then is disappears, Like you can still shoot and stuff, you just cant see the gun =\
How would i set permissions for commands used by other addons? Also im having a clientside issue where people get one of the admin icons next to their name and when they talk into chat it would be the admins name that had the icon. Ill get some screenshots soon example: blabla is a newbie rank my rank is professional he talks into chat and "Owner Newbie Red:" will pop up in chat i get no errors in console but this happens "Ill get some screenshots soon"
[QUOTE=qTY3;47292091]So, I just updated to the latest version of the gamemode, and now when typing things like !p90 it gives you a gun, but then is disappears, Like you can still shoot and stuff, you just cant see the gun =\[/QUOTE] I wasn't having that issue o.o Edit: I'm not having this issue right now either. Did you correctly install the SWEPs? Was there maybe a permission issue with overwriting when applying the update? Are there any conflicting addons? [QUOTE='[pG]Jailbreak;47292223']How would i set permissions for commands used by other addons? Also im having a clientside issue where people get one of the admin icons next to their name and when they talk into chat it would be the admins name that had the icon. Ill get some screenshots soon example: blabla is a newbie rank my rank is professional he talks into chat and "Owner Newbie Red:" will pop up in chat i get no errors in console but this happens "Ill get some screenshots soon"[/QUOTE] I'm guessing you made that yourself? By default admins don't get any admin tags, so let alone members. To get the admin level on the server you can call "Admin:GetAccess( ply )", and then to check for levels you do: if Admin:GetAccess( ply ) < Admin.Level.Admin then return print( ply, "doesn't have access to this command" ) end
[QUOTE=Gravious;47292776]I wasn't having that issue o.o Edit: I'm not having this issue right now either. Did you correctly install the SWEPs? Was there maybe a permission issue with overwriting when applying the update? Are there any conflicting addons? [/QUOTE] I just restarted the server, doesnt seem to be doing it again :P
[QUOTE=Gravious;47290376]Whuuut. I couldn't follow so here's a mini-tut on how I do it (I've never touched Import / Export in my life): 1. Dump -> Structure & Data (this will save the rows as well) [img]http://puu.sh/gtHKY/c85a24875c.png[/img] 2. You'll get an .SQL file with data like this: [img]http://puu.sh/gtHQJ/6d95d0e792.png[/img] 3. To restore, delete the tables to be re-created 4. Then right click the white square behind it and Execute SQL File [img]http://puu.sh/gtHTb/ea863e0f28.png[/img][/QUOTE] You truly are a gentleman and a scholar :3 Works just fine thanks a lot :D
Hello, I downloaded your gamemode, i put gameforlife bhop on my server but I would like want to know why when i tape all your command on my chat there is no effect ?? thank's
[QUOTE=slodrein;47307259]Hello, I downloaded your gamemode, i put gameforlife bhop on my server but I would like want to know why when i tape all your command on my chat there is no effect ?? thank's[/QUOTE] What commands are you trying? Do you get any errors in your console? Is the rest of the functionality working?
Hey, Grav. I'm trying to set up the server again (moving over from a standard game server to a VPS) and I'm having some issues that I can't seem to trace the problem of. Well, I can trace it back to where it is, but I can't find out what's wrong. The issue has to be with the core_data.lua file, but I'm not sure what it could be. Whether I use a clean one, one that works on my working surf server, or even one that works on a BHop server on that same box, the result is always with this error. If I don't use SQL, it works, though. I'm not sure what the issue could be here. Below is an image of the errors I am getting. I'm tracing it back to an SQL error, but I'm not sure what's causing it. [IMG]http://i.gyazo.com/8b2471ff82893b99c8ae331cf03ddf7e.png[/IMG]
Did u installed mysqloo correctly? not tmysql
Sorry, you need to Log In to post a reply to this thread.