[b]THIS GAMEMODE IS BROKEN.[/b]
Now almost a more complete copy of the current Flood Mod v2.
BUGS FIXED IN V1.2, Now safe, I cleaned up the shit I did all over the floor and got to cleaning the code more, it works better and less glitches or console spams. Thank you for people sending me PM's.
Change Log from v1.1
[list]Anti-Pirate, kicks people off and removes 1 HP. (Glitched on removing HP part, removes random amounts of HP, found a fix and will post soon.)[/list]
[list]100% done with Prop Protection[/list]
[list]!give function which gives money to other
players.[/list]
[list]PropHealer is now stunbaton, and CrowBar is reverted back to RowBar[/list]
[list]Uclip[/list]
Change Log from v1
[list]1/2 done with Prop Protection, if you want to then you can continue with it.[/list]
[list]New way of adding weapons and props, check out the shared.lua and learn instantly.[/list]
[list]Fixed several exploits, you can't weld other people's stuff or your stuff to the world. Nail needs to be fixed. FM_Slay exploit fix.[/list]
[list]Prop Healer v1 (You can control the amount of HP it heals, and the amount of money it gives or takes in init.lua)[/list]
[list]New VIP system, you can add someone to VIP by getting their steam ID, removing ":"s and adding them to ./data/FloodVIP.txt which will be created after running the gamemode.[/list]
[list]You can manage the tools that could be used by regular players. The rest are VIP tools.[/list]
[list]Press reload twice to unfreeze all your props.[/list]
[list]Round only starts when there are 2 or more players.[/list]
NEW SVN THREAD HERE:
[url]http://www.facepunch.com/showthread.php?t=780383[/url]
POST ALL ERRORS AND BUGS THERE.
Credits:
find me
FloodMod Team
BoingBoing = Zombix
Not ok to post this? PM me.
So you made some shanges to the code?
Err...Ask find me's permission first.
But you have made some good changes, well done.
[QUOTE=Unib5;14744538]Err...Ask find me's permission first.
But you have made some good changes, well done.[/QUOTE]
Thanks, but I'll keep this up until find me comes and wants to take it down.
The thing messed up for the changelog apparently, because there are way more changes then that. Prop protection is 100% done too.
It's pretty much the exact same thing as the official Flood Server now with less exploits and cleaner code. There's no F1 menu though. After this whole revision, I know the Flood v1 code inside and out. It's scary, I could basically recreate flood mod by memory.
Thanks for this mate. Good that someone decided to fix the many errors and bugs present in Flood Mod.
Is prop protection supposed to be a blank page?.
PP does not work. I'm watching someone move my prop after i removed them from my PP list.
[QUOTE=darksoul69;14760919]Is prop protection supposed to be a blank page?.
PP does not work. I'm watching someone move my prop after i removed them from my PP list.[/QUOTE]
Fixed. Download the new more bugfix again.
Awesome you did what find me couldn't!
Erh.. how does this work? :P
Nvm, moved into gamemode, but a bunch of LUA error and no work
[QUOTE=Chaos Llama;14779851]Awesome you did what find me couldn't![/QUOTE]
Sorry I don't help people like you, that's why I stopped. I don't mind you editing my script just don't be taking credit for a bunch of stuff you didn't do.
Does anyone even have a list of what exact bugs he's talking about in the addon/gmod.org download description?
[QUOTE=find me;14918301]Sorry I don't help people like you, that's why I stopped. I don't mind you editing my script just don't be taking credit for a bunch of stuff you didn't do.[/QUOTE]
I think the script has officially be botched up to the max.
I managed to make a fully working version of this but its just the admin that needs fixing if findme or boing boing / any other flood lua coder can give me advice i would be grateful.
P.s. look at [url]http://greentango.co.uk/phpBB3/viewforum.php?f=21[/url] if you after flood mod
Nice 404 you got there. Is Boingboing still working on this?
I really hate bumps but, when new players come you start out with 0 cash. How do I change this? The gamemode is garbage without starting cash. Thanks!
* Still cant find it looking through all the LUAS
[QUOTE=TheParadox;16023206]I really hate bumps but, when new players come you start out with 0 cash. How do I change this? The gamemode is garbage without starting cash. Thanks![/QUOTE]
Did you iron out the most important bug?
[QUOTE=tgp1994;16023340]Did you iron out the most important bug?[/QUOTE]
What bug would that be? I fixed the pistol one.
[QUOTE=TheParadox;16023412]What bug would that be? I fixed the pistol one.[/QUOTE]
Hmm... I didn't know there was a pistol one. Anyways, there's a bug in Players.lua on line 38, where he says
[code]
ply.NextPirate = CurTime()
[/code]
and you must change it to:
[code]
pl.NextPirate = CurTime()
[/code]
I think that one pretty much makes/breaks the game.
[QUOTE=tgp1994;16023485]Hmm... I didn't know there was a pistol one. Anyways, there's a bug in Players.lua on line 38, where he says
[code]
ply.NextPirate = CurTime()
[/code]
and you must change it to:
[code]
pl.NextPirate = CurTime()
[/code]
I think that one pretty much makes/breaks the game.[/QUOTE]
I thought it was just waiting for more players to start. No wonder the round doesnt start. Thanks! :D Do you know where the money given is at?
[QUOTE=TheParadox;16023528]I thought it was just waiting for more players to start. No wonder the round doesnt start. Thanks! :D Do you know where the money given is at?[/QUOTE]
Looks to me like the money is given out on lines 122-126 of Players.lua. I noticed my own bug, where the money seems to keep resetting :S You wouldn't happen to know how to fix that?
[QUOTE=tgp1994;16023575]Looks to me like the money is given out on lines 122-126 of Players.lua. I noticed my own bug, where the money seems to keep resetting :S You wouldn't happen to know how to fix that?[/QUOTE]
lol What a bloody mess. Well that fixed my money issue now the timer is stuck. Is it supposed to be until players join?
And about your issue the money files are stored at garrysmod\garrysmod\data\FloodCashLogs\ the numbers corospond to players and inside the txt is the money.
[QUOTE=TheParadox;16023704]lol What a bloody mess. Well that fixed my money issue now the timer is stuck. Is it supposed to be until players join?
And about your issue the money files are stored at garrysmod\garrysmod\data\FloodCashLogs\ the numbers corospond to players and inside the txt is the money.[/QUOTE]
Ok, thanks. And yes, the timer is supposed to be frozen till there are two or more people in the server. I think you might be able to trick it by using bot_add in the console, I've never tried that though.
[QUOTE=tgp1994;16023718]Ok, thanks. And yes, the timer is supposed to be frozen till there are two or more people in the server. I think you might be able to trick it by using bot_add in the console, I've never tried that though.[/QUOTE]
Thanks for you help mate. It was crucial. :D
Np :)
[QUOTE=tgp1994;16023909]Np :)[/QUOTE]
Is there any other bugs or things your recommend fixing?
[QUOTE=TheParadox;16023935]Is there any other bugs or things your recommend fixing?[/QUOTE]
I seem to remember getting console spam'd about something right when an actual fighting round starts, infact, I still have the error message:
[code]
ERROR: GAMEMODE:'Move' Failed: includes/extensions/table.lua:103: bad argument #1 to 'pairs' (table expected, got nil)
[/code]
But after realizing the error is due to garrysmod, I though, "Screw it." It doesn't hurt anything anyways. Right now I'm working on making a teams menu, kind of my way of learning LUA, so people who are on teams will be considered winners if they eliminate the other team. Could be a difficult project for a newbie in gmod lua like me, but it will be fun along the way.
[QUOTE=tgp1994;16024014]I seem to remember getting console spam'd about something right when an actual fighting round starts, infact, I still have the error message:
[code]
ERROR: GAMEMODE:'Move' Failed: includes/extensions/table.lua:103: bad argument #1 to 'pairs' (table expected, got nil)
[/code]
But after realizing the error is due to garrysmod, I though, "Screw it." It doesn't hurt anything anyways. Right now I'm working on making a teams menu, kind of my way of learning LUA, so people who are on teams will be considered winners if they eliminate the other team. Could be a difficult project for a newbie in gmod lua like me, but it will be fun along the way.[/QUOTE]
lol wonderful. Tell me if you fix that. How bad is the errors like nonstoP?
[QUOTE=TheParadox;16024105]lol wonderful. Tell me if you fix that. How bad is the errors like nonstoP?[/QUOTE]
Well, it actually seems like it happens for about a minute then stops, I haven't really paid attention to it past that. I think this is actually something for Garry to fix.
[QUOTE=tgp1994;16024523]Well, it actually seems like it happens for about a minute then stops, I haven't really paid attention to it past that. I think this is actually something for Garry to fix.[/QUOTE]
that error lags the game out......>.< How do I remove the 10sec wiat time?
[QUOTE=TheParadox;16026042]that error lags the game out......>.< How do I remove the 10sec wiat time?[/QUOTE]
Right before the actual game starts?
Sorry, you need to Log In to post a reply to this thread.