Best way to arrange maps?
#6

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.

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.
Reply


Messages In This Thread
Best way to arrange maps? - by Sinner - 12.08.2012, 14:40
Re: Best way to arrange maps? - by Cameltoe - 12.08.2012, 14:41
Re: Best way to arrange maps? - by Sinner - 12.08.2012, 14:48
Re: Best way to arrange maps? - by Pangea - 12.08.2012, 15:13
Re: Best way to arrange maps? - by playbox12 - 12.08.2012, 17:51
Re: Best way to arrange maps? - by Sinner - 12.08.2012, 18:53
Re: Best way to arrange maps? - by playbox12 - 12.08.2012, 20:29
Re: Best way to arrange maps? - by Babul - 12.08.2012, 23:28
Re: Best way to arrange maps? - by Sniper Kitty - 13.08.2012, 05:34
Re: Best way to arrange maps? - by Sinner - 13.08.2012, 08:10
Re: Best way to arrange maps? - by Babul - 13.08.2012, 08:53
Re: Best way to arrange maps? - by Sniper Kitty - 13.08.2012, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)