[GameMode] Zombieland TDM / Survival (SQLite)
#1


Current Version: V1 Build 4 | Original Thread: Click me!

Information:
Click me!
All guidance can be found here!

Update Log:
Click me!

To Do List:
1. Cleanup all functions and improve indentation further
2. Textdraws/ useless code cleanup

Converting .INI maps to the new system:
You can use the convert.pwn and use it a filter-script to move your .INI map to the database. You also might need to change the MAX_MAPS definition value.

Reasons to use:
1. SQLite! Faster and better than other file saving systems.
2. Optimized code - Almost everything has been rewritten to suit the new standards.
3. Cleaner code - Code repetition has reduced a lot and is now a lot more cleaner
4. Providing bug fixing support!

Note(s):
1. Use Zeex's/ Community's Compiler

Download Link:
Click me!
Reply
#2

Sounds amazing
Reply
#3

Nice bro!
Reply
#4

looks good!
Reply
#5

wow well,good job
Reply
#6

Wow, love it.
Reply
#7

Thank you everyone for your comments.

Will release an update with quite lots of changes! Stay tuned.

EDIT: Released V1 Build 2.
Reply
#8

I've looked at the code, it seems well organized, but one thing:

Код:
	if (PRESSED(KEY_WALK))
	{
		if (pInfo[playerid][pTeam] == TEAM_ZOMBIE)
		{
			if (pInfo[playerid][pClass] == MUTATEDZOMBIE)
			{

				
			}
		 }
	}
Why do you have so many if statments built like this? And not like this:

Код:
if (PRESSED(KEY_WALK) && pInfo[playerid][pTeam] == TEAM_ZOMBIE && pInfo[playerid][pClass] == MUTATEDZOMBIE) 
{

}
Reply
#9

Quote:
Originally Posted by bruxo00
Посмотреть сообщение
I've looked at the code, it seems well organized, but one thing:

Код:
	if (PRESSED(KEY_WALK))
	{
		if (pInfo[playerid][pTeam] == TEAM_ZOMBIE)
		{
			if (pInfo[playerid][pClass] == MUTATEDZOMBIE)
			{

				
			}
		 }
	}
Why do you have so many if statments built like this? And not like this:

Код:
if (PRESSED(KEY_WALK) && pInfo[playerid][pTeam] == TEAM_ZOMBIE && pInfo[playerid][pClass] == MUTATEDZOMBIE) 
{

}
Indeed - I've yet to touch the OnPlayerKeyStateChange function and others.
Reply
#10

New update is out!
Reply
#11

i can not compile this gamemode reason

Quote:

C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(835) : error 075: input line too long (after substitutions)
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 037: invalid string (possibly non-terminated string)
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : warning 215: expression has no effect
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : error 017: undefined symbol "INTE"
C:\Users\Home\Desktop\High-class\gamemodes\ZLA_NEW.pwn(836) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Reply
#12

Quote:
Originally Posted by Mobtiesgangsa
Посмотреть сообщение
i can not compile this gamemode reason
Use Zeex's compiler.
Reply
#13

V1 Build 4 released!

PHP код:
1. Added new terrorist bomb system
2. Added 
new doctor shield system
3. Patched an issue with terrorist bomb system
4. Added an 
array that stores the map namecan be useful for '/maps' command
Reply
#14

Where your prison roleplay script
Reply
#15

i would like to inform you there is a defect while creating users table i had to add it manual

EDIT: users that register is not added correctly to the specified tables
Players name

registered players are not saved to SQLite properly

No login shows for registered players

Maps are all added properly

there is a bug on Script its self i could specifi more only on discort or skype
Reply
#16

I see, that you have improved alot in scripting. And regarding to this gamemode, I remember, that you recommend to move the system to MySQL, but at that time, I haven't have that much experience in MySQL though. That's why I left it as Y_Ini, because I knew, that one day, you will make it better. Thank you for converting this gamemode and adding updates to it. Much respect and keep going.
Reply
#17

Nice, looks very clean!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)