Mirage Source http://miragesource.net/forums/ |
|
Coming: Map Utility http://miragesource.net/forums/viewtopic.php?f=210&t=2048 |
Page 2 of 3 |
Author: | Dragoons Master [ Sat Jun 16, 2007 8:30 pm ] |
Post subject: | Re: Coming: Map Utility |
Rezeyu wrote: He uses a C++ server. He talked about it in "K2H In Another Language?" Actually no xD I changed so much my game... well I'm still using the VB server, I need to learn more about C++, college's next semester subject ^^ I have one giant map, all in MySQL and I have a floor system, witch complicates a bit, not much. I can try to edit this program to work for my game but I don't think there will be much advantages, it's all sql and it's slow... one giant 855*585 squares, that's 500175 tiles... each tile has... Code: Type MapTileRec Ground As Integer Mask As Integer Anim As Integer Mask2 As Integer M2Anim As Integer Fringe As Integer FAnim As Integer Fringe2 As Integer F2Anim As Integer GroundSet As Byte MaskSet As Byte AnimSet As Byte Mask2Set As Byte M2AnimSet As Byte FringeSet As Byte FAnimSet As Byte Fringe2Set As Byte F2AnimSet As Byte Type As Byte Data1 As Integer Data2 As Integer Data3 As Integer Data4 As Integer Floor As Integer End Type That's... 38 Bytes each tile, so it's 19006650 Bytes, that's 18561.181640625 KBs, 18.1261539459228515625 MBs only the maps. But now my npcs can walk freely They can follow me anywhere, and most important, now I can have pets much easily that before ^^ I'll try this and later I'll post here if it worked or not. |
Author: | Verrigan [ Sat Jun 16, 2007 8:44 pm ] |
Post subject: | Re: Coming: Map Utility |
That explains it.. It's possible this map utility will still work with your system, though I may have to make a 'map download' tool in the utility.. I had thought of uploading maps, but for some reason I hadn't thought about downloading maps.. Both features, I think, would require a change to the server.. But at least the basic mapping functions will work, so you could always edit them and upload them manually.. (Not you, Dragoons... but thanks for giving me some info on your project.. I'll see what I can do to accomodate ya) |
Author: | Matt [ Sat Jun 16, 2007 8:50 pm ] |
Post subject: | Re: Coming: Map Utility |
Couldn't you just use the packets the client sends to the server to save, to upload? And the packet server sends to the client for the player to edit the map? Just tie it all into each other and stuff. ^_^ |
Author: | Dragoons Master [ Sat Jun 16, 2007 11:25 pm ] |
Post subject: | Re: Coming: Map Utility |
Well, the map is updated client side every time you walk, you have the area you see +1, each direction so it can smoothly change it when you move. So... no, well, it can be done but it would lag the server a loooooooooot. |
Author: | Matt [ Sun Jun 17, 2007 12:53 am ] |
Post subject: | Re: Coming: Map Utility |
No, I meant when you first go to a map and it downloads it or updates it. And then when you're editting a map, and you click send and it sends the new map. Couldn't you use that stuff for loading/saving? |
Author: | genusis [ Sun Jun 17, 2007 5:39 pm ] |
Post subject: | Re: Coming: Map Utility |
[edited] This post was stupid lol. |
Author: | Matt [ Sun Jun 17, 2007 5:46 pm ] |
Post subject: | Re: Coming: Map Utility |
Don't you read before you make a post? |
Author: | Robin [ Sun Jun 17, 2007 5:54 pm ] |
Post subject: | Re: Coming: Map Utility |
I don't think he's learnt that at school yet. |
Author: | genusis [ Sun Jun 17, 2007 6:03 pm ] |
Post subject: | Re: Coming: Map Utility |
[edited] don't care about this post ether. |
Author: | Matt [ Sun Jun 17, 2007 6:33 pm ] |
Post subject: | Re: Coming: Map Utility |
If you want something as complicated as that, then you code it. My understanding is that he plans to have it able to edit several maps at once. Plain and simple. |
Author: | Verrigan [ Mon Jun 18, 2007 12:39 am ] |
Post subject: | Re: Coming: Map Utility |
I don't know about supersizing.. (We'll see..) But the other stuff is part of my plan already.. (How else would you edit multiple maps at once without seamless scrolling?) |
Author: | genusis [ Mon Jun 18, 2007 3:49 am ] |
Post subject: | Re: Coming: Map Utility |
Perfekt it was just an idea he didn't have to do it unless he wanted to. |
Author: | ZipZap [ Tue Jan 29, 2008 1:53 am ] |
Post subject: | Re: Coming: Map Utility |
I can't wait I have been looking for something like this for so long... |
Author: | Stomach Pulser [ Tue Jan 29, 2008 2:45 am ] |
Post subject: | Re: Coming: Map Utility |
You are new and all, but you just necro posted, the post before you was dated Sun Jun 17, 2007 10:49 pm, over 6 months ago... |
Author: | Lea [ Tue Jan 29, 2008 2:17 pm ] |
Post subject: | Re: Coming: Map Utility |
Stomach Pulser wrote: You are new and all, but you just necro posted, the post before you was dated Sun Jun 17, 2007 10:49 pm, over 6 months ago... lol, it's not your place to enforce the rules. I don't think anyone really cares! It's robin's problem, now, he's William's favorite. |
Author: | Robin [ Tue Jan 29, 2008 4:40 pm ] |
Post subject: | Re: Coming: Map Utility |
Tbh, if I enforces a 'no necroing' rule, this forum would be even more dead than it is now. |
Page 2 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |