12.08.2012, 18:53
I spent the last few hours coding a tool in PHP that converts and places all my maps (vehicles & objects) in a mysql database. It was a bitch but now that it's done I'm seeing the advantages of it.
I will now start creating the script in pawn, making the map & teleport loader.
EDIT: I figured I should present you guys with some hard numbers. This is the time it takes to load 40K+ objects and create them (streamer plugin). I ran the test 10 times.
I will now start creating the script in pawn, making the map & teleport loader.
EDIT: I figured I should present you guys with some hard numbers. This is the time it takes to load 40K+ objects and create them (streamer plugin). I ran the test 10 times.
Code:
[21:26:08] [LOADER] Created 41240 dynamic objects in 1821ms seconds. [21:26:10] [LOADER] Created 41240 dynamic objects in 2303ms seconds. [21:26:13] [LOADER] Created 41240 dynamic objects in 2484ms seconds. [21:26:15] [LOADER] Created 41240 dynamic objects in 1941ms seconds. [21:26:16] [LOADER] Created 41240 dynamic objects in 1747ms seconds. [21:26:18] [LOADER] Created 41240 dynamic objects in 1766ms seconds. [21:26:20] [LOADER] Created 41240 dynamic objects in 1814ms seconds. [21:26:22] [LOADER] Created 41240 dynamic objects in 1698ms seconds. [21:26:24] [LOADER] Created 41240 dynamic objects in 1819ms seconds. [21:26:26] [LOADER] Created 41240 dynamic objects in 1933ms seconds.