|
|
#31 |
|
The Finest
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2009
Posts: 1,591
Reputation: 205
|
@DarkKillerWithPride<3
No it's not go re-read it again @Gamer_Z If 30 players quit because of a crash then how are they going to reconnect within 30seconds? |
|
|
|
|
|
#32 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
|
|
|
|
|
|
#33 |
|
The Finest
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2009
Posts: 1,591
Reputation: 205
|
if that's the case then your method would fail too, but there is an obvious over head of time that gta san andreas can load on any pc
|
|
|
|
|
|
#34 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
Ah ok whatever xD Anyway my experience is that on a optimized by me pc, with an i7 , gtx 540 and DDR3 1600MHz ram on a x64 system it just takes 3 seconds to load up xD (+ ofcourse an 250 gig SSD, how I love my friends PC for tests... ;d)
|
|
|
|
|
|
#35 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Sep 2011
Location: Post Falls, ID, USA
Posts: 965
Reputation: 128
|
That's what...$200+ for the cpu another $100 or more for the mobo...another $500 for the video card, another $50 or more for the ram...then throw on anywhere from $40+ for the PSU...That's already $890 for just that....You think everyone spends that much money on their PC? lol...Aside from that, 30 people that are going to load that fast is rare to find in SA-MP
|
|
|
|
|
|
#36 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,282
Reputation: 1909
|
If 30 people leave because of a crash they timeout, they don't quit. That method explicitly states it should be used for quits and kicks, not timeouts.
|
|
|
|
|
|
#37 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
Quote:
If you just make a DB with the SQLi functions that sa-mp has you can have 'unlimited' storage (well, VERY big) and still - very fast. |
|
|
|
|
|
|
#38 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,282
Reputation: 1909
|
Or, you could just make a "MAX_PLAYERS" array and have no need for messing with SQL at all.
|
|
|
|
|
|
#39 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
Quote:
or just doing a "SELECT `PlayerLastExitTime` FROM `players` WHERE `playername` (equals or whatever) `Gamer_Z`;" ![]() I think SQL is faster than strcmp for each PlayerName variable? |
|
|
|
|
|
|
#40 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,282
Reputation: 1909
|
Only if you do use strcmp rather than a hash say.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] ELC_ANTI-CHEAT(Arme,Argent,AirBreak,...)(BEST ANTI-CHEAT) | Eloctro | Includes | 71 | 16/05/2013 01:25 PM |
| [Include] [INC] Anti Money Cheat, Anti Ban Weapon | FreshKilla | Includes | 27 | 14/05/2011 10:31 AM |