IFO Spawns

Welcome in the osRose emulator Project.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Re: IFO Spawns

Postby Drakia on Tue May 13, 2008 8:18 pm

Actually what I meant was even converting the IFO to SQL is slow, the problem is the major increase in SQL rows (3200 mob groups for the entire server, then each group has 1-10 entries of mobs that need to be stored) I'll attach a current dump from the IFO's of the structure I was using as a test. It can't be used unless the server is re-written to use it though, so this is just to look through mainly, try to find a better way to do it.
Attachments
mob.zip
(68.59 KiB) Downloaded 398 times
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: IFO Spawns

Postby Rifke on Tue May 13, 2008 10:04 pm

What about reconverting that sql to the current sql?

You've also have two tables
  • list_spawnareas
  • list_spawnareas
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: IFO Spawns

Postby Drakia on Tue May 13, 2008 10:12 pm

The current system uses a polygon based spawn area, the client uses a circle based (x/y/radius) system. The current system also only uses one table, not two like my test, though I might have thought up a way to make it use only one (I'm currently working on making the server read from the IFO based table)
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: IFO Spawns

Postby Maxxon on Tue May 13, 2008 10:30 pm

Rifke wrote:I think the loading time would be longer because the server stores everything when it loads. It would save loading time when only the spawns are loaded when the map is used.


As it is a server i would not mind how long it loads. And i would not try to opimize it for minimal memory consumption. In my opinion, the server should be optimized for performance for gameplay (at least that what i do :p). Even if that comes at the cost of more memory consumption or increasing load time.
Image
an anymous comment on a program called reloader:
what if a fatal error happens, will it restart it?
User avatar
Maxxon
Hawker's pet
Hawker's pet
 
Posts: 1305
Joined: Sat Nov 10, 2007 12:42 pm

Re: IFO Spawns

Postby lmame on Tue May 13, 2008 10:32 pm

It's more the traversing that concerns me actually.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: IFO Spawns

Postby Drakia on Tue May 13, 2008 10:35 pm

Which traversing?

Ok, I have the server loading and using the IFO based spawns (Converted to SQL). Here's a picture of El Verloon with the Aqua King spawned. The system still needs work (I don't know what a couple of the values are for still) but it's coming along. I'll post instructions when I have a few more kinks worked out (Including the load time, it's about +30 seconds right now, which is far too long)
Attachments
AquaSpawns.jpg
Ignore the low quality, was going for low filesize
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: IFO Spawns

Postby Blackdpd on Tue May 13, 2008 11:01 pm

well finally some damn nice spawns... and im going to steal that from you for my rose server because i like those spawns like they are my family :)

Blackdpd `
User avatar
Blackdpd
El Verloon Marshall
El Verloon Marshall
 
Posts: 900
Joined: Sun Jan 27, 2008 10:06 pm
Location: The Netherlands

Re: IFO Spawns

Postby lmame on Tue May 13, 2008 11:15 pm

Drakia wrote:Which traversing?


I don't really know how spawns are working server side. If it's like the traversing of players or stuff, it could take quite some time.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: IFO Spawns

Postby Drakia on Tue May 13, 2008 11:45 pm

I'm not sure how the respawning and updating and such is done.
I managed to merge the two tables into one (Using a ,| split mobList column) and it sped up the loading time, it now takes the same time as before switching over, so no +30 seconds :D Gonna work on some more tweaks, then post what I have (Not production ready! There are still many fields that aren't utilized, as I don't know what they do, and a lot of this is guesswork)
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: IFO Spawns

Postby Rescudo on Tue May 13, 2008 11:50 pm

Good work Drakia - I really hope this works out :D
SEARCH - it's there for a reason!
User avatar
Rescudo
El Verloon Marshall
El Verloon Marshall
 
Posts: 872
Joined: Tue Mar 11, 2008 7:20 am

PreviousNext

Return to Support - OspRose Emulator

Who is online

Users browsing this forum: No registered users and 6 guests

cron