[GameMode] Last Bed Standing - Bedwars in SA-MP!
#21

Nice job
Reply
#22

Thanks

After having trouble with recursive functions next update is being published

Code:
## [0.1b] - 2017-03-21
### Added
- Added weather system for random weather.
- Weather can be set by admins, using /weather ID
- /dropmoney uses GenerateRandomPickup function now, to create money pickups.
- system to check if a team has won the game. (if other teams are empty)
- Improved several minor bugs.
- Major changes in score system.
- The winner of the team will now be determined if there is no player left in other teams
- Recursive function will be called in OnPlayerDeath instead of OnPlayerSpawn now.
- Dead player will be thrown into TEAM_SPECTATOR after death now if the bed is missing.
- GetPlayerCount() function added to count amount of players for use in TeamsAlive(bool:value) function.
- Recursive function TeamsAlive(bool:value) function (false/true) to count teams alive or check if there is only one team left.
- Fighting Style menu to purchase different fightstyles.
- Quicksort instead of Heapsort

### Fix
- Increased weapon prices due to balancing reasons.
- Changed bomb activation radius to 150m instead of 100m.
Reply
#23

Update

Now you dont need any RCON admin to restart the server after a team has won..
AntiCheat and /report system will be appended in next release.
Code:
## [0.1b] - 2017-03-28
### Added
- Function GivePlayerMoneyText to give or remove money from a player and display gametext.
- #define to change the value of Money Pickups.


### Fix
- Fixed minor bugs.
- Fixed y_ini problems.
Reply
#24

Nice job!
Reply
#25

Please post your suggestions
Reply
#26

Nice !!!
Reply
#27

Ahoy

New list of available commands.
I will add a description later

Code:
	if(strcmp(cmd, "/weather", true) == 0) 
	if(strcmp(cmd, "/search", true) == 0) 
	if(strcmp(cmd, "/compare", true) == 0) 
	if(strcmp(cmd, "/getplayerteam", true) == 0) 
	if(strcmp(cmd, "/stealth", true) == 0) 
	if(strcmp(cmd, "/warp", true) == 0) //Warppowder
	if(strcmp(cmd, "/jetpack", true) == 0) {
	if(strcmp(cmd, "/sound", true) == 0)
	if(strcmp(cmd, "/spec", true) == 0)
	if(strcmp(cmd, "/specoff", true) == 0)
	if(strcmp(cmd, "/dropmoney", true) == 0)
	if(strcmp(cmd, "/freeze", true) == 0)
	if(strcmp(cmd, "/kill", true) == 0)
	if(strcmp(cmd, "/givecash", true) == 0)
	if(strcmp(cmd, "/slap", true) == 0)
	if(strcmp(cmd, "/reset", true) == 0)
	if(strcmp(cmd, "/checkmoney", true) == 0)
	if(strcmp(cmd, "/spawn", true) == 0)
	if(strcmp(cmd, "/unfreeze", true) == 0)
	if(strcmp(cmd, "/getmoneycount", true) == 0)
	if(strcmp(cmd, "/goto", true) == 0)
	if(strcmp(cmd, "/acmds", true) == 0)
	if(strcmp(cmd, "/playertoplayer", true) == 0)
	if(strcmp(cmd, "/getmoneycount", true) == 0)
	if(strcmp(cmd, "/get", true) == 0)
	if(strcmp(cmd, "/dropbomb", true) == 0)
	if(strcmp(cmd, "/detonate", true) == 0)
	if(strcmp(cmd, "/netstats", true) == 0)
	if(strcmp(cmd, "/stats", true) == 0)
	if(strcmp(cmd, "/pm", true) == 0)
	if(strcmp(cmdtext, "/blowup", true) == 0)
Reply
#28

Idea of making this game mode pretty dope.
Reply
#29

Ahoy.
Last version for now has been released.

https://pastebin.com/Ev7RfiHJ (sample)

https://github.com/Knogle/LastBedStanding
Reply
#30

I think I've put files from "includes" folder into wrong place. Any other reasons why this happened?
http://www.youtube.com/watch?v=hyyJmV2eauQ
Reply
#31

Did you try the latest release?
Reply
#32

The first stable release is here !

You can also test the gamemode on openknogle.eu:7777 right now

https://github.com/Knogle/LastBedStanding/

Fixed major bugs.
Removed y_ini
Fixed a huge amount of bugs.
Code optimization
Added Login/Register system using MySQL
Added Salt + AES-256 support for security matters
MySQL table will be altered if rows do not exist
Added round system, deathmatch like to get a real game running
Added MySQL support using the newest plugin and include
Added a scoreboard shown at the end of a game
Gamemode will now restart automatically to change a map after a team has won
First stable gamemode, has been tested for a while right now. Please report any bugs
Added 60 seconds countdown when there is a sufficient amount of players.
Players are invincible during the countdown phase.
Reply
#33

First stable release? 2 years later?


Reply
#34

Quote:
Originally Posted by RogueDrifter
View Post
First stable release? 2 years later?


Of course, why not. Same story like ZFS.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)