SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 25/05/2018, 10:26 AM   #51
BossNigguh22
Little Clucker
 
Join Date: Apr 2018
Posts: 5
Reputation: 0
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Quote:
Originally Posted by Hunud View Post
This is fuck*** joke or what. Read the comments above and you will see why you won't get the 'FULL PACKAGE'.

Don't be lazy ass and download all required plugins and run fcking server....
listen retard this script damaged so fuck off.
BossNigguh22 is offline   Reply With Quote
Old 25/05/2018, 10:45 AM   #52
PGaming
Little Clucker
 
PGaming's Avatar
 
Join Date: Dec 2016
Location: Unknowm
Posts: 18
Reputation: 2
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Quote:
Originally Posted by BossNigguh22 View Post
listen retard this script damaged so fuck off.
This script isn't damaged, you are the one who don't know how to start it.
Peace.
__________________
PGaming is offline   Reply With Quote
Old 26/05/2018, 10:35 PM   #53
NoahF
Gangsta
 
NoahF's Avatar
 
Join Date: Jul 2012
Location: USA
Posts: 871
Reputation: 38
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Congratulations guys, this is loooooong overdue, for sure. Glad to see you guys still running strong, despite all the troubles over the years! Good job, Battlezone & Christofski, you guys worked very hard to get MW3 to where it is today. You guys deserve more credit, IMO.
NoahF is offline   Reply With Quote
Old 27/05/2018, 02:29 PM   #54
AlexMSK
Huge Clucker
 
AlexMSK's Avatar
 
Join Date: Apr 2016
Location: Albania, yez
Posts: 225
Reputation: 61
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

I used to play so much in this server, but had to move on to something new. It's really sad to see that you've released it. Although it is not a script who makes a good community, it's a team, hopefully your server will never die, i wish you the best of luck, never give up.
AlexMSK is offline   Reply With Quote
Old 29/05/2018, 07:01 PM   #55
Danielknow
Little Clucker
 
Join Date: May 2018
Location: United States
Posts: 23
Reputation: 1
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

sup, anyone know how to fix it?

[ADM] Info: Load 3DTryg v4.6.1 for SA:MP 0.3.7 by Abyss Morgan
-mSelection- WARNING: Failed to load list: "toys.txt"
-mSelection- WARNING: Failed to load list: "vehiclelist.txt"
-mSelection- WARNING: Failed to load list: "skin.txt"
Could not connect to database!
Game Mode Loaded
Number of vehicle models: 39

and anyone can help me connect to the database please?

#define TEST_SERVER

#define host "localhost"
#define user "root"
#define pass " "

#if defined TEST_SERVER
#define db "serverdb"
#else
#define db "serverdb"

#endif
/*
#if defined TEST_SERVER
#define db "mw4local"
#undef pass
#define pass ""
#else
#define db "mw4base"
#endif
*/
thanks for helpers
Danielknow is offline   Reply With Quote
Old 29/05/2018, 07:17 PM   #56
Battlezone
Gangsta
 
Battlezone's Avatar
 
Join Date: Aug 2013
Location: Berlin
Posts: 857
Reputation: 151
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Create a test database with the same original database structure, replace the first "serverdb" with the original db name and the second "serverdb" with the test database name. Now comment `#define TEST_SERVER` if you wanna run the main server database.
Other settings such as host, user and pass are self explanatory..
__________________


Interested in up to 500 slots hosting for $5 only? PM me

Battlezone is offline   Reply With Quote
Old 29/05/2018, 08:04 PM   #57
Danielknow
Little Clucker
 
Join Date: May 2018
Location: United States
Posts: 23
Reputation: 1
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Quote:
Originally Posted by Battlezone View Post
Create a test database with the same original database structure, replace the first "serverdb" with the original db name and the second "serverdb" with the test database name. Now comment `#define TEST_SERVER` if you wanna run the main server database.
Other settings such as host, user and pass are self explanatory..
Thanks man its works
Danielknow is offline   Reply With Quote
Old 30/05/2018, 06:49 AM   #58
Yousha
Banned
 
Join Date: May 2013
Posts: 123
Reputation: 7
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Good GM, but need improvements...

Just some feedbacks:

1- Too many repeated codes.
2- You renamed "include" folder(default) to "includes". Which is bad idea
3- Debug messages must be removed in Production env.
4- You used Zeex's PAWN Compiler and didn't inform users.
5- You used ~17MB stack/heap of memory.
6- Messages are hard-coded.
7- SQL queries/tables/fields are hard-coded.
8- You could simply use one "format" or "memcpy" instead of too many "strcat" in ONE PLACE for long strings.
9- No PAWN-Doc comments.

Last edited by Yousha; 01/06/2018 at 09:07 AM.
Yousha is offline   Reply With Quote
Old 30/05/2018, 07:24 AM   #59
GhostHacker9
Big Clucker
 
GhostHacker9's Avatar
 
Join Date: Jan 2017
Location: New Zealand
Posts: 103
Reputation: 103
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Quote:
Originally Posted by Yousha View Post
5- You used ~17MB stack/heap of memory!
2018 dude 2018

Quote:
Originally Posted by Yousha View Post
6- SQL queries/tables/fields are hard-coded.
That's how it should be it's not "hard-coded" it's called normalization.

Quote:
Originally Posted by Yousha View Post
7- You could simply use one "format" or "memcpy" instead of too many "strcat" for long strings.
don't use format to concatenate long strings using strcat is better as format loads larger string to memory on each join
GhostHacker9 is offline   Reply With Quote
Old 30/05/2018, 08:20 AM   #60
Yousha
Banned
 
Join Date: May 2013
Posts: 123
Reputation: 7
Default Re: Call of Duty - Modern Warfare 3 [Open Sourced]

Quote:
That's how it should be it's not "hard-coded" it's called normalization.
SQL normalization? man, is this a new term?
Or you mean Database normalization? because I'm talking about the Query STRINGs

Quote:
don't use format to concatenate long strings using strcat is better as format loads larger string to memory on each join
Using more than 5x-10x "strcat" in one place is better than using 1x "format" or "memcpy"?
You got it wrong...

Last edited by Yousha; 30/05/2018 at 04:35 PM.
Yousha is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call Of Duty Modern Warfare 2? DeltaAirlines12 Everything and Nothing 103 26/12/2009 06:08 PM


All times are GMT. The time now is 12:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.