IFO Data Extractor

Welcome in the osRose emulator Project.

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

Re: IFO Data Extractor

Postby Drakia on Thu May 15, 2008 10:38 pm

That would essentially cause CPU spikes anytime somebody entered a map with nobody in it though. Memory isn't really an issue, the server doesn't use too much from the looks of it.
What we need to focus on is CPU useage, not memory useage.
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 Data Extractor

Postby lmame on Fri May 16, 2008 12:42 am

Indeed. And it could be quite surprising, but the stuff that uses CPU is not "refreshing" the monsters, but the traversing that was used to actually see if a monster should be refreshed or not (basically, is there a player nearby).
That's why I did the grid system a while ago for rev 81 (there is a quite long thread about "lag" somewhere) and it's working quite good :)
You'll see soon ;)
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 Data Extractor

Postby ExJam on Fri May 16, 2008 3:40 pm

lmame wrote:
ExJam wrote:Fast efficient code!
Buffered file readers!
Stuff like that =)


I guess you mean loading a part of file in memory and then read it from there?


Yes thats exactly what i mean. :D
ExJam
Pomic
Pomic
 
Posts: 140
Joined: Sun Jan 27, 2008 12:14 pm

Re: IFO Data Extractor

Postby lmame on Fri May 16, 2008 4:51 pm

Oh ok ^_^
Yeah it's much faster that file reading ;) never tried to do that for Rose yet, only for my job (log files of 60-400 MB :lol:).
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 Data Extractor

Postby Rescudo on Fri May 16, 2008 6:22 pm

Hehe, that's the exact thing I did for my editor too to make it go much faster. Didn't think about it before Geobot mentioned it, but it definitely helps a lot. Try making a VFS reader without using TriggerVFS.dll, and see the huge difference between parsing with and parsing without a buffer :)
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

Re: IFO Data Extractor

Postby Cellcote on Fri May 30, 2008 11:02 pm

edit: nvm, I tried copying this to osirose, but apperantly I forgot something, which I can't find.
Image
Cellcote
Rackie
Rackie
 
Posts: 188
Joined: Thu Aug 09, 2007 11:07 am

Re: IFO Data Extractor

Postby Drakia on Fri Jun 20, 2008 6:30 am

Updated version uploaded, now scans maps more efficiently, also will get NPCs and mobs from maps that are duplicates of other maps (Like the PVP zones). Changed output format while scanning, so it says how many mobs/NPCs were dumped for each map. It will output a message if it can't find a map folder than is in the STB, but there are a few of these, so you can ignore them pretty much.

New version tested with NARose 163, jRose 199, and pRose 112.
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 Data Extractor

Postby XxXshidoXxX on Fri Jun 20, 2008 11:39 am

hehe nice drakia , thanks
My collection ( Tools, clients sources...)
https://mega.nz/#F!AdcFnQDL!sKp3O9tWGGdWvLEj_EYfwA
osrose mobile project
viewtopic.php?f=34&t=5787
OsRose Mobile development + Titan Rose redesign
https://github.com/shid0x
XxXshidoXxX
osiRose dev
osiRose dev
 
Posts: 445
Joined: Mon Aug 27, 2007 11:44 am

Re: IFO Data Extractor

Postby Drakia on Tue Jul 08, 2008 9:57 am

Update #3
Re-wrote it again. Now it uses my unified backend files. Everything is done using the STB, STL, IFO, and ZON classes I wrote (They are read-only classes for now, might add writing support later). The tool now dumps TeleGates in a new format that OSpRose will be implementing shortly, and OSRose may follow suit, it stores the destination as well as the source. I'm not sure if it'll be much faster, since it reads in the file then uses the data, but hopefully it's not much slower :)
Since this was a major re-write, please post if you run into any problems or crashes. I tried to account for most things, but might have missed some.
Also, to those interested, yes, this tool utilizes 4 separate file formats. I actually coded the ZON and STL format classes using MAPs, because they tend to be searched through using an id rather than the row number. I don't have full IFO or ZON implementations yet, only what was required for this dumper, since IFO is such a large format and I was trying to keep running time on this app low. If you want to take a look at the code to see how things were done, or base any tools off my classes, feel free :)
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 Data Extractor

Postby lmame on Tue Jul 08, 2008 4:32 pm

Tool added to tool forum.
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

PreviousNext

Return to Support - OspRose Emulator

Who is online

Users browsing this forum: No registered users and 8 guests

cron